1. Packages
  2. Packages
  3. AWS
  4. API Docs
  5. elasticache
  6. getServiceUpdates
Viewing docs for AWS v7.39.0
published on Thursday, Jul 23, 2026 by Pulumi
aws logo
Viewing docs for AWS v7.39.0
published on Thursday, Jul 23, 2026 by Pulumi

    Provides details about AWS ElastiCache Service Updates.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.elasticache.getServiceUpdates({
        statuses: ["available"],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.elasticache.get_service_updates(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.GetServiceUpdates(ctx, &elasticache.GetServiceUpdatesArgs{
    			Statuses: []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.GetServiceUpdates.Invoke(new()
        {
            Statuses = 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.GetServiceUpdatesArgs;
    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.getServiceUpdates(GetServiceUpdatesArgs.builder()
                .statuses("available")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: aws:elasticache:getServiceUpdates
          arguments:
            statuses:
              - available
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    data "aws_elasticache_getserviceupdates" "example" {
      statuses = ["available"]
    }
    

    Using getServiceUpdates

    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 getServiceUpdates(args: GetServiceUpdatesArgs, opts?: InvokeOptions): Promise<GetServiceUpdatesResult>
    function getServiceUpdatesOutput(args: GetServiceUpdatesOutputArgs, opts?: InvokeOptions): Output<GetServiceUpdatesResult>
    def get_service_updates(region: Optional[str] = None,
                            statuses: Optional[Sequence[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> GetServiceUpdatesResult
    def get_service_updates_output(region: pulumi.Input[Optional[str]] = None,
                            statuses: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetServiceUpdatesResult]
    func GetServiceUpdates(ctx *Context, args *GetServiceUpdatesArgs, opts ...InvokeOption) (*GetServiceUpdatesResult, error)
    func GetServiceUpdatesOutput(ctx *Context, args *GetServiceUpdatesOutputArgs, opts ...InvokeOption) GetServiceUpdatesResultOutput

    > Note: This function is named GetServiceUpdates in the Go SDK.

    public static class GetServiceUpdates 
    {
        public static Task<GetServiceUpdatesResult> InvokeAsync(GetServiceUpdatesArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceUpdatesResult> Invoke(GetServiceUpdatesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServiceUpdatesResult> getServiceUpdates(GetServiceUpdatesArgs args, InvokeOptions options)
    public static Output<GetServiceUpdatesResult> getServiceUpdates(GetServiceUpdatesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws:elasticache/getServiceUpdates:getServiceUpdates
      arguments:
        # arguments dictionary
    data "aws_elasticache_get_service_updates" "name" {
        # arguments
    }

    The following arguments are supported:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Statuses List<string>
    Set of one or more Service Update statuses. Elements must be one of available, cancelled, or expired.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Statuses []string
    Set of one or more Service Update statuses. Elements must be one of available, cancelled, or expired.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    statuses list(string)
    Set of one or more Service Update statuses. Elements must be one of available, cancelled, or expired.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    statuses List<String>
    Set of one or more Service Update statuses. Elements must be one of available, cancelled, or expired.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    statuses string[]
    Set of one or more Service Update statuses. Elements must be one of available, cancelled, or expired.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    statuses Sequence[str]
    Set of one or more Service Update statuses. Elements must be one of available, cancelled, or expired.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    statuses List<String>
    Set of one or more Service Update statuses. Elements must be one of available, cancelled, or expired.

    getServiceUpdates Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    ServiceUpdates List<GetServiceUpdatesServiceUpdate>
    Set of Service Updates. Each element has the following attributes:
    Statuses List<string>
    Availability of the update. One of available, cancelled, or expired.
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    ServiceUpdates []GetServiceUpdatesServiceUpdate
    Set of Service Updates. Each element has the following attributes:
    Statuses []string
    Availability of the update. One of available, cancelled, or expired.
    id string
    The provider-assigned unique ID for this managed resource.
    region string
    service_updates list(object)
    Set of Service Updates. Each element has the following attributes:
    statuses list(string)
    Availability of the update. One of available, cancelled, or expired.
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    serviceUpdates List<GetServiceUpdatesServiceUpdate>
    Set of Service Updates. Each element has the following attributes:
    statuses List<String>
    Availability of the update. One of available, cancelled, or expired.
    id string
    The provider-assigned unique ID for this managed resource.
    region string
    serviceUpdates GetServiceUpdatesServiceUpdate[]
    Set of Service Updates. Each element has the following attributes:
    statuses string[]
    Availability of the update. One of available, cancelled, or expired.
    id str
    The provider-assigned unique ID for this managed resource.
    region str
    service_updates Sequence[GetServiceUpdatesServiceUpdate]
    Set of Service Updates. Each element has the following attributes:
    statuses Sequence[str]
    Availability of the update. One of available, cancelled, or expired.
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    serviceUpdates List<Property Map>
    Set of Service Updates. Each element has the following attributes:
    statuses List<String>
    Availability of the update. One of available, cancelled, or expired.

    Supporting Types

    GetServiceUpdatesServiceUpdate

    AutoUpdateAfterRecommendedApplyByDate bool
    Whether the update will be applied after recommendedApplyByDate.
    Description string
    Description of the update.
    EndDate string
    Date the update will no longer be available.
    Engine string
    Engine this update applies to.
    EngineVersion string
    Engine version this update applies to.
    EstimatedUpdateTime string
    Estimated duration of update.
    Name string
    Name of the update.
    RecommendedApplyByDate string
    Date the update should be applied by.
    ReleaseDate string
    Date the update was released.
    Severity string
    Severity of the update. One of critical, important, medium, or low.
    Status string
    Set of one or more Service Update statuses. Elements must be one of available, cancelled, or expired.
    Type string
    Type of the update.
    AutoUpdateAfterRecommendedApplyByDate bool
    Whether the update will be applied after recommendedApplyByDate.
    Description string
    Description of the update.
    EndDate string
    Date the update will no longer be available.
    Engine string
    Engine this update applies to.
    EngineVersion string
    Engine version this update applies to.
    EstimatedUpdateTime string
    Estimated duration of update.
    Name string
    Name of the update.
    RecommendedApplyByDate string
    Date the update should be applied by.
    ReleaseDate string
    Date the update was released.
    Severity string
    Severity of the update. One of critical, important, medium, or low.
    Status string
    Set of one or more Service Update statuses. Elements must be one of available, cancelled, or expired.
    Type string
    Type of the update.
    auto_update_after_recommended_apply_by_date bool
    Whether the update will be applied after recommendedApplyByDate.
    description string
    Description of the update.
    end_date string
    Date the update will no longer be available.
    engine string
    Engine this update applies to.
    engine_version string
    Engine version this update applies to.
    estimated_update_time string
    Estimated duration of update.
    name string
    Name of the update.
    recommended_apply_by_date string
    Date the update should be applied by.
    release_date string
    Date the update was released.
    severity string
    Severity of the update. One of critical, important, medium, or low.
    status string
    Set of one or more Service Update statuses. Elements must be one of available, cancelled, or expired.
    type string
    Type of the update.
    autoUpdateAfterRecommendedApplyByDate Boolean
    Whether the update will be applied after recommendedApplyByDate.
    description String
    Description of the update.
    endDate String
    Date the update will no longer be available.
    engine String
    Engine this update applies to.
    engineVersion String
    Engine version this update applies to.
    estimatedUpdateTime String
    Estimated duration of update.
    name String
    Name of the update.
    recommendedApplyByDate String
    Date the update should be applied by.
    releaseDate String
    Date the update was released.
    severity String
    Severity of the update. One of critical, important, medium, or low.
    status String
    Set of one or more Service Update statuses. Elements must be one of available, cancelled, or expired.
    type String
    Type of the update.
    autoUpdateAfterRecommendedApplyByDate boolean
    Whether the update will be applied after recommendedApplyByDate.
    description string
    Description of the update.
    endDate string
    Date the update will no longer be available.
    engine string
    Engine this update applies to.
    engineVersion string
    Engine version this update applies to.
    estimatedUpdateTime string
    Estimated duration of update.
    name string
    Name of the update.
    recommendedApplyByDate string
    Date the update should be applied by.
    releaseDate string
    Date the update was released.
    severity string
    Severity of the update. One of critical, important, medium, or low.
    status string
    Set of one or more Service Update statuses. Elements must be one of available, cancelled, or expired.
    type string
    Type of the update.
    auto_update_after_recommended_apply_by_date bool
    Whether the update will be applied after recommendedApplyByDate.
    description str
    Description of the update.
    end_date str
    Date the update will no longer be available.
    engine str
    Engine this update applies to.
    engine_version str
    Engine version this update applies to.
    estimated_update_time str
    Estimated duration of update.
    name str
    Name of the update.
    recommended_apply_by_date str
    Date the update should be applied by.
    release_date str
    Date the update was released.
    severity str
    Severity of the update. One of critical, important, medium, or low.
    status str
    Set of one or more Service Update statuses. Elements must be one of available, cancelled, or expired.
    type str
    Type of the update.
    autoUpdateAfterRecommendedApplyByDate Boolean
    Whether the update will be applied after recommendedApplyByDate.
    description String
    Description of the update.
    endDate String
    Date the update will no longer be available.
    engine String
    Engine this update applies to.
    engineVersion String
    Engine version this update applies to.
    estimatedUpdateTime String
    Estimated duration of update.
    name String
    Name of the update.
    recommendedApplyByDate String
    Date the update should be applied by.
    releaseDate String
    Date the update was released.
    severity String
    Severity of the update. One of critical, important, medium, or low.
    status String
    Set of one or more Service Update statuses. Elements must be one of available, cancelled, or expired.
    type String
    Type of the update.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    Viewing docs for AWS v7.39.0
    published on Thursday, Jul 23, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial