AWS v6.73.0 published on Wednesday, Mar 19, 2025 by Pulumi
aws.synthetics.getRuntimeVersions
Explore with Pulumi AI
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();
    }
}
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:
- RuntimeVersions List<GetRuntime Versions Runtime Version> 
- List of runtime versions. See runtime_versionsattribute reference.
- RuntimeVersions []GetRuntime Versions Runtime Version 
- List of runtime versions. See runtime_versionsattribute reference.
- runtimeVersions List<GetRuntime Versions Runtime Version> 
- List of runtime versions. See runtime_versionsattribute reference.
- runtimeVersions 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.
- runtimeVersions 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.
- RuntimeVersions 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.
- RuntimeVersions []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.
- runtimeVersions 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.
- runtimeVersions 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.
- runtimeVersions List<Property Map>
- List of runtime versions. See runtime_versionsattribute reference.
Supporting Types
GetRuntimeVersionsRuntimeVersion    
- DeprecationDate string
- Date of deprecation if the runtme version is deprecated.
- Description string
- Description of the runtime version, created by Amazon.
- ReleaseDate string
- Date that the runtime version was released.
- VersionName string
- Name of the runtime version. For a list of valid runtime versions, see Canary Runtime Versions.
- DeprecationDate string
- Date of deprecation if the runtme version is deprecated.
- Description string
- Description of the runtime version, created by Amazon.
- ReleaseDate string
- Date that the runtime version was released.
- VersionName string
- Name of the runtime version. For a list of valid runtime versions, see Canary Runtime Versions.
- deprecationDate String
- Date of deprecation if the runtme version is deprecated.
- description String
- Description of the runtime version, created by Amazon.
- releaseDate String
- Date that the runtime version was released.
- versionName String
- Name of the runtime version. For a list of valid runtime versions, see Canary Runtime Versions.
- deprecationDate string
- Date of deprecation if the runtme version is deprecated.
- description string
- Description of the runtime version, created by Amazon.
- releaseDate string
- Date that the runtime version was released.
- versionName 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.
- deprecationDate String
- Date of deprecation if the runtme version is deprecated.
- description String
- Description of the runtime version, created by Amazon.
- releaseDate String
- Date that the runtime version was released.
- versionName 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.