We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
aws-native.m2.getEnvironment
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 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)
public static Output<GetEnvironmentResult> getEnvironment(GetEnvironmentArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:m2:getEnvironment
  arguments:
    # arguments dictionaryThe 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.
- HighAvailability Pulumi.Config Aws Native. M2. Outputs. Environment High Availability Config 
- Defines the details of a high availability configuration.
- InstanceType string
- The type of instance underlying the environment.
- PreferredMaintenance stringWindow 
- Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
- 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.
- HighAvailability EnvironmentConfig High Availability Config 
- Defines the details of a high availability configuration.
- InstanceType string
- The type of instance underlying the environment.
- PreferredMaintenance stringWindow 
- Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
- 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.
- highAvailability EnvironmentConfig High Availability Config 
- Defines the details of a high availability configuration.
- instanceType String
- The type of instance underlying the environment.
- preferredMaintenance StringWindow 
- Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
- 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.
- highAvailability EnvironmentConfig High Availability Config 
- Defines the details of a high availability configuration.
- instanceType string
- The type of instance underlying the environment.
- preferredMaintenance stringWindow 
- Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
- {[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_ Environmentconfig High Availability Config 
- Defines the details of a high availability configuration.
- instance_type str
- The type of instance underlying the environment.
- preferred_maintenance_ strwindow 
- Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
- 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.
- highAvailability Property MapConfig 
- Defines the details of a high availability configuration.
- instanceType String
- The type of instance underlying the environment.
- preferredMaintenance StringWindow 
- Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
- 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
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi