Class CfnEnvironmentPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appconfig.CfnEnvironmentPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnvironmentPropsMixin>
- Enclosing class:
CfnEnvironmentPropsMixin
@Stability(Stable)
public static final class CfnEnvironmentPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnvironmentPropsMixin>
A fluent builder for
CfnEnvironmentPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The application ID.applicationId(IApplicationRef applicationId) The application ID.build()create()create(CfnPropertyMixinOptions options) deletionProtectionCheck(String deletionProtectionCheck) A parameter to configure deletion protection.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 CfnEnvironmentPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnEnvironmentPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnEnvironmentPropsMixin.Builder.
-
applicationId
The application ID.- Parameters:
applicationId- The application ID. This parameter is required.- Returns:
this- See Also:
-
applicationId
@Stability(Stable) public CfnEnvironmentPropsMixin.Builder applicationId(IApplicationRef applicationId) The application ID.- Parameters:
applicationId- The application ID. This parameter is required.- Returns:
this- See Also:
-
deletionProtectionCheck
@Stability(Stable) public CfnEnvironmentPropsMixin.Builder deletionProtectionCheck(String deletionProtectionCheck) A parameter to configure deletion protection.Deletion protection prevents a user from deleting an environment if your application called either GetLatestConfiguration or GetConfiguration in the environment during the specified interval.
This parameter supports the following values:
BYPASS: Instructs AWS AppConfig to bypass the deletion protection check and delete a configuration profile even if deletion protection would have otherwise prevented it.APPLY: Instructs the deletion protection check to run, even if deletion protection is disabled at the account level.APPLYalso forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks.ACCOUNT_DEFAULT: The default setting, which instructs AWS AppConfig to implement the deletion protection value specified in theUpdateAccountSettingsAPI.
- Parameters:
deletionProtectionCheck- A parameter to configure deletion protection. 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
@Stability(Stable) public CfnEnvironmentPropsMixin.Builder monitors(List<? extends Object> 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:
-
name
A name for the environment.- Parameters:
name- A name for the environment. 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnEnvironmentPropsMixin>- Returns:
- a newly built instance of
CfnEnvironmentPropsMixin.
-