CfnTrustStorePropsMixin

class aws_cdk.mixins_preview.aws_cloudfront.mixins.CfnTrustStorePropsMixin(props, *, strategy=None)

Bases: Mixin

A trust store.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-truststore.html

CloudformationResource:

AWS::CloudFront::TrustStore

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_cloudfront import mixins as cloudfront_mixins

cfn_trust_store_props_mixin = cloudfront_mixins.CfnTrustStorePropsMixin(cloudfront_mixins.CfnTrustStoreMixinProps(
    ca_certificates_bundle_source=cloudfront_mixins.CfnTrustStorePropsMixin.CaCertificatesBundleSourceProperty(
        ca_certificates_bundle_s3_location=cloudfront_mixins.CfnTrustStorePropsMixin.CaCertificatesBundleS3LocationProperty(
            bucket="bucket",
            key="key",
            region="region",
            version="version"
        )
    ),
    name="name",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::CloudFront::TrustStore.

Parameters:
  • props (Union[CfnTrustStoreMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['caCertificatesBundleSource', 'name', 'tags']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

CaCertificatesBundleS3LocationProperty

class CfnTrustStorePropsMixin.CaCertificatesBundleS3LocationProperty(*, bucket=None, key=None, region=None, version=None)

Bases: object

The CA certificates bundle location in Amazon S3.

Parameters:
  • bucket (Optional[str]) – The S3 bucket.

  • key (Optional[str]) – The location’s key.

  • region (Optional[str]) – The location’s Region.

  • version (Optional[str]) – The location’s version.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-truststore-cacertificatesbundles3location.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_cloudfront import mixins as cloudfront_mixins

ca_certificates_bundle_s3_location_property = cloudfront_mixins.CfnTrustStorePropsMixin.CaCertificatesBundleS3LocationProperty(
    bucket="bucket",
    key="key",
    region="region",
    version="version"
)

Attributes

bucket

The S3 bucket.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-truststore-cacertificatesbundles3location.html#cfn-cloudfront-truststore-cacertificatesbundles3location-bucket

key

The location’s key.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-truststore-cacertificatesbundles3location.html#cfn-cloudfront-truststore-cacertificatesbundles3location-key

region

The location’s Region.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-truststore-cacertificatesbundles3location.html#cfn-cloudfront-truststore-cacertificatesbundles3location-region

version

The location’s version.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-truststore-cacertificatesbundles3location.html#cfn-cloudfront-truststore-cacertificatesbundles3location-version

CaCertificatesBundleSourceProperty

class CfnTrustStorePropsMixin.CaCertificatesBundleSourceProperty(*, ca_certificates_bundle_s3_location=None)

Bases: object

A CA certificates bundle source.

Parameters:

ca_certificates_bundle_s3_location (Union[IResolvable, CaCertificatesBundleS3LocationProperty, Dict[str, Any], None]) – The CA certificates bundle location in Amazon S3.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-truststore-cacertificatesbundlesource.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_cloudfront import mixins as cloudfront_mixins

ca_certificates_bundle_source_property = cloudfront_mixins.CfnTrustStorePropsMixin.CaCertificatesBundleSourceProperty(
    ca_certificates_bundle_s3_location=cloudfront_mixins.CfnTrustStorePropsMixin.CaCertificatesBundleS3LocationProperty(
        bucket="bucket",
        key="key",
        region="region",
        version="version"
    )
)

Attributes

ca_certificates_bundle_s3_location

The CA certificates bundle location in Amazon S3.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-truststore-cacertificatesbundlesource.html#cfn-cloudfront-truststore-cacertificatesbundlesource-cacertificatesbundles3location