aws.m2.Environment
Explore with Pulumi AI
Resource for managing an AWS Mainframe Modernization Environment.
Example Usage
Basic Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
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
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
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
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
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
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
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
Create Environment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Environment(name: string, args: EnvironmentArgs, opts?: CustomResourceOptions);
@overload
def Environment(resource_name: str,
args: EnvironmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Environment(resource_name: str,
opts: Optional[ResourceOptions] = None,
engine_type: Optional[str] = None,
instance_type: Optional[str] = None,
name: Optional[str] = None,
preferred_maintenance_window: Optional[str] = None,
force_update: Optional[bool] = None,
high_availability_config: Optional[EnvironmentHighAvailabilityConfigArgs] = None,
description: Optional[str] = None,
kms_key_id: Optional[str] = None,
apply_changes_during_maintenance_window: Optional[bool] = None,
engine_version: Optional[str] = None,
publicly_accessible: Optional[bool] = None,
security_group_ids: Optional[Sequence[str]] = None,
storage_configuration: Optional[EnvironmentStorageConfigurationArgs] = None,
subnet_ids: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[EnvironmentTimeoutsArgs] = None)
func NewEnvironment(ctx *Context, name string, args EnvironmentArgs, opts ...ResourceOption) (*Environment, error)
public Environment(string name, EnvironmentArgs args, CustomResourceOptions? opts = null)
public Environment(String name, EnvironmentArgs args)
public Environment(String name, EnvironmentArgs args, CustomResourceOptions options)
type: aws:m2:Environment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleenvironmentResourceResourceFromM2environment = new Aws.M2.Environment("exampleenvironmentResourceResourceFromM2environment", new()
{
EngineType = "string",
InstanceType = "string",
Name = "string",
PreferredMaintenanceWindow = "string",
ForceUpdate = false,
HighAvailabilityConfig = new Aws.M2.Inputs.EnvironmentHighAvailabilityConfigArgs
{
DesiredCapacity = 0,
},
Description = "string",
KmsKeyId = "string",
ApplyChangesDuringMaintenanceWindow = false,
EngineVersion = "string",
PubliclyAccessible = false,
SecurityGroupIds = new[]
{
"string",
},
StorageConfiguration = new Aws.M2.Inputs.EnvironmentStorageConfigurationArgs
{
Efs = new Aws.M2.Inputs.EnvironmentStorageConfigurationEfsArgs
{
FileSystemId = "string",
MountPoint = "string",
},
Fsx = new Aws.M2.Inputs.EnvironmentStorageConfigurationFsxArgs
{
FileSystemId = "string",
MountPoint = "string",
},
},
SubnetIds = new[]
{
"string",
},
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.M2.Inputs.EnvironmentTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := m2.NewEnvironment(ctx, "exampleenvironmentResourceResourceFromM2environment", &m2.EnvironmentArgs{
EngineType: pulumi.String("string"),
InstanceType: pulumi.String("string"),
Name: pulumi.String("string"),
PreferredMaintenanceWindow: pulumi.String("string"),
ForceUpdate: pulumi.Bool(false),
HighAvailabilityConfig: &m2.EnvironmentHighAvailabilityConfigArgs{
DesiredCapacity: pulumi.Int(0),
},
Description: pulumi.String("string"),
KmsKeyId: pulumi.String("string"),
ApplyChangesDuringMaintenanceWindow: pulumi.Bool(false),
EngineVersion: pulumi.String("string"),
PubliclyAccessible: pulumi.Bool(false),
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
StorageConfiguration: &m2.EnvironmentStorageConfigurationArgs{
Efs: &m2.EnvironmentStorageConfigurationEfsArgs{
FileSystemId: pulumi.String("string"),
MountPoint: pulumi.String("string"),
},
Fsx: &m2.EnvironmentStorageConfigurationFsxArgs{
FileSystemId: pulumi.String("string"),
MountPoint: pulumi.String("string"),
},
},
SubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &m2.EnvironmentTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var exampleenvironmentResourceResourceFromM2environment = new Environment("exampleenvironmentResourceResourceFromM2environment", EnvironmentArgs.builder()
.engineType("string")
.instanceType("string")
.name("string")
.preferredMaintenanceWindow("string")
.forceUpdate(false)
.highAvailabilityConfig(EnvironmentHighAvailabilityConfigArgs.builder()
.desiredCapacity(0)
.build())
.description("string")
.kmsKeyId("string")
.applyChangesDuringMaintenanceWindow(false)
.engineVersion("string")
.publiclyAccessible(false)
.securityGroupIds("string")
.storageConfiguration(EnvironmentStorageConfigurationArgs.builder()
.efs(EnvironmentStorageConfigurationEfsArgs.builder()
.fileSystemId("string")
.mountPoint("string")
.build())
.fsx(EnvironmentStorageConfigurationFsxArgs.builder()
.fileSystemId("string")
.mountPoint("string")
.build())
.build())
.subnetIds("string")
.tags(Map.of("string", "string"))
.timeouts(EnvironmentTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
exampleenvironment_resource_resource_from_m2environment = aws.m2.Environment("exampleenvironmentResourceResourceFromM2environment",
engine_type="string",
instance_type="string",
name="string",
preferred_maintenance_window="string",
force_update=False,
high_availability_config={
"desiredCapacity": 0,
},
description="string",
kms_key_id="string",
apply_changes_during_maintenance_window=False,
engine_version="string",
publicly_accessible=False,
security_group_ids=["string"],
storage_configuration={
"efs": {
"fileSystemId": "string",
"mountPoint": "string",
},
"fsx": {
"fileSystemId": "string",
"mountPoint": "string",
},
},
subnet_ids=["string"],
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const exampleenvironmentResourceResourceFromM2environment = new aws.m2.Environment("exampleenvironmentResourceResourceFromM2environment", {
engineType: "string",
instanceType: "string",
name: "string",
preferredMaintenanceWindow: "string",
forceUpdate: false,
highAvailabilityConfig: {
desiredCapacity: 0,
},
description: "string",
kmsKeyId: "string",
applyChangesDuringMaintenanceWindow: false,
engineVersion: "string",
publiclyAccessible: false,
securityGroupIds: ["string"],
storageConfiguration: {
efs: {
fileSystemId: "string",
mountPoint: "string",
},
fsx: {
fileSystemId: "string",
mountPoint: "string",
},
},
subnetIds: ["string"],
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: aws:m2:Environment
properties:
applyChangesDuringMaintenanceWindow: false
description: string
engineType: string
engineVersion: string
forceUpdate: false
highAvailabilityConfig:
desiredCapacity: 0
instanceType: string
kmsKeyId: string
name: string
preferredMaintenanceWindow: string
publiclyAccessible: false
securityGroupIds:
- string
storageConfiguration:
efs:
fileSystemId: string
mountPoint: string
fsx:
fileSystemId: string
mountPoint: string
subnetIds:
- string
tags:
string: string
timeouts:
create: string
delete: string
update: string
Environment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Environment resource accepts the following input properties:
- Engine
Type string - Engine type must be
microfocus
orbluage
. - Instance
Type string M2 Instance Type.
The following arguments are optional:
- Apply
Changes boolDuring Maintenance Window - Description string
- Engine
Version string - The specific version of the engine for the Environment.
- Force
Update bool - Force update the environment even if applications are running.
- High
Availability EnvironmentConfig High Availability Config - Kms
Key stringId - ARN of the KMS key to use for the Environment.
- Name string
- Name of the runtime environment. Must be unique within the account.
- Preferred
Maintenance stringWindow - 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. - Publicly
Accessible bool - Allow applications deployed to this environment to be publicly accessible.
- Security
Group List<string>Ids - List of security group ids.
- Storage
Configuration EnvironmentStorage Configuration - Subnet
Ids List<string> - List of subnet ids to deploy environment to.
- Dictionary<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. - Timeouts
Environment
Timeouts
- Engine
Type string - Engine type must be
microfocus
orbluage
. - Instance
Type string M2 Instance Type.
The following arguments are optional:
- Apply
Changes boolDuring Maintenance Window - Description string
- Engine
Version string - The specific version of the engine for the Environment.
- Force
Update bool - Force update the environment even if applications are running.
- High
Availability EnvironmentConfig High Availability Config Args - Kms
Key stringId - ARN of the KMS key to use for the Environment.
- Name string
- Name of the runtime environment. Must be unique within the account.
- Preferred
Maintenance stringWindow - 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. - Publicly
Accessible bool - Allow applications deployed to this environment to be publicly accessible.
- Security
Group []stringIds - List of security group ids.
- Storage
Configuration EnvironmentStorage Configuration Args - Subnet
Ids []string - List of subnet ids to deploy environment to.
- 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. - Timeouts
Environment
Timeouts Args
- engine
Type String - Engine type must be
microfocus
orbluage
. - instance
Type String M2 Instance Type.
The following arguments are optional:
- apply
Changes BooleanDuring Maintenance Window - description String
- engine
Version String - The specific version of the engine for the Environment.
- force
Update Boolean - Force update the environment even if applications are running.
- high
Availability EnvironmentConfig High Availability Config - kms
Key StringId - ARN of the KMS key to use for the Environment.
- name String
- Name of the runtime environment. Must be unique within the account.
- preferred
Maintenance StringWindow - 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. - publicly
Accessible Boolean - Allow applications deployed to this environment to be publicly accessible.
- security
Group List<String>Ids - List of security group ids.
- storage
Configuration EnvironmentStorage Configuration - subnet
Ids List<String> - List of subnet ids to deploy environment to.
- 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. - timeouts
Environment
Timeouts
- engine
Type string - Engine type must be
microfocus
orbluage
. - instance
Type string M2 Instance Type.
The following arguments are optional:
- apply
Changes booleanDuring Maintenance Window - description string
- engine
Version string - The specific version of the engine for the Environment.
- force
Update boolean - Force update the environment even if applications are running.
- high
Availability EnvironmentConfig High Availability Config - kms
Key stringId - ARN of the KMS key to use for the Environment.
- name string
- Name of the runtime environment. Must be unique within the account.
- preferred
Maintenance stringWindow - 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. - publicly
Accessible boolean - Allow applications deployed to this environment to be publicly accessible.
- security
Group string[]Ids - List of security group ids.
- storage
Configuration EnvironmentStorage Configuration - subnet
Ids string[] - List of subnet ids to deploy environment to.
- {[key: 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. - timeouts
Environment
Timeouts
- engine_
type str - Engine type must be
microfocus
orbluage
. - instance_
type str M2 Instance Type.
The following arguments are optional:
- apply_
changes_ boolduring_ maintenance_ window - description str
- engine_
version str - The specific version of the engine for the Environment.
- force_
update bool - Force update the environment even if applications are running.
- high_
availability_ Environmentconfig High Availability Config Args - kms_
key_ strid - ARN of the KMS key to use for the Environment.
- name str
- Name of the runtime environment. Must be unique within the account.
- preferred_
maintenance_ strwindow - 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. - publicly_
accessible bool - Allow applications deployed to this environment to be publicly accessible.
- security_
group_ Sequence[str]ids - List of security group ids.
- storage_
configuration EnvironmentStorage Configuration Args - subnet_
ids Sequence[str] - List of subnet ids to deploy environment to.
- Mapping[str, str]
- 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. - timeouts
Environment
Timeouts Args
- engine
Type String - Engine type must be
microfocus
orbluage
. - instance
Type String M2 Instance Type.
The following arguments are optional:
- apply
Changes BooleanDuring Maintenance Window - description String
- engine
Version String - The specific version of the engine for the Environment.
- force
Update Boolean - Force update the environment even if applications are running.
- high
Availability Property MapConfig - kms
Key StringId - ARN of the KMS key to use for the Environment.
- name String
- Name of the runtime environment. Must be unique within the account.
- preferred
Maintenance StringWindow - 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. - publicly
Accessible Boolean - Allow applications deployed to this environment to be publicly accessible.
- security
Group List<String>Ids - List of security group ids.
- storage
Configuration Property Map - subnet
Ids List<String> - List of subnet ids to deploy environment to.
- Map<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. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the Environment resource produces the following output properties:
- Arn string
- ARN of the Environment.
- Environment
Id string - The id of the Environment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Load
Balancer stringArn - ARN of the load balancer created by the Environment.
- Dictionary<string, string>
- Arn string
- ARN of the Environment.
- Environment
Id string - The id of the Environment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Load
Balancer stringArn - ARN of the load balancer created by the Environment.
- map[string]string
- arn String
- ARN of the Environment.
- environment
Id String - The id of the Environment.
- id String
- The provider-assigned unique ID for this managed resource.
- load
Balancer StringArn - ARN of the load balancer created by the Environment.
- Map<String,String>
- arn string
- ARN of the Environment.
- environment
Id string - The id of the Environment.
- id string
- The provider-assigned unique ID for this managed resource.
- load
Balancer stringArn - ARN of the load balancer created by the Environment.
- {[key: string]: string}
- arn str
- ARN of the Environment.
- environment_
id str - The id of the Environment.
- id str
- The provider-assigned unique ID for this managed resource.
- load_
balancer_ strarn - ARN of the load balancer created by the Environment.
- Mapping[str, str]
- arn String
- ARN of the Environment.
- environment
Id String - The id of the Environment.
- id String
- The provider-assigned unique ID for this managed resource.
- load
Balancer StringArn - ARN of the load balancer created by the Environment.
- Map<String>
Look up Existing Environment Resource
Get an existing Environment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: EnvironmentState, opts?: CustomResourceOptions): Environment
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
apply_changes_during_maintenance_window: Optional[bool] = None,
arn: Optional[str] = None,
description: Optional[str] = None,
engine_type: Optional[str] = None,
engine_version: Optional[str] = None,
environment_id: Optional[str] = None,
force_update: Optional[bool] = None,
high_availability_config: Optional[EnvironmentHighAvailabilityConfigArgs] = None,
instance_type: Optional[str] = None,
kms_key_id: Optional[str] = None,
load_balancer_arn: Optional[str] = None,
name: Optional[str] = None,
preferred_maintenance_window: Optional[str] = None,
publicly_accessible: Optional[bool] = None,
security_group_ids: Optional[Sequence[str]] = None,
storage_configuration: Optional[EnvironmentStorageConfigurationArgs] = None,
subnet_ids: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
timeouts: Optional[EnvironmentTimeoutsArgs] = None) -> Environment
func GetEnvironment(ctx *Context, name string, id IDInput, state *EnvironmentState, opts ...ResourceOption) (*Environment, error)
public static Environment Get(string name, Input<string> id, EnvironmentState? state, CustomResourceOptions? opts = null)
public static Environment get(String name, Output<String> id, EnvironmentState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Apply
Changes boolDuring Maintenance Window - Arn string
- ARN of the Environment.
- Description string
- Engine
Type string - Engine type must be
microfocus
orbluage
. - Engine
Version string - The specific version of the engine for the Environment.
- Environment
Id string - The id of the Environment.
- Force
Update bool - Force update the environment even if applications are running.
- High
Availability EnvironmentConfig High Availability Config - Instance
Type string M2 Instance Type.
The following arguments are optional:
- Kms
Key stringId - ARN of the KMS key to use for the Environment.
- Load
Balancer stringArn - ARN of the load balancer created by the Environment.
- Name string
- Name of the runtime environment. Must be unique within the account.
- Preferred
Maintenance stringWindow - 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. - Publicly
Accessible bool - Allow applications deployed to this environment to be publicly accessible.
- Security
Group List<string>Ids - List of security group ids.
- Storage
Configuration EnvironmentStorage Configuration - Subnet
Ids List<string> - List of subnet ids to deploy environment to.
- Dictionary<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. - Dictionary<string, string>
- Timeouts
Environment
Timeouts
- Apply
Changes boolDuring Maintenance Window - Arn string
- ARN of the Environment.
- Description string
- Engine
Type string - Engine type must be
microfocus
orbluage
. - Engine
Version string - The specific version of the engine for the Environment.
- Environment
Id string - The id of the Environment.
- Force
Update bool - Force update the environment even if applications are running.
- High
Availability EnvironmentConfig High Availability Config Args - Instance
Type string M2 Instance Type.
The following arguments are optional:
- Kms
Key stringId - ARN of the KMS key to use for the Environment.
- Load
Balancer stringArn - ARN of the load balancer created by the Environment.
- Name string
- Name of the runtime environment. Must be unique within the account.
- Preferred
Maintenance stringWindow - 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. - Publicly
Accessible bool - Allow applications deployed to this environment to be publicly accessible.
- Security
Group []stringIds - List of security group ids.
- Storage
Configuration EnvironmentStorage Configuration Args - Subnet
Ids []string - List of subnet ids to deploy environment to.
- 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. - map[string]string
- Timeouts
Environment
Timeouts Args
- apply
Changes BooleanDuring Maintenance Window - arn String
- ARN of the Environment.
- description String
- engine
Type String - Engine type must be
microfocus
orbluage
. - engine
Version String - The specific version of the engine for the Environment.
- environment
Id String - The id of the Environment.
- force
Update Boolean - Force update the environment even if applications are running.
- high
Availability EnvironmentConfig High Availability Config - instance
Type String M2 Instance Type.
The following arguments are optional:
- kms
Key StringId - ARN of the KMS key to use for the Environment.
- load
Balancer StringArn - ARN of the load balancer created by the Environment.
- name String
- Name of the runtime environment. Must be unique within the account.
- preferred
Maintenance StringWindow - 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. - publicly
Accessible Boolean - Allow applications deployed to this environment to be publicly accessible.
- security
Group List<String>Ids - List of security group ids.
- storage
Configuration EnvironmentStorage Configuration - subnet
Ids List<String> - List of subnet ids to deploy environment to.
- 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. - Map<String,String>
- timeouts
Environment
Timeouts
- apply
Changes booleanDuring Maintenance Window - arn string
- ARN of the Environment.
- description string
- engine
Type string - Engine type must be
microfocus
orbluage
. - engine
Version string - The specific version of the engine for the Environment.
- environment
Id string - The id of the Environment.
- force
Update boolean - Force update the environment even if applications are running.
- high
Availability EnvironmentConfig High Availability Config - instance
Type string M2 Instance Type.
The following arguments are optional:
- kms
Key stringId - ARN of the KMS key to use for the Environment.
- load
Balancer stringArn - ARN of the load balancer created by the Environment.
- name string
- Name of the runtime environment. Must be unique within the account.
- preferred
Maintenance stringWindow - 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. - publicly
Accessible boolean - Allow applications deployed to this environment to be publicly accessible.
- security
Group string[]Ids - List of security group ids.
- storage
Configuration EnvironmentStorage Configuration - subnet
Ids string[] - List of subnet ids to deploy environment to.
- {[key: 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. - {[key: string]: string}
- timeouts
Environment
Timeouts
- apply_
changes_ boolduring_ maintenance_ window - arn str
- ARN of the Environment.
- description str
- engine_
type str - Engine type must be
microfocus
orbluage
. - engine_
version str - The specific version of the engine for the Environment.
- environment_
id str - The id of the Environment.
- force_
update bool - Force update the environment even if applications are running.
- high_
availability_ Environmentconfig High Availability Config Args - instance_
type str M2 Instance Type.
The following arguments are optional:
- kms_
key_ strid - ARN of the KMS key to use for the Environment.
- load_
balancer_ strarn - ARN of the load balancer created by the Environment.
- name str
- Name of the runtime environment. Must be unique within the account.
- preferred_
maintenance_ strwindow - 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. - publicly_
accessible bool - Allow applications deployed to this environment to be publicly accessible.
- security_
group_ Sequence[str]ids - List of security group ids.
- storage_
configuration EnvironmentStorage Configuration Args - subnet_
ids Sequence[str] - List of subnet ids to deploy environment to.
- Mapping[str, str]
- 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. - Mapping[str, str]
- timeouts
Environment
Timeouts Args
- apply
Changes BooleanDuring Maintenance Window - arn String
- ARN of the Environment.
- description String
- engine
Type String - Engine type must be
microfocus
orbluage
. - engine
Version String - The specific version of the engine for the Environment.
- environment
Id String - The id of the Environment.
- force
Update Boolean - Force update the environment even if applications are running.
- high
Availability Property MapConfig - instance
Type String M2 Instance Type.
The following arguments are optional:
- kms
Key StringId - ARN of the KMS key to use for the Environment.
- load
Balancer StringArn - ARN of the load balancer created by the Environment.
- name String
- Name of the runtime environment. Must be unique within the account.
- preferred
Maintenance StringWindow - 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. - publicly
Accessible Boolean - Allow applications deployed to this environment to be publicly accessible.
- security
Group List<String>Ids - List of security group ids.
- storage
Configuration Property Map - subnet
Ids List<String> - List of subnet ids to deploy environment to.
- Map<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. - Map<String>
- timeouts Property Map
Supporting Types
EnvironmentHighAvailabilityConfig, EnvironmentHighAvailabilityConfigArgs
- Desired
Capacity int - Desired number of instances for the Environment.
- Desired
Capacity int - Desired number of instances for the Environment.
- desired
Capacity Integer - Desired number of instances for the Environment.
- desired
Capacity number - Desired number of instances for the Environment.
- desired_
capacity int - Desired number of instances for the Environment.
- desired
Capacity Number - Desired number of instances for the Environment.
EnvironmentStorageConfiguration, EnvironmentStorageConfigurationArgs
EnvironmentStorageConfigurationEfs, EnvironmentStorageConfigurationEfsArgs
- File
System stringId - Id of the EFS filesystem to mount.
- Mount
Point string - Path to mount the filesystem on, must start with
/m2/mount/
.
- File
System stringId - Id of the EFS filesystem to mount.
- Mount
Point string - Path to mount the filesystem on, must start with
/m2/mount/
.
- file
System StringId - Id of the EFS filesystem to mount.
- mount
Point String - Path to mount the filesystem on, must start with
/m2/mount/
.
- file
System stringId - Id of the EFS filesystem to mount.
- mount
Point string - Path to mount the filesystem on, must start with
/m2/mount/
.
- file_
system_ strid - Id of the EFS filesystem to mount.
- mount_
point str - Path to mount the filesystem on, must start with
/m2/mount/
.
- file
System StringId - Id of the EFS filesystem to mount.
- mount
Point String - Path to mount the filesystem on, must start with
/m2/mount/
.
EnvironmentStorageConfigurationFsx, EnvironmentStorageConfigurationFsxArgs
- File
System stringId - Id of the FSX filesystem to mount.
- Mount
Point string - Path to mount the filesystem on, must start with
/m2/mount/
.
- File
System stringId - Id of the FSX filesystem to mount.
- Mount
Point string - Path to mount the filesystem on, must start with
/m2/mount/
.
- file
System StringId - Id of the FSX filesystem to mount.
- mount
Point String - Path to mount the filesystem on, must start with
/m2/mount/
.
- file
System stringId - Id of the FSX filesystem to mount.
- mount
Point string - Path to mount the filesystem on, must start with
/m2/mount/
.
- file_
system_ strid - Id of the FSX filesystem to mount.
- mount_
point str - Path to mount the filesystem on, must start with
/m2/mount/
.
- file
System StringId - Id of the FSX filesystem to mount.
- mount
Point String - Path to mount the filesystem on, must start with
/m2/mount/
.
EnvironmentTimeouts, EnvironmentTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
Using pulumi import
, import Mainframe Modernization Environment using the 01234567890abcdef012345678
. For example:
$ pulumi import aws:m2/environment:Environment example 01234567890abcdef012345678
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.