EnvironmentArgs

data class EnvironmentArgs(val applyChangesDuringMaintenanceWindow: Output<Boolean>? = null, val description: Output<String>? = null, val engineType: Output<String>? = null, val engineVersion: Output<String>? = null, val forceUpdate: Output<Boolean>? = null, val highAvailabilityConfig: Output<EnvironmentHighAvailabilityConfigArgs>? = null, val instanceType: Output<String>? = null, val kmsKeyId: Output<String>? = null, val name: Output<String>? = null, val preferredMaintenanceWindow: Output<String>? = null, val publiclyAccessible: Output<Boolean>? = null, val securityGroupIds: Output<List<String>>? = null, val storageConfiguration: Output<EnvironmentStorageConfigurationArgs>? = null, val subnetIds: Output<List<String>>? = null, val tags: Output<Map<String, String>>? = null, val timeouts: Output<EnvironmentTimeoutsArgs>? = null) : ConvertibleToJava<EnvironmentArgs>

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

Constructors

Link copied to clipboard
constructor(applyChangesDuringMaintenanceWindow: Output<Boolean>? = null, description: Output<String>? = null, engineType: Output<String>? = null, engineVersion: Output<String>? = null, forceUpdate: Output<Boolean>? = null, highAvailabilityConfig: Output<EnvironmentHighAvailabilityConfigArgs>? = null, instanceType: Output<String>? = null, kmsKeyId: Output<String>? = null, name: Output<String>? = null, preferredMaintenanceWindow: Output<String>? = null, publiclyAccessible: Output<Boolean>? = null, securityGroupIds: Output<List<String>>? = null, storageConfiguration: Output<EnvironmentStorageConfigurationArgs>? = null, subnetIds: Output<List<String>>? = null, tags: Output<Map<String, String>>? = null, timeouts: Output<EnvironmentTimeoutsArgs>? = null)

Properties

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

Engine type must be microfocus or bluage.

Link copied to clipboard
val engineVersion: Output<String>? = null

The specific version of the engine for the Environment.

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

Force update the environment even if applications are running.

Link copied to clipboard
val instanceType: Output<String>? = null

M2 Instance Type. The following arguments are optional:

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

ARN of the KMS key to use for the Environment.

Link copied to clipboard
val name: Output<String>? = null

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

Link copied to clipboard
val preferredMaintenanceWindow: Output<String>? = null

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
val publiclyAccessible: Output<Boolean>? = null

Allow applications deployed to this environment to be publicly accessible.

Link copied to clipboard
val securityGroupIds: Output<List<String>>? = null

List of security group ids.

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

List of subnet ids to deploy environment to.

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

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 timeouts: Output<EnvironmentTimeoutsArgs>? = null

Functions

Link copied to clipboard
open override fun toJava(): EnvironmentArgs