amazonka-elasticache-2.0: Amazon ElastiCache SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ElastiCache.ModifyReplicationGroup

Description

Modifies the settings for a replication group.

This operation is valid for Redis only.

Synopsis

Creating a Request

data ModifyReplicationGroup Source #

Represents the input of a ModifyReplicationGroups operation.

See: newModifyReplicationGroup smart constructor.

Constructors

ModifyReplicationGroup' 

Fields

  • applyImmediately :: Maybe Bool

    If true, this parameter causes the modifications in this request and any pending modifications to be applied, asynchronously and as soon as possible, regardless of the PreferredMaintenanceWindow setting for the replication group.

    If false, changes to the nodes in the replication group are applied on the next maintenance reboot, or the next failure reboot, whichever occurs first.

    Valid values: true | false

    Default: false

  • authToken :: Maybe Text

    Reserved parameter. The password used to access a password protected server. This parameter must be specified with the auth-token-update-strategy parameter. Password constraints:

    • Must be only printable ASCII characters
    • Must be at least 16 characters and no more than 128 characters in length
    • Cannot contain any of the following characters: '/', '"', or '@', '%'

    For more information, see AUTH password at AUTH.

  • authTokenUpdateStrategy :: Maybe AuthTokenUpdateStrategyType

    Specifies the strategy to use to update the AUTH token. This parameter must be specified with the auth-token parameter. Possible values:

    • Rotate
    • Set

    For more information, see Authenticating Users with Redis AUTH

  • autoMinorVersionUpgrade :: Maybe Bool

    If you are running Redis engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next auto minor version upgrade campaign. This parameter is disabled for previous versions.

  • automaticFailoverEnabled :: Maybe Bool

    Determines whether a read replica is automatically promoted to read/write primary if the existing primary encounters a failure.

    Valid values: true | false

  • cacheNodeType :: Maybe Text

    A valid cache node type that you want to scale this replication group to.

  • cacheParameterGroupName :: Maybe Text

    The name of the cache parameter group to apply to all of the clusters in this replication group. This change is asynchronously applied as soon as possible for parameters when the ApplyImmediately parameter is specified as true for this request.

  • cacheSecurityGroupNames :: Maybe [Text]

    A list of cache security group names to authorize for the clusters in this replication group. This change is asynchronously applied as soon as possible.

    This parameter can be used only with replication group containing clusters running outside of an Amazon Virtual Private Cloud (Amazon VPC).

    Constraints: Must contain no more than 255 alphanumeric characters. Must not be Default.

  • engineVersion :: Maybe Text

    The upgraded version of the cache engine to be run on the clusters in the replication group.

    Important: You can upgrade to a newer engine version (see Selecting a Cache Engine and Version), but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing replication group and create it anew with the earlier engine version.

  • ipDiscovery :: Maybe IpDiscovery

    The network type you choose when modifying a cluster, either ipv4 | ipv6. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.

  • logDeliveryConfigurations :: Maybe [LogDeliveryConfigurationRequest]

    Specifies the destination, format and type of the logs.

  • multiAZEnabled :: Maybe Bool

    A flag to indicate MultiAZ is enabled.

  • nodeGroupId :: Maybe Text

    Deprecated. This parameter is not used.

  • notificationTopicArn :: Maybe Text

    The Amazon Resource Name (ARN) of the Amazon SNS topic to which notifications are sent.

    The Amazon SNS topic owner must be same as the replication group owner.

  • notificationTopicStatus :: Maybe Text

    The status of the Amazon SNS notification topic for the replication group. Notifications are sent only if the status is active.

    Valid values: active | inactive

  • preferredMaintenanceWindow :: Maybe Text

    Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.

    Valid values for ddd are:

    • sun
    • mon
    • tue
    • wed
    • thu
    • fri
    • sat

    Example: sun:23:00-mon:01:30

  • primaryClusterId :: Maybe Text

    For replication groups with a single primary, if this parameter is specified, ElastiCache promotes the specified cluster in the specified replication group to the primary role. The nodes of all other clusters in the replication group are read replicas.

  • removeUserGroups :: Maybe Bool

    Removes the user group associated with this replication group.

  • replicationGroupDescription :: Maybe Text

    A description for the replication group. Maximum length is 255 characters.

  • securityGroupIds :: Maybe [Text]

    Specifies the VPC Security Groups associated with the clusters in the replication group.

    This parameter can be used only with replication group containing clusters running in an Amazon Virtual Private Cloud (Amazon VPC).

  • snapshotRetentionLimit :: Maybe Int

    The number of days for which ElastiCache retains automatic node group (shard) snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted.

    Important If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.

  • snapshotWindow :: Maybe Text

    The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of the node group (shard) specified by SnapshottingClusterId.

    Example: 05:00-09:00

    If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.

  • snapshottingClusterId :: Maybe Text

    The cluster ID that is used as the daily snapshot source for the replication group. This parameter cannot be set for Redis (cluster mode enabled) replication groups.

  • transitEncryptionEnabled :: Maybe Bool

    A flag that enables in-transit encryption when set to true. If you are enabling in-transit encryption for an existing cluster, you must also set TransitEncryptionMode to preferred.

  • transitEncryptionMode :: Maybe TransitEncryptionMode

    A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.

    You must set TransitEncryptionEnabled to true, for your existing cluster, and set TransitEncryptionMode to preferred in the same request to allow both encrypted and unencrypted connections at the same time. Once you migrate all your Redis clients to use encrypted connections you can set the value to required to allow encrypted connections only.

    Setting TransitEncryptionMode to required is a two-step process that requires you to first set the TransitEncryptionMode to preferred first, after that you can set TransitEncryptionMode to required.

  • userGroupIdsToAdd :: Maybe [Text]

    The ID of the user group you are associating with the replication group.

  • userGroupIdsToRemove :: Maybe [Text]

    The ID of the user group to disassociate from the replication group, meaning the users in the group no longer can access the replication group.

  • replicationGroupId :: Text

    The identifier of the replication group to modify.

Instances

Instances details
ToHeaders ModifyReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyReplicationGroup

ToPath ModifyReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyReplicationGroup

ToQuery ModifyReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyReplicationGroup

AWSRequest ModifyReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyReplicationGroup

Associated Types

type AWSResponse ModifyReplicationGroup #

Generic ModifyReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyReplicationGroup

Associated Types

type Rep ModifyReplicationGroup :: Type -> Type #

Read ModifyReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyReplicationGroup

Show ModifyReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyReplicationGroup

NFData ModifyReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyReplicationGroup

Methods

rnf :: ModifyReplicationGroup -> () #

Eq ModifyReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyReplicationGroup

Hashable ModifyReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyReplicationGroup

type AWSResponse ModifyReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyReplicationGroup

type Rep ModifyReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyReplicationGroup

type Rep ModifyReplicationGroup = D1 ('MetaData "ModifyReplicationGroup" "Amazonka.ElastiCache.ModifyReplicationGroup" "amazonka-elasticache-2.0-DTWyHgx8JwY7IlNovngF22" 'False) (C1 ('MetaCons "ModifyReplicationGroup'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "applyImmediately") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "authToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "authTokenUpdateStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AuthTokenUpdateStrategyType)))) :*: ((S1 ('MetaSel ('Just "autoMinorVersionUpgrade") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "automaticFailoverEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "cacheNodeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "cacheParameterGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "cacheSecurityGroupNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "engineVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ipDiscovery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IpDiscovery)))) :*: ((S1 ('MetaSel ('Just "logDeliveryConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LogDeliveryConfigurationRequest])) :*: S1 ('MetaSel ('Just "multiAZEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "nodeGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "notificationTopicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "notificationTopicStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "preferredMaintenanceWindow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "primaryClusterId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "removeUserGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "replicationGroupDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "securityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "snapshotRetentionLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 ('MetaSel ('Just "snapshotWindow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "snapshottingClusterId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "transitEncryptionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "transitEncryptionMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TransitEncryptionMode)) :*: S1 ('MetaSel ('Just "userGroupIdsToAdd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "userGroupIdsToRemove") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "replicationGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))))

newModifyReplicationGroup Source #

Create a value of ModifyReplicationGroup with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:applyImmediately:ModifyReplicationGroup', modifyReplicationGroup_applyImmediately - If true, this parameter causes the modifications in this request and any pending modifications to be applied, asynchronously and as soon as possible, regardless of the PreferredMaintenanceWindow setting for the replication group.

If false, changes to the nodes in the replication group are applied on the next maintenance reboot, or the next failure reboot, whichever occurs first.

Valid values: true | false

Default: false

$sel:authToken:ModifyReplicationGroup', modifyReplicationGroup_authToken - Reserved parameter. The password used to access a password protected server. This parameter must be specified with the auth-token-update-strategy parameter. Password constraints:

  • Must be only printable ASCII characters
  • Must be at least 16 characters and no more than 128 characters in length
  • Cannot contain any of the following characters: '/', '"', or '@', '%'

For more information, see AUTH password at AUTH.

$sel:authTokenUpdateStrategy:ModifyReplicationGroup', modifyReplicationGroup_authTokenUpdateStrategy - Specifies the strategy to use to update the AUTH token. This parameter must be specified with the auth-token parameter. Possible values:

  • Rotate
  • Set

For more information, see Authenticating Users with Redis AUTH

ModifyReplicationGroup, modifyReplicationGroup_autoMinorVersionUpgrade - If you are running Redis engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next auto minor version upgrade campaign. This parameter is disabled for previous versions.

$sel:automaticFailoverEnabled:ModifyReplicationGroup', modifyReplicationGroup_automaticFailoverEnabled - Determines whether a read replica is automatically promoted to read/write primary if the existing primary encounters a failure.

Valid values: true | false

ModifyReplicationGroup, modifyReplicationGroup_cacheNodeType - A valid cache node type that you want to scale this replication group to.

ModifyReplicationGroup, modifyReplicationGroup_cacheParameterGroupName - The name of the cache parameter group to apply to all of the clusters in this replication group. This change is asynchronously applied as soon as possible for parameters when the ApplyImmediately parameter is specified as true for this request.

$sel:cacheSecurityGroupNames:ModifyReplicationGroup', modifyReplicationGroup_cacheSecurityGroupNames - A list of cache security group names to authorize for the clusters in this replication group. This change is asynchronously applied as soon as possible.

This parameter can be used only with replication group containing clusters running outside of an Amazon Virtual Private Cloud (Amazon VPC).

Constraints: Must contain no more than 255 alphanumeric characters. Must not be Default.

ModifyReplicationGroup, modifyReplicationGroup_engineVersion - The upgraded version of the cache engine to be run on the clusters in the replication group.

Important: You can upgrade to a newer engine version (see Selecting a Cache Engine and Version), but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing replication group and create it anew with the earlier engine version.

ModifyReplicationGroup, modifyReplicationGroup_ipDiscovery - The network type you choose when modifying a cluster, either ipv4 | ipv6. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.

ModifyReplicationGroup, modifyReplicationGroup_logDeliveryConfigurations - Specifies the destination, format and type of the logs.

$sel:multiAZEnabled:ModifyReplicationGroup', modifyReplicationGroup_multiAZEnabled - A flag to indicate MultiAZ is enabled.

ModifyReplicationGroup, modifyReplicationGroup_nodeGroupId - Deprecated. This parameter is not used.

$sel:notificationTopicArn:ModifyReplicationGroup', modifyReplicationGroup_notificationTopicArn - The Amazon Resource Name (ARN) of the Amazon SNS topic to which notifications are sent.

The Amazon SNS topic owner must be same as the replication group owner.

$sel:notificationTopicStatus:ModifyReplicationGroup', modifyReplicationGroup_notificationTopicStatus - The status of the Amazon SNS notification topic for the replication group. Notifications are sent only if the status is active.

Valid values: active | inactive

ModifyReplicationGroup, modifyReplicationGroup_preferredMaintenanceWindow - Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.

Valid values for ddd are:

  • sun
  • mon
  • tue
  • wed
  • thu
  • fri
  • sat

Example: sun:23:00-mon:01:30

ModifyReplicationGroup, modifyReplicationGroup_primaryClusterId - For replication groups with a single primary, if this parameter is specified, ElastiCache promotes the specified cluster in the specified replication group to the primary role. The nodes of all other clusters in the replication group are read replicas.

$sel:removeUserGroups:ModifyReplicationGroup', modifyReplicationGroup_removeUserGroups - Removes the user group associated with this replication group.

ModifyReplicationGroup, modifyReplicationGroup_replicationGroupDescription - A description for the replication group. Maximum length is 255 characters.

$sel:securityGroupIds:ModifyReplicationGroup', modifyReplicationGroup_securityGroupIds - Specifies the VPC Security Groups associated with the clusters in the replication group.

This parameter can be used only with replication group containing clusters running in an Amazon Virtual Private Cloud (Amazon VPC).

ModifyReplicationGroup, modifyReplicationGroup_snapshotRetentionLimit - The number of days for which ElastiCache retains automatic node group (shard) snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted.

Important If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.

ModifyReplicationGroup, modifyReplicationGroup_snapshotWindow - The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of the node group (shard) specified by SnapshottingClusterId.

Example: 05:00-09:00

If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.

ModifyReplicationGroup, modifyReplicationGroup_snapshottingClusterId - The cluster ID that is used as the daily snapshot source for the replication group. This parameter cannot be set for Redis (cluster mode enabled) replication groups.

ModifyReplicationGroup, modifyReplicationGroup_transitEncryptionEnabled - A flag that enables in-transit encryption when set to true. If you are enabling in-transit encryption for an existing cluster, you must also set TransitEncryptionMode to preferred.

ModifyReplicationGroup, modifyReplicationGroup_transitEncryptionMode - A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.

You must set TransitEncryptionEnabled to true, for your existing cluster, and set TransitEncryptionMode to preferred in the same request to allow both encrypted and unencrypted connections at the same time. Once you migrate all your Redis clients to use encrypted connections you can set the value to required to allow encrypted connections only.

Setting TransitEncryptionMode to required is a two-step process that requires you to first set the TransitEncryptionMode to preferred first, after that you can set TransitEncryptionMode to required.

ModifyReplicationGroup, modifyReplicationGroup_userGroupIdsToAdd - The ID of the user group you are associating with the replication group.

ModifyReplicationGroup, modifyReplicationGroup_userGroupIdsToRemove - The ID of the user group to disassociate from the replication group, meaning the users in the group no longer can access the replication group.

ModifyReplicationGroup, modifyReplicationGroup_replicationGroupId - The identifier of the replication group to modify.

Request Lenses

modifyReplicationGroup_applyImmediately :: Lens' ModifyReplicationGroup (Maybe Bool) Source #

If true, this parameter causes the modifications in this request and any pending modifications to be applied, asynchronously and as soon as possible, regardless of the PreferredMaintenanceWindow setting for the replication group.

If false, changes to the nodes in the replication group are applied on the next maintenance reboot, or the next failure reboot, whichever occurs first.

Valid values: true | false

Default: false

modifyReplicationGroup_authToken :: Lens' ModifyReplicationGroup (Maybe Text) Source #

Reserved parameter. The password used to access a password protected server. This parameter must be specified with the auth-token-update-strategy parameter. Password constraints:

  • Must be only printable ASCII characters
  • Must be at least 16 characters and no more than 128 characters in length
  • Cannot contain any of the following characters: '/', '"', or '@', '%'

For more information, see AUTH password at AUTH.

modifyReplicationGroup_authTokenUpdateStrategy :: Lens' ModifyReplicationGroup (Maybe AuthTokenUpdateStrategyType) Source #

Specifies the strategy to use to update the AUTH token. This parameter must be specified with the auth-token parameter. Possible values:

  • Rotate
  • Set

For more information, see Authenticating Users with Redis AUTH

modifyReplicationGroup_autoMinorVersionUpgrade :: Lens' ModifyReplicationGroup (Maybe Bool) Source #

If you are running Redis engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next auto minor version upgrade campaign. This parameter is disabled for previous versions.

modifyReplicationGroup_automaticFailoverEnabled :: Lens' ModifyReplicationGroup (Maybe Bool) Source #

Determines whether a read replica is automatically promoted to read/write primary if the existing primary encounters a failure.

Valid values: true | false

modifyReplicationGroup_cacheNodeType :: Lens' ModifyReplicationGroup (Maybe Text) Source #

A valid cache node type that you want to scale this replication group to.

modifyReplicationGroup_cacheParameterGroupName :: Lens' ModifyReplicationGroup (Maybe Text) Source #

The name of the cache parameter group to apply to all of the clusters in this replication group. This change is asynchronously applied as soon as possible for parameters when the ApplyImmediately parameter is specified as true for this request.

modifyReplicationGroup_cacheSecurityGroupNames :: Lens' ModifyReplicationGroup (Maybe [Text]) Source #

A list of cache security group names to authorize for the clusters in this replication group. This change is asynchronously applied as soon as possible.

This parameter can be used only with replication group containing clusters running outside of an Amazon Virtual Private Cloud (Amazon VPC).

Constraints: Must contain no more than 255 alphanumeric characters. Must not be Default.

modifyReplicationGroup_engineVersion :: Lens' ModifyReplicationGroup (Maybe Text) Source #

The upgraded version of the cache engine to be run on the clusters in the replication group.

Important: You can upgrade to a newer engine version (see Selecting a Cache Engine and Version), but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing replication group and create it anew with the earlier engine version.

modifyReplicationGroup_ipDiscovery :: Lens' ModifyReplicationGroup (Maybe IpDiscovery) Source #

The network type you choose when modifying a cluster, either ipv4 | ipv6. IPv6 is supported for workloads using Redis engine version 6.2 onward or Memcached engine version 1.6.6 on all instances built on the Nitro system.

modifyReplicationGroup_notificationTopicArn :: Lens' ModifyReplicationGroup (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon SNS topic to which notifications are sent.

The Amazon SNS topic owner must be same as the replication group owner.

modifyReplicationGroup_notificationTopicStatus :: Lens' ModifyReplicationGroup (Maybe Text) Source #

The status of the Amazon SNS notification topic for the replication group. Notifications are sent only if the status is active.

Valid values: active | inactive

modifyReplicationGroup_preferredMaintenanceWindow :: Lens' ModifyReplicationGroup (Maybe Text) Source #

Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.

Valid values for ddd are:

  • sun
  • mon
  • tue
  • wed
  • thu
  • fri
  • sat

Example: sun:23:00-mon:01:30

modifyReplicationGroup_primaryClusterId :: Lens' ModifyReplicationGroup (Maybe Text) Source #

For replication groups with a single primary, if this parameter is specified, ElastiCache promotes the specified cluster in the specified replication group to the primary role. The nodes of all other clusters in the replication group are read replicas.

modifyReplicationGroup_removeUserGroups :: Lens' ModifyReplicationGroup (Maybe Bool) Source #

Removes the user group associated with this replication group.

modifyReplicationGroup_replicationGroupDescription :: Lens' ModifyReplicationGroup (Maybe Text) Source #

A description for the replication group. Maximum length is 255 characters.

modifyReplicationGroup_securityGroupIds :: Lens' ModifyReplicationGroup (Maybe [Text]) Source #

Specifies the VPC Security Groups associated with the clusters in the replication group.

This parameter can be used only with replication group containing clusters running in an Amazon Virtual Private Cloud (Amazon VPC).

modifyReplicationGroup_snapshotRetentionLimit :: Lens' ModifyReplicationGroup (Maybe Int) Source #

The number of days for which ElastiCache retains automatic node group (shard) snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted.

Important If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.

modifyReplicationGroup_snapshotWindow :: Lens' ModifyReplicationGroup (Maybe Text) Source #

The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of the node group (shard) specified by SnapshottingClusterId.

Example: 05:00-09:00

If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.

modifyReplicationGroup_snapshottingClusterId :: Lens' ModifyReplicationGroup (Maybe Text) Source #

The cluster ID that is used as the daily snapshot source for the replication group. This parameter cannot be set for Redis (cluster mode enabled) replication groups.

modifyReplicationGroup_transitEncryptionEnabled :: Lens' ModifyReplicationGroup (Maybe Bool) Source #

A flag that enables in-transit encryption when set to true. If you are enabling in-transit encryption for an existing cluster, you must also set TransitEncryptionMode to preferred.

modifyReplicationGroup_transitEncryptionMode :: Lens' ModifyReplicationGroup (Maybe TransitEncryptionMode) Source #

A setting that allows you to migrate your clients to use in-transit encryption, with no downtime.

You must set TransitEncryptionEnabled to true, for your existing cluster, and set TransitEncryptionMode to preferred in the same request to allow both encrypted and unencrypted connections at the same time. Once you migrate all your Redis clients to use encrypted connections you can set the value to required to allow encrypted connections only.

Setting TransitEncryptionMode to required is a two-step process that requires you to first set the TransitEncryptionMode to preferred first, after that you can set TransitEncryptionMode to required.

modifyReplicationGroup_userGroupIdsToAdd :: Lens' ModifyReplicationGroup (Maybe [Text]) Source #

The ID of the user group you are associating with the replication group.

modifyReplicationGroup_userGroupIdsToRemove :: Lens' ModifyReplicationGroup (Maybe [Text]) Source #

The ID of the user group to disassociate from the replication group, meaning the users in the group no longer can access the replication group.

modifyReplicationGroup_replicationGroupId :: Lens' ModifyReplicationGroup Text Source #

The identifier of the replication group to modify.

Destructuring the Response

data ModifyReplicationGroupResponse Source #

See: newModifyReplicationGroupResponse smart constructor.

Constructors

ModifyReplicationGroupResponse' 

Fields

Instances

Instances details
Generic ModifyReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyReplicationGroup

Associated Types

type Rep ModifyReplicationGroupResponse :: Type -> Type #

Read ModifyReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyReplicationGroup

Show ModifyReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyReplicationGroup

NFData ModifyReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyReplicationGroup

Eq ModifyReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyReplicationGroup

type Rep ModifyReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyReplicationGroup

type Rep ModifyReplicationGroupResponse = D1 ('MetaData "ModifyReplicationGroupResponse" "Amazonka.ElastiCache.ModifyReplicationGroup" "amazonka-elasticache-2.0-DTWyHgx8JwY7IlNovngF22" 'False) (C1 ('MetaCons "ModifyReplicationGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "replicationGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReplicationGroup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newModifyReplicationGroupResponse Source #

Create a value of ModifyReplicationGroupResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:replicationGroup:ModifyReplicationGroupResponse', modifyReplicationGroupResponse_replicationGroup - Undocumented member.

$sel:httpStatus:ModifyReplicationGroupResponse', modifyReplicationGroupResponse_httpStatus - The response's http status code.

Response Lenses