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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rolesanywhere/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)


876
877
878
879
880
881
882
883
884
885
886
887
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 876

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



876
877
878
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 876

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)


876
877
878
879
880
881
882
883
884
885
886
887
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 876

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