Environment Args
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
Content copied to clipboard
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
Content copied to clipboard
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
Content copied to clipboard
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
Content copied to clipboard
Import
Using pulumi import
, import Mainframe Modernization Environment using the 01234567890abcdef012345678
. For example:
$ pulumi import aws:m2/environment:Environment example 01234567890abcdef012345678
Content copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
Engine type must be microfocus
or bluage
.
Link copied to clipboard
The specific version of the engine for the Environment.
Link copied to clipboard
Force update the environment even if applications are running.
Link copied to clipboard
Link copied to clipboard
M2 Instance Type. The following arguments are optional:
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
List of security group ids.
Link copied to clipboard
Link copied to clipboard