CfnTrustStoreRevocationPropsMixin
- class aws_cdk.mixins_preview.aws_elasticloadbalancingv2.mixins.CfnTrustStoreRevocationPropsMixin(props, *, strategy=None)
Bases:
MixinAdds the specified revocation contents to the specified trust store.
You must specify
TrustStoreArn.- See:
- CloudformationResource:
AWS::ElasticLoadBalancingV2::TrustStoreRevocation
- 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_elasticloadbalancingv2 import mixins as elasticloadbalancingv2_mixins cfn_trust_store_revocation_props_mixin = elasticloadbalancingv2_mixins.CfnTrustStoreRevocationPropsMixin(elasticloadbalancingv2_mixins.CfnTrustStoreRevocationMixinProps( revocation_contents=[elasticloadbalancingv2_mixins.CfnTrustStoreRevocationPropsMixin.RevocationContentProperty( revocation_type="revocationType", s3_bucket="s3Bucket", s3_key="s3Key", s3_object_version="s3ObjectVersion" )], trust_store_arn="trustStoreArn" ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::ElasticLoadBalancingV2::TrustStoreRevocation.- Parameters:
props (
Union[CfnTrustStoreRevocationMixinProps,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:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['revocationContents', 'trustStoreArn']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
RevocationContentProperty
- class CfnTrustStoreRevocationPropsMixin.RevocationContentProperty(*, revocation_type=None, s3_bucket=None, s3_key=None, s3_object_version=None)
Bases:
objectInformation about a revocation file.
You must specify
S3BucketandS3Key.- Parameters:
revocation_type (
Optional[str]) – The type of revocation file.s3_bucket (
Optional[str]) – The Amazon S3 bucket for the revocation file.s3_key (
Optional[str]) – The Amazon S3 path for the revocation file.s3_object_version (
Optional[str]) – The Amazon S3 object version of the revocation file.
- See:
- 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_elasticloadbalancingv2 import mixins as elasticloadbalancingv2_mixins revocation_content_property = elasticloadbalancingv2_mixins.CfnTrustStoreRevocationPropsMixin.RevocationContentProperty( revocation_type="revocationType", s3_bucket="s3Bucket", s3_key="s3Key", s3_object_version="s3ObjectVersion" )
Attributes
- revocation_type
The type of revocation file.
- s3_bucket
The Amazon S3 bucket for the revocation file.
- s3_key
The Amazon S3 path for the revocation file.
- s3_object_version
The Amazon S3 object version of the revocation file.
TrustStoreRevocationProperty
- class CfnTrustStoreRevocationPropsMixin.TrustStoreRevocationProperty(*, number_of_revoked_entries=None, revocation_id=None, revocation_type=None, trust_store_arn=None)
Bases:
objectInformation about a revocation file in use by a trust store.
- Parameters:
number_of_revoked_entries (
Union[int,float,None]) – The number of revoked certificates.revocation_id (
Optional[str]) – The revocation ID of the revocation file.revocation_type (
Optional[str]) – The type of revocation file.trust_store_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the trust store.
- See:
- 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_elasticloadbalancingv2 import mixins as elasticloadbalancingv2_mixins trust_store_revocation_property = elasticloadbalancingv2_mixins.CfnTrustStoreRevocationPropsMixin.TrustStoreRevocationProperty( number_of_revoked_entries=123, revocation_id="revocationId", revocation_type="revocationType", trust_store_arn="trustStoreArn" )
Attributes
- number_of_revoked_entries
The number of revoked certificates.
- revocation_id
The revocation ID of the revocation file.
- revocation_type
The type of revocation file.
- trust_store_arn
The Amazon Resource Name (ARN) of the trust store.