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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb

Overview

Note:

When making an API call, you may pass ImportCertificateRequest data as a hash:

{
  certificate_arn: "Arn",
  certificate: "data", # required
  private_key: "data", # required
  certificate_chain: "data",
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue",
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[:private_key]

Instance Attribute Summary collapse

Instance Attribute Details

#certificateString

The certificate to import.

Returns:

  • (String)


795
796
797
798
799
800
801
802
803
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb', line 795

class ImportCertificateRequest < Struct.new(
  :certificate_arn,
  :certificate,
  :private_key,
  :certificate_chain,
  :tags)
  SENSITIVE = [:private_key]
  include Aws::Structure
end

#certificate_arnString

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

Returns:

  • (String)


795
796
797
798
799
800
801
802
803
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb', line 795

class ImportCertificateRequest < Struct.new(
  :certificate_arn,
  :certificate,
  :private_key,
  :certificate_chain,
  :tags)
  SENSITIVE = [:private_key]
  include Aws::Structure
end

#certificate_chainString

The PEM encoded certificate chain.

Returns:

  • (String)


795
796
797
798
799
800
801
802
803
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb', line 795

class ImportCertificateRequest < Struct.new(
  :certificate_arn,
  :certificate,
  :private_key,
  :certificate_chain,
  :tags)
  SENSITIVE = [:private_key]
  include Aws::Structure
end

#private_keyString

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

Returns:

  • (String)


795
796
797
798
799
800
801
802
803
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb', line 795

class ImportCertificateRequest < Struct.new(
  :certificate_arn,
  :certificate,
  :private_key,
  :certificate_chain,
  :tags)
  SENSITIVE = [:private_key]
  include Aws::Structure
end

#tagsArray<Types::Tag>

One or more resource tags to associate with the imported certificate.

Note: You cannot apply tags when reimporting a certificate.

Returns:



795
796
797
798
799
800
801
802
803
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb', line 795

class ImportCertificateRequest < Struct.new(
  :certificate_arn,
  :certificate,
  :private_key,
  :certificate_chain,
  :tags)
  SENSITIVE = [:private_key]
  include Aws::Structure
end