Class CfnEnvironment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnvironment>
- Enclosing class:
CfnEnvironment
CfnEnvironment.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnEnvironment.Builderdescription(String description) The description of the runtime environment.engineType(String engineType) The target platform for the runtime environment.engineVersion(String engineVersion) The version of the runtime engine.highAvailabilityConfig(IResolvable highAvailabilityConfig) highAvailabilityConfig(CfnEnvironment.HighAvailabilityConfigProperty highAvailabilityConfig) instanceType(String instanceType) The instance type of the runtime environment.The identifier of a customer managed key.The name of the runtime environment.networkType(String networkType) The network type supported by the runtime environment.preferredMaintenanceWindow(String preferredMaintenanceWindow) Configures the maintenance window that you want for the runtime environment.publiclyAccessible(Boolean publiclyAccessible) Specifies whether the runtime environment is publicly accessible.publiclyAccessible(IResolvable publiclyAccessible) Specifies whether the runtime environment is publicly accessible.securityGroupIds(List<String> securityGroupIds) The list of security groups for the VPC associated with this runtime environment.storageConfigurations(List<? extends Object> storageConfigurations) storageConfigurations(IResolvable storageConfigurations) The list of subnets associated with the VPC for this runtime environment.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnEnvironment.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnEnvironment.Builder.
-
engineType
The target platform for the runtime environment.- Parameters:
engineType- The target platform for the runtime environment. This parameter is required.- Returns:
this- See Also:
-
instanceType
The instance type of the runtime environment.- Parameters:
instanceType- The instance type of the runtime environment. This parameter is required.- Returns:
this- See Also:
-
name
The name of the runtime environment.- Parameters:
name- The name of the runtime environment. This parameter is required.- Returns:
this- See Also:
-
description
The description of the runtime environment.- Parameters:
description- The description of the runtime environment. This parameter is required.- Returns:
this- See Also:
-
engineVersion
The version of the runtime engine.- Parameters:
engineVersion- The version of the runtime engine. This parameter is required.- Returns:
this- See Also:
-
highAvailabilityConfig
@Stability(Stable) public CfnEnvironment.Builder highAvailabilityConfig(IResolvable highAvailabilityConfig) AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.
If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see AWS Mainframe Modernization availability change .
Defines the details of a high availability configuration.
- Parameters:
highAvailabilityConfig-
This parameter is required.AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.
- Returns:
this- See Also:
-
highAvailabilityConfig
@Stability(Stable) public CfnEnvironment.Builder highAvailabilityConfig(CfnEnvironment.HighAvailabilityConfigProperty highAvailabilityConfig) AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.
If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see AWS Mainframe Modernization availability change .
Defines the details of a high availability configuration.
- Parameters:
highAvailabilityConfig-
This parameter is required.AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.
- Returns:
this- See Also:
-
kmsKeyId
The identifier of a customer managed key.- Parameters:
kmsKeyId- The identifier of a customer managed key. This parameter is required.- Returns:
this- See Also:
-
networkType
The network type supported by the runtime environment.- Parameters:
networkType- The network type supported by the runtime environment. This parameter is required.- Returns:
this- See Also:
-
preferredMaintenanceWindow
@Stability(Stable) public CfnEnvironment.Builder preferredMaintenanceWindow(String preferredMaintenanceWindow) 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. The following two examples are valid maintenance windows:sun:23:45-mon:00:15orsat:01:00-sat:03:00.If you do not provide a value, a random system-generated value will be assigned.
- Parameters:
preferredMaintenanceWindow- Configures the maintenance window that you want for the runtime environment. This parameter is required.- Returns:
this- See Also:
-
publiclyAccessible
Specifies whether the runtime environment is publicly accessible.- Parameters:
publiclyAccessible- Specifies whether the runtime environment is publicly accessible. This parameter is required.- Returns:
this- See Also:
-
publiclyAccessible
Specifies whether the runtime environment is publicly accessible.- Parameters:
publiclyAccessible- Specifies whether the runtime environment is publicly accessible. This parameter is required.- Returns:
this- See Also:
-
securityGroupIds
The list of security groups for the VPC associated with this runtime environment.- Parameters:
securityGroupIds- The list of security groups for the VPC associated with this runtime environment. This parameter is required.- Returns:
this- See Also:
-
storageConfigurations
@Stability(Stable) public CfnEnvironment.Builder storageConfigurations(IResolvable storageConfigurations) AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.
If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see AWS Mainframe Modernization availability change .
Defines the storage configuration for a runtime environment.
- Parameters:
storageConfigurations-
This parameter is required.AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.
- Returns:
this- See Also:
-
storageConfigurations
@Stability(Stable) public CfnEnvironment.Builder storageConfigurations(List<? extends Object> storageConfigurations) AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.
If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see AWS Mainframe Modernization availability change .
Defines the storage configuration for a runtime environment.
- Parameters:
storageConfigurations-
This parameter is required.AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.
- Returns:
this- See Also:
-
subnetIds
The list of subnets associated with the VPC for this runtime environment.- Parameters:
subnetIds- The list of subnets associated with the VPC for this runtime environment. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEnvironment>- Returns:
- a newly built instance of
CfnEnvironment.
-