@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:17.472Z") @Stability(value=Stable) public interface CfnCacheClusterProps extends software.amazon.jsii.JsiiSerializable
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.elasticache.*;
CfnCacheClusterProps cfnCacheClusterProps = CfnCacheClusterProps.builder()
.cacheNodeType("cacheNodeType")
.engine("engine")
.numCacheNodes(123)
// the properties below are optional
.autoMinorVersionUpgrade(false)
.azMode("azMode")
.cacheParameterGroupName("cacheParameterGroupName")
.cacheSecurityGroupNames(List.of("cacheSecurityGroupNames"))
.cacheSubnetGroupName("cacheSubnetGroupName")
.clusterName("clusterName")
.engineVersion("engineVersion")
.logDeliveryConfigurations(List.of(LogDeliveryConfigurationRequestProperty.builder()
.destinationDetails(DestinationDetailsProperty.builder()
.cloudWatchLogsDetails(CloudWatchLogsDestinationDetailsProperty.builder()
.logGroup("logGroup")
.build())
.kinesisFirehoseDetails(KinesisFirehoseDestinationDetailsProperty.builder()
.deliveryStream("deliveryStream")
.build())
.build())
.destinationType("destinationType")
.logFormat("logFormat")
.logType("logType")
.build()))
.notificationTopicArn("notificationTopicArn")
.port(123)
.preferredAvailabilityZone("preferredAvailabilityZone")
.preferredAvailabilityZones(List.of("preferredAvailabilityZones"))
.preferredMaintenanceWindow("preferredMaintenanceWindow")
.snapshotArns(List.of("snapshotArns"))
.snapshotName("snapshotName")
.snapshotRetentionLimit(123)
.snapshotWindow("snapshotWindow")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.vpcSecurityGroupIds(List.of("vpcSecurityGroupIds"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCacheClusterProps.Builder
A builder for
CfnCacheClusterProps |
static class |
CfnCacheClusterProps.Jsii$Proxy
An implementation for
CfnCacheClusterProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnCacheClusterProps.Builder |
builder() |
default Object |
getAutoMinorVersionUpgrade()
`AWS::ElastiCache::CacheCluster.AutoMinorVersionUpgrade`.
|
default String |
getAzMode()
`AWS::ElastiCache::CacheCluster.AZMode`.
|
String |
getCacheNodeType()
`AWS::ElastiCache::CacheCluster.CacheNodeType`.
|
default String |
getCacheParameterGroupName()
`AWS::ElastiCache::CacheCluster.CacheParameterGroupName`.
|
default List<String> |
getCacheSecurityGroupNames()
`AWS::ElastiCache::CacheCluster.CacheSecurityGroupNames`.
|
default String |
getCacheSubnetGroupName()
`AWS::ElastiCache::CacheCluster.CacheSubnetGroupName`.
|
default String |
getClusterName()
`AWS::ElastiCache::CacheCluster.ClusterName`.
|
String |
getEngine()
`AWS::ElastiCache::CacheCluster.Engine`.
|
default String |
getEngineVersion()
`AWS::ElastiCache::CacheCluster.EngineVersion`.
|
default Object |
getLogDeliveryConfigurations()
`AWS::ElastiCache::CacheCluster.LogDeliveryConfigurations`.
|
default String |
getNotificationTopicArn()
`AWS::ElastiCache::CacheCluster.NotificationTopicArn`.
|
Number |
getNumCacheNodes()
`AWS::ElastiCache::CacheCluster.NumCacheNodes`.
|
default Number |
getPort()
`AWS::ElastiCache::CacheCluster.Port`.
|
default String |
getPreferredAvailabilityZone()
`AWS::ElastiCache::CacheCluster.PreferredAvailabilityZone`.
|
default List<String> |
getPreferredAvailabilityZones()
`AWS::ElastiCache::CacheCluster.PreferredAvailabilityZones`.
|
default String |
getPreferredMaintenanceWindow()
`AWS::ElastiCache::CacheCluster.PreferredMaintenanceWindow`.
|
default List<String> |
getSnapshotArns()
`AWS::ElastiCache::CacheCluster.SnapshotArns`.
|
default String |
getSnapshotName()
`AWS::ElastiCache::CacheCluster.SnapshotName`.
|
default Number |
getSnapshotRetentionLimit()
`AWS::ElastiCache::CacheCluster.SnapshotRetentionLimit`.
|
default String |
getSnapshotWindow()
`AWS::ElastiCache::CacheCluster.SnapshotWindow`.
|
default List<CfnTag> |
getTags()
`AWS::ElastiCache::CacheCluster.Tags`.
|
default List<String> |
getVpcSecurityGroupIds()
`AWS::ElastiCache::CacheCluster.VpcSecurityGroupIds`.
|
@Stability(value=Stable) @Nullable default Object getAutoMinorVersionUpgrade()
@Stability(value=Stable) @Nullable default String getAzMode()
@Stability(value=Stable) @NotNull String getCacheNodeType()
@Stability(value=Stable) @Nullable default String getCacheParameterGroupName()
@Stability(value=Stable) @Nullable default List<String> getCacheSecurityGroupNames()
@Stability(value=Stable) @Nullable default String getCacheSubnetGroupName()
@Stability(value=Stable) @Nullable default String getClusterName()
@Stability(value=Stable) @NotNull String getEngine()
@Stability(value=Stable) @Nullable default String getEngineVersion()
@Stability(value=Stable) @Nullable default Object getLogDeliveryConfigurations()
@Stability(value=Stable) @Nullable default String getNotificationTopicArn()
@Stability(value=Stable) @NotNull Number getNumCacheNodes()
@Stability(value=Stable) @Nullable default Number getPort()
@Stability(value=Stable) @Nullable default String getPreferredAvailabilityZone()
@Stability(value=Stable) @Nullable default List<String> getPreferredAvailabilityZones()
@Stability(value=Stable) @Nullable default String getPreferredMaintenanceWindow()
@Stability(value=Stable) @Nullable default List<String> getSnapshotArns()
@Stability(value=Stable) @Nullable default String getSnapshotName()
@Stability(value=Stable) @Nullable default Number getSnapshotRetentionLimit()
@Stability(value=Stable) @Nullable default String getSnapshotWindow()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) @Nullable default List<String> getVpcSecurityGroupIds()
@Stability(value=Stable) static CfnCacheClusterProps.Builder builder()
CfnCacheClusterProps.Builder of CfnCacheClusterPropsCopyright © 2021. All rights reserved.