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
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:
- Environment
Arn string - The Amazon Resource Name (ARN) of the runtime environment.
- Environment
Arn string - The Amazon Resource Name (ARN) of the runtime environment.
- environment
Arn String - The Amazon Resource Name (ARN) of the runtime environment.
- environment
Arn string - The Amazon Resource Name (ARN) of the runtime environment.
- environment_
arn str - The Amazon Resource Name (ARN) of the runtime environment.
- environment
Arn String - The Amazon Resource Name (ARN) of the runtime environment.
getEnvironment Result
The following output properties are available:
- Engine
Version string - The version of the runtime engine for the environment.
- Environment
Arn string - The Amazon Resource Name (ARN) of the runtime environment.
- Environment
Id string - The unique identifier of the environment.
- High
Availability Pulumi.Config Aws Native. M2. Outputs. Environment High Availability Config - Defines the details of a high availability configuration.
- Instance
Type string - The type of instance underlying the environment.
- Preferred
Maintenance 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.
- Engine
Version string - The version of the runtime engine for the environment.
- Environment
Arn string - The Amazon Resource Name (ARN) of the runtime environment.
- Environment
Id string - The unique identifier of the environment.
- High
Availability EnvironmentConfig High Availability Config - Defines the details of a high availability configuration.
- Instance
Type string - The type of instance underlying the environment.
- Preferred
Maintenance 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.
- engine
Version String - The version of the runtime engine for the environment.
- environment
Arn String - The Amazon Resource Name (ARN) of the runtime environment.
- environment
Id String - The unique identifier of the environment.
- high
Availability EnvironmentConfig High Availability Config - Defines the details of a high availability configuration.
- instance
Type String - The type of instance underlying the environment.
- preferred
Maintenance 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.
- engine
Version string - The version of the runtime engine for the environment.
- environment
Arn string - The Amazon Resource Name (ARN) of the runtime environment.
- environment
Id string - The unique identifier of the environment.
- high
Availability EnvironmentConfig High Availability Config - Defines the details of a high availability configuration.
- instance
Type string - The type of instance underlying the environment.
- preferred
Maintenance 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.
- engine
Version String - The version of the runtime engine for the environment.
- environment
Arn String - The Amazon Resource Name (ARN) of the runtime environment.
- environment
Id String - The unique identifier of the environment.
- high
Availability Property MapConfig - Defines the details of a high availability configuration.
- instance
Type String - The type of instance underlying the environment.
- preferred
Maintenance 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
- Desired
Capacity int - 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.
- desired
Capacity Integer - The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.
- desired
Capacity 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.
- desired
Capacity 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.9.0 published on Monday, Nov 18, 2024 by Pulumi