Viewing docs for AWS v7.39.0
published on Thursday, Jul 23, 2026 by Pulumi
published on Thursday, Jul 23, 2026 by Pulumi
Viewing docs for AWS v7.39.0
published on Thursday, Jul 23, 2026 by Pulumi
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 dictionarydata "aws_elasticache_get_service_updates" "name" {
# arguments
}The following arguments are supported:
getServiceUpdates Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- Service
Updates List<GetService Updates Service Update> - Set of Service Updates. Each element has the following attributes:
- Statuses List<string>
- Availability of the update. One of
available,cancelled, orexpired.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- Service
Updates []GetService Updates Service Update - Set of Service Updates. Each element has the following attributes:
- Statuses []string
- Availability of the update. One of
available,cancelled, orexpired.
- 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, orexpired.
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- service
Updates List<GetService Updates Service Update> - Set of Service Updates. Each element has the following attributes:
- statuses List<String>
- Availability of the update. One of
available,cancelled, orexpired.
- id string
- The provider-assigned unique ID for this managed resource.
- region string
- service
Updates GetService Updates Service Update[] - Set of Service Updates. Each element has the following attributes:
- statuses string[]
- Availability of the update. One of
available,cancelled, orexpired.
- id str
- The provider-assigned unique ID for this managed resource.
- region str
- service_
updates Sequence[GetService Updates Service Update] - Set of Service Updates. Each element has the following attributes:
- statuses Sequence[str]
- Availability of the update. One of
available,cancelled, orexpired.
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- service
Updates List<Property Map> - Set of Service Updates. Each element has the following attributes:
- statuses List<String>
- Availability of the update. One of
available,cancelled, orexpired.
Supporting Types
GetServiceUpdatesServiceUpdate
- Auto
Update boolAfter Recommended Apply By Date - 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 stringTime - Estimated duration of update.
- Name string
- Name of the update.
- Recommended
Apply stringBy Date - 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, orlow. - Status string
- Set of one or more Service Update statuses. Elements must be one of
available,cancelled, orexpired. - Type string
- Type of the update.
- Auto
Update boolAfter Recommended Apply By Date - 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 stringTime - Estimated duration of update.
- Name string
- Name of the update.
- Recommended
Apply stringBy Date - 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, orlow. - Status string
- Set of one or more Service Update statuses. Elements must be one of
available,cancelled, orexpired. - Type string
- Type of the update.
- auto_
update_ boolafter_ recommended_ apply_ by_ date - 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_ stringtime - Estimated duration of update.
- name string
- Name of the update.
- recommended_
apply_ stringby_ date - 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, orlow. - status string
- Set of one or more Service Update statuses. Elements must be one of
available,cancelled, orexpired. - type string
- Type of the update.
- auto
Update BooleanAfter Recommended Apply By Date - 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 StringTime - Estimated duration of update.
- name String
- Name of the update.
- recommended
Apply StringBy Date - 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, orlow. - status String
- Set of one or more Service Update statuses. Elements must be one of
available,cancelled, orexpired. - type String
- Type of the update.
- auto
Update booleanAfter Recommended Apply By Date - 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 stringTime - Estimated duration of update.
- name string
- Name of the update.
- recommended
Apply stringBy Date - 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, orlow. - status string
- Set of one or more Service Update statuses. Elements must be one of
available,cancelled, orexpired. - type string
- Type of the update.
- auto_
update_ boolafter_ recommended_ apply_ by_ date - 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_ strtime - Estimated duration of update.
- name str
- Name of the update.
- recommended_
apply_ strby_ date - 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, orlow. - status str
- Set of one or more Service Update statuses. Elements must be one of
available,cancelled, orexpired. - type str
- Type of the update.
- auto
Update BooleanAfter Recommended Apply By Date - 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 StringTime - Estimated duration of update.
- name String
- Name of the update.
- recommended
Apply StringBy Date - 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, orlow. - status String
- Set of one or more Service Update statuses. Elements must be one of
available,cancelled, orexpired. - 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
awsTerraform Provider.
Viewing docs for AWS v7.39.0
published on Thursday, Jul 23, 2026 by Pulumi
published on Thursday, Jul 23, 2026 by Pulumi