Module Values.CreateClusterRequestSource

Creates a new CloudHSM cluster. Cross-account use: Yes. To perform this operation with an CloudHSM backup in a different AWS account, specify the full backup ARN in the value of the SourceBackupId parameter.

Sourcetype nonrec t = {
  1. backupRetentionPolicy : BackupRetentionPolicy.t option;
    (*

    A policy that defines how the service retains backups.

    *)
  2. hsmType : HsmType.t;
    (*

    The type of HSM to use in the cluster. The allowed values are hsm1.medium and hsm2m.medium.

    *)
  3. sourceBackupId : BackupArn.t option;
    (*

    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.

    *)
  4. subnetIds : SubnetIds.t;
    (*

    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.

    *)
  5. networkType : NetworkType.t option;
    (*

    The NetworkType to create a cluster with. The allowed values are IPV4 and DUALSTACK.

    *)
  6. tagList : TagList.t option;
    (*

    Tags to apply to the CloudHSM cluster during creation.

    *)
  7. mode : ClusterMode.t option;
    (*

    The mode to use in the cluster. The allowed values are FIPS and NON_FIPS.

    *)
}
Sourceval context_ : string
Sourceval make : ?backupRetentionPolicy:??? -> ?sourceBackupId:??? -> ?networkType:??? -> ?tagList:??? -> ?mode:??? -> hsmType:HsmType.t -> subnetIds:SubnetIds.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of SubnetId.t | `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of HsmType.t | `Structure of (string * [> `Enum of string | `String of BackupRetentionValue.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t