Class: Aws::RolesAnywhere::Types::SourceData

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-rolesanywhere/types.rb

Overview

Note:

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

Note:

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

The data field of the trust anchor depending on its type.

Direct Known Subclasses

AcmPcaArn, Unknown, X509CertificateData

Defined Under Namespace

Classes: AcmPcaArn, Unknown, X509CertificateData

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#acm_pca_arnString

The root certificate of the Private Certificate Authority specified by this ARN is used in trust validation for temporary credential requests. Included for trust anchors of type ‘AWS_ACM_PCA`.

Returns:

  • (String)


888
889
890
891
892
893
894
895
896
897
898
899
# File 'lib/aws-sdk-rolesanywhere/types.rb', line 888

class SourceData < Struct.new(
  :acm_pca_arn,
  :x509_certificate_data,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AcmPcaArn < SourceData; end
  class X509CertificateData < SourceData; end
  class Unknown < SourceData; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



888
889
890
# File 'lib/aws-sdk-rolesanywhere/types.rb', line 888

def unknown
  @unknown
end

#x509_certificate_dataString

The PEM-encoded data for the certificate anchor. Included for trust anchors of type ‘CERTIFICATE_BUNDLE`.

Returns:

  • (String)


888
889
890
891
892
893
894
895
896
897
898
899
# File 'lib/aws-sdk-rolesanywhere/types.rb', line 888

class SourceData < Struct.new(
  :acm_pca_arn,
  :x509_certificate_data,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AcmPcaArn < SourceData; end
  class X509CertificateData < SourceData; end
  class Unknown < SourceData; end
end