Interface EnvironmentOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
EnvironmentProps
- All Known Implementing Classes:
EnvironmentOptions.Jsii$Proxy,EnvironmentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:28.162Z")
@Stability(Stable)
public interface EnvironmentOptions
extends software.amazon.jsii.JsiiSerializable
Options for the Environment construct.
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.appconfig.*;
Monitor monitor;
EnvironmentOptions environmentOptions = EnvironmentOptions.builder()
.deletionProtectionCheck(DeletionProtectionCheck.ACCOUNT_DEFAULT)
.description("description")
.environmentName("environmentName")
.monitors(List.of(monitor))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forEnvironmentOptionsstatic final classAn implementation forEnvironmentOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic EnvironmentOptions.Builderbuilder()default DeletionProtectionCheckA property to prevent accidental deletion of active environments.default StringThe description of the environment.default StringThe name of the environment.The monitors for the environment.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeletionProtectionCheck
A property to prevent accidental deletion of active environments.Default: undefined - AppConfig default is ACCOUNT_DEFAULT
-
getDescription
The description of the environment.Default: - No description.
-
getEnvironmentName
The name of the environment.Default: - A name is generated.
-
getMonitors
The monitors for the environment.Default: - No monitors.
-
builder
- Returns:
- a
EnvironmentOptions.BuilderofEnvironmentOptions
-