Class DeploymentGroupState.Builder

  • Enclosing class:
    DeploymentGroupState

    public static final class DeploymentGroupState.Builder
    extends java.lang.Object
    • Method Detail

      • appName

        public DeploymentGroupState.Builder appName​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> appName)
        Parameters:
        appName - The name of the application.
        Returns:
        builder
      • appName

        public DeploymentGroupState.Builder appName​(java.lang.String appName)
        Parameters:
        appName - The name of the application.
        Returns:
        builder
      • arn

        public DeploymentGroupState.Builder arn​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - The ARN of the CodeDeploy deployment group.
        Returns:
        builder
      • arn

        public DeploymentGroupState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - The ARN of the CodeDeploy deployment group.
        Returns:
        builder
      • autoRollbackConfiguration

        public DeploymentGroupState.Builder autoRollbackConfiguration​(@Nullable
                                                                      com.pulumi.core.Output<DeploymentGroupAutoRollbackConfigurationArgs> autoRollbackConfiguration)
        Parameters:
        autoRollbackConfiguration - Configuration block of the automatic rollback configuration associated with the deployment group (documented below).
        Returns:
        builder
      • autoscalingGroups

        public DeploymentGroupState.Builder autoscalingGroups​(@Nullable
                                                              com.pulumi.core.Output<java.util.List<java.lang.String>> autoscalingGroups)
        Parameters:
        autoscalingGroups - Auto Scaling groups associated with the deployment group.
        Returns:
        builder
      • autoscalingGroups

        public DeploymentGroupState.Builder autoscalingGroups​(java.util.List<java.lang.String> autoscalingGroups)
        Parameters:
        autoscalingGroups - Auto Scaling groups associated with the deployment group.
        Returns:
        builder
      • autoscalingGroups

        public DeploymentGroupState.Builder autoscalingGroups​(java.lang.String... autoscalingGroups)
        Parameters:
        autoscalingGroups - Auto Scaling groups associated with the deployment group.
        Returns:
        builder
      • computePlatform

        public DeploymentGroupState.Builder computePlatform​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> computePlatform)
        Parameters:
        computePlatform - The destination platform type for the deployment.
        Returns:
        builder
      • computePlatform

        public DeploymentGroupState.Builder computePlatform​(java.lang.String computePlatform)
        Parameters:
        computePlatform - The destination platform type for the deployment.
        Returns:
        builder
      • deploymentConfigName

        public DeploymentGroupState.Builder deploymentConfigName​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> deploymentConfigName)
        Parameters:
        deploymentConfigName - The name of the group's deployment config. The default is "CodeDeployDefault.OneAtATime".
        Returns:
        builder
      • deploymentConfigName

        public DeploymentGroupState.Builder deploymentConfigName​(java.lang.String deploymentConfigName)
        Parameters:
        deploymentConfigName - The name of the group's deployment config. The default is "CodeDeployDefault.OneAtATime".
        Returns:
        builder
      • deploymentGroupId

        public DeploymentGroupState.Builder deploymentGroupId​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> deploymentGroupId)
        Parameters:
        deploymentGroupId - The ID of the CodeDeploy deployment group.
        Returns:
        builder
      • deploymentGroupId

        public DeploymentGroupState.Builder deploymentGroupId​(java.lang.String deploymentGroupId)
        Parameters:
        deploymentGroupId - The ID of the CodeDeploy deployment group.
        Returns:
        builder
      • deploymentGroupName

        public DeploymentGroupState.Builder deploymentGroupName​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> deploymentGroupName)
        Parameters:
        deploymentGroupName - The name of the deployment group.
        Returns:
        builder
      • deploymentGroupName

        public DeploymentGroupState.Builder deploymentGroupName​(java.lang.String deploymentGroupName)
        Parameters:
        deploymentGroupName - The name of the deployment group.
        Returns:
        builder
      • deploymentStyle

        public DeploymentGroupState.Builder deploymentStyle​(@Nullable
                                                            com.pulumi.core.Output<DeploymentGroupDeploymentStyleArgs> deploymentStyle)
        Parameters:
        deploymentStyle - Configuration block of the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer (documented below).
        Returns:
        builder
      • deploymentStyle

        public DeploymentGroupState.Builder deploymentStyle​(DeploymentGroupDeploymentStyleArgs deploymentStyle)
        Parameters:
        deploymentStyle - Configuration block of the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer (documented below).
        Returns:
        builder
      • ec2TagSets

        public DeploymentGroupState.Builder ec2TagSets​(@Nullable
                                                       com.pulumi.core.Output<java.util.List<DeploymentGroupEc2TagSetArgs>> ec2TagSets)
        Parameters:
        ec2TagSets - Configuration block(s) of Tag filters associated with the deployment group, which are also referred to as tag groups (documented below). See the AWS docs for details.
        Returns:
        builder
      • ec2TagSets

        public DeploymentGroupState.Builder ec2TagSets​(java.util.List<DeploymentGroupEc2TagSetArgs> ec2TagSets)
        Parameters:
        ec2TagSets - Configuration block(s) of Tag filters associated with the deployment group, which are also referred to as tag groups (documented below). See the AWS docs for details.
        Returns:
        builder
      • ec2TagSets

        public DeploymentGroupState.Builder ec2TagSets​(DeploymentGroupEc2TagSetArgs... ec2TagSets)
        Parameters:
        ec2TagSets - Configuration block(s) of Tag filters associated with the deployment group, which are also referred to as tag groups (documented below). See the AWS docs for details.
        Returns:
        builder
      • loadBalancerInfo

        public DeploymentGroupState.Builder loadBalancerInfo​(@Nullable
                                                             com.pulumi.core.Output<DeploymentGroupLoadBalancerInfoArgs> loadBalancerInfo)
        Parameters:
        loadBalancerInfo - Single configuration block of the load balancer to use in a blue/green deployment (documented below).
        Returns:
        builder
      • outdatedInstancesStrategy

        public DeploymentGroupState.Builder outdatedInstancesStrategy​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.String> outdatedInstancesStrategy)
        Parameters:
        outdatedInstancesStrategy - Configuration block of Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision. Valid values are `UPDATE` and `IGNORE`. Defaults to `UPDATE`.
        Returns:
        builder
      • outdatedInstancesStrategy

        public DeploymentGroupState.Builder outdatedInstancesStrategy​(java.lang.String outdatedInstancesStrategy)
        Parameters:
        outdatedInstancesStrategy - Configuration block of Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision. Valid values are `UPDATE` and `IGNORE`. Defaults to `UPDATE`.
        Returns:
        builder
      • region

        public DeploymentGroupState.Builder region​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public DeploymentGroupState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • serviceRoleArn

        public DeploymentGroupState.Builder serviceRoleArn​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> serviceRoleArn)
        Parameters:
        serviceRoleArn - The service role ARN that allows deployments.
        Returns:
        builder
      • serviceRoleArn

        public DeploymentGroupState.Builder serviceRoleArn​(java.lang.String serviceRoleArn)
        Parameters:
        serviceRoleArn - The service role ARN that allows deployments.
        Returns:
        builder
      • tags

        public DeploymentGroupState.Builder tags​(@Nullable
                                                 com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public DeploymentGroupState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public DeploymentGroupState.Builder tagsAll​(@Nullable
                                                    com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public DeploymentGroupState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • terminationHookEnabled

        public DeploymentGroupState.Builder terminationHookEnabled​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.Boolean> terminationHookEnabled)
        Parameters:
        terminationHookEnabled - Indicates whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto Scaling group.
        Returns:
        builder
      • terminationHookEnabled

        public DeploymentGroupState.Builder terminationHookEnabled​(java.lang.Boolean terminationHookEnabled)
        Parameters:
        terminationHookEnabled - Indicates whether the deployment group was configured to have CodeDeploy install a termination hook into an Auto Scaling group.
        Returns:
        builder
      • triggerConfigurations

        public DeploymentGroupState.Builder triggerConfigurations​(@Nullable
                                                                  com.pulumi.core.Output<java.util.List<DeploymentGroupTriggerConfigurationArgs>> triggerConfigurations)
        Parameters:
        triggerConfigurations - Configuration block(s) of the triggers for the deployment group (documented below).
        Returns:
        builder