We recommend new projects start with resources from the AWS provider.
aws-native.m2.Environment
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Represents a runtime environment that can run migrated mainframe applications.
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,
instance_type: Optional[str] = None,
engine_type: Optional[EnvironmentEngineType] = None,
name: Optional[str] = None,
high_availability_config: Optional[EnvironmentHighAvailabilityConfigArgs] = None,
engine_version: Optional[str] = None,
kms_key_id: Optional[str] = None,
description: Optional[str] = None,
preferred_maintenance_window: Optional[str] = None,
publicly_accessible: Optional[bool] = None,
security_group_ids: Optional[Sequence[str]] = None,
storage_configurations: Optional[Sequence[EnvironmentStorageConfigurationArgs]] = None,
subnet_ids: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = 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-native: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.
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:
- Engine
Type Pulumi.Aws Native. M2. Environment Engine Type - The target platform for the runtime environment.
- Instance
Type string - The type of instance underlying the environment.
- Description string
- The description of the environment.
- Engine
Version string - The version of the runtime engine for the environment.
- High
Availability Pulumi.Config Aws Native. M2. Inputs. Environment High Availability Config - Defines the details of a high availability configuration.
- Kms
Key stringId - The ID or the Amazon Resource Name (ARN) of the customer managed KMS Key used for encrypting environment-related resources.
- Name string
- The name of the environment.
- Preferred
Maintenance stringWindow - Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
- Publicly
Accessible bool - Specifies whether the environment is publicly accessible.
- Security
Group List<string>Ids - The list of security groups for the VPC associated with this environment.
- Storage
Configurations List<Pulumi.Aws Native. M2. Inputs. Environment Storage Configuration> - The storage configurations defined for the runtime environment.
- Subnet
Ids List<string> - The unique identifiers of the subnets assigned to this runtime environment.
- Dictionary<string, string>
- Tags associated to this environment.
- Engine
Type EnvironmentEngine Type - The target platform for the runtime environment.
- Instance
Type string - The type of instance underlying the environment.
- Description string
- The description of the environment.
- Engine
Version string - The version of the runtime engine for the environment.
- High
Availability EnvironmentConfig High Availability Config Args - Defines the details of a high availability configuration.
- Kms
Key stringId - The ID or the Amazon Resource Name (ARN) of the customer managed KMS Key used for encrypting environment-related resources.
- Name string
- The name of the environment.
- Preferred
Maintenance stringWindow - Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
- Publicly
Accessible bool - Specifies whether the environment is publicly accessible.
- Security
Group []stringIds - The list of security groups for the VPC associated with this environment.
- Storage
Configurations []EnvironmentStorage Configuration Args - The storage configurations defined for the runtime environment.
- Subnet
Ids []string - The unique identifiers of the subnets assigned to this runtime environment.
- map[string]string
- Tags associated to this environment.
- engine
Type EnvironmentEngine Type - The target platform for the runtime environment.
- instance
Type String - The type of instance underlying the environment.
- description String
- The description of the environment.
- engine
Version String - The version of the runtime engine for the environment.
- high
Availability EnvironmentConfig High Availability Config - Defines the details of a high availability configuration.
- kms
Key StringId - The ID or the Amazon Resource Name (ARN) of the customer managed KMS Key used for encrypting environment-related resources.
- name String
- The name of the environment.
- preferred
Maintenance StringWindow - Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
- publicly
Accessible Boolean - Specifies whether the environment is publicly accessible.
- security
Group List<String>Ids - The list of security groups for the VPC associated with this environment.
- storage
Configurations List<EnvironmentStorage Configuration> - The storage configurations defined for the runtime environment.
- subnet
Ids List<String> - The unique identifiers of the subnets assigned to this runtime environment.
- Map<String,String>
- Tags associated to this environment.
- engine
Type EnvironmentEngine Type - The target platform for the runtime environment.
- instance
Type string - The type of instance underlying the environment.
- description string
- The description of the environment.
- engine
Version string - The version of the runtime engine for the environment.
- high
Availability EnvironmentConfig High Availability Config - Defines the details of a high availability configuration.
- kms
Key stringId - The ID or the Amazon Resource Name (ARN) of the customer managed KMS Key used for encrypting environment-related resources.
- name string
- The name of the environment.
- preferred
Maintenance stringWindow - Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
- publicly
Accessible boolean - Specifies whether the environment is publicly accessible.
- security
Group string[]Ids - The list of security groups for the VPC associated with this environment.
- storage
Configurations EnvironmentStorage Configuration[] - The storage configurations defined for the runtime environment.
- subnet
Ids string[] - The unique identifiers of the subnets assigned to this runtime environment.
- {[key: string]: string}
- Tags associated to this environment.
- engine_
type EnvironmentEngine Type - The target platform for the runtime environment.
- instance_
type str - The type of instance underlying the environment.
- description str
- The description of the environment.
- engine_
version str - The version of the runtime engine for the environment.
- high_
availability_ Environmentconfig High Availability Config Args - Defines the details of a high availability configuration.
- kms_
key_ strid - The ID or the Amazon Resource Name (ARN) of the customer managed KMS Key used for encrypting environment-related resources.
- name str
- The name of the environment.
- preferred_
maintenance_ strwindow - Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
- publicly_
accessible bool - Specifies whether the environment is publicly accessible.
- security_
group_ Sequence[str]ids - The list of security groups for the VPC associated with this environment.
- storage_
configurations Sequence[EnvironmentStorage Configuration Args] - The storage configurations defined for the runtime environment.
- subnet_
ids Sequence[str] - The unique identifiers of the subnets assigned to this runtime environment.
- Mapping[str, str]
- Tags associated to this environment.
- engine
Type "microfocus" | "bluage" - The target platform for the runtime environment.
- instance
Type String - The type of instance underlying the environment.
- description String
- The description of the environment.
- engine
Version String - The version of the runtime engine for the environment.
- high
Availability Property MapConfig - Defines the details of a high availability configuration.
- kms
Key StringId - The ID or the Amazon Resource Name (ARN) of the customer managed KMS Key used for encrypting environment-related resources.
- name String
- The name of the environment.
- preferred
Maintenance StringWindow - Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
- publicly
Accessible Boolean - Specifies whether the environment is publicly accessible.
- security
Group List<String>Ids - The list of security groups for the VPC associated with this environment.
- storage
Configurations List<Property Map> - The storage configurations defined for the runtime environment.
- subnet
Ids List<String> - The unique identifiers of the subnets assigned to this runtime environment.
- Map<String>
- Tags associated to this environment.
Outputs
All input properties are implicitly available as output properties. Additionally, the Environment resource produces the following output properties:
- Environment
Arn string - The Amazon Resource Name (ARN) of the runtime environment.
- Environment
Id string - The unique identifier of the environment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Environment
Arn string - The Amazon Resource Name (ARN) of the runtime environment.
- Environment
Id string - The unique identifier of the environment.
- Id string
- The provider-assigned unique ID for this managed resource.
- environment
Arn String - The Amazon Resource Name (ARN) of the runtime environment.
- environment
Id String - The unique identifier of the environment.
- id String
- The provider-assigned unique ID for this managed resource.
- environment
Arn string - The Amazon Resource Name (ARN) of the runtime environment.
- environment
Id string - The unique identifier of the environment.
- id string
- The provider-assigned unique ID for this managed resource.
- environment_
arn str - The Amazon Resource Name (ARN) of the runtime environment.
- environment_
id str - The unique identifier of the environment.
- id str
- The provider-assigned unique ID for this managed resource.
- environment
Arn String - The Amazon Resource Name (ARN) of the runtime environment.
- environment
Id String - The unique identifier of the environment.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
EnvironmentEngineType, EnvironmentEngineTypeArgs
- Microfocus
- microfocus
- Bluage
- bluage
- Environment
Engine Type Microfocus - microfocus
- Environment
Engine Type Bluage - bluage
- Microfocus
- microfocus
- Bluage
- bluage
- Microfocus
- microfocus
- Bluage
- bluage
- MICROFOCUS
- microfocus
- BLUAGE
- bluage
- "microfocus"
- microfocus
- "bluage"
- bluage
EnvironmentHighAvailabilityConfig, EnvironmentHighAvailabilityConfigArgs
- Desired
Capacity int - The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.
- Desired
Capacity int - The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.
- desired
Capacity Integer - The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.
- desired
Capacity number - The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.
- desired_
capacity int - The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.
- desired
Capacity Number - The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.