Class: Aws::SecurityAgent::Types::CaCertificateSource

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

Overview

Note:

CaCertificateSource is a union - when making an API calls you must set exactly one of the members.

Note:

CaCertificateSource is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of CaCertificateSource corresponding to the set member.

The source of a trusted CA certificate. Exactly one member must be set.

Defined Under Namespace

Classes: ArtifactId, InlinePem, S3Location, Unknown

Constant Summary collapse

SENSITIVE =
[:inline_pem]

Instance Attribute Summary collapse

Instance Attribute Details

#artifact_id ⇒ String

The artifact ID of an uploaded certificate file.

Returns:

  • (String)


1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 1804

class CaCertificateSource < Struct.new(
  :inline_pem,
  :artifact_id,
  :s3_location,
  :unknown)
  SENSITIVE = [:inline_pem]
  include Aws::Structure
  include Aws::Structure::Union

  class InlinePem < CaCertificateSource; end
  class ArtifactId < CaCertificateSource; end
  class S3Location < CaCertificateSource; end
  class Unknown < CaCertificateSource; end
end

#inline_pem ⇒ String

A PEM-encoded X.509 certificate supplied inline.

Returns:

  • (String)


1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 1804

class CaCertificateSource < Struct.new(
  :inline_pem,
  :artifact_id,
  :s3_location,
  :unknown)
  SENSITIVE = [:inline_pem]
  include Aws::Structure
  include Aws::Structure::Union

  class InlinePem < CaCertificateSource; end
  class ArtifactId < CaCertificateSource; end
  class S3Location < CaCertificateSource; end
  class Unknown < CaCertificateSource; end
end

#s3_location ⇒ String

The Amazon S3 location URI of a customer-staged certificate.

Returns:

  • (String)


1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 1804

class CaCertificateSource < Struct.new(
  :inline_pem,
  :artifact_id,
  :s3_location,
  :unknown)
  SENSITIVE = [:inline_pem]
  include Aws::Structure
  include Aws::Structure::Union

  class InlinePem < CaCertificateSource; end
  class ArtifactId < CaCertificateSource; end
  class S3Location < CaCertificateSource; end
  class Unknown < CaCertificateSource; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



1804
1805
1806
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 1804

def unknown
  @unknown
end