CreateClusterRequest
¶
Source code in docs_src/capo_cloudhsm_v2/types/create_cluster_request.py
backup_retention_policy
instance-attribute
¶
backup_retention_policy: NotRequired[BackupRetentionPolicy]
A policy that defines how the service retains backups.
hsm_type
instance-attribute
¶
hsm_type: HsmType
The type of HSM to use in the cluster. The allowed values are hsm1.medium and hsm2m.medium.
mode
instance-attribute
¶
mode: NotRequired[ClusterMode]
The mode to use in the cluster. The allowed values are FIPS and NON_FIPS.
network_type
instance-attribute
¶
network_type: NotRequired[NetworkType]
The NetworkType to create a cluster with. The allowed values are IPV4 and DUALSTACK.
source_backup_id
instance-attribute
¶
source_backup_id: NotRequired[BackupArn]
The identifier (ID) or the Amazon Resource Name (ARN) of the cluster backup to restore. Use this value to restore the cluster from a backup instead of creating a new cluster. To find the backup ID or ARN, use DescribeBackups. If using a backup in another account, the full ARN must be supplied.
subnet_ids
instance-attribute
¶
subnet_ids: SubnetIds
The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one subnet. If you specify multiple subnets, they must meet the following criteria:
-
All subnets must be in the same virtual private cloud (VPC).
-
You can specify only one subnet per Availability Zone.