@Stability(value=Stable) public static final class CfnClusterProps.Builder extends Object implements software.amazon.jsii.Builder<CfnClusterProps>
CfnClusterProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnClusterProps.Builder aclName(String aclName)
CfnClusterProps.getAclName()aclName - The name of the Access Control List to associate with the cluster . This parameter is required.this@Stability(value=Stable) public CfnClusterProps.Builder clusterName(String clusterName)
CfnClusterProps.getClusterName()clusterName - The name of the cluster . This parameter is required.this@Stability(value=Stable) public CfnClusterProps.Builder nodeType(String nodeType)
CfnClusterProps.getNodeType()nodeType - The cluster 's node type. This parameter is required.this@Stability(value=Stable) public CfnClusterProps.Builder autoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
CfnClusterProps.getAutoMinorVersionUpgrade()autoMinorVersionUpgrade - When set to true, the cluster will automatically receive minor engine version upgrades after launch.this@Stability(value=Stable) public CfnClusterProps.Builder autoMinorVersionUpgrade(IResolvable autoMinorVersionUpgrade)
CfnClusterProps.getAutoMinorVersionUpgrade()autoMinorVersionUpgrade - When set to true, the cluster will automatically receive minor engine version upgrades after launch.this@Stability(value=Stable) public CfnClusterProps.Builder clusterEndpoint(IResolvable clusterEndpoint)
CfnClusterProps.getClusterEndpoint()clusterEndpoint - The cluster 's configuration endpoint.this@Stability(value=Stable) public CfnClusterProps.Builder clusterEndpoint(CfnCluster.EndpointProperty clusterEndpoint)
CfnClusterProps.getClusterEndpoint()clusterEndpoint - The cluster 's configuration endpoint.this@Stability(value=Stable) public CfnClusterProps.Builder dataTiering(String dataTiering)
CfnClusterProps.getDataTiering()dataTiering - Enables data tiering.
Data tiering is only supported for replication groups using the r6gd node type. This parameter must be set to true when using r6gd nodes. For more information, see Data tiering .this@Stability(value=Stable) public CfnClusterProps.Builder description(String description)
CfnClusterProps.getDescription()description - A description of the cluster .this@Stability(value=Stable) public CfnClusterProps.Builder engineVersion(String engineVersion)
CfnClusterProps.getEngineVersion()engineVersion - The Redis engine version used by the cluster .this@Stability(value=Stable) public CfnClusterProps.Builder finalSnapshotName(String finalSnapshotName)
CfnClusterProps.getFinalSnapshotName()finalSnapshotName - The user-supplied name of a final cluster snapshot.
This is the unique name that identifies the snapshot. MemoryDB creates the snapshot, and then deletes the cluster immediately afterward.this@Stability(value=Stable) public CfnClusterProps.Builder kmsKeyId(String kmsKeyId)
CfnClusterProps.getKmsKeyId()kmsKeyId - The ID of the KMS key used to encrypt the cluster .this@Stability(value=Stable) public CfnClusterProps.Builder maintenanceWindow(String maintenanceWindow)
CfnClusterProps.getMaintenanceWindow()maintenanceWindow - Specifies the weekly time range during which maintenance on the cluster is performed.
It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
Pattern : ddd:hh24:mi-ddd:hh24:mi
this@Stability(value=Stable) public CfnClusterProps.Builder numReplicasPerShard(Number numReplicasPerShard)
CfnClusterProps.getNumReplicasPerShard()numReplicasPerShard - The number of replicas to apply to each shard.
Default value : 1
Maximum value : 5
this@Stability(value=Stable) public CfnClusterProps.Builder numShards(Number numShards)
CfnClusterProps.getNumShards()numShards - The number of shards in the cluster .this@Stability(value=Stable) public CfnClusterProps.Builder parameterGroupName(String parameterGroupName)
CfnClusterProps.getParameterGroupName()parameterGroupName - The name of the parameter group used by the cluster .this@Stability(value=Stable) public CfnClusterProps.Builder port(Number port)
CfnClusterProps.getPort()port - The port used by the cluster .this@Stability(value=Stable) public CfnClusterProps.Builder securityGroupIds(List<String> securityGroupIds)
CfnClusterProps.getSecurityGroupIds()securityGroupIds - A list of security group names to associate with this cluster .this@Stability(value=Stable) public CfnClusterProps.Builder snapshotArns(List<String> snapshotArns)
CfnClusterProps.getSnapshotArns()snapshotArns - A list of Amazon Resource Names (ARN) that uniquely identify the RDB snapshot files stored in Amazon S3.
The snapshot files are used to populate the new cluster . The Amazon S3 object name in the ARN cannot contain any commas.this@Stability(value=Stable) public CfnClusterProps.Builder snapshotName(String snapshotName)
CfnClusterProps.getSnapshotName()snapshotName - The name of a snapshot from which to restore data into the new cluster .
The snapshot status changes to restoring while the new cluster is being created.this@Stability(value=Stable) public CfnClusterProps.Builder snapshotRetentionLimit(Number snapshotRetentionLimit)
CfnClusterProps.getSnapshotRetentionLimit()snapshotRetentionLimit - The number of days for which MemoryDB retains automatic snapshots before deleting them.
For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted.this@Stability(value=Stable) public CfnClusterProps.Builder snapshotWindow(String snapshotWindow)
CfnClusterProps.getSnapshotWindow()snapshotWindow - The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard.
Example: 05:00-09:00 If you do not specify this parameter, MemoryDB automatically chooses an appropriate time range.this@Stability(value=Stable) public CfnClusterProps.Builder snsTopicArn(String snsTopicArn)
CfnClusterProps.getSnsTopicArn()snsTopicArn - When you pass the logical ID of this resource to the intrinsic `Ref` function, Ref returns the ARN of the SNS topic, such as `arn:aws:memorydb:us-east-1:123456789012:mySNSTopic`.this@Stability(value=Stable) public CfnClusterProps.Builder snsTopicStatus(String snsTopicStatus)
CfnClusterProps.getSnsTopicStatus()snsTopicStatus - The SNS topic must be in Active status to receive notifications.this@Stability(value=Stable) public CfnClusterProps.Builder subnetGroupName(String subnetGroupName)
CfnClusterProps.getSubnetGroupName()subnetGroupName - The name of the subnet group used by the cluster .this@Stability(value=Stable) public CfnClusterProps.Builder tags(List<? extends CfnTag> tags)
CfnClusterProps.getTags()tags - An array of key-value pairs to apply to this resource.
For more information, see Tag .this@Stability(value=Stable) public CfnClusterProps.Builder tlsEnabled(Boolean tlsEnabled)
CfnClusterProps.getTlsEnabled()tlsEnabled - A flag to indicate if In-transit encryption is enabled.this@Stability(value=Stable) public CfnClusterProps.Builder tlsEnabled(IResolvable tlsEnabled)
CfnClusterProps.getTlsEnabled()tlsEnabled - A flag to indicate if In-transit encryption is enabled.this@Stability(value=Stable) public CfnClusterProps build()
build in interface software.amazon.jsii.Builder<CfnClusterProps>CfnClusterPropsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.