Interface CfnEnvironmentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEnvironmentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-02-17T19:20:22.857Z")
@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.appconfig.*; CfnEnvironmentProps cfnEnvironmentProps = CfnEnvironmentProps.builder() .applicationId("applicationId") .name("name") // the properties below are optional .deletionProtectionCheck("deletionProtectionCheck") .description("description") .monitors(List.of(MonitorsProperty.builder() .alarmArn("alarmArn") .alarmRoleArn("alarmRoleArn") .build())) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnEnvironmentProps
static final class
An implementation forCfnEnvironmentProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnEnvironmentProps.Builder
builder()
The application ID.default String
On resource deletion this controls whether the Deletion Protection check should be applied, bypassed, or (the default) whether the behavior should be controlled by the account-level Deletion Protection setting.default String
A description of the environment.default Object
Amazon CloudWatch alarms to monitor during the deployment process.getName()
A name for the environment.getTags()
Metadata to assign to the environment.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApplicationId
The application ID.- See Also:
-
getName
A name for the environment.- See Also:
-
getDeletionProtectionCheck
On resource deletion this controls whether the Deletion Protection check should be applied, bypassed, or (the default) whether the behavior should be controlled by the account-level Deletion Protection setting.See https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html
- See Also:
-
getDescription
A description of the environment.- See Also:
-
getMonitors
Amazon CloudWatch alarms to monitor during the deployment process.- See Also:
-
getTags
Metadata to assign to the environment.Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
- See Also:
-
builder
- Returns:
- a
CfnEnvironmentProps.Builder
ofCfnEnvironmentProps
-