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,
                network_type: Optional[EnvironmentNetworkType] = 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:
- EngineType Pulumi.Aws Native. M2. Environment Engine Type 
- The target platform for the runtime environment.
- InstanceType string
- The type of instance underlying the environment.
- Description string
- The description of the environment.
- EngineVersion string
- The version of the runtime engine for the environment.
- HighAvailability Pulumi.Config Aws Native. M2. Inputs. Environment High Availability Config 
- Defines the details of a high availability configuration.
- KmsKey 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.
- NetworkType Pulumi.Aws Native. M2. Environment Network Type 
- The network type supported by the runtime environment.
- PreferredMaintenance stringWindow 
- Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
- PubliclyAccessible bool
- Specifies whether the environment is publicly accessible.
- SecurityGroup List<string>Ids 
- The list of security groups for the VPC associated with this environment.
- StorageConfigurations List<Pulumi.Aws Native. M2. Inputs. Environment Storage Configuration> 
- The storage configurations defined for the runtime environment.
- SubnetIds List<string>
- The unique identifiers of the subnets assigned to this runtime environment.
- Dictionary<string, string>
- Tags associated to this environment.
- EngineType EnvironmentEngine Type 
- The target platform for the runtime environment.
- InstanceType string
- The type of instance underlying the environment.
- Description string
- The description of the environment.
- EngineVersion string
- The version of the runtime engine for the environment.
- HighAvailability EnvironmentConfig High Availability Config Args 
- Defines the details of a high availability configuration.
- KmsKey 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.
- NetworkType EnvironmentNetwork Type 
- The network type supported by the runtime environment.
- PreferredMaintenance stringWindow 
- Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
- PubliclyAccessible bool
- Specifies whether the environment is publicly accessible.
- SecurityGroup []stringIds 
- The list of security groups for the VPC associated with this environment.
- StorageConfigurations []EnvironmentStorage Configuration Args 
- The storage configurations defined for the runtime environment.
- SubnetIds []string
- The unique identifiers of the subnets assigned to this runtime environment.
- map[string]string
- Tags associated to this environment.
- engineType EnvironmentEngine Type 
- The target platform for the runtime environment.
- instanceType String
- The type of instance underlying the environment.
- description String
- The description of the environment.
- engineVersion String
- The version of the runtime engine for the environment.
- highAvailability EnvironmentConfig High Availability Config 
- Defines the details of a high availability configuration.
- kmsKey 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.
- networkType EnvironmentNetwork Type 
- The network type supported by the runtime environment.
- preferredMaintenance StringWindow 
- Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
- publiclyAccessible Boolean
- Specifies whether the environment is publicly accessible.
- securityGroup List<String>Ids 
- The list of security groups for the VPC associated with this environment.
- storageConfigurations List<EnvironmentStorage Configuration> 
- The storage configurations defined for the runtime environment.
- subnetIds List<String>
- The unique identifiers of the subnets assigned to this runtime environment.
- Map<String,String>
- Tags associated to this environment.
- engineType EnvironmentEngine Type 
- The target platform for the runtime environment.
- instanceType string
- The type of instance underlying the environment.
- description string
- The description of the environment.
- engineVersion string
- The version of the runtime engine for the environment.
- highAvailability EnvironmentConfig High Availability Config 
- Defines the details of a high availability configuration.
- kmsKey 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.
- networkType EnvironmentNetwork Type 
- The network type supported by the runtime environment.
- preferredMaintenance stringWindow 
- Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
- publiclyAccessible boolean
- Specifies whether the environment is publicly accessible.
- securityGroup string[]Ids 
- The list of security groups for the VPC associated with this environment.
- storageConfigurations EnvironmentStorage Configuration[] 
- The storage configurations defined for the runtime environment.
- subnetIds 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.
- network_type EnvironmentNetwork Type 
- The network type supported by the runtime 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.
- engineType "microfocus" | "bluage"
- The target platform for the runtime environment.
- instanceType String
- The type of instance underlying the environment.
- description String
- The description of the environment.
- engineVersion String
- The version of the runtime engine for the environment.
- highAvailability Property MapConfig 
- Defines the details of a high availability configuration.
- kmsKey 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.
- networkType "ipv4" | "dual"
- The network type supported by the runtime environment.
- preferredMaintenance StringWindow 
- Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
- publiclyAccessible Boolean
- Specifies whether the environment is publicly accessible.
- securityGroup List<String>Ids 
- The list of security groups for the VPC associated with this environment.
- storageConfigurations List<Property Map>
- The storage configurations defined for the runtime environment.
- subnetIds 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:
- EnvironmentArn string
- The Amazon Resource Name (ARN) of the runtime environment.
- EnvironmentId string
- The unique identifier of the environment.
- Id string
- The provider-assigned unique ID for this managed resource.
- EnvironmentArn string
- The Amazon Resource Name (ARN) of the runtime environment.
- EnvironmentId string
- The unique identifier of the environment.
- Id string
- The provider-assigned unique ID for this managed resource.
- environmentArn String
- The Amazon Resource Name (ARN) of the runtime environment.
- environmentId String
- The unique identifier of the environment.
- id String
- The provider-assigned unique ID for this managed resource.
- environmentArn string
- The Amazon Resource Name (ARN) of the runtime environment.
- environmentId 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.
- environmentArn String
- The Amazon Resource Name (ARN) of the runtime environment.
- environmentId 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
- EnvironmentEngine Type Microfocus 
- microfocus
- EnvironmentEngine Type Bluage 
- bluage
- Microfocus
- microfocus
- Bluage
- bluage
- Microfocus
- microfocus
- Bluage
- bluage
- MICROFOCUS
- microfocus
- BLUAGE
- bluage
- "microfocus"
- microfocus
- "bluage"
- bluage
EnvironmentHighAvailabilityConfig, EnvironmentHighAvailabilityConfigArgs        
- DesiredCapacity int
- The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.
- DesiredCapacity int
- The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.
- desiredCapacity Integer
- The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.
- desiredCapacity 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.
- desiredCapacity Number
- The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.
EnvironmentNetworkType, EnvironmentNetworkTypeArgs      
- Ipv4
- ipv4
- Dual
- dual
- EnvironmentNetwork Type Ipv4 
- ipv4
- EnvironmentNetwork Type Dual 
- dual
- Ipv4
- ipv4
- Dual
- dual
- Ipv4
- ipv4
- Dual
- dual
- IPV4
- ipv4
- DUAL
- dual
- "ipv4"
- ipv4
- "dual"
- dual
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.