published on Thursday, Jul 23, 2026 by Pulumi
published on Thursday, Jul 23, 2026 by Pulumi
Provides details about an AWS ElastiCache Service Update Actions for a given Cache Cluster or Replication Group.
When creating a new Cache Cluster or Replication Group, it takes approximately 10 minutes for Update Actions to be listed.
Example Usage
Basic Usage
The following example will list all Update Actions for the Cache Cluster with a service update status of available.
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.elasticache.getServiceUpdateActions({
cacheClusterId: exampleAwsElasticacheCluster.clusterId,
serviceUpdateStatuses: ["available"],
});
import pulumi
import pulumi_aws as aws
example = aws.elasticache.get_service_update_actions(cache_cluster_id=example_aws_elasticache_cluster["clusterId"],
service_update_statuses=["available"])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/elasticache"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := elasticache.GetServiceUpdateActions(ctx, &elasticache.GetServiceUpdateActionsArgs{
CacheClusterId: pulumi.StringRef(exampleAwsElasticacheCluster.ClusterId),
ServiceUpdateStatuses: []string{
"available",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.ElastiCache.GetServiceUpdateActions.Invoke(new()
{
CacheClusterId = exampleAwsElasticacheCluster.ClusterId,
ServiceUpdateStatuses = new[]
{
"available",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.elasticache.ElasticacheFunctions;
import com.pulumi.aws.elasticache.inputs.GetServiceUpdateActionsArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = ElasticacheFunctions.getServiceUpdateActions(GetServiceUpdateActionsArgs.builder()
.cacheClusterId(exampleAwsElasticacheCluster.clusterId())
.serviceUpdateStatuses("available")
.build());
}
}
variables:
example:
fn::invoke:
function: aws:elasticache:getServiceUpdateActions
arguments:
cacheClusterId: ${exampleAwsElasticacheCluster.clusterId}
serviceUpdateStatuses:
- available
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
data "aws_elasticache_getserviceupdateactions" "example" {
cache_cluster_id = exampleAwsElasticacheCluster.clusterId
service_update_statuses = ["available"]
}
Using getServiceUpdateActions
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getServiceUpdateActions(args: GetServiceUpdateActionsArgs, opts?: InvokeOptions): Promise<GetServiceUpdateActionsResult>
function getServiceUpdateActionsOutput(args: GetServiceUpdateActionsOutputArgs, opts?: InvokeOptions): Output<GetServiceUpdateActionsResult>def get_service_update_actions(cache_cluster_id: Optional[str] = None,
region: Optional[str] = None,
replication_group_id: Optional[str] = None,
service_update_statuses: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceUpdateActionsResult
def get_service_update_actions_output(cache_cluster_id: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
replication_group_id: pulumi.Input[Optional[str]] = None,
service_update_statuses: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceUpdateActionsResult]func GetServiceUpdateActions(ctx *Context, args *GetServiceUpdateActionsArgs, opts ...InvokeOption) (*GetServiceUpdateActionsResult, error)
func GetServiceUpdateActionsOutput(ctx *Context, args *GetServiceUpdateActionsOutputArgs, opts ...InvokeOption) GetServiceUpdateActionsResultOutput> Note: This function is named GetServiceUpdateActions in the Go SDK.
public static class GetServiceUpdateActions
{
public static Task<GetServiceUpdateActionsResult> InvokeAsync(GetServiceUpdateActionsArgs args, InvokeOptions? opts = null)
public static Output<GetServiceUpdateActionsResult> Invoke(GetServiceUpdateActionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServiceUpdateActionsResult> getServiceUpdateActions(GetServiceUpdateActionsArgs args, InvokeOptions options)
public static Output<GetServiceUpdateActionsResult> getServiceUpdateActions(GetServiceUpdateActionsArgs args, InvokeOptions options)
fn::invoke:
function: aws:elasticache/getServiceUpdateActions:getServiceUpdateActions
arguments:
# arguments dictionarydata "aws_elasticache_get_service_update_actions" "name" {
# arguments
}The following arguments are supported:
- Cache
Cluster stringId - ID of Cache Cluster to list updates for. If neither
cacheClusterIdnorreplicationGroupIdare specified, all service update actions will be listed. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Replication
Group stringId - ID of Replication Group to list updates for. If neither
replicationGroupIdnorcacheClusterIdare specified, all service update actions will be listed. - Service
Update List<string>Statuses - Service update statuses to include in list. Valid values are
available,cancelled, andexpired. If no value is specified, service updates in all statuses will be listed.
- Cache
Cluster stringId - ID of Cache Cluster to list updates for. If neither
cacheClusterIdnorreplicationGroupIdare specified, all service update actions will be listed. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Replication
Group stringId - ID of Replication Group to list updates for. If neither
replicationGroupIdnorcacheClusterIdare specified, all service update actions will be listed. - Service
Update []stringStatuses - Service update statuses to include in list. Valid values are
available,cancelled, andexpired. If no value is specified, service updates in all statuses will be listed.
- cache_
cluster_ stringid - ID of Cache Cluster to list updates for. If neither
cacheClusterIdnorreplicationGroupIdare specified, all service update actions will be listed. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- replication_
group_ stringid - ID of Replication Group to list updates for. If neither
replicationGroupIdnorcacheClusterIdare specified, all service update actions will be listed. - service_
update_ list(string)statuses - Service update statuses to include in list. Valid values are
available,cancelled, andexpired. If no value is specified, service updates in all statuses will be listed.
- cache
Cluster StringId - ID of Cache Cluster to list updates for. If neither
cacheClusterIdnorreplicationGroupIdare specified, all service update actions will be listed. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- replication
Group StringId - ID of Replication Group to list updates for. If neither
replicationGroupIdnorcacheClusterIdare specified, all service update actions will be listed. - service
Update List<String>Statuses - Service update statuses to include in list. Valid values are
available,cancelled, andexpired. If no value is specified, service updates in all statuses will be listed.
- cache
Cluster stringId - ID of Cache Cluster to list updates for. If neither
cacheClusterIdnorreplicationGroupIdare specified, all service update actions will be listed. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- replication
Group stringId - ID of Replication Group to list updates for. If neither
replicationGroupIdnorcacheClusterIdare specified, all service update actions will be listed. - service
Update string[]Statuses - Service update statuses to include in list. Valid values are
available,cancelled, andexpired. If no value is specified, service updates in all statuses will be listed.
- cache_
cluster_ strid - ID of Cache Cluster to list updates for. If neither
cacheClusterIdnorreplicationGroupIdare specified, all service update actions will be listed. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- replication_
group_ strid - ID of Replication Group to list updates for. If neither
replicationGroupIdnorcacheClusterIdare specified, all service update actions will be listed. - service_
update_ Sequence[str]statuses - Service update statuses to include in list. Valid values are
available,cancelled, andexpired. If no value is specified, service updates in all statuses will be listed.
- cache
Cluster StringId - ID of Cache Cluster to list updates for. If neither
cacheClusterIdnorreplicationGroupIdare specified, all service update actions will be listed. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- replication
Group StringId - ID of Replication Group to list updates for. If neither
replicationGroupIdnorcacheClusterIdare specified, all service update actions will be listed. - service
Update List<String>Statuses - Service update statuses to include in list. Valid values are
available,cancelled, andexpired. If no value is specified, service updates in all statuses will be listed.
getServiceUpdateActions Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- Update
Actions List<GetService Update Actions Update Action> - Set of Service Update Actions. Each element has the following attributes:
- Cache
Cluster stringId - ID of Cache Cluster this update action applies to.
- Replication
Group stringId - ID of Replication Group this update action applies to.
- Service
Update List<string>Statuses - Availability of the update. One of
available,cancelled, orexpired.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- Update
Actions []GetService Update Actions Update Action - Set of Service Update Actions. Each element has the following attributes:
- Cache
Cluster stringId - ID of Cache Cluster this update action applies to.
- Replication
Group stringId - ID of Replication Group this update action applies to.
- Service
Update []stringStatuses - Availability of the update. One of
available,cancelled, orexpired.
- id string
- The provider-assigned unique ID for this managed resource.
- region string
- update_
actions list(object) - Set of Service Update Actions. Each element has the following attributes:
- cache_
cluster_ stringid - ID of Cache Cluster this update action applies to.
- replication_
group_ stringid - ID of Replication Group this update action applies to.
- service_
update_ list(string)statuses - Availability of the update. One of
available,cancelled, orexpired.
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- update
Actions List<GetService Update Actions Update Action> - Set of Service Update Actions. Each element has the following attributes:
- cache
Cluster StringId - ID of Cache Cluster this update action applies to.
- replication
Group StringId - ID of Replication Group this update action applies to.
- service
Update List<String>Statuses - Availability of the update. One of
available,cancelled, orexpired.
- id string
- The provider-assigned unique ID for this managed resource.
- region string
- update
Actions GetService Update Actions Update Action[] - Set of Service Update Actions. Each element has the following attributes:
- cache
Cluster stringId - ID of Cache Cluster this update action applies to.
- replication
Group stringId - ID of Replication Group this update action applies to.
- service
Update string[]Statuses - Availability of the update. One of
available,cancelled, orexpired.
- id str
- The provider-assigned unique ID for this managed resource.
- region str
- update_
actions Sequence[GetService Update Actions Update Action] - Set of Service Update Actions. Each element has the following attributes:
- cache_
cluster_ strid - ID of Cache Cluster this update action applies to.
- replication_
group_ strid - ID of Replication Group this update action applies to.
- service_
update_ Sequence[str]statuses - Availability of the update. One of
available,cancelled, orexpired.
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- update
Actions List<Property Map> - Set of Service Update Actions. Each element has the following attributes:
- cache
Cluster StringId - ID of Cache Cluster this update action applies to.
- replication
Group StringId - ID of Replication Group this update action applies to.
- service
Update List<String>Statuses - Availability of the update. One of
available,cancelled, orexpired.
Supporting Types
GetServiceUpdateActionsUpdateAction
- Cache
Cluster stringId - ID of Cache Cluster to list updates for. If neither
cacheClusterIdnorreplicationGroupIdare specified, all service update actions will be listed. - Engine string
- Engine this update applies to.
- Estimated
Update stringTime - Estimated duration of update.
- Recommended
Apply stringBy Date - Date the update should be applied by.
- Release
Date string - Date the update was released.
- Replication
Group stringId - ID of Replication Group to list updates for. If neither
replicationGroupIdnorcacheClusterIdare specified, all service update actions will be listed. - Service
Update stringName - Name of the update.
- Service
Update stringSeverity - Severity of the update. One of
critical,important,medium, orlow. - Service
Update stringStatus - Service update statuses to include in list. Valid values are
available,cancelled, andexpired. If no value is specified, service updates in all statuses will be listed. - Service
Update stringType - Type of the update.
- Update
Action stringStatus - Status of the update action.
- Cache
Cluster stringId - ID of Cache Cluster to list updates for. If neither
cacheClusterIdnorreplicationGroupIdare specified, all service update actions will be listed. - Engine string
- Engine this update applies to.
- Estimated
Update stringTime - Estimated duration of update.
- Recommended
Apply stringBy Date - Date the update should be applied by.
- Release
Date string - Date the update was released.
- Replication
Group stringId - ID of Replication Group to list updates for. If neither
replicationGroupIdnorcacheClusterIdare specified, all service update actions will be listed. - Service
Update stringName - Name of the update.
- Service
Update stringSeverity - Severity of the update. One of
critical,important,medium, orlow. - Service
Update stringStatus - Service update statuses to include in list. Valid values are
available,cancelled, andexpired. If no value is specified, service updates in all statuses will be listed. - Service
Update stringType - Type of the update.
- Update
Action stringStatus - Status of the update action.
- cache_
cluster_ stringid - ID of Cache Cluster to list updates for. If neither
cacheClusterIdnorreplicationGroupIdare specified, all service update actions will be listed. - engine string
- Engine this update applies to.
- estimated_
update_ stringtime - Estimated duration of update.
- recommended_
apply_ stringby_ date - Date the update should be applied by.
- release_
date string - Date the update was released.
- replication_
group_ stringid - ID of Replication Group to list updates for. If neither
replicationGroupIdnorcacheClusterIdare specified, all service update actions will be listed. - service_
update_ stringname - Name of the update.
- service_
update_ stringseverity - Severity of the update. One of
critical,important,medium, orlow. - service_
update_ stringstatus - Service update statuses to include in list. Valid values are
available,cancelled, andexpired. If no value is specified, service updates in all statuses will be listed. - service_
update_ stringtype - Type of the update.
- update_
action_ stringstatus - Status of the update action.
- cache
Cluster StringId - ID of Cache Cluster to list updates for. If neither
cacheClusterIdnorreplicationGroupIdare specified, all service update actions will be listed. - engine String
- Engine this update applies to.
- estimated
Update StringTime - Estimated duration of update.
- recommended
Apply StringBy Date - Date the update should be applied by.
- release
Date String - Date the update was released.
- replication
Group StringId - ID of Replication Group to list updates for. If neither
replicationGroupIdnorcacheClusterIdare specified, all service update actions will be listed. - service
Update StringName - Name of the update.
- service
Update StringSeverity - Severity of the update. One of
critical,important,medium, orlow. - service
Update StringStatus - Service update statuses to include in list. Valid values are
available,cancelled, andexpired. If no value is specified, service updates in all statuses will be listed. - service
Update StringType - Type of the update.
- update
Action StringStatus - Status of the update action.
- cache
Cluster stringId - ID of Cache Cluster to list updates for. If neither
cacheClusterIdnorreplicationGroupIdare specified, all service update actions will be listed. - engine string
- Engine this update applies to.
- estimated
Update stringTime - Estimated duration of update.
- recommended
Apply stringBy Date - Date the update should be applied by.
- release
Date string - Date the update was released.
- replication
Group stringId - ID of Replication Group to list updates for. If neither
replicationGroupIdnorcacheClusterIdare specified, all service update actions will be listed. - service
Update stringName - Name of the update.
- service
Update stringSeverity - Severity of the update. One of
critical,important,medium, orlow. - service
Update stringStatus - Service update statuses to include in list. Valid values are
available,cancelled, andexpired. If no value is specified, service updates in all statuses will be listed. - service
Update stringType - Type of the update.
- update
Action stringStatus - Status of the update action.
- cache_
cluster_ strid - ID of Cache Cluster to list updates for. If neither
cacheClusterIdnorreplicationGroupIdare specified, all service update actions will be listed. - engine str
- Engine this update applies to.
- estimated_
update_ strtime - Estimated duration of update.
- recommended_
apply_ strby_ date - Date the update should be applied by.
- release_
date str - Date the update was released.
- replication_
group_ strid - ID of Replication Group to list updates for. If neither
replicationGroupIdnorcacheClusterIdare specified, all service update actions will be listed. - service_
update_ strname - Name of the update.
- service_
update_ strseverity - Severity of the update. One of
critical,important,medium, orlow. - service_
update_ strstatus - Service update statuses to include in list. Valid values are
available,cancelled, andexpired. If no value is specified, service updates in all statuses will be listed. - service_
update_ strtype - Type of the update.
- update_
action_ strstatus - Status of the update action.
- cache
Cluster StringId - ID of Cache Cluster to list updates for. If neither
cacheClusterIdnorreplicationGroupIdare specified, all service update actions will be listed. - engine String
- Engine this update applies to.
- estimated
Update StringTime - Estimated duration of update.
- recommended
Apply StringBy Date - Date the update should be applied by.
- release
Date String - Date the update was released.
- replication
Group StringId - ID of Replication Group to list updates for. If neither
replicationGroupIdnorcacheClusterIdare specified, all service update actions will be listed. - service
Update StringName - Name of the update.
- service
Update StringSeverity - Severity of the update. One of
critical,important,medium, orlow. - service
Update StringStatus - Service update statuses to include in list. Valid values are
available,cancelled, andexpired. If no value is specified, service updates in all statuses will be listed. - service
Update StringType - Type of the update.
- update
Action StringStatus - Status of the update action.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Thursday, Jul 23, 2026 by Pulumi