CfnClusterPropsMixin
- class aws_cdk.cfn_property_mixins.aws_cloudhsm.CfnClusterPropsMixin(props, *, strategy=None)
Bases:
MixinCreates and manages an AWS CloudHSM cluster.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudhsm-cluster.html
- CloudformationResource:
AWS::CloudHSM::Cluster
- 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.cfn_property_mixins import aws_cloudhsm as cloudhsm import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_cluster_props_mixin = cloudhsm.CfnClusterPropsMixin(cloudhsm.CfnClusterMixinProps( backup_retention_policy=cloudhsm.CfnClusterPropsMixin.BackupRetentionPolicyProperty( type="type", value="value" ), hsm_type="hsmType", mode="mode", network_type="networkType", subnet_ids=["subnetIds"], tags=[cloudhsm.CfnClusterPropsMixin.TagsItemsProperty( key="key", value="value" )] ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::CloudHSM::Cluster.- Parameters:
props (
Union[CfnClusterMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['backupRetentionPolicy', 'hsmType', 'mode', 'networkType', 'subnetIds', 'tags']
Static Methods
- classmethod is_mixin(x)
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.
BackupRetentionPolicyProperty
- class CfnClusterPropsMixin.BackupRetentionPolicyProperty(*, type=None, value=None)
Bases:
objectA policy that defines how the service retains backups.
- Parameters:
type (
Optional[str]) – The type of backup retention policy.value (
Optional[str]) – Use a value between 7 - 379.
- 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.cfn_property_mixins import aws_cloudhsm as cloudhsm backup_retention_policy_property = cloudhsm.CfnClusterPropsMixin.BackupRetentionPolicyProperty( type="type", value="value" )
Attributes
- type
The type of backup retention policy.