AWS Native is in preview. AWS Classic is fully supported.
aws-native.m2.getEnvironment
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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 - 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.
- Pulumi.
Aws Native. M2. Outputs. Environment Tag Map 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 - 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.
- Environment
Tag Map 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 - 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.
- Environment
Tag Map 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 - 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.
- Environment
Tag Map 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 - 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.
- Environment
Tag Map 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 - 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.
- Property Map
Tags associated to this environment.
Supporting Types
EnvironmentHighAvailabilityConfig
- Desired
Capacity int
- Desired
Capacity int
- desired
Capacity Integer
- desired
Capacity number
- desired_
capacity int
- desired
Capacity Number
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.