Class CfnEnvironment.Builder
java.lang.Object
software.amazon.awscdk.services.appconfig.CfnEnvironment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnvironment>
- Enclosing class:
CfnEnvironment
@Stability(Stable)
public static final class CfnEnvironment.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnvironment>
A fluent builder for
CfnEnvironment
.-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The application ID.build()
static CfnEnvironment.Builder
deletionProtectionCheck
(String deletionProtectionCheck) 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.description
(String description) A description of the environment.Amazon CloudWatch alarms to monitor during the deployment process.monitors
(IResolvable monitors) Amazon CloudWatch alarms to monitor during the deployment process.A name for the environment.Metadata to assign to the environment.
-
Method Details
-
create
@Stability(Stable) public static CfnEnvironment.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnEnvironment.Builder
.
-
applicationId
The application ID.- Parameters:
applicationId
- The application ID. This parameter is required.- Returns:
this
- See Also:
-
name
A name for the environment.- Parameters:
name
- A name for the environment. This parameter is required.- Returns:
this
- See Also:
-
deletionProtectionCheck
@Stability(Stable) public CfnEnvironment.Builder deletionProtectionCheck(String deletionProtectionCheck) 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
- Parameters:
deletionProtectionCheck
- 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. This parameter is required.- Returns:
this
- See Also:
-
description
A description of the environment.- Parameters:
description
- A description of the environment. This parameter is required.- Returns:
this
- See Also:
-
monitors
Amazon CloudWatch alarms to monitor during the deployment process.- Parameters:
monitors
- Amazon CloudWatch alarms to monitor during the deployment process. This parameter is required.- Returns:
this
- See Also:
-
monitors
Amazon CloudWatch alarms to monitor during the deployment process.- Parameters:
monitors
- Amazon CloudWatch alarms to monitor during the deployment process. This parameter is required.- Returns:
this
- See Also:
-
tags
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.
- Parameters:
tags
- Metadata to assign to the environment. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEnvironment>
- Returns:
- a newly built instance of
CfnEnvironment
.
-