Class CfnTrustStore

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITrustStoreRef, IEnvironmentAware, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)", date="2025-12-01T16:02:16.195Z") @Stability(Stable) public class CfnTrustStore extends CfnResource implements IInspectable, ITrustStoreRef, ITaggableV2
A trust store.

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.cloudfront.*;
 CfnTrustStore cfnTrustStore = CfnTrustStore.Builder.create(this, "MyCfnTrustStore")
         .name("name")
         // the properties below are optional
         .caCertificatesBundleSource(CaCertificatesBundleSourceProperty.builder()
                 .caCertificatesBundleS3Location(CaCertificatesBundleS3LocationProperty.builder()
                         .bucket("bucket")
                         .key("key")
                         .region("region")
                         // the properties below are optional
                         .version("version")
                         .build())
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnTrustStore

      protected CfnTrustStore(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnTrustStore

      protected CfnTrustStore(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnTrustStore

      @Stability(Stable) public CfnTrustStore(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnTrustStoreProps props)
      Create a new AWS::CloudFront::TrustStore.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • arnForTrustStore

      @Stability(Stable) @NotNull public static String arnForTrustStore(@NotNull ITrustStoreRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnTrustStore

      @Stability(Stable) @NotNull public static Boolean isCfnTrustStore(@NotNull Object x)
      Checks whether the given object is a CfnTrustStore.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The trust store's Amazon Resource Name (ARN).
    • getAttrETag

      @Stability(Stable) @NotNull public String getAttrETag()
      The version identifier for the current version of the trust store.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
      The trust store's ID.
    • getAttrLastModifiedTime

      @Stability(Stable) @NotNull public String getAttrLastModifiedTime()
      The trust store's last modified time.
    • getAttrNumberOfCaCertificates

      @Stability(Stable) @NotNull public Number getAttrNumberOfCaCertificates()
      The trust store's number of CA certificates.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The trust store's status.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTrustStoreRef

      @Stability(Stable) @NotNull public TrustStoreReference getTrustStoreRef()
      A reference to a TrustStore resource.
      Specified by:
      getTrustStoreRef in interface ITrustStoreRef
    • getName

      @Stability(Stable) @NotNull public String getName()
      The trust store's name.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The trust store's name.
    • getCaCertificatesBundleSource

      @Stability(Stable) @Nullable public Object getCaCertificatesBundleSource()
      A CA certificates bundle source.

      Returns union: either IResolvable or CfnTrustStore.CaCertificatesBundleSourceProperty

    • setCaCertificatesBundleSource

      @Stability(Stable) public void setCaCertificatesBundleSource(@Nullable IResolvable value)
      A CA certificates bundle source.
    • setCaCertificatesBundleSource

      @Stability(Stable) public void setCaCertificatesBundleSource(@Nullable CfnTrustStore.CaCertificatesBundleSourceProperty value)
      A CA certificates bundle source.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      A complex type that contains zero or more Tag elements.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      A complex type that contains zero or more Tag elements.