Interface EnvironmentProps
- All Superinterfaces:
EnvironmentOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EnvironmentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:33.813Z")
@Stability(Stable)
public interface EnvironmentProps
extends software.amazon.jsii.JsiiSerializable, EnvironmentOptions
Properties for the Environment construct.
Example:
Application app = new Application(this, "MyApp");
Environment env = Environment.Builder.create(this, "MyEnv")
.application(app)
.build();
HostedConfiguration.Builder.create(this, "MyFirstHostedConfig")
.application(app)
.deployTo(List.of(env))
.content(ConfigurationContent.fromInlineText("This is my first configuration content."))
.build();
HostedConfiguration.Builder.create(this, "MySecondHostedConfig")
.application(app)
.deployTo(List.of(env))
.content(ConfigurationContent.fromInlineText("This is my second configuration content."))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forEnvironmentPropsstatic final classAn implementation forEnvironmentProps -
Method Summary
Modifier and TypeMethodDescriptionstatic EnvironmentProps.Builderbuilder()The application to be associated with the environment.Methods inherited from interface software.amazon.awscdk.services.appconfig.EnvironmentOptions
getDeletionProtectionCheck, getDescription, getEnvironmentName, getMonitorsMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApplication
The application to be associated with the environment. -
builder
- Returns:
- a
EnvironmentProps.BuilderofEnvironmentProps
-