Skip to main content

service_updates

Creates, updates, deletes, gets or lists a service_updates resource.

Overview

Nameservice_updates
TypeResource
Idaws.elasticache.service_updates

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
auto_update_after_recommended_apply_by_datebooleanIndicates whether the service update will be automatically applied once the recommended apply-by date has expired.
enginestringThe Elasticache engine to which the update applies. Either Valkey, Redis OSS or Memcached.
engine_versionstringThe Elasticache engine version to which the update applies. Either Valkey, Redis OSS or Memcached engine version.
estimated_update_timestringThe estimated length of time the service update will take
service_update_descriptionstringProvides details of the service update
service_update_end_datestringThe date after which the service update is no longer available
service_update_namestringThe unique ID of the service update
service_update_recommended_apply_by_datestringThe recommendend date to apply the service update in order to ensure compliance. For information on compliance, see Self-Service Security Updates for Compliance.
service_update_release_datestringThe date when the service update is initially available
service_update_severitystringThe severity of the service update
service_update_statusstringThe status of the service update
service_update_typestringReflects the nature of the service update

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_service_updatesselectregionServiceUpdateName, ServiceUpdateStatus, MaxRecords, MarkerReturns details of the service updates
batch_apply_update_actionexecServiceUpdateName, regionReplicationGroupIds, CacheClusterIdsApply the service update. For more information on service updates and applying them, see Applying Service Updates.
batch_stop_update_actionexecServiceUpdateName, regionReplicationGroupIds, CacheClusterIdsStop the service update. For more information on service updates and stopping them, see Stopping Service Updates.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
ServiceUpdateNamestringThe unique ID of the service update
regionstringAWS region (default: us-east-1)
CacheClusterIdsarrayThe cache cluster IDs
MarkerstringAn optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
MaxRecordsintegerThe maximum number of records to include in the response
ReplicationGroupIdsarrayThe replication group IDs
ServiceUpdateNamestringThe unique ID of the service update
ServiceUpdateStatusarrayThe status of the service update

SELECT examples

Returns details of the service updates

SELECT
auto_update_after_recommended_apply_by_date,
engine,
engine_version,
estimated_update_time,
service_update_description,
service_update_end_date,
service_update_name,
service_update_recommended_apply_by_date,
service_update_release_date,
service_update_severity,
service_update_status,
service_update_type
FROM aws.elasticache.service_updates
WHERE region = '{{ region }}' -- required
AND ServiceUpdateName = '{{ ServiceUpdateName }}'
AND ServiceUpdateStatus = '{{ ServiceUpdateStatus }}'
AND MaxRecords = '{{ MaxRecords }}'
AND Marker = '{{ Marker }}'
;

Lifecycle Methods

Apply the service update. For more information on service updates and applying them, see Applying Service Updates.

EXEC aws.elasticache.service_updates.batch_apply_update_action
@ServiceUpdateName='{{ ServiceUpdateName }}' --required,
@region='{{ region }}' --required,
@ReplicationGroupIds='{{ ReplicationGroupIds }}',
@CacheClusterIds='{{ CacheClusterIds }}'
;