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

Class: Aws::ACMPCA::Types::ImportCertificateAuthorityCertificateRequest

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

Overview

Note:

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

{
  certificate_authority_arn: "Arn", # required
  certificate: "data", # required
  certificate_chain: "data",
}

Instance Attribute Summary collapse

Instance Attribute Details

#certificateString

The PEM-encoded certificate for a private CA. This may be a self-signed certificate in the case of a root CA, or it may be signed by another CA that you control.

Returns:

  • (String)


938
939
940
941
942
943
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 938

class ImportCertificateAuthorityCertificateRequest < Struct.new(
  :certificate_authority_arn,
  :certificate,
  :certificate_chain)
  include Aws::Structure
end

#certificate_authority_arnString

The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012

Returns:

  • (String)


938
939
940
941
942
943
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 938

class ImportCertificateAuthorityCertificateRequest < Struct.new(
  :certificate_authority_arn,
  :certificate,
  :certificate_chain)
  include Aws::Structure
end

#certificate_chainString

A PEM-encoded file that contains all of your certificates, other than the certificate you're importing, chaining up to your root CA. Your ACM Private CA-hosted or on-premises root certificate is the last in the chain, and each certificate in the chain signs the one preceding.

This parameter must be supplied when you import a subordinate CA. When you import a root CA, there is no chain.

Returns:

  • (String)


938
939
940
941
942
943
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 938

class ImportCertificateAuthorityCertificateRequest < Struct.new(
  :certificate_authority_arn,
  :certificate,
  :certificate_chain)
  include Aws::Structure
end