1. Packages
  2. AWS Native
  3. API Docs
  4. m2
  5. getEnvironment

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.64.0 published on Friday, Jun 2, 2023 by Pulumi

aws-native.m2.getEnvironment

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.64.0 published on Friday, Jun 2, 2023 by Pulumi

    Represents a runtime environment that can run migrated mainframe applications.

    Using getEnvironment

    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 getEnvironment(args: GetEnvironmentArgs, opts?: InvokeOptions): Promise<GetEnvironmentResult>
    function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: InvokeOptions): Output<GetEnvironmentResult>
    def get_environment(environment_arn: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetEnvironmentResult
    def get_environment_output(environment_arn: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetEnvironmentResult]
    func LookupEnvironment(ctx *Context, args *LookupEnvironmentArgs, opts ...InvokeOption) (*LookupEnvironmentResult, error)
    func LookupEnvironmentOutput(ctx *Context, args *LookupEnvironmentOutputArgs, opts ...InvokeOption) LookupEnvironmentResultOutput

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

    public static class GetEnvironment 
    {
        public static Task<GetEnvironmentResult> InvokeAsync(GetEnvironmentArgs args, InvokeOptions? opts = null)
        public static Output<GetEnvironmentResult> Invoke(GetEnvironmentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEnvironmentResult> getEnvironment(GetEnvironmentArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:m2:getEnvironment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EnvironmentArn string

    The Amazon Resource Name (ARN) of the runtime environment.

    EnvironmentArn string

    The Amazon Resource Name (ARN) of the runtime environment.

    environmentArn String

    The Amazon Resource Name (ARN) of the runtime environment.

    environmentArn string

    The Amazon Resource Name (ARN) of the runtime environment.

    environment_arn str

    The Amazon Resource Name (ARN) of the runtime environment.

    environmentArn String

    The Amazon Resource Name (ARN) of the runtime environment.

    getEnvironment Result

    The following output properties are available:

    EngineVersion string

    The version of the runtime engine for the environment.

    EnvironmentArn string

    The Amazon Resource Name (ARN) of the runtime environment.

    EnvironmentId string

    The unique identifier of the environment.

    HighAvailabilityConfig Pulumi.AwsNative.M2.Outputs.EnvironmentHighAvailabilityConfig
    InstanceType string

    The type of instance underlying the environment.

    PreferredMaintenanceWindow string

    Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.

    Tags Pulumi.AwsNative.M2.Outputs.EnvironmentTagMap

    Tags associated to this environment.

    EngineVersion string

    The version of the runtime engine for the environment.

    EnvironmentArn string

    The Amazon Resource Name (ARN) of the runtime environment.

    EnvironmentId string

    The unique identifier of the environment.

    HighAvailabilityConfig EnvironmentHighAvailabilityConfig
    InstanceType string

    The type of instance underlying the environment.

    PreferredMaintenanceWindow string

    Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.

    Tags EnvironmentTagMap

    Tags associated to this environment.

    engineVersion String

    The version of the runtime engine for the environment.

    environmentArn String

    The Amazon Resource Name (ARN) of the runtime environment.

    environmentId String

    The unique identifier of the environment.

    highAvailabilityConfig EnvironmentHighAvailabilityConfig
    instanceType String

    The type of instance underlying the environment.

    preferredMaintenanceWindow String

    Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.

    tags EnvironmentTagMap

    Tags associated to this environment.

    engineVersion string

    The version of the runtime engine for the environment.

    environmentArn string

    The Amazon Resource Name (ARN) of the runtime environment.

    environmentId string

    The unique identifier of the environment.

    highAvailabilityConfig EnvironmentHighAvailabilityConfig
    instanceType string

    The type of instance underlying the environment.

    preferredMaintenanceWindow string

    Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.

    tags EnvironmentTagMap

    Tags associated to this environment.

    engine_version str

    The version of the runtime engine for the environment.

    environment_arn str

    The Amazon Resource Name (ARN) of the runtime environment.

    environment_id str

    The unique identifier of the environment.

    high_availability_config EnvironmentHighAvailabilityConfig
    instance_type str

    The type of instance underlying the environment.

    preferred_maintenance_window str

    Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.

    tags EnvironmentTagMap

    Tags associated to this environment.

    engineVersion String

    The version of the runtime engine for the environment.

    environmentArn String

    The Amazon Resource Name (ARN) of the runtime environment.

    environmentId String

    The unique identifier of the environment.

    highAvailabilityConfig Property Map
    instanceType String

    The type of instance underlying the environment.

    preferredMaintenanceWindow String

    Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.

    tags Property Map

    Tags associated to this environment.

    Supporting Types

    EnvironmentHighAvailabilityConfig

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.64.0 published on Friday, Jun 2, 2023 by Pulumi