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 Details

    • create

      @Stability(Stable) public static CfnDeployment.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnDeployment.Builder.
    • applicationId

      @Stability(Stable) public CfnDeployment.Builder applicationId(String applicationId)
      The application ID.

      Parameters:
      applicationId - The application ID. This parameter is required.
      Returns:
      this
    • 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
    • configurationVersion

      @Stability(Stable) public CfnDeployment.Builder configurationVersion(String 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
    • deploymentStrategyId

      @Stability(Stable) public CfnDeployment.Builder deploymentStrategyId(String deploymentStrategyId)
      The deployment strategy ID.

      Parameters:
      deploymentStrategyId - The deployment strategy ID. This parameter is required.
      Returns:
      this
    • environmentId

      @Stability(Stable) public CfnDeployment.Builder environmentId(String environmentId)
      The environment ID.

      Parameters:
      environmentId - The environment ID. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnDeployment.Builder description(String description)
      A description of the deployment.

      Parameters:
      description - A description of the deployment. This parameter is required.
      Returns:
      this
    • kmsKeyIdentifier

      @Stability(Stable) public CfnDeployment.Builder kmsKeyIdentifier(String kmsKeyIdentifier)
      The AWS KMS key identifier (key ID, key alias, or key ARN).

      AWS AppConfig uses this ID to encrypt the configuration data using a customer managed key.

      Parameters:
      kmsKeyIdentifier - The AWS KMS key identifier (key ID, key alias, or key ARN). This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnDeployment.Builder tags(List<? extends CfnDeployment.TagsProperty> 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
    • build

      @Stability(Stable) public CfnDeployment build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnDeployment>
      Returns:
      a newly built instance of CfnDeployment.