Class DeploymentGroupArgs.Builder

  • Enclosing class:
    DeploymentGroupArgs

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

      • appName

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

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

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

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

        public DeploymentGroupArgs.Builder blueGreenDeploymentConfig​(@Nullable
                                                                     com.pulumi.core.Output<DeploymentGroupBlueGreenDeploymentConfigArgs> blueGreenDeploymentConfig)
        Parameters:
        blueGreenDeploymentConfig - Configuration block of the blue/green deployment options for a deployment group (documented below).
        Returns:
        builder
      • deploymentConfigName

        public DeploymentGroupArgs.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 DeploymentGroupArgs.Builder deploymentConfigName​(java.lang.String deploymentConfigName)
        Parameters:
        deploymentConfigName - The name of the group's deployment config. The default is "CodeDeployDefault.OneAtATime".
        Returns:
        builder
      • deploymentGroupName

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

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

        public DeploymentGroupArgs.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 DeploymentGroupArgs.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
      • ec2TagFilters

        public DeploymentGroupArgs.Builder ec2TagFilters​(@Nullable
                                                         com.pulumi.core.Output<java.util.List<DeploymentGroupEc2TagFilterArgs>> ec2TagFilters)
        Parameters:
        ec2TagFilters - Tag filters associated with the deployment group. See the AWS docs for details.
        Returns:
        builder
      • ec2TagSets

        public DeploymentGroupArgs.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 DeploymentGroupArgs.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 DeploymentGroupArgs.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 DeploymentGroupArgs.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
      • onPremisesInstanceTagFilters

        public DeploymentGroupArgs.Builder onPremisesInstanceTagFilters​(@Nullable
                                                                        com.pulumi.core.Output<java.util.List<DeploymentGroupOnPremisesInstanceTagFilterArgs>> onPremisesInstanceTagFilters)
        Parameters:
        onPremisesInstanceTagFilters - On premise tag filters associated with the group. See the AWS docs for details.
        Returns:
        builder
      • outdatedInstancesStrategy

        public DeploymentGroupArgs.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 DeploymentGroupArgs.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 DeploymentGroupArgs.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 DeploymentGroupArgs.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 DeploymentGroupArgs.Builder serviceRoleArn​(com.pulumi.core.Output<java.lang.String> serviceRoleArn)
        Parameters:
        serviceRoleArn - The service role ARN that allows deployments.
        Returns:
        builder
      • serviceRoleArn

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

        public DeploymentGroupArgs.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 DeploymentGroupArgs.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
      • terminationHookEnabled

        public DeploymentGroupArgs.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 DeploymentGroupArgs.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 DeploymentGroupArgs.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