Class ReplicationGroupState.Builder

  • Enclosing class:
    ReplicationGroupState

    public static final class ReplicationGroupState.Builder
    extends java.lang.Object
    • Method Detail

      • applyImmediately

        public ReplicationGroupState.Builder applyImmediately​(@Nullable
                                                              com.pulumi.core.Output<java.lang.Boolean> applyImmediately)
        Parameters:
        applyImmediately - Specifies whether any modifications are applied immediately, or during the next maintenance window. Default is `false`.
        Returns:
        builder
      • applyImmediately

        public ReplicationGroupState.Builder applyImmediately​(java.lang.Boolean applyImmediately)
        Parameters:
        applyImmediately - Specifies whether any modifications are applied immediately, or during the next maintenance window. Default is `false`.
        Returns:
        builder
      • arn

        public ReplicationGroupState.Builder arn​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the created ElastiCache Replication Group.
        Returns:
        builder
      • arn

        public ReplicationGroupState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the created ElastiCache Replication Group.
        Returns:
        builder
      • atRestEncryptionEnabled

        public ReplicationGroupState.Builder atRestEncryptionEnabled​(@Nullable
                                                                     com.pulumi.core.Output<java.lang.Boolean> atRestEncryptionEnabled)
        Parameters:
        atRestEncryptionEnabled - Whether to enable encryption at rest. When `engine` is `redis`, default is `false`. When `engine` is `valkey`, default is `true`.
        Returns:
        builder
      • atRestEncryptionEnabled

        public ReplicationGroupState.Builder atRestEncryptionEnabled​(java.lang.Boolean atRestEncryptionEnabled)
        Parameters:
        atRestEncryptionEnabled - Whether to enable encryption at rest. When `engine` is `redis`, default is `false`. When `engine` is `valkey`, default is `true`.
        Returns:
        builder
      • authToken

        public ReplicationGroupState.Builder authToken​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> authToken)
        Parameters:
        authToken - Password used to access a password protected server. Can be specified only if `transitEncryptionEnabled = true`.
        Returns:
        builder
      • authToken

        public ReplicationGroupState.Builder authToken​(java.lang.String authToken)
        Parameters:
        authToken - Password used to access a password protected server. Can be specified only if `transitEncryptionEnabled = true`.
        Returns:
        builder
      • authTokenUpdateStrategy

        public ReplicationGroupState.Builder authTokenUpdateStrategy​(@Nullable
                                                                     com.pulumi.core.Output<java.lang.String> authTokenUpdateStrategy)
        Parameters:
        authTokenUpdateStrategy - Strategy used when modifying `authToken` or `authTokenWo` on an existing replication group. Not used during initial create. Valid values are `SET`, `ROTATE`, and `DELETE`. If omitted during an auth token change, AWS defaults to `ROTATE`. If value is `DELETE` then `authToken` and `authTokenWo` must be omitted.
        Returns:
        builder
      • authTokenUpdateStrategy

        public ReplicationGroupState.Builder authTokenUpdateStrategy​(java.lang.String authTokenUpdateStrategy)
        Parameters:
        authTokenUpdateStrategy - Strategy used when modifying `authToken` or `authTokenWo` on an existing replication group. Not used during initial create. Valid values are `SET`, `ROTATE`, and `DELETE`. If omitted during an auth token change, AWS defaults to `ROTATE`. If value is `DELETE` then `authToken` and `authTokenWo` must be omitted.
        Returns:
        builder
      • authTokenWo

        public ReplicationGroupState.Builder authTokenWo​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> authTokenWo)
        Parameters:
        authTokenWo - **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Password used to access a password protected server, whose value will not be stored in state. Can be specified only if `transitEncryptionEnabled = true`. Conflicts with `authToken`. If set, requires `authTokenWoVersion` to be set.
        Returns:
        builder
      • authTokenWo

        public ReplicationGroupState.Builder authTokenWo​(java.lang.String authTokenWo)
        Parameters:
        authTokenWo - **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Password used to access a password protected server, whose value will not be stored in state. Can be specified only if `transitEncryptionEnabled = true`. Conflicts with `authToken`. If set, requires `authTokenWoVersion` to be set.
        Returns:
        builder
      • authTokenWoVersion

        public ReplicationGroupState.Builder authTokenWoVersion​(@Nullable
                                                                com.pulumi.core.Output<java.lang.Integer> authTokenWoVersion)
        Parameters:
        authTokenWoVersion - Required when `authTokenWo` is set. Changing this value triggers an update to `authTokenWo`.
        Returns:
        builder
      • authTokenWoVersion

        public ReplicationGroupState.Builder authTokenWoVersion​(java.lang.Integer authTokenWoVersion)
        Parameters:
        authTokenWoVersion - Required when `authTokenWo` is set. Changing this value triggers an update to `authTokenWo`.
        Returns:
        builder
      • autoMinorVersionUpgrade

        public ReplicationGroupState.Builder autoMinorVersionUpgrade​(@Nullable
                                                                     com.pulumi.core.Output<java.lang.Boolean> autoMinorVersionUpgrade)
        Parameters:
        autoMinorVersionUpgrade - Specifies whether minor version engine upgrades will be applied automatically to the underlying Cache Cluster instances during the maintenance window. Only supported for engine types `"redis"` and `"valkey"` and if the engine version is 6 or higher. If this argument is not explicitly set in the configuration, AWS will set a default value of `true` and Terraform will not detect drift on this attribute.
        Returns:
        builder
      • autoMinorVersionUpgrade

        public ReplicationGroupState.Builder autoMinorVersionUpgrade​(java.lang.Boolean autoMinorVersionUpgrade)
        Parameters:
        autoMinorVersionUpgrade - Specifies whether minor version engine upgrades will be applied automatically to the underlying Cache Cluster instances during the maintenance window. Only supported for engine types `"redis"` and `"valkey"` and if the engine version is 6 or higher. If this argument is not explicitly set in the configuration, AWS will set a default value of `true` and Terraform will not detect drift on this attribute.
        Returns:
        builder
      • automaticFailoverEnabled

        public ReplicationGroupState.Builder automaticFailoverEnabled​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.Boolean> automaticFailoverEnabled)
        Parameters:
        automaticFailoverEnabled - Specifies whether a read-only replica will be automatically promoted to read/write primary if the existing primary fails. If enabled, `numCacheClusters` must be greater than 1. Must be enabled for Redis (cluster mode enabled) replication groups. Defaults to `false`.
        Returns:
        builder
      • automaticFailoverEnabled

        public ReplicationGroupState.Builder automaticFailoverEnabled​(java.lang.Boolean automaticFailoverEnabled)
        Parameters:
        automaticFailoverEnabled - Specifies whether a read-only replica will be automatically promoted to read/write primary if the existing primary fails. If enabled, `numCacheClusters` must be greater than 1. Must be enabled for Redis (cluster mode enabled) replication groups. Defaults to `false`.
        Returns:
        builder
      • clusterEnabled

        public ReplicationGroupState.Builder clusterEnabled​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Boolean> clusterEnabled)
        Parameters:
        clusterEnabled - Indicates if cluster mode is enabled.
        Returns:
        builder
      • clusterEnabled

        public ReplicationGroupState.Builder clusterEnabled​(java.lang.Boolean clusterEnabled)
        Parameters:
        clusterEnabled - Indicates if cluster mode is enabled.
        Returns:
        builder
      • clusterMode

        public ReplicationGroupState.Builder clusterMode​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> clusterMode)
        Parameters:
        clusterMode - Specifies whether cluster mode is enabled or disabled. Valid values are `enabled` or `disabled` or `compatible`
        Returns:
        builder
      • clusterMode

        public ReplicationGroupState.Builder clusterMode​(java.lang.String clusterMode)
        Parameters:
        clusterMode - Specifies whether cluster mode is enabled or disabled. Valid values are `enabled` or `disabled` or `compatible`
        Returns:
        builder
      • configurationEndpointAddress

        public ReplicationGroupState.Builder configurationEndpointAddress​(@Nullable
                                                                          com.pulumi.core.Output<java.lang.String> configurationEndpointAddress)
        Parameters:
        configurationEndpointAddress - Address of the replication group configuration endpoint when cluster mode is enabled.
        Returns:
        builder
      • configurationEndpointAddress

        public ReplicationGroupState.Builder configurationEndpointAddress​(java.lang.String configurationEndpointAddress)
        Parameters:
        configurationEndpointAddress - Address of the replication group configuration endpoint when cluster mode is enabled.
        Returns:
        builder
      • dataTieringEnabled

        public ReplicationGroupState.Builder dataTieringEnabled​(@Nullable
                                                                com.pulumi.core.Output<java.lang.Boolean> dataTieringEnabled)
        Parameters:
        dataTieringEnabled - 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.
        Returns:
        builder
      • dataTieringEnabled

        public ReplicationGroupState.Builder dataTieringEnabled​(java.lang.Boolean dataTieringEnabled)
        Parameters:
        dataTieringEnabled - 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.
        Returns:
        builder
      • description

        public ReplicationGroupState.Builder description​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - User-created description for the replication group. Must not be empty.
        Returns:
        builder
      • description

        public ReplicationGroupState.Builder description​(java.lang.String description)
        Parameters:
        description - User-created description for the replication group. Must not be empty.
        Returns:
        builder
      • durability

        public ReplicationGroupState.Builder durability​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> durability)
        Parameters:
        durability - Specifies the durability mode for the replication group. Valid values are `default`, `async`, `sync`, or `disabled`. Requires cluster mode enabled and Valkey 9.0 or higher.
        Returns:
        builder
      • durability

        public ReplicationGroupState.Builder durability​(java.lang.String durability)
        Parameters:
        durability - Specifies the durability mode for the replication group. Valid values are `default`, `async`, `sync`, or `disabled`. Requires cluster mode enabled and Valkey 9.0 or higher.
        Returns:
        builder
      • engine

        public ReplicationGroupState.Builder engine​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> engine)
        Parameters:
        engine - Name of the cache engine to be used for the clusters in this replication group. Valid values are `redis` or `valkey`. Default is `redis`.
        Returns:
        builder
      • engine

        public ReplicationGroupState.Builder engine​(java.lang.String engine)
        Parameters:
        engine - Name of the cache engine to be used for the clusters in this replication group. Valid values are `redis` or `valkey`. Default is `redis`.
        Returns:
        builder
      • engineVersion

        public ReplicationGroupState.Builder engineVersion​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> engineVersion)
        Parameters:
        engineVersion - Version number of the cache engine to be used for the cache clusters in this replication group. If the version is 7 or higher, the major and minor version should be set, e.g., `7.2`. If the version is 6, the major and minor version can be set, e.g., `6.2`, or the minor version can be unspecified which will use the latest version at creation time, e.g., `6.x`. Otherwise, specify the full version desired, e.g., `5.0.6`. The actual engine version used is returned in the attribute `engineVersionActual`, see Attribute Reference below.
        Returns:
        builder
      • engineVersion

        public ReplicationGroupState.Builder engineVersion​(java.lang.String engineVersion)
        Parameters:
        engineVersion - Version number of the cache engine to be used for the cache clusters in this replication group. If the version is 7 or higher, the major and minor version should be set, e.g., `7.2`. If the version is 6, the major and minor version can be set, e.g., `6.2`, or the minor version can be unspecified which will use the latest version at creation time, e.g., `6.x`. Otherwise, specify the full version desired, e.g., `5.0.6`. The actual engine version used is returned in the attribute `engineVersionActual`, see Attribute Reference below.
        Returns:
        builder
      • engineVersionActual

        public ReplicationGroupState.Builder engineVersionActual​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> engineVersionActual)
        Parameters:
        engineVersionActual - Because ElastiCache pulls the latest minor or patch for a version, this attribute returns the running version of the cache engine.
        Returns:
        builder
      • engineVersionActual

        public ReplicationGroupState.Builder engineVersionActual​(java.lang.String engineVersionActual)
        Parameters:
        engineVersionActual - Because ElastiCache pulls the latest minor or patch for a version, this attribute returns the running version of the cache engine.
        Returns:
        builder
      • finalSnapshotIdentifier

        public ReplicationGroupState.Builder finalSnapshotIdentifier​(@Nullable
                                                                     com.pulumi.core.Output<java.lang.String> finalSnapshotIdentifier)
        Parameters:
        finalSnapshotIdentifier - The name of your final node group (shard) snapshot. ElastiCache creates the snapshot from the primary node in the cluster. If omitted, no final snapshot will be made.
        Returns:
        builder
      • finalSnapshotIdentifier

        public ReplicationGroupState.Builder finalSnapshotIdentifier​(java.lang.String finalSnapshotIdentifier)
        Parameters:
        finalSnapshotIdentifier - The name of your final node group (shard) snapshot. ElastiCache creates the snapshot from the primary node in the cluster. If omitted, no final snapshot will be made.
        Returns:
        builder
      • globalReplicationGroupId

        public ReplicationGroupState.Builder globalReplicationGroupId​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.String> globalReplicationGroupId)
        Parameters:
        globalReplicationGroupId - The ID of the global replication group to which this replication group should belong. If this parameter is specified, the replication group is added to the specified global replication group as a secondary replication group; otherwise, the replication group is not part of any global replication group. If `globalReplicationGroupId` is set, the `numNodeGroups` parameter cannot be set.
        Returns:
        builder
      • globalReplicationGroupId

        public ReplicationGroupState.Builder globalReplicationGroupId​(java.lang.String globalReplicationGroupId)
        Parameters:
        globalReplicationGroupId - The ID of the global replication group to which this replication group should belong. If this parameter is specified, the replication group is added to the specified global replication group as a secondary replication group; otherwise, the replication group is not part of any global replication group. If `globalReplicationGroupId` is set, the `numNodeGroups` parameter cannot be set.
        Returns:
        builder
      • ipDiscovery

        public ReplicationGroupState.Builder ipDiscovery​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> ipDiscovery)
        Parameters:
        ipDiscovery - The IP version to advertise in the discovery protocol. Valid values are `ipv4` or `ipv6`.
        Returns:
        builder
      • ipDiscovery

        public ReplicationGroupState.Builder ipDiscovery​(java.lang.String ipDiscovery)
        Parameters:
        ipDiscovery - The IP version to advertise in the discovery protocol. Valid values are `ipv4` or `ipv6`.
        Returns:
        builder
      • kmsKeyId

        public ReplicationGroupState.Builder kmsKeyId​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> kmsKeyId)
        Parameters:
        kmsKeyId - The ARN of the key that you wish to use if encrypting at rest. If not supplied, uses service managed encryption. Can be specified only if `atRestEncryptionEnabled = true`.
        Returns:
        builder
      • kmsKeyId

        public ReplicationGroupState.Builder kmsKeyId​(java.lang.String kmsKeyId)
        Parameters:
        kmsKeyId - The ARN of the key that you wish to use if encrypting at rest. If not supplied, uses service managed encryption. Can be specified only if `atRestEncryptionEnabled = true`.
        Returns:
        builder
      • logDeliveryConfigurations

        public ReplicationGroupState.Builder logDeliveryConfigurations​(@Nullable
                                                                       com.pulumi.core.Output<java.util.List<ReplicationGroupLogDeliveryConfigurationArgs>> logDeliveryConfigurations)
        Parameters:
        logDeliveryConfigurations - Specifies the destination and format of Redis OSS/Valkey [SLOWLOG](https://redis.io/commands/slowlog) or Redis OSS/Valkey [Engine Log](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Log_Delivery.html#Log_contents-engine-log). See the documentation on [Amazon ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Log_Delivery.html#Log_contents-engine-log). See Log Delivery Configuration below for more details.
        Returns:
        builder
      • logDeliveryConfigurations

        public ReplicationGroupState.Builder logDeliveryConfigurations​(java.util.List<ReplicationGroupLogDeliveryConfigurationArgs> logDeliveryConfigurations)
        Parameters:
        logDeliveryConfigurations - Specifies the destination and format of Redis OSS/Valkey [SLOWLOG](https://redis.io/commands/slowlog) or Redis OSS/Valkey [Engine Log](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Log_Delivery.html#Log_contents-engine-log). See the documentation on [Amazon ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Log_Delivery.html#Log_contents-engine-log). See Log Delivery Configuration below for more details.
        Returns:
        builder
      • logDeliveryConfigurations

        public ReplicationGroupState.Builder logDeliveryConfigurations​(ReplicationGroupLogDeliveryConfigurationArgs... logDeliveryConfigurations)
        Parameters:
        logDeliveryConfigurations - Specifies the destination and format of Redis OSS/Valkey [SLOWLOG](https://redis.io/commands/slowlog) or Redis OSS/Valkey [Engine Log](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Log_Delivery.html#Log_contents-engine-log). See the documentation on [Amazon ElastiCache](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Log_Delivery.html#Log_contents-engine-log). See Log Delivery Configuration below for more details.
        Returns:
        builder
      • maintenanceWindow

        public ReplicationGroupState.Builder maintenanceWindow​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> maintenanceWindow)
        Parameters:
        maintenanceWindow - Specifies the weekly time range for when maintenance on the cache cluster is performed. The format is `ddd:hh24:mi-ddd:hh24:mi` (24H Clock UTC). The minimum maintenance window is a 60 minute period. Example: `sun:05:00-sun:09:00`
        Returns:
        builder
      • maintenanceWindow

        public ReplicationGroupState.Builder maintenanceWindow​(java.lang.String maintenanceWindow)
        Parameters:
        maintenanceWindow - Specifies the weekly time range for when maintenance on the cache cluster is performed. The format is `ddd:hh24:mi-ddd:hh24:mi` (24H Clock UTC). The minimum maintenance window is a 60 minute period. Example: `sun:05:00-sun:09:00`
        Returns:
        builder
      • memberClusters

        public ReplicationGroupState.Builder memberClusters​(@Nullable
                                                            com.pulumi.core.Output<java.util.List<java.lang.String>> memberClusters)
        Parameters:
        memberClusters - Identifiers of all the nodes that are part of this replication group.
        Returns:
        builder
      • memberClusters

        public ReplicationGroupState.Builder memberClusters​(java.util.List<java.lang.String> memberClusters)
        Parameters:
        memberClusters - Identifiers of all the nodes that are part of this replication group.
        Returns:
        builder
      • memberClusters

        public ReplicationGroupState.Builder memberClusters​(java.lang.String... memberClusters)
        Parameters:
        memberClusters - Identifiers of all the nodes that are part of this replication group.
        Returns:
        builder
      • multiAzEnabled

        public ReplicationGroupState.Builder multiAzEnabled​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Boolean> multiAzEnabled)
        Parameters:
        multiAzEnabled - Specifies whether to enable Multi-AZ Support for the replication group. If `true`, `automaticFailoverEnabled` must also be enabled. Defaults to `false`.
        Returns:
        builder
      • multiAzEnabled

        public ReplicationGroupState.Builder multiAzEnabled​(java.lang.Boolean multiAzEnabled)
        Parameters:
        multiAzEnabled - Specifies whether to enable Multi-AZ Support for the replication group. If `true`, `automaticFailoverEnabled` must also be enabled. Defaults to `false`.
        Returns:
        builder
      • networkType

        public ReplicationGroupState.Builder networkType​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> networkType)
        Parameters:
        networkType - The IP versions for cache cluster connections. Valid values are `ipv4`, `ipv6` or `dualStack`.
        Returns:
        builder
      • networkType

        public ReplicationGroupState.Builder networkType​(java.lang.String networkType)
        Parameters:
        networkType - The IP versions for cache cluster connections. Valid values are `ipv4`, `ipv6` or `dualStack`.
        Returns:
        builder
      • nodeGroupConfigurations

        public ReplicationGroupState.Builder nodeGroupConfigurations​(@Nullable
                                                                     com.pulumi.core.Output<java.util.List<ReplicationGroupNodeGroupConfigurationArgs>> nodeGroupConfigurations)
        Parameters:
        nodeGroupConfigurations - Configuration block for node groups (shards). Can be specified only if `numNodeGroups` is set. Conflicts with `preferredCacheClusterAzs`. See Node Group Configuration below for more details.
        Returns:
        builder
      • nodeGroupConfigurations

        public ReplicationGroupState.Builder nodeGroupConfigurations​(java.util.List<ReplicationGroupNodeGroupConfigurationArgs> nodeGroupConfigurations)
        Parameters:
        nodeGroupConfigurations - Configuration block for node groups (shards). Can be specified only if `numNodeGroups` is set. Conflicts with `preferredCacheClusterAzs`. See Node Group Configuration below for more details.
        Returns:
        builder
      • nodeGroupConfigurations

        public ReplicationGroupState.Builder nodeGroupConfigurations​(ReplicationGroupNodeGroupConfigurationArgs... nodeGroupConfigurations)
        Parameters:
        nodeGroupConfigurations - Configuration block for node groups (shards). Can be specified only if `numNodeGroups` is set. Conflicts with `preferredCacheClusterAzs`. See Node Group Configuration below for more details.
        Returns:
        builder
      • nodeType

        public ReplicationGroupState.Builder nodeType​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> nodeType)
        Parameters:
        nodeType - Instance class to be used. See AWS documentation for information on [supported node types](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html) and [guidance on selecting node types](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/nodes-select-size.html). Required unless `globalReplicationGroupId` is set. Cannot be set if `globalReplicationGroupId` is set.
        Returns:
        builder
      • nodeType

        public ReplicationGroupState.Builder nodeType​(java.lang.String nodeType)
        Parameters:
        nodeType - Instance class to be used. See AWS documentation for information on [supported node types](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html) and [guidance on selecting node types](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/nodes-select-size.html). Required unless `globalReplicationGroupId` is set. Cannot be set if `globalReplicationGroupId` is set.
        Returns:
        builder
      • notificationTopicArn

        public ReplicationGroupState.Builder notificationTopicArn​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> notificationTopicArn)
        Parameters:
        notificationTopicArn - ARN of an SNS topic to send ElastiCache notifications to. Example: `arn:aws:sns:us-east-1:012345678999:my_sns_topic`
        Returns:
        builder
      • notificationTopicArn

        public ReplicationGroupState.Builder notificationTopicArn​(java.lang.String notificationTopicArn)
        Parameters:
        notificationTopicArn - ARN of an SNS topic to send ElastiCache notifications to. Example: `arn:aws:sns:us-east-1:012345678999:my_sns_topic`
        Returns:
        builder
      • numCacheClusters

        public ReplicationGroupState.Builder numCacheClusters​(@Nullable
                                                              com.pulumi.core.Output<java.lang.Integer> numCacheClusters)
        Parameters:
        numCacheClusters - Number of cache clusters (primary and replicas) this replication group will have. If `automaticFailoverEnabled` or `multiAzEnabled` are `true`, must be at least 2. Updates will occur before other modifications. Conflicts with `numNodeGroups` and `replicasPerNodeGroup`. Defaults to `1`.
        Returns:
        builder
      • numCacheClusters

        public ReplicationGroupState.Builder numCacheClusters​(java.lang.Integer numCacheClusters)
        Parameters:
        numCacheClusters - Number of cache clusters (primary and replicas) this replication group will have. If `automaticFailoverEnabled` or `multiAzEnabled` are `true`, must be at least 2. Updates will occur before other modifications. Conflicts with `numNodeGroups` and `replicasPerNodeGroup`. Defaults to `1`.
        Returns:
        builder
      • numNodeGroups

        public ReplicationGroupState.Builder numNodeGroups​(@Nullable
                                                           com.pulumi.core.Output<java.lang.Integer> numNodeGroups)
        Parameters:
        numNodeGroups - Number of node groups (shards) for this Redis replication group. Changing this number will trigger a resizing operation before other settings modifications. Conflicts with `numCacheClusters`.
        Returns:
        builder
      • numNodeGroups

        public ReplicationGroupState.Builder numNodeGroups​(java.lang.Integer numNodeGroups)
        Parameters:
        numNodeGroups - Number of node groups (shards) for this Redis replication group. Changing this number will trigger a resizing operation before other settings modifications. Conflicts with `numCacheClusters`.
        Returns:
        builder
      • parameterGroupName

        public ReplicationGroupState.Builder parameterGroupName​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> parameterGroupName)
        Parameters:
        parameterGroupName - Name of the parameter group to associate with this replication group. If this argument is omitted, the default cache parameter group for the specified engine is used. To enable "cluster mode", i.e., data sharding, use a parameter group that has the parameter `cluster-enabled` set to true.
        Returns:
        builder
      • parameterGroupName

        public ReplicationGroupState.Builder parameterGroupName​(java.lang.String parameterGroupName)
        Parameters:
        parameterGroupName - Name of the parameter group to associate with this replication group. If this argument is omitted, the default cache parameter group for the specified engine is used. To enable "cluster mode", i.e., data sharding, use a parameter group that has the parameter `cluster-enabled` set to true.
        Returns:
        builder
      • port

        public ReplicationGroupState.Builder port​(@Nullable
                                                  com.pulumi.core.Output<java.lang.Integer> port)
        Parameters:
        port - Port number on which each of the cache nodes will accept connections. For Memcache the default is 11211, and for Redis the default port is 6379.
        Returns:
        builder
      • port

        public ReplicationGroupState.Builder port​(java.lang.Integer port)
        Parameters:
        port - Port number on which each of the cache nodes will accept connections. For Memcache the default is 11211, and for Redis the default port is 6379.
        Returns:
        builder
      • preferredCacheClusterAzs

        public ReplicationGroupState.Builder preferredCacheClusterAzs​(@Nullable
                                                                      com.pulumi.core.Output<java.util.List<java.lang.String>> preferredCacheClusterAzs)
        Parameters:
        preferredCacheClusterAzs - List of EC2 availability zones in which the replication group's cache clusters will be created. The order of the availability zones in the list is considered. The first item in the list will be the primary node. Ignored when updating.
        Returns:
        builder
      • preferredCacheClusterAzs

        public ReplicationGroupState.Builder preferredCacheClusterAzs​(java.util.List<java.lang.String> preferredCacheClusterAzs)
        Parameters:
        preferredCacheClusterAzs - List of EC2 availability zones in which the replication group's cache clusters will be created. The order of the availability zones in the list is considered. The first item in the list will be the primary node. Ignored when updating.
        Returns:
        builder
      • preferredCacheClusterAzs

        public ReplicationGroupState.Builder preferredCacheClusterAzs​(java.lang.String... preferredCacheClusterAzs)
        Parameters:
        preferredCacheClusterAzs - List of EC2 availability zones in which the replication group's cache clusters will be created. The order of the availability zones in the list is considered. The first item in the list will be the primary node. Ignored when updating.
        Returns:
        builder
      • primaryEndpointAddress

        public ReplicationGroupState.Builder primaryEndpointAddress​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.String> primaryEndpointAddress)
        Parameters:
        primaryEndpointAddress - (Redis only) Address of the endpoint for the primary node in the replication group, if the cluster mode is disabled.
        Returns:
        builder
      • primaryEndpointAddress

        public ReplicationGroupState.Builder primaryEndpointAddress​(java.lang.String primaryEndpointAddress)
        Parameters:
        primaryEndpointAddress - (Redis only) Address of the endpoint for the primary node in the replication group, if the cluster mode is disabled.
        Returns:
        builder
      • readerEndpointAddress

        public ReplicationGroupState.Builder readerEndpointAddress​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.String> readerEndpointAddress)
        Parameters:
        readerEndpointAddress - (Redis only) Address of the endpoint for the reader node in the replication group, if the cluster mode is disabled.
        Returns:
        builder
      • readerEndpointAddress

        public ReplicationGroupState.Builder readerEndpointAddress​(java.lang.String readerEndpointAddress)
        Parameters:
        readerEndpointAddress - (Redis only) Address of the endpoint for the reader node in the replication group, if the cluster mode is disabled.
        Returns:
        builder
      • region

        public ReplicationGroupState.Builder region​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public ReplicationGroupState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • replicasPerNodeGroup

        public ReplicationGroupState.Builder replicasPerNodeGroup​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.Integer> replicasPerNodeGroup)
        Parameters:
        replicasPerNodeGroup - Number of replica nodes in each node group. Changing this number will trigger a resizing operation before other settings modifications. Default AWS limit is 5. Higher values may be available with a quota increase. Conflicts with `numCacheClusters`. Can only be set if `numNodeGroups` is set.
        Returns:
        builder
      • replicasPerNodeGroup

        public ReplicationGroupState.Builder replicasPerNodeGroup​(java.lang.Integer replicasPerNodeGroup)
        Parameters:
        replicasPerNodeGroup - Number of replica nodes in each node group. Changing this number will trigger a resizing operation before other settings modifications. Default AWS limit is 5. Higher values may be available with a quota increase. Conflicts with `numCacheClusters`. Can only be set if `numNodeGroups` is set.
        Returns:
        builder
      • replicationGroupId

        public ReplicationGroupState.Builder replicationGroupId​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> replicationGroupId)
        Parameters:
        replicationGroupId - Replication group identifier. This parameter is stored as a lowercase string. The following arguments are optional:
        Returns:
        builder
      • replicationGroupId

        public ReplicationGroupState.Builder replicationGroupId​(java.lang.String replicationGroupId)
        Parameters:
        replicationGroupId - Replication group identifier. This parameter is stored as a lowercase string. The following arguments are optional:
        Returns:
        builder
      • securityGroupIds

        public ReplicationGroupState.Builder securityGroupIds​(@Nullable
                                                              com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroupIds)
        Parameters:
        securityGroupIds - IDs of one or more Amazon VPC security groups associated with this replication group. Use this parameter only when you are creating a replication group in a VPC.
        Returns:
        builder
      • securityGroupIds

        public ReplicationGroupState.Builder securityGroupIds​(java.util.List<java.lang.String> securityGroupIds)
        Parameters:
        securityGroupIds - IDs of one or more Amazon VPC security groups associated with this replication group. Use this parameter only when you are creating a replication group in a VPC.
        Returns:
        builder
      • securityGroupIds

        public ReplicationGroupState.Builder securityGroupIds​(java.lang.String... securityGroupIds)
        Parameters:
        securityGroupIds - IDs of one or more Amazon VPC security groups associated with this replication group. Use this parameter only when you are creating a replication group in a VPC.
        Returns:
        builder
      • securityGroupNames

        public ReplicationGroupState.Builder securityGroupNames​(@Nullable
                                                                com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroupNames)
        Parameters:
        securityGroupNames - Names of one or more Amazon VPC security groups associated with this replication group. Use this parameter only when you are creating a replication group in a VPC.
        Returns:
        builder
      • securityGroupNames

        public ReplicationGroupState.Builder securityGroupNames​(java.util.List<java.lang.String> securityGroupNames)
        Parameters:
        securityGroupNames - Names of one or more Amazon VPC security groups associated with this replication group. Use this parameter only when you are creating a replication group in a VPC.
        Returns:
        builder
      • securityGroupNames

        public ReplicationGroupState.Builder securityGroupNames​(java.lang.String... securityGroupNames)
        Parameters:
        securityGroupNames - Names of one or more Amazon VPC security groups associated with this replication group. Use this parameter only when you are creating a replication group in a VPC.
        Returns:
        builder
      • snapshotArns

        public ReplicationGroupState.Builder snapshotArns​(@Nullable
                                                          com.pulumi.core.Output<java.util.List<java.lang.String>> snapshotArns)
        Parameters:
        snapshotArns - List of ARNs that identify Redis RDB snapshot files stored in Amazon S3. The names object names cannot contain any commas.
        Returns:
        builder
      • snapshotArns

        public ReplicationGroupState.Builder snapshotArns​(java.util.List<java.lang.String> snapshotArns)
        Parameters:
        snapshotArns - List of ARNs that identify Redis RDB snapshot files stored in Amazon S3. The names object names cannot contain any commas.
        Returns:
        builder
      • snapshotArns

        public ReplicationGroupState.Builder snapshotArns​(java.lang.String... snapshotArns)
        Parameters:
        snapshotArns - List of ARNs that identify Redis RDB snapshot files stored in Amazon S3. The names object names cannot contain any commas.
        Returns:
        builder
      • snapshotName

        public ReplicationGroupState.Builder snapshotName​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> snapshotName)
        Parameters:
        snapshotName - Name of a snapshot from which to restore data into the new node group. Changing the `snapshotName` forces a new resource.
        Returns:
        builder
      • snapshotName

        public ReplicationGroupState.Builder snapshotName​(java.lang.String snapshotName)
        Parameters:
        snapshotName - Name of a snapshot from which to restore data into the new node group. Changing the `snapshotName` forces a new resource.
        Returns:
        builder
      • snapshotRetentionLimit

        public ReplicationGroupState.Builder snapshotRetentionLimit​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.Integer> snapshotRetentionLimit)
        Parameters:
        snapshotRetentionLimit - Number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days before being deleted. If the value of `snapshotRetentionLimit` is set to zero (0), backups are turned off. Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro cache nodes
        Returns:
        builder
      • snapshotRetentionLimit

        public ReplicationGroupState.Builder snapshotRetentionLimit​(java.lang.Integer snapshotRetentionLimit)
        Parameters:
        snapshotRetentionLimit - Number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days before being deleted. If the value of `snapshotRetentionLimit` is set to zero (0), backups are turned off. Please note that setting a `snapshotRetentionLimit` is not supported on cache.t1.micro cache nodes
        Returns:
        builder
      • snapshotWindow

        public ReplicationGroupState.Builder snapshotWindow​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> snapshotWindow)
        Parameters:
        snapshotWindow - Daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster. The minimum snapshot window is a 60 minute period. Example: `05:00-09:00`
        Returns:
        builder
      • snapshotWindow

        public ReplicationGroupState.Builder snapshotWindow​(java.lang.String snapshotWindow)
        Parameters:
        snapshotWindow - Daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster. The minimum snapshot window is a 60 minute period. Example: `05:00-09:00`
        Returns:
        builder
      • subnetGroupName

        public ReplicationGroupState.Builder subnetGroupName​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> subnetGroupName)
        Parameters:
        subnetGroupName - Name of the cache subnet group to be used for the replication group.
        Returns:
        builder
      • subnetGroupName

        public ReplicationGroupState.Builder subnetGroupName​(java.lang.String subnetGroupName)
        Parameters:
        subnetGroupName - Name of the cache subnet group to be used for the replication group.
        Returns:
        builder
      • tags

        public ReplicationGroupState.Builder tags​(@Nullable
                                                  com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the resource. Adding tags to this resource will add or overwrite any existing tags on the clusters in the replication group and not to the group itself. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public ReplicationGroupState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the resource. Adding tags to this resource will add or overwrite any existing tags on the clusters in the replication group and not to the group itself. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public ReplicationGroupState.Builder tagsAll​(@Nullable
                                                     com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public ReplicationGroupState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • transitEncryptionEnabled

        public ReplicationGroupState.Builder transitEncryptionEnabled​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.Boolean> transitEncryptionEnabled)
        Parameters:
        transitEncryptionEnabled - Whether to enable encryption in transit. Changing this argument with an `engineVersion` < `7.0.5` will force a replacement. Engine versions prior to `7.0.5` only allow this transit encryption to be configured during creation of the replication group.
        Returns:
        builder
      • transitEncryptionEnabled

        public ReplicationGroupState.Builder transitEncryptionEnabled​(java.lang.Boolean transitEncryptionEnabled)
        Parameters:
        transitEncryptionEnabled - Whether to enable encryption in transit. Changing this argument with an `engineVersion` < `7.0.5` will force a replacement. Engine versions prior to `7.0.5` only allow this transit encryption to be configured during creation of the replication group.
        Returns:
        builder
      • transitEncryptionMode

        public ReplicationGroupState.Builder transitEncryptionMode​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.String> transitEncryptionMode)
        Parameters:
        transitEncryptionMode - A setting that enables clients to migrate to in-transit encryption with no downtime. Valid values are `preferred` and `required`. When enabling encryption on an existing replication group, this must first be set to `preferred` before setting it to `required` in a subsequent apply. See the `TransitEncryptionMode` field in the [`CreateReplicationGroup` API documentation](https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_CreateReplicationGroup.html) for additional details.
        Returns:
        builder
      • transitEncryptionMode

        public ReplicationGroupState.Builder transitEncryptionMode​(java.lang.String transitEncryptionMode)
        Parameters:
        transitEncryptionMode - A setting that enables clients to migrate to in-transit encryption with no downtime. Valid values are `preferred` and `required`. When enabling encryption on an existing replication group, this must first be set to `preferred` before setting it to `required` in a subsequent apply. See the `TransitEncryptionMode` field in the [`CreateReplicationGroup` API documentation](https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_CreateReplicationGroup.html) for additional details.
        Returns:
        builder
      • userGroupIds

        public ReplicationGroupState.Builder userGroupIds​(@Nullable
                                                          com.pulumi.core.Output<java.util.List<java.lang.String>> userGroupIds)
        Parameters:
        userGroupIds - User Group ID to associate with the replication group. Only a maximum of one (1) user group ID is valid. **NOTE:** This argument _is_ a set because the AWS specification allows for multiple IDs. However, in practice, AWS only allows a maximum size of one.
        Returns:
        builder
      • userGroupIds

        public ReplicationGroupState.Builder userGroupIds​(java.util.List<java.lang.String> userGroupIds)
        Parameters:
        userGroupIds - User Group ID to associate with the replication group. Only a maximum of one (1) user group ID is valid. **NOTE:** This argument _is_ a set because the AWS specification allows for multiple IDs. However, in practice, AWS only allows a maximum size of one.
        Returns:
        builder
      • userGroupIds

        public ReplicationGroupState.Builder userGroupIds​(java.lang.String... userGroupIds)
        Parameters:
        userGroupIds - User Group ID to associate with the replication group. Only a maximum of one (1) user group ID is valid. **NOTE:** This argument _is_ a set because the AWS specification allows for multiple IDs. However, in practice, AWS only allows a maximum size of one.
        Returns:
        builder