ReshardingConfigurationProperty
Struct External
A list of PreferredAvailabilityZones objects that specifies the configuration of a node group in the resharded cluster.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticache as elasticache } from 'aws-cdk-lib';
const reshardingConfigurationProperty: elasticache.CfnGlobalReplicationGroup.ReshardingConfigurationProperty = {
nodeGroupId: 'nodeGroupId',
preferredAvailabilityZones: ['preferredAvailabilityZones'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_elasticache as elasticache
resharding_configuration_property = elasticache.CfnGlobalReplicationGroup.ReshardingConfigurationProperty(
node_group_id="nodeGroupId",
preferred_availability_zones=["preferredAvailabilityZones"]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.elasticache.*;
ReshardingConfigurationProperty reshardingConfigurationProperty = ReshardingConfigurationProperty.builder()
.nodeGroupId("nodeGroupId")
.preferredAvailabilityZones(List.of("preferredAvailabilityZones"))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ElastiCache;
var reshardingConfigurationProperty = new ReshardingConfigurationProperty {
NodeGroupId = "nodeGroupId",
PreferredAvailabilityZones = new [] { "preferredAvailabilityZones" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
reshardingConfigurationProperty := &ReshardingConfigurationProperty{
NodeGroupId: jsii.String("nodeGroupId"),
PreferredAvailabilityZones: []*string{
jsii.String("preferredAvailabilityZones"),
},
}
Properties
nodeGroupIdoptionalstringnode_group_idoptionalstrnodeGroupIdoptionalStringNodeGroupIdoptionalstringNodeGroupIdoptional*string #Either the ElastiCache supplied 4-digit id or a user supplied id for the node group these configuration values apply to.
preferredAvailabilityZonesoptionalstring[]preferred_availability_zonesoptionaltyping.List[str]preferredAvailabilityZonesoptionalList<String>PreferredAvailabilityZonesoptionalstring[]PreferredAvailabilityZonesoptional*[]*string #A list of preferred availability zones for the nodes in this cluster.