Struct rusoto_acm::ImportCertificateRequest
[−]
[src]
pub struct ImportCertificateRequest { pub certificate: Vec<u8>, pub certificate_arn: Option<String>, pub certificate_chain: Option<Vec<u8>>, pub private_key: Vec<u8>, }
Fields
certificate: Vec<u8>
The certificate to import. It must meet the following requirements:
-
Must be PEM-encoded.
-
Must contain a 1024-bit or 2048-bit RSA public key.
-
Must be valid at the time of import. You cannot import a certificate before its validity period begins (the certificate's
NotBefore
date) or after it expires (the certificate'sNotAfter
date).
certificate_arn: Option<String>
The Amazon Resource Name (ARN) of an imported certificate to replace. To import a new certificate, omit this field.
certificate_chain: Option<Vec<u8>>
The certificate chain. It must be PEM-encoded.
private_key: Vec<u8>
The private key that matches the public key in the certificate. It must meet the following requirements:
-
Must be PEM-encoded.
-
Must be unencrypted. You cannot import a private key that is protected by a password or passphrase.
Trait Implementations
impl Default for ImportCertificateRequest
[src]
fn default() -> ImportCertificateRequest
[src]
Returns the "default value" for a type. Read more
impl Debug for ImportCertificateRequest
[src]
impl Clone for ImportCertificateRequest
[src]
fn clone(&self) -> ImportCertificateRequest
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more