1. Packages
  2. AWS
  3. API Docs
  4. synthetics
  5. getRuntimeVersions
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

aws.synthetics.getRuntimeVersions

Explore with Pulumi AI

aws logo
AWS v6.60.0 published on Tuesday, Nov 19, 2024 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();
    
        }
    }
    
    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws:synthetics/getRuntimeVersions:getRuntimeVersions
      arguments:
        # arguments dictionary

    The following arguments are supported:

    RuntimeVersions List<GetRuntimeVersionsRuntimeVersion>
    List of runtime versions. See runtime_versions attribute reference.
    RuntimeVersions []GetRuntimeVersionsRuntimeVersion
    List of runtime versions. See runtime_versions attribute reference.
    runtimeVersions List<GetRuntimeVersionsRuntimeVersion>
    List of runtime versions. See runtime_versions attribute reference.
    runtimeVersions GetRuntimeVersionsRuntimeVersion[]
    List of runtime versions. See runtime_versions attribute reference.
    runtime_versions Sequence[GetRuntimeVersionsRuntimeVersion]
    List of runtime versions. See runtime_versions attribute reference.
    runtimeVersions List<Property Map>
    List of runtime versions. See runtime_versions attribute reference.

    getRuntimeVersions Result

    The following output properties are available:

    Id string
    Name of the AWS region from which runtime versions are fetched.
    RuntimeVersions List<GetRuntimeVersionsRuntimeVersion>
    List of runtime versions. See runtime_versions attribute reference.
    Id string
    Name of the AWS region from which runtime versions are fetched.
    RuntimeVersions []GetRuntimeVersionsRuntimeVersion
    List of runtime versions. See runtime_versions attribute reference.
    id String
    Name of the AWS region from which runtime versions are fetched.
    runtimeVersions List<GetRuntimeVersionsRuntimeVersion>
    List of runtime versions. See runtime_versions attribute reference.
    id string
    Name of the AWS region from which runtime versions are fetched.
    runtimeVersions GetRuntimeVersionsRuntimeVersion[]
    List of runtime versions. See runtime_versions attribute reference.
    id str
    Name of the AWS region from which runtime versions are fetched.
    runtime_versions Sequence[GetRuntimeVersionsRuntimeVersion]
    List of runtime versions. See runtime_versions attribute reference.
    id String
    Name of the AWS region from which runtime versions are fetched.
    runtimeVersions List<Property Map>
    List of runtime versions. See runtime_versions attribute 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 aws Terraform Provider.
    aws logo
    AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi