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

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.m2.getEnvironment

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 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
    Defines the details of a high availability configuration.
    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 Dictionary<string, string>
    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
    Defines the details of a high availability configuration.
    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 map[string]string
    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
    Defines the details of a high availability configuration.
    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 Map<String,String>
    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
    Defines the details of a high availability configuration.
    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 {[key: string]: string}
    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
    Defines the details of a high availability configuration.
    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 Mapping[str, str]
    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
    Defines the details of a high availability configuration.
    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 Map<String>
    Tags associated to this environment.

    Supporting Types

    EnvironmentHighAvailabilityConfig

    DesiredCapacity int
    The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.
    DesiredCapacity int
    The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.
    desiredCapacity Integer
    The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.
    desiredCapacity number
    The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.
    desired_capacity int
    The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.
    desiredCapacity Number
    The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.

    Package Details

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

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi