Interface CfnEnvironmentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEnvironmentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:59.842Z")
@Stability(Stable)
public interface CfnEnvironmentProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
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")
.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();
-
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 ObjectDefines the details of a high availability configuration.The instance type of the runtime environment.default StringThe identifier of a customer managed key.getName()The name of the runtime environment.default StringConfigures the maintenance window 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 ObjectDefines the storage configuration for a runtime environment.The 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. -
getInstanceType
The instance type of the runtime environment. -
getName
The name of the runtime environment. -
getDescription
The description of the runtime environment. -
getEngineVersion
The version of the runtime engine. -
getHighAvailabilityConfig
Defines the details of a high availability configuration. -
getKmsKeyId
The identifier of a customer managed key. -
getPreferredMaintenanceWindow
Configures the maintenance window you want for the runtime environment.If you do not provide a value, a random system-generated value will be assigned.
-
getPubliclyAccessible
Specifies whether the runtime environment is publicly accessible. -
getSecurityGroupIds
The list of security groups for the VPC associated with this runtime environment. -
getStorageConfigurations
Defines the storage configuration for a runtime environment. -
getSubnetIds
The list of subnets associated with the VPC for this runtime environment. -
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
-
builder
- Returns:
- a
CfnEnvironmentProps.BuilderofCfnEnvironmentProps
-