Interface CfnEnvironmentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEnvironmentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:12.565Z")
@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();
- 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 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 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 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.- 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
Defines the details of a high availability configuration.- See Also:
-
getKmsKeyId
The identifier of a customer managed key.- 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.- See Also:
-
getSecurityGroupIds
The list of security groups for the VPC associated with this runtime environment.- See Also:
-
getStorageConfigurations
Defines the storage configuration for a runtime environment.- 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
-