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_idString

The artifact ID of an uploaded certificate file.

Returns:

  • (String)


1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 1448

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_pemString

A PEM-encoded X.509 certificate supplied inline.

Returns:

  • (String)


1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 1448

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_locationString

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

Returns:

  • (String)


1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 1448

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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1448
1449
1450
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 1448

def unknown
  @unknown
end