Interface CfnTrustAnchor.SourceDataProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTrustAnchor.SourceDataProperty.Jsii$Proxy
Enclosing class:
CfnTrustAnchor

@Stability(Stable) public static interface CfnTrustAnchor.SourceDataProperty extends software.amazon.jsii.JsiiSerializable
A union object representing the data field of the TrustAnchor depending on its type.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.rolesanywhere.*;
 SourceDataProperty sourceDataProperty = SourceDataProperty.builder()
         .acmPcaArn("acmPcaArn")
         .x509CertificateData("x509CertificateData")
         .build();
 
  • Method Details

    • getAcmPcaArn

      @Stability(Stable) @Nullable default String getAcmPcaArn()
      The root certificate of the AWS 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.

    • getX509CertificateData

      @Stability(Stable) @Nullable default String getX509CertificateData()
      The PEM-encoded data for the certificate anchor.

      Included for trust anchors of type CERTIFICATE_BUNDLE .

    • builder

      @Stability(Stable) static CfnTrustAnchor.SourceDataProperty.Builder builder()
      Returns:
      a CfnTrustAnchor.SourceDataProperty.Builder of CfnTrustAnchor.SourceDataProperty