ClusterState constructor

const ClusterState({
  1. Input<String?>? aclName,
  2. Input<String?>? arn,
  3. Input<bool?>? autoMinorVersionUpgrade,
  4. Input<List<ClusterClusterEndpoint>?>? clusterEndpoints,
  5. Input<bool?>? dataTiering,
  6. Input<String?>? description,
  7. Input<String?>? engine,
  8. Input<String?>? enginePatchVersion,
  9. Input<String?>? engineVersion,
  10. Input<String?>? finalSnapshotName,
  11. Input<String?>? ipDiscovery,
  12. Input<String?>? kmsKeyArn,
  13. Input<String?>? maintenanceWindow,
  14. Input<String?>? multiRegionClusterName,
  15. Input<String?>? name,
  16. Input<String?>? namePrefix,
  17. Input<String?>? networkType,
  18. Input<String?>? nodeType,
  19. Input<int?>? numReplicasPerShard,
  20. Input<int?>? numShards,
  21. Input<String?>? parameterGroupName,
  22. Input<int?>? port,
  23. Input<String?>? region,
  24. Input<List<String>?>? securityGroupIds,
  25. Input<List<ClusterShard>?>? shards,
  26. Input<List<String>?>? snapshotArns,
  27. Input<String?>? snapshotName,
  28. Input<int?>? snapshotRetentionLimit,
  29. Input<String?>? snapshotWindow,
  30. Input<String?>? snsTopicArn,
  31. Input<String?>? subnetGroupName,
  32. Input<Map<String, String>?>? tags,
  33. Input<Map<String, String>?>? tagsAll,
  34. Input<bool?>? tlsEnabled,
})

Creates a new ClusterState. aclName The name of the Access Control List to associate with the cluster. arn The ARN of the cluster. autoMinorVersionUpgrade When set to true, the cluster will automatically receive minor engine version upgrades after launch. Defaults to true. clusterEndpoints Optional. dataTiering Enables data tiering. This option is not supported by all instance types. For more information, see Data tiering. description Description for the cluster. Defaults to "Managed by Pulumi". engine The engine that will run on your nodes. Supported values are redis and valkey. enginePatchVersion Patch version number of the engine used by the cluster. engineVersion Version number of the engine to be used for the cluster. Downgrades are not supported. finalSnapshotName Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made. ipDiscovery Mechanism that the cluster uses to discover IP addresses. Valid values are ipv4 and ipv6. Defaults to ipv4. To specify ipv6, networkType must be ipv6 or dualStack. kmsKeyArn ARN of the KMS key used to encrypt the cluster at rest. maintenanceWindow Specifies the weekly time range during which maintenance on the cluster is performed. Specify as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Example: sun:23:00-mon:01:30. multiRegionClusterName The multi region cluster identifier specified on aws.memorydb.MultiRegionCluster. name Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with namePrefix. namePrefix Creates a unique name beginning with the specified prefix. Conflicts with name. networkType IP address type for the cluster. Valid values are ipv4, ipv6 and dualStack. Defaults to ipv4. nodeType The compute and memory capacity of the nodes in the cluster. See AWS documentation on supported node types as well as vertical scaling. numReplicasPerShard The number of replicas to apply to each shard, up to a maximum of 5. Defaults to 1 (i.e. 2 nodes per shard). numShards The number of shards in the cluster. Defaults to 1. parameterGroupName The name of the parameter group associated with the cluster. port The port number on which each of the nodes accepts connections. Defaults to 6379. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. securityGroupIds Set of VPC Security Group ID-s to associate with this cluster. shards Set of shards in this cluster. snapshotArns List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapshot files will be used to populate the new cluster. Object names in the ARN-s cannot contain any commas. snapshotName The name of a snapshot from which to restore data into the new cluster. snapshotRetentionLimit The number of days for which MemoryDB retains automatic snapshots before deleting them. When set to 0, automatic backups are disabled. Defaults to 0. snapshotWindow The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: 05:00-09:00. snsTopicArn ARN of the SNS topic to which cluster notifications are sent. subnetGroupName The name of the subnet group to be used for the cluster. Defaults to a subnet group consisting of default VPC subnets. tags A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. tlsEnabled A flag to enable in-transit encryption on the cluster. When set to false, the aclName must be open-access. Defaults to true.

Implementation

const ClusterState({
  this.aclName,
  this.arn,
  this.autoMinorVersionUpgrade,
  this.clusterEndpoints,
  this.dataTiering,
  this.description,
  this.engine,
  this.enginePatchVersion,
  this.engineVersion,
  this.finalSnapshotName,
  this.ipDiscovery,
  this.kmsKeyArn,
  this.maintenanceWindow,
  this.multiRegionClusterName,
  this.name,
  this.namePrefix,
  this.networkType,
  this.nodeType,
  this.numReplicasPerShard,
  this.numShards,
  this.parameterGroupName,
  this.port,
  this.region,
  this.securityGroupIds,
  this.shards,
  this.snapshotArns,
  this.snapshotName,
  this.snapshotRetentionLimit,
  this.snapshotWindow,
  this.snsTopicArn,
  this.subnetGroupName,
  this.tags,
  this.tagsAll,
  this.tlsEnabled,
});