Class CfnDeployment.Builder
java.lang.Object
software.amazon.awscdk.services.appconfig.CfnDeployment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeployment>
- Enclosing class:
CfnDeployment
@Stability(Stable)
public static final class CfnDeployment.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeployment>
A fluent builder for
CfnDeployment
.-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The application ID.build()
configurationProfileId
(String configurationProfileId) The configuration profile ID.configurationVersion
(String configurationVersion) The configuration version to deploy.static CfnDeployment.Builder
deploymentStrategyId
(String deploymentStrategyId) The deployment strategy ID.description
(String description) A description of the deployment.dynamicExtensionParameters
(List<? extends Object> dynamicExtensionParameters) A map of dynamic extension parameter names to values to pass to associated extensions withPRE_START_DEPLOYMENT
actions.dynamicExtensionParameters
(IResolvable dynamicExtensionParameters) A map of dynamic extension parameter names to values to pass to associated extensions withPRE_START_DEPLOYMENT
actions.environmentId
(String environmentId) The environment ID.kmsKeyIdentifier
(String kmsKeyIdentifier) The AWS Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.Metadata to assign to the deployment.
-
Method Details
-
create
@Stability(Stable) public static CfnDeployment.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
CfnDeployment.Builder
.
-
applicationId
The application ID.- Parameters:
applicationId
- The application ID. This parameter is required.- Returns:
this
- See Also:
-
configurationProfileId
@Stability(Stable) public CfnDeployment.Builder configurationProfileId(String configurationProfileId) The configuration profile ID.- Parameters:
configurationProfileId
- The configuration profile ID. This parameter is required.- Returns:
this
- See Also:
-
configurationVersion
The configuration version to deploy.If deploying an AWS AppConfig hosted configuration version, you can specify either the version number or version label. For all other configurations, you must specify the version number.
- Parameters:
configurationVersion
- The configuration version to deploy. This parameter is required.- Returns:
this
- See Also:
-
deploymentStrategyId
The deployment strategy ID.- Parameters:
deploymentStrategyId
- The deployment strategy ID. This parameter is required.- Returns:
this
- See Also:
-
environmentId
The environment ID.- Parameters:
environmentId
- The environment ID. This parameter is required.- Returns:
this
- See Also:
-
description
A description of the deployment.- Parameters:
description
- A description of the deployment. This parameter is required.- Returns:
this
- See Also:
-
dynamicExtensionParameters
@Stability(Stable) public CfnDeployment.Builder dynamicExtensionParameters(IResolvable dynamicExtensionParameters) A map of dynamic extension parameter names to values to pass to associated extensions withPRE_START_DEPLOYMENT
actions.- Parameters:
dynamicExtensionParameters
- A map of dynamic extension parameter names to values to pass to associated extensions withPRE_START_DEPLOYMENT
actions. This parameter is required.- Returns:
this
- See Also:
-
dynamicExtensionParameters
@Stability(Stable) public CfnDeployment.Builder dynamicExtensionParameters(List<? extends Object> dynamicExtensionParameters) A map of dynamic extension parameter names to values to pass to associated extensions withPRE_START_DEPLOYMENT
actions.- Parameters:
dynamicExtensionParameters
- A map of dynamic extension parameter names to values to pass to associated extensions withPRE_START_DEPLOYMENT
actions. This parameter is required.- Returns:
this
- See Also:
-
kmsKeyIdentifier
The AWS Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.- Parameters:
kmsKeyIdentifier
- The AWS Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated. This parameter is required.- Returns:
this
- See Also:
-
tags
Metadata to assign to the deployment.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 deployment. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeployment>
- Returns:
- a newly built instance of
CfnDeployment
.
-