Interface CfnEnvironmentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEnvironmentProps.Jsii$Proxy
CfnEnvironment.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.m2.*;
CfnEnvironmentProps cfnEnvironmentProps = CfnEnvironmentProps.builder()
.engineType("engineType")
.instanceType("instanceType")
.name("name")
// the properties below are optional
.description("description")
.engineVersion("engineVersion")
.highAvailabilityConfig(HighAvailabilityConfigProperty.builder()
.desiredCapacity(123)
.build())
.kmsKeyId("kmsKeyId")
.networkType("networkType")
.preferredMaintenanceWindow("preferredMaintenanceWindow")
.publiclyAccessible(false)
.securityGroupIds(List.of("securityGroupIds"))
.storageConfigurations(List.of(StorageConfigurationProperty.builder()
.efs(EfsStorageConfigurationProperty.builder()
.fileSystemId("fileSystemId")
.mountPoint("mountPoint")
.build())
.fsx(FsxStorageConfigurationProperty.builder()
.fileSystemId("fileSystemId")
.mountPoint("mountPoint")
.build())
.build()))
.subnetIds(List.of("subnetIds"))
.tags(Map.of(
"tagsKey", "tags"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEnvironmentPropsstatic final classAn implementation forCfnEnvironmentProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnEnvironmentProps.Builderbuilder()default StringThe description of the runtime environment.The target platform for the runtime environment.default StringThe version of the runtime engine.default ObjectThe instance type of the runtime environment.default StringThe identifier of a customer managed key.getName()The name of the runtime environment.default StringThe network type supported by the runtime environment.default StringConfigures the maintenance window that you want for the runtime environment.default ObjectSpecifies whether the runtime environment is publicly accessible.The list of security groups for the VPC associated with this runtime environment.default ObjectThe list of subnets associated with the VPC for this runtime environment.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEngineType
The target platform for the runtime environment.- See Also:
-
getInstanceType
The instance type of the runtime environment.- See Also:
-
getName
The name of the runtime environment.- See Also:
-
getDescription
The description of the runtime environment.- See Also:
-
getEngineVersion
The version of the runtime engine.- See Also:
-
getHighAvailabilityConfig
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.
Returns union: either
IResolvableorCfnEnvironment.HighAvailabilityConfigProperty- See Also:
-
getKmsKeyId
The identifier of a customer managed key.- See Also:
-
getNetworkType
The network type supported by the runtime environment.- See Also:
-
getPreferredMaintenanceWindow
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.
- See Also:
-
getPubliclyAccessible
Specifies whether the runtime environment is publicly accessible.Returns union: either
BooleanorIResolvable- See Also:
-
getSecurityGroupIds
The list of security groups for the VPC associated with this runtime environment.- See Also:
-
getStorageConfigurations
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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnEnvironment.StorageConfigurationProperty>- See Also:
-
getSubnetIds
The list of subnets associated with the VPC for this runtime environment.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
builder
- Returns:
- a
CfnEnvironmentProps.BuilderofCfnEnvironmentProps
-