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.

Defined Under Namespace

Classes: AcmPcaArn, Unknown, X509CertificateData

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#acm_pca_arn ⇒ String

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)


1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 1103

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

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

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



1103
1104
1105
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 1103

def unknown
  @unknown
end

#x509_certificate_data ⇒ String

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

Returns:

  • (String)


1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 1103

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

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