@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.742Z") @Stability(value=Stable) public interface CfnEnvironmentProps extends software.amazon.jsii.JsiiSerializable
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.*;
Object storageConfigurations;
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())
.preferredMaintenanceWindow("preferredMaintenanceWindow")
.publiclyAccessible(false)
.securityGroupIds(List.of("securityGroupIds"))
.storageConfigurations(List.of(storageConfigurations))
.subnetIds(List.of("subnetIds"))
.tags(Map.of(
"tagsKey", "tags"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnEnvironmentProps.Builder
A builder for
CfnEnvironmentProps |
static class |
CfnEnvironmentProps.Jsii$Proxy
An implementation for
CfnEnvironmentProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnEnvironmentProps.Builder |
builder() |
default String |
getDescription()
`AWS::M2::Environment.Description`.
|
String |
getEngineType()
`AWS::M2::Environment.EngineType`.
|
default String |
getEngineVersion()
`AWS::M2::Environment.EngineVersion`.
|
default Object |
getHighAvailabilityConfig()
`AWS::M2::Environment.HighAvailabilityConfig`.
|
String |
getInstanceType()
`AWS::M2::Environment.InstanceType`.
|
String |
getName()
`AWS::M2::Environment.Name`.
|
default String |
getPreferredMaintenanceWindow()
`AWS::M2::Environment.PreferredMaintenanceWindow`.
|
default Object |
getPubliclyAccessible()
`AWS::M2::Environment.PubliclyAccessible`.
|
default List<String> |
getSecurityGroupIds()
`AWS::M2::Environment.SecurityGroupIds`.
|
default Object |
getStorageConfigurations()
`AWS::M2::Environment.StorageConfigurations`.
|
default List<String> |
getSubnetIds()
`AWS::M2::Environment.SubnetIds`.
|
default Map<String,String> |
getTags()
`AWS::M2::Environment.Tags`.
|
@Stability(value=Stable) @NotNull String getEngineType()
@Stability(value=Stable) @NotNull String getInstanceType()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default String getEngineVersion()
@Stability(value=Stable) @Nullable default Object getHighAvailabilityConfig()
@Stability(value=Stable) @Nullable default String getPreferredMaintenanceWindow()
@Stability(value=Stable) @Nullable default Object getPubliclyAccessible()
@Stability(value=Stable) @Nullable default List<String> getSecurityGroupIds()
@Stability(value=Stable) @Nullable default Object getStorageConfigurations()
@Stability(value=Stable) @Nullable default List<String> getSubnetIds()
@Stability(value=Stable) @Nullable default Map<String,String> getTags()
@Stability(value=Stable) static CfnEnvironmentProps.Builder builder()
CfnEnvironmentProps.Builder of CfnEnvironmentPropsCopyright © 2022. All rights reserved.