Environment

class Environment : KotlinCustomResource

Resource for managing an AWS Mainframe Modernization Environment.

Example Usage

Basic Usage

resources:
test:
type: aws:m2:Environment
properties:
name: test-env
engineType: bluage
instanceType: M2.m5.large
securityGroups:
- sg-01234567890abcdef
subnetIds:
- subnet-01234567890abcdef
- subnet-01234567890abcdea

High Availability

resources:
test:
type: aws:m2:Environment
properties:
name: test-env
engineType: bluage
instanceType: M2.m5.large
securityGroups:
- sg-01234567890abcdef
subnetIds:
- subnet-01234567890abcdef
- subnet-01234567890abcdea
highAvailabilityConfig:
desiredCapacity: 2

EFS Filesystem

resources:
test:
type: aws:m2:Environment
properties:
name: test-env
engineType: bluage
instanceType: M2.m5.large
securityGroups:
- sg-01234567890abcdef
subnetIds:
- subnet-01234567890abcdef
- subnet-01234567890abcdea
storageConfiguration:
efs:
fileSystemId: fs-01234567890abcdef
mountPoint: /m2/mount/example

FSX Filesystem

resources:
test:
type: aws:m2:Environment
properties:
name: test-env
engineType: bluage
instanceType: M2.m5.large
securityGroups:
- sg-01234567890abcdef
subnetIds:
- subnet-01234567890abcdef
- subnet-01234567890abcdea
storageConfiguration:
fsx:
fileSystemId: fs-01234567890abcdef
mountPoint: /m2/mount/example

Import

Using pulumi import, import Mainframe Modernization Environment using the 01234567890abcdef012345678. For example:

$ pulumi import aws:m2/environment:Environment example 01234567890abcdef012345678

Properties

Link copied to clipboard
val arn: Output<String>

ARN of the Environment.

Link copied to clipboard
val description: Output<String>?
Link copied to clipboard
val engineType: Output<String>

Engine type must be microfocus or bluage.

Link copied to clipboard
val engineVersion: Output<String>

The specific version of the engine for the Environment.

Link copied to clipboard
val environmentId: Output<String>

The id of the Environment.

Link copied to clipboard
val forceUpdate: Output<Boolean>?

Force update the environment even if applications are running.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val instanceType: Output<String>

M2 Instance Type. The following arguments are optional:

Link copied to clipboard
val kmsKeyId: Output<String>?

ARN of the KMS key to use for the Environment.

Link copied to clipboard
val loadBalancerArn: Output<String>

ARN of the load balancer created by the Environment.

Link copied to clipboard
val name: Output<String>

Name of the runtime environment. Must be unique within the account.

Link copied to clipboard

Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format ddd:hh24:mi-ddd:hh24:mi and must be less than 24 hours. If not provided a random value will be used.

Link copied to clipboard

Allow applications deployed to this environment to be publicly accessible.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

List of security group ids.

Link copied to clipboard
val subnetIds: Output<List<String>>

List of subnet ids to deploy environment to.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Key-value tags for the place index. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>