Interface CfnClusterProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnClusterProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:05.693Z")
@Stability(Stable)
public interface CfnClusterProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnCluster.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudhsm.*;
CfnClusterProps cfnClusterProps = CfnClusterProps.builder()
.hsmType("hsmType")
// the properties below are optional
.backupRetentionPolicy(BackupRetentionPolicyProperty.builder()
.type("type")
.value("value")
.build())
.mode("mode")
.networkType("networkType")
.subnetIds(List.of("subnetIds"))
.tags(List.of(TagsItemsProperty.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnClusterPropsstatic final classAn implementation forCfnClusterProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnClusterProps.Builderbuilder()default ObjectA policy that defines how the service retains backups.The type of HSM to use in the cluster.default StringgetMode()The mode to use in the cluster.default StringThe NetworkType to create a cluster with.The identifiers (IDs) of the subnets where the cluster is created.default List<CfnCluster.TagsItemsProperty> getTags()Tags to apply to the CloudHSM cluster.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHsmType
The type of HSM to use in the cluster.- See Also:
-
getBackupRetentionPolicy
A policy that defines how the service retains backups.Returns union: either
IResolvableorCfnCluster.BackupRetentionPolicyProperty- See Also:
-
getMode
The mode to use in the cluster.- See Also:
-
getNetworkType
The NetworkType to create a cluster with.- See Also:
-
getSubnetIds
The identifiers (IDs) of the subnets where the cluster is created.You must specify at least one subnet.
- See Also:
-
getTags
Tags to apply to the CloudHSM cluster.- See Also:
-
builder
- Returns:
- a
CfnClusterProps.BuilderofCfnClusterProps
-