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={
        "desired_capacity": 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": {
            "file_system_id": "string",
            "mount_point": "string",
        },
        "fsx": {
            "file_system_id": "string",
            "mount_point": "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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Environment resource accepts the following input properties:
- EngineType string
- Engine type must be microfocusorbluage.
- InstanceType string
- M2 Instance Type. - The following arguments are optional: 
- ApplyChanges boolDuring Maintenance Window 
- Description string
- EngineVersion string
- The specific version of the engine for the Environment.
- ForceUpdate bool
- Force update the environment even if applications are running.
- HighAvailability EnvironmentConfig High Availability Config 
- KmsKey stringId 
- ARN of the KMS key to use for the Environment.
- Name string
- Name of the runtime environment. Must be unique within the account.
- PreferredMaintenance stringWindow 
- Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format ddd:hh24:mi-ddd:hh24:miand must be less than 24 hours. If not provided a random value will be used.
- PubliclyAccessible bool
- Allow applications deployed to this environment to be publicly accessible.
- SecurityGroup List<string>Ids 
- List of security group ids.
- StorageConfiguration EnvironmentStorage Configuration 
- SubnetIds 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_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Timeouts
EnvironmentTimeouts 
- EngineType string
- Engine type must be microfocusorbluage.
- InstanceType string
- M2 Instance Type. - The following arguments are optional: 
- ApplyChanges boolDuring Maintenance Window 
- Description string
- EngineVersion string
- The specific version of the engine for the Environment.
- ForceUpdate bool
- Force update the environment even if applications are running.
- HighAvailability EnvironmentConfig High Availability Config Args 
- KmsKey stringId 
- ARN of the KMS key to use for the Environment.
- Name string
- Name of the runtime environment. Must be unique within the account.
- PreferredMaintenance stringWindow 
- Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format ddd:hh24:mi-ddd:hh24:miand must be less than 24 hours. If not provided a random value will be used.
- PubliclyAccessible bool
- Allow applications deployed to this environment to be publicly accessible.
- SecurityGroup []stringIds 
- List of security group ids.
- StorageConfiguration EnvironmentStorage Configuration Args 
- SubnetIds []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_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Timeouts
EnvironmentTimeouts Args 
- engineType String
- Engine type must be microfocusorbluage.
- instanceType String
- M2 Instance Type. - The following arguments are optional: 
- applyChanges BooleanDuring Maintenance Window 
- description String
- engineVersion String
- The specific version of the engine for the Environment.
- forceUpdate Boolean
- Force update the environment even if applications are running.
- highAvailability EnvironmentConfig High Availability Config 
- kmsKey StringId 
- ARN of the KMS key to use for the Environment.
- name String
- Name of the runtime environment. Must be unique within the account.
- preferredMaintenance StringWindow 
- Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format ddd:hh24:mi-ddd:hh24:miand must be less than 24 hours. If not provided a random value will be used.
- publiclyAccessible Boolean
- Allow applications deployed to this environment to be publicly accessible.
- securityGroup List<String>Ids 
- List of security group ids.
- storageConfiguration EnvironmentStorage Configuration 
- subnetIds 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_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- timeouts
EnvironmentTimeouts 
- engineType string
- Engine type must be microfocusorbluage.
- instanceType string
- M2 Instance Type. - The following arguments are optional: 
- applyChanges booleanDuring Maintenance Window 
- description string
- engineVersion string
- The specific version of the engine for the Environment.
- forceUpdate boolean
- Force update the environment even if applications are running.
- highAvailability EnvironmentConfig High Availability Config 
- kmsKey stringId 
- ARN of the KMS key to use for the Environment.
- name string
- Name of the runtime environment. Must be unique within the account.
- preferredMaintenance stringWindow 
- Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format ddd:hh24:mi-ddd:hh24:miand must be less than 24 hours. If not provided a random value will be used.
- publiclyAccessible boolean
- Allow applications deployed to this environment to be publicly accessible.
- securityGroup string[]Ids 
- List of security group ids.
- storageConfiguration EnvironmentStorage Configuration 
- subnetIds 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_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- timeouts
EnvironmentTimeouts 
- engine_type str
- Engine type must be microfocusorbluage.
- 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:miand 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_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- timeouts
EnvironmentTimeouts Args 
- engineType String
- Engine type must be microfocusorbluage.
- instanceType String
- M2 Instance Type. - The following arguments are optional: 
- applyChanges BooleanDuring Maintenance Window 
- description String
- engineVersion String
- The specific version of the engine for the Environment.
- forceUpdate Boolean
- Force update the environment even if applications are running.
- highAvailability Property MapConfig 
- kmsKey StringId 
- ARN of the KMS key to use for the Environment.
- name String
- Name of the runtime environment. Must be unique within the account.
- preferredMaintenance StringWindow 
- Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format ddd:hh24:mi-ddd:hh24:miand must be less than 24 hours. If not provided a random value will be used.
- publiclyAccessible Boolean
- Allow applications deployed to this environment to be publicly accessible.
- securityGroup List<String>Ids 
- List of security group ids.
- storageConfiguration Property Map
- subnetIds 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_tagsconfiguration 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.
- EnvironmentId string
- The id of the Environment.
- Id string
- The provider-assigned unique ID for this managed resource.
- LoadBalancer stringArn 
- ARN of the load balancer created by the Environment.
- Dictionary<string, string>
- Arn string
- ARN of the Environment.
- EnvironmentId string
- The id of the Environment.
- Id string
- The provider-assigned unique ID for this managed resource.
- LoadBalancer stringArn 
- ARN of the load balancer created by the Environment.
- map[string]string
- arn String
- ARN of the Environment.
- environmentId String
- The id of the Environment.
- id String
- The provider-assigned unique ID for this managed resource.
- loadBalancer StringArn 
- ARN of the load balancer created by the Environment.
- Map<String,String>
- arn string
- ARN of the Environment.
- environmentId string
- The id of the Environment.
- id string
- The provider-assigned unique ID for this managed resource.
- loadBalancer 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.
- environmentId String
- The id of the Environment.
- id String
- The provider-assigned unique ID for this managed resource.
- loadBalancer 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) -> Environmentfunc 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)resources:  _:    type: aws:m2:Environment    get:      id: ${id}- 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.
- ApplyChanges boolDuring Maintenance Window 
- Arn string
- ARN of the Environment.
- Description string
- EngineType string
- Engine type must be microfocusorbluage.
- EngineVersion string
- The specific version of the engine for the Environment.
- EnvironmentId string
- The id of the Environment.
- ForceUpdate bool
- Force update the environment even if applications are running.
- HighAvailability EnvironmentConfig High Availability Config 
- InstanceType string
- M2 Instance Type. - The following arguments are optional: 
- KmsKey stringId 
- ARN of the KMS key to use for the Environment.
- LoadBalancer stringArn 
- ARN of the load balancer created by the Environment.
- Name string
- Name of the runtime environment. Must be unique within the account.
- PreferredMaintenance stringWindow 
- Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format ddd:hh24:mi-ddd:hh24:miand must be less than 24 hours. If not provided a random value will be used.
- PubliclyAccessible bool
- Allow applications deployed to this environment to be publicly accessible.
- SecurityGroup List<string>Ids 
- List of security group ids.
- StorageConfiguration EnvironmentStorage Configuration 
- SubnetIds 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_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Dictionary<string, string>
- Timeouts
EnvironmentTimeouts 
- ApplyChanges boolDuring Maintenance Window 
- Arn string
- ARN of the Environment.
- Description string
- EngineType string
- Engine type must be microfocusorbluage.
- EngineVersion string
- The specific version of the engine for the Environment.
- EnvironmentId string
- The id of the Environment.
- ForceUpdate bool
- Force update the environment even if applications are running.
- HighAvailability EnvironmentConfig High Availability Config Args 
- InstanceType string
- M2 Instance Type. - The following arguments are optional: 
- KmsKey stringId 
- ARN of the KMS key to use for the Environment.
- LoadBalancer stringArn 
- ARN of the load balancer created by the Environment.
- Name string
- Name of the runtime environment. Must be unique within the account.
- PreferredMaintenance stringWindow 
- Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format ddd:hh24:mi-ddd:hh24:miand must be less than 24 hours. If not provided a random value will be used.
- PubliclyAccessible bool
- Allow applications deployed to this environment to be publicly accessible.
- SecurityGroup []stringIds 
- List of security group ids.
- StorageConfiguration EnvironmentStorage Configuration Args 
- SubnetIds []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_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- map[string]string
- Timeouts
EnvironmentTimeouts Args 
- applyChanges BooleanDuring Maintenance Window 
- arn String
- ARN of the Environment.
- description String
- engineType String
- Engine type must be microfocusorbluage.
- engineVersion String
- The specific version of the engine for the Environment.
- environmentId String
- The id of the Environment.
- forceUpdate Boolean
- Force update the environment even if applications are running.
- highAvailability EnvironmentConfig High Availability Config 
- instanceType String
- M2 Instance Type. - The following arguments are optional: 
- kmsKey StringId 
- ARN of the KMS key to use for the Environment.
- loadBalancer StringArn 
- ARN of the load balancer created by the Environment.
- name String
- Name of the runtime environment. Must be unique within the account.
- preferredMaintenance StringWindow 
- Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format ddd:hh24:mi-ddd:hh24:miand must be less than 24 hours. If not provided a random value will be used.
- publiclyAccessible Boolean
- Allow applications deployed to this environment to be publicly accessible.
- securityGroup List<String>Ids 
- List of security group ids.
- storageConfiguration EnvironmentStorage Configuration 
- subnetIds 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_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String,String>
- timeouts
EnvironmentTimeouts 
- applyChanges booleanDuring Maintenance Window 
- arn string
- ARN of the Environment.
- description string
- engineType string
- Engine type must be microfocusorbluage.
- engineVersion string
- The specific version of the engine for the Environment.
- environmentId string
- The id of the Environment.
- forceUpdate boolean
- Force update the environment even if applications are running.
- highAvailability EnvironmentConfig High Availability Config 
- instanceType string
- M2 Instance Type. - The following arguments are optional: 
- kmsKey stringId 
- ARN of the KMS key to use for the Environment.
- loadBalancer stringArn 
- ARN of the load balancer created by the Environment.
- name string
- Name of the runtime environment. Must be unique within the account.
- preferredMaintenance stringWindow 
- Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format ddd:hh24:mi-ddd:hh24:miand must be less than 24 hours. If not provided a random value will be used.
- publiclyAccessible boolean
- Allow applications deployed to this environment to be publicly accessible.
- securityGroup string[]Ids 
- List of security group ids.
- storageConfiguration EnvironmentStorage Configuration 
- subnetIds 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_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- {[key: string]: string}
- timeouts
EnvironmentTimeouts 
- apply_changes_ boolduring_ maintenance_ window 
- arn str
- ARN of the Environment.
- description str
- engine_type str
- Engine type must be microfocusorbluage.
- 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:miand 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_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Mapping[str, str]
- timeouts
EnvironmentTimeouts Args 
- applyChanges BooleanDuring Maintenance Window 
- arn String
- ARN of the Environment.
- description String
- engineType String
- Engine type must be microfocusorbluage.
- engineVersion String
- The specific version of the engine for the Environment.
- environmentId String
- The id of the Environment.
- forceUpdate Boolean
- Force update the environment even if applications are running.
- highAvailability Property MapConfig 
- instanceType String
- M2 Instance Type. - The following arguments are optional: 
- kmsKey StringId 
- ARN of the KMS key to use for the Environment.
- loadBalancer StringArn 
- ARN of the load balancer created by the Environment.
- name String
- Name of the runtime environment. Must be unique within the account.
- preferredMaintenance StringWindow 
- Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format ddd:hh24:mi-ddd:hh24:miand must be less than 24 hours. If not provided a random value will be used.
- publiclyAccessible Boolean
- Allow applications deployed to this environment to be publicly accessible.
- securityGroup List<String>Ids 
- List of security group ids.
- storageConfiguration Property Map
- subnetIds 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_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String>
- timeouts Property Map
Supporting Types
EnvironmentHighAvailabilityConfig, EnvironmentHighAvailabilityConfigArgs        
- DesiredCapacity int
- Desired number of instances for the Environment.
- DesiredCapacity int
- Desired number of instances for the Environment.
- desiredCapacity Integer
- Desired number of instances for the Environment.
- desiredCapacity number
- Desired number of instances for the Environment.
- desired_capacity int
- Desired number of instances for the Environment.
- desiredCapacity Number
- Desired number of instances for the Environment.
EnvironmentStorageConfiguration, EnvironmentStorageConfigurationArgs      
EnvironmentStorageConfigurationEfs, EnvironmentStorageConfigurationEfsArgs        
- FileSystem stringId 
- Id of the EFS filesystem to mount.
- MountPoint string
- Path to mount the filesystem on, must start with /m2/mount/.
- FileSystem stringId 
- Id of the EFS filesystem to mount.
- MountPoint string
- Path to mount the filesystem on, must start with /m2/mount/.
- fileSystem StringId 
- Id of the EFS filesystem to mount.
- mountPoint String
- Path to mount the filesystem on, must start with /m2/mount/.
- fileSystem stringId 
- Id of the EFS filesystem to mount.
- mountPoint 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/.
- fileSystem StringId 
- Id of the EFS filesystem to mount.
- mountPoint String
- Path to mount the filesystem on, must start with /m2/mount/.
EnvironmentStorageConfigurationFsx, EnvironmentStorageConfigurationFsxArgs        
- FileSystem stringId 
- Id of the FSX filesystem to mount.
- MountPoint string
- Path to mount the filesystem on, must start with /m2/mount/.
- FileSystem stringId 
- Id of the FSX filesystem to mount.
- MountPoint string
- Path to mount the filesystem on, must start with /m2/mount/.
- fileSystem StringId 
- Id of the FSX filesystem to mount.
- mountPoint String
- Path to mount the filesystem on, must start with /m2/mount/.
- fileSystem stringId 
- Id of the FSX filesystem to mount.
- mountPoint 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/.
- fileSystem StringId 
- Id of the FSX filesystem to mount.
- mountPoint 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 awsTerraform Provider.