Class: AWSCDK::RolesAnywhere::CfnTrustAnchor::SourceDataProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RolesAnywhere::CfnTrustAnchor::SourceDataProperty
- Defined in:
- roles_anywhere/cfn_trust_anchor.rb
Overview
A union object representing the data field of the TrustAnchor depending on its type.
Instance Attribute Summary collapse
-
#acm_pca_arn ⇒ String?
readonly
The root certificate of the Private Certificate Authority specified by this ARN is used in trust validation for temporary credential requests.
-
#x509_certificate_data ⇒ String?
readonly
The PEM-encoded data for the certificate anchor.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(acm_pca_arn: nil, x509_certificate_data: nil) ⇒ SourceDataProperty
constructor
A new instance of SourceDataProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(acm_pca_arn: nil, x509_certificate_data: nil) ⇒ SourceDataProperty
Returns a new instance of SourceDataProperty.
676 677 678 679 680 681 |
# File 'roles_anywhere/cfn_trust_anchor.rb', line 676 def initialize(acm_pca_arn: nil, x509_certificate_data: nil) @acm_pca_arn = acm_pca_arn Jsii::Type.check_type(@acm_pca_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "acmPcaArn") unless @acm_pca_arn.nil? @x509_certificate_data = x509_certificate_data Jsii::Type.check_type(@x509_certificate_data, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "x509CertificateData") unless @x509_certificate_data.nil? end |
Instance Attribute Details
#acm_pca_arn ⇒ String? (readonly)
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 .
This field is not supported in your region.
691 692 693 |
# File 'roles_anywhere/cfn_trust_anchor.rb', line 691 def acm_pca_arn @acm_pca_arn end |
#x509_certificate_data ⇒ String? (readonly)
The PEM-encoded data for the certificate anchor.
Included for trust anchors of type CERTIFICATE_BUNDLE .
698 699 700 |
# File 'roles_anywhere/cfn_trust_anchor.rb', line 698 def x509_certificate_data @x509_certificate_data end |
Class Method Details
.jsii_properties ⇒ Object
700 701 702 703 704 705 |
# File 'roles_anywhere/cfn_trust_anchor.rb', line 700 def self.jsii_properties { :acm_pca_arn => "acmPcaArn", :x509_certificate_data => "x509CertificateData", } end |
Instance Method Details
#to_jsii ⇒ Object
707 708 709 710 711 712 713 714 |
# File 'roles_anywhere/cfn_trust_anchor.rb', line 707 def to_jsii result = {} result.merge!({ "acmPcaArn" => @acm_pca_arn, "x509CertificateData" => @x509_certificate_data, }) result.compact end |