CfnClusterProps
- class aws_cdk.aws_cloudhsm.CfnClusterProps(*, hsm_type, backup_retention_policy=None, mode=None, network_type=None, subnet_ids=None, tags=None)
Bases:
objectProperties for defining a
CfnCluster.- Parameters:
hsm_type (
str) – The type of HSM to use in the cluster.backup_retention_policy (
Union[IResolvable,BackupRetentionPolicyProperty,Dict[str,Any],None]) – A policy that defines how the service retains backups.mode (
Optional[str]) – The mode to use in the cluster.network_type (
Optional[str]) – The NetworkType to create a cluster with.subnet_ids (
Optional[Sequence[str]]) – The identifiers (IDs) of the subnets where the cluster is created. You must specify at least one subnet.tags (
Optional[Sequence[Union[TagsItemsProperty,Dict[str,Any]]]]) – Tags to apply to the CloudHSM cluster.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudhsm-cluster.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 import aws_cloudhsm as cloudhsm cfn_cluster_props = cloudhsm.CfnClusterProps( hsm_type="hsmType", # the properties below are optional backup_retention_policy=cloudhsm.CfnCluster.BackupRetentionPolicyProperty( type="type", value="value" ), mode="mode", network_type="networkType", subnet_ids=["subnetIds"], tags=[cloudhsm.CfnCluster.TagsItemsProperty( key="key", value="value" )] )
Attributes
- backup_retention_policy
A policy that defines how the service retains backups.
- hsm_type
The type of HSM to use in the cluster.
- mode
The mode to use in the cluster.
- network_type
The NetworkType to create a cluster with.
- subnet_ids
The identifiers (IDs) of the subnets where the cluster is created.
You must specify at least one subnet.
- tags
Tags to apply to the CloudHSM cluster.