Class CfnApplication.Builder
java.lang.Object
software.amazon.awscdk.services.codedeploy.CfnApplication.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication>
- Enclosing class:
CfnApplication
@Stability(Stable)
public static final class CfnApplication.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication>
A fluent builder for
CfnApplication.-
Method Summary
Modifier and TypeMethodDescriptionapplicationName(String applicationName) A name for the application.build()computePlatform(String computePlatform) The compute platform that CodeDeploy deploys the application to.static CfnApplication.BuilderThe metadata that you apply to CodeDeploy applications to help you organize and categorize them.
-
Method Details
-
create
@Stability(Stable) public static CfnApplication.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
CfnApplication.Builder.
-
applicationName
A name for the application.If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the application name. For more information, see Name Type .
Updates to
ApplicationNameare not supported.- Parameters:
applicationName- A name for the application. This parameter is required.- Returns:
this- See Also:
-
computePlatform
The compute platform that CodeDeploy deploys the application to.- Parameters:
computePlatform- The compute platform that CodeDeploy deploys the application to. This parameter is required.- Returns:
this- See Also:
-
tags
The metadata that you apply to CodeDeploy applications to help you organize and categorize them.Each tag consists of a key and an optional value, both of which you define.
- Parameters:
tags- The metadata that you apply to CodeDeploy applications to help you organize and categorize them. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplication>- Returns:
- a newly built instance of
CfnApplication.
-