Viewing docs for AWS v6.83.1 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for AWS v6.83.1 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Data source for managing an AWS CloudWatch Synthetics Runtime Versions.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.synthetics.getRuntimeVersions({});
import pulumi
import pulumi_aws as aws
example = aws.synthetics.get_runtime_versions()
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/synthetics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := synthetics.GetRuntimeVersions(ctx, &synthetics.GetRuntimeVersionsArgs{}, 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.Synthetics.GetRuntimeVersions.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.synthetics.SyntheticsFunctions;
import com.pulumi.aws.synthetics.inputs.GetRuntimeVersionsArgs;
import java.util.List;
import java.util.ArrayList;
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 = SyntheticsFunctions.getRuntimeVersions(GetRuntimeVersionsArgs.builder()
.build());
}
}
variables:
example:
fn::invoke:
function: aws:synthetics:getRuntimeVersions
arguments: {}
Using getRuntimeVersions
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 getRuntimeVersions(args: GetRuntimeVersionsArgs, opts?: InvokeOptions): Promise<GetRuntimeVersionsResult>
function getRuntimeVersionsOutput(args: GetRuntimeVersionsOutputArgs, opts?: InvokeOptions): Output<GetRuntimeVersionsResult>def get_runtime_versions(runtime_versions: Optional[Sequence[GetRuntimeVersionsRuntimeVersion]] = None,
opts: Optional[InvokeOptions] = None) -> GetRuntimeVersionsResult
def get_runtime_versions_output(runtime_versions: Optional[pulumi.Input[Sequence[pulumi.Input[GetRuntimeVersionsRuntimeVersionArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRuntimeVersionsResult]func GetRuntimeVersions(ctx *Context, args *GetRuntimeVersionsArgs, opts ...InvokeOption) (*GetRuntimeVersionsResult, error)
func GetRuntimeVersionsOutput(ctx *Context, args *GetRuntimeVersionsOutputArgs, opts ...InvokeOption) GetRuntimeVersionsResultOutput> Note: This function is named GetRuntimeVersions in the Go SDK.
public static class GetRuntimeVersions
{
public static Task<GetRuntimeVersionsResult> InvokeAsync(GetRuntimeVersionsArgs args, InvokeOptions? opts = null)
public static Output<GetRuntimeVersionsResult> Invoke(GetRuntimeVersionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRuntimeVersionsResult> getRuntimeVersions(GetRuntimeVersionsArgs args, InvokeOptions options)
public static Output<GetRuntimeVersionsResult> getRuntimeVersions(GetRuntimeVersionsArgs args, InvokeOptions options)
fn::invoke:
function: aws:synthetics/getRuntimeVersions:getRuntimeVersions
arguments:
# arguments dictionaryThe following arguments are supported:
- Runtime
Versions List<GetRuntime Versions Runtime Version> - List of runtime versions. See
runtime_versionsattribute reference.
- Runtime
Versions []GetRuntime Versions Runtime Version - List of runtime versions. See
runtime_versionsattribute reference.
- runtime
Versions List<GetRuntime Versions Runtime Version> - List of runtime versions. See
runtime_versionsattribute reference.
- runtime
Versions GetRuntime Versions Runtime Version[] - List of runtime versions. See
runtime_versionsattribute reference.
- runtime_
versions Sequence[GetRuntime Versions Runtime Version] - List of runtime versions. See
runtime_versionsattribute reference.
- runtime
Versions List<Property Map> - List of runtime versions. See
runtime_versionsattribute reference.
getRuntimeVersions Result
The following output properties are available:
- Id string
- Name of the AWS region from which runtime versions are fetched.
- Runtime
Versions List<GetRuntime Versions Runtime Version> - List of runtime versions. See
runtime_versionsattribute reference.
- Id string
- Name of the AWS region from which runtime versions are fetched.
- Runtime
Versions []GetRuntime Versions Runtime Version - List of runtime versions. See
runtime_versionsattribute reference.
- id String
- Name of the AWS region from which runtime versions are fetched.
- runtime
Versions List<GetRuntime Versions Runtime Version> - List of runtime versions. See
runtime_versionsattribute reference.
- id string
- Name of the AWS region from which runtime versions are fetched.
- runtime
Versions GetRuntime Versions Runtime Version[] - List of runtime versions. See
runtime_versionsattribute reference.
- id str
- Name of the AWS region from which runtime versions are fetched.
- runtime_
versions Sequence[GetRuntime Versions Runtime Version] - List of runtime versions. See
runtime_versionsattribute reference.
- id String
- Name of the AWS region from which runtime versions are fetched.
- runtime
Versions List<Property Map> - List of runtime versions. See
runtime_versionsattribute reference.
Supporting Types
GetRuntimeVersionsRuntimeVersion
- Deprecation
Date string - Date of deprecation if the runtme version is deprecated.
- Description string
- Description of the runtime version, created by Amazon.
- Release
Date string - Date that the runtime version was released.
- Version
Name string - Name of the runtime version. For a list of valid runtime versions, see Canary Runtime Versions.
- Deprecation
Date string - Date of deprecation if the runtme version is deprecated.
- Description string
- Description of the runtime version, created by Amazon.
- Release
Date string - Date that the runtime version was released.
- Version
Name string - Name of the runtime version. For a list of valid runtime versions, see Canary Runtime Versions.
- deprecation
Date String - Date of deprecation if the runtme version is deprecated.
- description String
- Description of the runtime version, created by Amazon.
- release
Date String - Date that the runtime version was released.
- version
Name String - Name of the runtime version. For a list of valid runtime versions, see Canary Runtime Versions.
- deprecation
Date string - Date of deprecation if the runtme version is deprecated.
- description string
- Description of the runtime version, created by Amazon.
- release
Date string - Date that the runtime version was released.
- version
Name string - Name of the runtime version. For a list of valid runtime versions, see Canary Runtime Versions.
- deprecation_
date str - Date of deprecation if the runtme version is deprecated.
- description str
- Description of the runtime version, created by Amazon.
- release_
date str - Date that the runtime version was released.
- version_
name str - Name of the runtime version. For a list of valid runtime versions, see Canary Runtime Versions.
- deprecation
Date String - Date of deprecation if the runtme version is deprecated.
- description String
- Description of the runtime version, created by Amazon.
- release
Date String - Date that the runtime version was released.
- version
Name String - Name of the runtime version. For a list of valid runtime versions, see Canary Runtime Versions.
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 v6.83.1 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
