You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ACM::Types::ImportCertificateRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ImportCertificateRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  certificate_arn: "Arn",
  certificate: "data", # required
  private_key: "data", # required
  certificate_chain: "data",
}

Instance Attribute Summary collapse

Instance Attribute Details

#certificateString

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\'s NotAfter date).

Returns:

  • (String)

    The certificate to import.

#certificate_arnString

The Amazon Resource Name (ARN) of an imported certificate to replace. To import a new certificate, omit this field.

Returns:

  • (String)

    The [Amazon Resource Name (ARN)][1] of an imported certificate to replace.

#certificate_chainString

The certificate chain. It must be PEM-encoded.

Returns:

  • (String)

    The certificate chain.

#private_keyString

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.

Returns:

  • (String)

    The private key that matches the public key in the certificate.