Class CfnCluster
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.dax.CfnCluster
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-19T18:11:58.373Z")
@Stability(Stable)
public class CfnCluster
extends CfnResource
implements IInspectable, ITaggable
Creates a DAX cluster.
All nodes in the cluster run the same DAX caching software.
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.dax.*; Object tags; CfnCluster cfnCluster = CfnCluster.Builder.create(this, "MyCfnCluster") .iamRoleArn("iamRoleArn") .nodeType("nodeType") .replicationFactor(123) // the properties below are optional .availabilityZones(List.of("availabilityZones")) .clusterEndpointEncryptionType("clusterEndpointEncryptionType") .clusterName("clusterName") .description("description") .notificationTopicArn("notificationTopicArn") .parameterGroupName("parameterGroupName") .preferredMaintenanceWindow("preferredMaintenanceWindow") .securityGroupIds(List.of("securityGroupIds")) .sseSpecification(SSESpecificationProperty.builder() .sseEnabled(false) .build()) .subnetGroupName("subnetGroupName") .tags(tags) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnCluster
.static interface
Represents the settings used to enable server-side encryption.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnCluster
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnCluster
(software.amazon.jsii.JsiiObjectRef objRef) CfnCluster
(software.constructs.Construct scope, String id, CfnClusterProps props) -
Method Summary
Modifier and TypeMethodDescriptionReturns the ARN of the DAX cluster.Returns the endpoint of the DAX cluster.Returns the endpoint URL of the DAX cluster.The Availability Zones (AZs) in which the cluster nodes will reside after the cluster has been created or updated.The encryption type of the cluster's endpoint.The name of the DAX cluster.The description of the cluster.A valid Amazon Resource Name (ARN) that identifies an IAM role.The node type for the nodes in the cluster.The Amazon Resource Name (ARN) of the Amazon SNS topic to which notifications will be sent.The parameter group to be associated with the DAX cluster.A range of time when maintenance of DAX cluster software will be performed.The number of nodes in the DAX cluster.A list of security group IDs to be assigned to each node in the DAX cluster.Represents the settings used to enable server-side encryption on the cluster.The name of the subnet group to be used for the replication group.getTags()
Tag Manager which manages the tags for this resource.A set of tags to associate with the DAX cluster.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAvailabilityZones
(List<String> value) The Availability Zones (AZs) in which the cluster nodes will reside after the cluster has been created or updated.void
The encryption type of the cluster's endpoint.void
setClusterName
(String value) The name of the DAX cluster.void
setDescription
(String value) The description of the cluster.void
setIamRoleArn
(String value) A valid Amazon Resource Name (ARN) that identifies an IAM role.void
setNodeType
(String value) The node type for the nodes in the cluster.void
setNotificationTopicArn
(String value) The Amazon Resource Name (ARN) of the Amazon SNS topic to which notifications will be sent.void
setParameterGroupName
(String value) The parameter group to be associated with the DAX cluster.void
A range of time when maintenance of DAX cluster software will be performed.void
setReplicationFactor
(Number value) The number of nodes in the DAX cluster.void
setSecurityGroupIds
(List<String> value) A list of security group IDs to be assigned to each node in the DAX cluster.void
setSseSpecification
(IResolvable value) Represents the settings used to enable server-side encryption on the cluster.void
Represents the settings used to enable server-side encryption on the cluster.void
setSubnetGroupName
(String value) The name of the subnet group to be used for the replication group.void
setTagsRaw
(Object value) A set of tags to associate with the DAX cluster.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnCluster
protected CfnCluster(software.amazon.jsii.JsiiObjectRef objRef) -
CfnCluster
protected CfnCluster(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnCluster
@Stability(Stable) public CfnCluster(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnClusterProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
Returns the ARN of the DAX cluster. For example:.{ "Fn::GetAtt": [" MyDAXCluster ", "Arn"] }
Returns a value similar to the following:
arn:aws:dax:us-east-1:111122223333:cache/MyDAXCluster
-
getAttrClusterDiscoveryEndpoint
Returns the endpoint of the DAX cluster. For example:.{ "Fn::GetAtt": [" MyDAXCluster ", "ClusterDiscoveryEndpoint"] }
Returns a value similar to the following:
mydaxcluster.0h3d6x.clustercfg.dax.use1.cache.amazonaws.com:8111
-
getAttrClusterDiscoveryEndpointUrl
Returns the endpoint URL of the DAX cluster. -
getAttrId
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getIamRoleArn
A valid Amazon Resource Name (ARN) that identifies an IAM role. -
setIamRoleArn
A valid Amazon Resource Name (ARN) that identifies an IAM role. -
getNodeType
The node type for the nodes in the cluster. -
setNodeType
The node type for the nodes in the cluster. -
getReplicationFactor
The number of nodes in the DAX cluster. -
setReplicationFactor
The number of nodes in the DAX cluster. -
getAvailabilityZones
The Availability Zones (AZs) in which the cluster nodes will reside after the cluster has been created or updated. -
setAvailabilityZones
The Availability Zones (AZs) in which the cluster nodes will reside after the cluster has been created or updated. -
getClusterEndpointEncryptionType
The encryption type of the cluster's endpoint.Available values are:.
-
setClusterEndpointEncryptionType
The encryption type of the cluster's endpoint.Available values are:.
-
getClusterName
The name of the DAX cluster. -
setClusterName
The name of the DAX cluster. -
getDescription
The description of the cluster. -
setDescription
The description of the cluster. -
getNotificationTopicArn
The Amazon Resource Name (ARN) of the Amazon SNS topic to which notifications will be sent. -
setNotificationTopicArn
The Amazon Resource Name (ARN) of the Amazon SNS topic to which notifications will be sent. -
getParameterGroupName
The parameter group to be associated with the DAX cluster. -
setParameterGroupName
The parameter group to be associated with the DAX cluster. -
getPreferredMaintenanceWindow
A range of time when maintenance of DAX cluster software will be performed. -
setPreferredMaintenanceWindow
A range of time when maintenance of DAX cluster software will be performed. -
getSecurityGroupIds
A list of security group IDs to be assigned to each node in the DAX cluster. -
setSecurityGroupIds
A list of security group IDs to be assigned to each node in the DAX cluster. -
getSseSpecification
Represents the settings used to enable server-side encryption on the cluster. -
setSseSpecification
Represents the settings used to enable server-side encryption on the cluster. -
setSseSpecification
@Stability(Stable) public void setSseSpecification(@Nullable CfnCluster.SSESpecificationProperty value) Represents the settings used to enable server-side encryption on the cluster. -
getSubnetGroupName
The name of the subnet group to be used for the replication group. -
setSubnetGroupName
The name of the subnet group to be used for the replication group. -
getTagsRaw
A set of tags to associate with the DAX cluster. -
setTagsRaw
A set of tags to associate with the DAX cluster.
-