Class ServiceArgs.Builder

  • Enclosing class:
    ServiceArgs

    public static final class ServiceArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • alarms

        public ServiceArgs.Builder alarms​(@Nullable
                                          com.pulumi.core.Output<ServiceAlarmsArgs> alarms)
        Parameters:
        alarms - Information about the CloudWatch alarms. See below.
        Returns:
        builder
      • availabilityZoneRebalancing

        public ServiceArgs.Builder availabilityZoneRebalancing​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> availabilityZoneRebalancing)
        Parameters:
        availabilityZoneRebalancing - ECS automatically redistributes tasks within a service across Availability Zones (AZs) to mitigate the risk of impaired application availability due to underlying infrastructure failures and task lifecycle activities. The valid values are `ENABLED` and `DISABLED`. When creating a new service, if no value is specified, it defaults to `ENABLED` if the service is compatible with AvailabilityZoneRebalancing. When updating an existing service, if no value is specified it defaults to the existing service's AvailabilityZoneRebalancing value. If the service never had an AvailabilityZoneRebalancing value set, Amazon ECS treats this as `DISABLED`.
        Returns:
        builder
      • availabilityZoneRebalancing

        public ServiceArgs.Builder availabilityZoneRebalancing​(java.lang.String availabilityZoneRebalancing)
        Parameters:
        availabilityZoneRebalancing - ECS automatically redistributes tasks within a service across Availability Zones (AZs) to mitigate the risk of impaired application availability due to underlying infrastructure failures and task lifecycle activities. The valid values are `ENABLED` and `DISABLED`. When creating a new service, if no value is specified, it defaults to `ENABLED` if the service is compatible with AvailabilityZoneRebalancing. When updating an existing service, if no value is specified it defaults to the existing service's AvailabilityZoneRebalancing value. If the service never had an AvailabilityZoneRebalancing value set, Amazon ECS treats this as `DISABLED`.
        Returns:
        builder
      • capacityProviderStrategies

        public ServiceArgs.Builder capacityProviderStrategies​(@Nullable
                                                              com.pulumi.core.Output<java.util.List<ServiceCapacityProviderStrategyArgs>> capacityProviderStrategies)
        Parameters:
        capacityProviderStrategies - Capacity provider strategies to use for the service. Can be one or more. Updating this argument requires `forceNewDeployment = true`. See below. Conflicts with `launchType`.
        Returns:
        builder
      • capacityProviderStrategies

        public ServiceArgs.Builder capacityProviderStrategies​(java.util.List<ServiceCapacityProviderStrategyArgs> capacityProviderStrategies)
        Parameters:
        capacityProviderStrategies - Capacity provider strategies to use for the service. Can be one or more. Updating this argument requires `forceNewDeployment = true`. See below. Conflicts with `launchType`.
        Returns:
        builder
      • capacityProviderStrategies

        public ServiceArgs.Builder capacityProviderStrategies​(ServiceCapacityProviderStrategyArgs... capacityProviderStrategies)
        Parameters:
        capacityProviderStrategies - Capacity provider strategies to use for the service. Can be one or more. Updating this argument requires `forceNewDeployment = true`. See below. Conflicts with `launchType`.
        Returns:
        builder
      • cluster

        public ServiceArgs.Builder cluster​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> cluster)
        Parameters:
        cluster - ARN of an ECS cluster.
        Returns:
        builder
      • cluster

        public ServiceArgs.Builder cluster​(java.lang.String cluster)
        Parameters:
        cluster - ARN of an ECS cluster.
        Returns:
        builder
      • deploymentCircuitBreaker

        public ServiceArgs.Builder deploymentCircuitBreaker​(@Nullable
                                                            com.pulumi.core.Output<ServiceDeploymentCircuitBreakerArgs> deploymentCircuitBreaker)
        Parameters:
        deploymentCircuitBreaker - Configuration block for deployment circuit breaker. See below.
        Returns:
        builder
      • deploymentConfiguration

        public ServiceArgs.Builder deploymentConfiguration​(@Nullable
                                                           com.pulumi.core.Output<ServiceDeploymentConfigurationArgs> deploymentConfiguration)
        Parameters:
        deploymentConfiguration - Configuration block for deployment settings. See below.
        Returns:
        builder
      • deploymentController

        public ServiceArgs.Builder deploymentController​(@Nullable
                                                        com.pulumi.core.Output<ServiceDeploymentControllerArgs> deploymentController)
        Parameters:
        deploymentController - Configuration block for deployment controller configuration. See below.
        Returns:
        builder
      • deploymentController

        public ServiceArgs.Builder deploymentController​(ServiceDeploymentControllerArgs deploymentController)
        Parameters:
        deploymentController - Configuration block for deployment controller configuration. See below.
        Returns:
        builder
      • deploymentMaximumPercent

        public ServiceArgs.Builder deploymentMaximumPercent​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Integer> deploymentMaximumPercent)
        Parameters:
        deploymentMaximumPercent - Upper limit (as a percentage of the service's desiredCount) of the number of running tasks that can be running in a service during a deployment. Not valid when using the `DAEMON` scheduling strategy.
        Returns:
        builder
      • deploymentMaximumPercent

        public ServiceArgs.Builder deploymentMaximumPercent​(java.lang.Integer deploymentMaximumPercent)
        Parameters:
        deploymentMaximumPercent - Upper limit (as a percentage of the service's desiredCount) of the number of running tasks that can be running in a service during a deployment. Not valid when using the `DAEMON` scheduling strategy.
        Returns:
        builder
      • deploymentMinimumHealthyPercent

        public ServiceArgs.Builder deploymentMinimumHealthyPercent​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.Integer> deploymentMinimumHealthyPercent)
        Parameters:
        deploymentMinimumHealthyPercent - Lower limit (as a percentage of the service's desiredCount) of the number of running tasks that must remain running and healthy in a service during a deployment.
        Returns:
        builder
      • deploymentMinimumHealthyPercent

        public ServiceArgs.Builder deploymentMinimumHealthyPercent​(java.lang.Integer deploymentMinimumHealthyPercent)
        Parameters:
        deploymentMinimumHealthyPercent - Lower limit (as a percentage of the service's desiredCount) of the number of running tasks that must remain running and healthy in a service during a deployment.
        Returns:
        builder
      • desiredCount

        public ServiceArgs.Builder desiredCount​(@Nullable
                                                com.pulumi.core.Output<java.lang.Integer> desiredCount)
        Parameters:
        desiredCount - Number of instances of the task definition to place and keep running. Defaults to 0. Do not specify if using the `DAEMON` scheduling strategy.
        Returns:
        builder
      • desiredCount

        public ServiceArgs.Builder desiredCount​(java.lang.Integer desiredCount)
        Parameters:
        desiredCount - Number of instances of the task definition to place and keep running. Defaults to 0. Do not specify if using the `DAEMON` scheduling strategy.
        Returns:
        builder
      • enableEcsManagedTags

        public ServiceArgs.Builder enableEcsManagedTags​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Boolean> enableEcsManagedTags)
        Parameters:
        enableEcsManagedTags - Whether to enable Amazon ECS managed tags for the tasks within the service.
        Returns:
        builder
      • enableEcsManagedTags

        public ServiceArgs.Builder enableEcsManagedTags​(java.lang.Boolean enableEcsManagedTags)
        Parameters:
        enableEcsManagedTags - Whether to enable Amazon ECS managed tags for the tasks within the service.
        Returns:
        builder
      • enableExecuteCommand

        public ServiceArgs.Builder enableExecuteCommand​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Boolean> enableExecuteCommand)
        Parameters:
        enableExecuteCommand - Whether to enable Amazon ECS Exec for the tasks within the service.
        Returns:
        builder
      • enableExecuteCommand

        public ServiceArgs.Builder enableExecuteCommand​(java.lang.Boolean enableExecuteCommand)
        Parameters:
        enableExecuteCommand - Whether to enable Amazon ECS Exec for the tasks within the service.
        Returns:
        builder
      • forceDelete

        public ServiceArgs.Builder forceDelete​(@Nullable
                                               com.pulumi.core.Output<java.lang.Boolean> forceDelete)
        Parameters:
        forceDelete - Enable to delete a service even if it wasn't scaled down to zero tasks. It's only necessary to use this if the service uses the `REPLICA` scheduling strategy.
        Returns:
        builder
      • forceDelete

        public ServiceArgs.Builder forceDelete​(java.lang.Boolean forceDelete)
        Parameters:
        forceDelete - Enable to delete a service even if it wasn't scaled down to zero tasks. It's only necessary to use this if the service uses the `REPLICA` scheduling strategy.
        Returns:
        builder
      • forceNewDeployment

        public ServiceArgs.Builder forceNewDeployment​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Boolean> forceNewDeployment)
        Parameters:
        forceNewDeployment - Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `orderedPlacementStrategy` and `placementConstraints` updates. When using the forceNewDeployment property you also need to configure the triggers property.
        Returns:
        builder
      • forceNewDeployment

        public ServiceArgs.Builder forceNewDeployment​(java.lang.Boolean forceNewDeployment)
        Parameters:
        forceNewDeployment - Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy `orderedPlacementStrategy` and `placementConstraints` updates. When using the forceNewDeployment property you also need to configure the triggers property.
        Returns:
        builder
      • healthCheckGracePeriodSeconds

        public ServiceArgs.Builder healthCheckGracePeriodSeconds​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.Integer> healthCheckGracePeriodSeconds)
        Parameters:
        healthCheckGracePeriodSeconds - Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 2147483647. Only valid for services configured to use load balancers.
        Returns:
        builder
      • healthCheckGracePeriodSeconds

        public ServiceArgs.Builder healthCheckGracePeriodSeconds​(java.lang.Integer healthCheckGracePeriodSeconds)
        Parameters:
        healthCheckGracePeriodSeconds - Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 2147483647. Only valid for services configured to use load balancers.
        Returns:
        builder
      • iamRole

        public ServiceArgs.Builder iamRole​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> iamRole)
        Parameters:
        iamRole - ARN of the IAM role that allows Amazon ECS to make calls to your load balancer on your behalf. This parameter is required if you are using a load balancer with your service, but only if your task definition does not use the `awsvpc` network mode. If using `awsvpc` network mode, do not specify this role. If your account has already created the Amazon ECS service-linked role, that role is used by default for your service unless you specify a role here.
        Returns:
        builder
      • iamRole

        public ServiceArgs.Builder iamRole​(java.lang.String iamRole)
        Parameters:
        iamRole - ARN of the IAM role that allows Amazon ECS to make calls to your load balancer on your behalf. This parameter is required if you are using a load balancer with your service, but only if your task definition does not use the `awsvpc` network mode. If using `awsvpc` network mode, do not specify this role. If your account has already created the Amazon ECS service-linked role, that role is used by default for your service unless you specify a role here.
        Returns:
        builder
      • launchType

        public ServiceArgs.Builder launchType​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> launchType)
        Parameters:
        launchType - Launch type on which to run your service. The valid values are `EC2`, `FARGATE`, and `EXTERNAL`. Defaults to `EC2`. Conflicts with `capacityProviderStrategy`.
        Returns:
        builder
      • launchType

        public ServiceArgs.Builder launchType​(java.lang.String launchType)
        Parameters:
        launchType - Launch type on which to run your service. The valid values are `EC2`, `FARGATE`, and `EXTERNAL`. Defaults to `EC2`. Conflicts with `capacityProviderStrategy`.
        Returns:
        builder
      • loadBalancers

        public ServiceArgs.Builder loadBalancers​(@Nullable
                                                 com.pulumi.core.Output<java.util.List<ServiceLoadBalancerArgs>> loadBalancers)
        Parameters:
        loadBalancers - Configuration block for load balancers. See below.
        Returns:
        builder
      • loadBalancers

        public ServiceArgs.Builder loadBalancers​(java.util.List<ServiceLoadBalancerArgs> loadBalancers)
        Parameters:
        loadBalancers - Configuration block for load balancers. See below.
        Returns:
        builder
      • name

        public ServiceArgs.Builder name​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the service (up to 255 letters, numbers, hyphens, and underscores) The following arguments are optional:
        Returns:
        builder
      • name

        public ServiceArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the service (up to 255 letters, numbers, hyphens, and underscores) The following arguments are optional:
        Returns:
        builder
      • networkConfiguration

        public ServiceArgs.Builder networkConfiguration​(@Nullable
                                                        com.pulumi.core.Output<ServiceNetworkConfigurationArgs> networkConfiguration)
        Parameters:
        networkConfiguration - Network configuration for the service. This parameter is required for task definitions that use the `awsvpc` network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. See below.
        Returns:
        builder
      • networkConfiguration

        public ServiceArgs.Builder networkConfiguration​(ServiceNetworkConfigurationArgs networkConfiguration)
        Parameters:
        networkConfiguration - Network configuration for the service. This parameter is required for task definitions that use the `awsvpc` network mode to receive their own Elastic Network Interface, and it is not supported for other network modes. See below.
        Returns:
        builder
      • orderedPlacementStrategies

        public ServiceArgs.Builder orderedPlacementStrategies​(@Nullable
                                                              com.pulumi.core.Output<java.util.List<ServiceOrderedPlacementStrategyArgs>> orderedPlacementStrategies)
        Parameters:
        orderedPlacementStrategies - Service level strategy rules that are taken into consideration during task placement. List from top to bottom in order of precedence. Updates to this configuration will take effect next task deployment unless `forceNewDeployment` is enabled. The maximum number of `orderedPlacementStrategy` blocks is `5`. See below.
        Returns:
        builder
      • orderedPlacementStrategies

        public ServiceArgs.Builder orderedPlacementStrategies​(java.util.List<ServiceOrderedPlacementStrategyArgs> orderedPlacementStrategies)
        Parameters:
        orderedPlacementStrategies - Service level strategy rules that are taken into consideration during task placement. List from top to bottom in order of precedence. Updates to this configuration will take effect next task deployment unless `forceNewDeployment` is enabled. The maximum number of `orderedPlacementStrategy` blocks is `5`. See below.
        Returns:
        builder
      • orderedPlacementStrategies

        public ServiceArgs.Builder orderedPlacementStrategies​(ServiceOrderedPlacementStrategyArgs... orderedPlacementStrategies)
        Parameters:
        orderedPlacementStrategies - Service level strategy rules that are taken into consideration during task placement. List from top to bottom in order of precedence. Updates to this configuration will take effect next task deployment unless `forceNewDeployment` is enabled. The maximum number of `orderedPlacementStrategy` blocks is `5`. See below.
        Returns:
        builder
      • placementConstraints

        public ServiceArgs.Builder placementConstraints​(@Nullable
                                                        com.pulumi.core.Output<java.util.List<ServicePlacementConstraintArgs>> placementConstraints)
        Parameters:
        placementConstraints - Rules that are taken into consideration during task placement. Updates to this configuration will take effect next task deployment unless `forceNewDeployment` is enabled. Maximum number of `placementConstraints` is `10`. See below.
        Returns:
        builder
      • placementConstraints

        public ServiceArgs.Builder placementConstraints​(java.util.List<ServicePlacementConstraintArgs> placementConstraints)
        Parameters:
        placementConstraints - Rules that are taken into consideration during task placement. Updates to this configuration will take effect next task deployment unless `forceNewDeployment` is enabled. Maximum number of `placementConstraints` is `10`. See below.
        Returns:
        builder
      • placementConstraints

        public ServiceArgs.Builder placementConstraints​(ServicePlacementConstraintArgs... placementConstraints)
        Parameters:
        placementConstraints - Rules that are taken into consideration during task placement. Updates to this configuration will take effect next task deployment unless `forceNewDeployment` is enabled. Maximum number of `placementConstraints` is `10`. See below.
        Returns:
        builder
      • platformVersion

        public ServiceArgs.Builder platformVersion​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> platformVersion)
        Parameters:
        platformVersion - Platform version on which to run your service. Only applicable for `launchType` set to `FARGATE`. Defaults to `LATEST`. More information about Fargate platform versions can be found in the [AWS ECS User Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html).
        Returns:
        builder
      • platformVersion

        public ServiceArgs.Builder platformVersion​(java.lang.String platformVersion)
        Parameters:
        platformVersion - Platform version on which to run your service. Only applicable for `launchType` set to `FARGATE`. Defaults to `LATEST`. More information about Fargate platform versions can be found in the [AWS ECS User Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html).
        Returns:
        builder
      • propagateTags

        public ServiceArgs.Builder propagateTags​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> propagateTags)
        Parameters:
        propagateTags - Whether to propagate the tags from the task definition or the service to the tasks. The valid values are `SERVICE` and `TASK_DEFINITION`.
        Returns:
        builder
      • propagateTags

        public ServiceArgs.Builder propagateTags​(java.lang.String propagateTags)
        Parameters:
        propagateTags - Whether to propagate the tags from the task definition or the service to the tasks. The valid values are `SERVICE` and `TASK_DEFINITION`.
        Returns:
        builder
      • region

        public ServiceArgs.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 ServiceArgs.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
      • schedulingStrategy

        public ServiceArgs.Builder schedulingStrategy​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> schedulingStrategy)
        Parameters:
        schedulingStrategy - Scheduling strategy to use for the service. The valid values are `REPLICA` and `DAEMON`. Defaults to `REPLICA`. Note that [*Tasks using the Fargate launch type or the `CODE_DEPLOY` or `EXTERNAL` deployment controller types don't support the `DAEMON` scheduling strategy*](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html).
        Returns:
        builder
      • schedulingStrategy

        public ServiceArgs.Builder schedulingStrategy​(java.lang.String schedulingStrategy)
        Parameters:
        schedulingStrategy - Scheduling strategy to use for the service. The valid values are `REPLICA` and `DAEMON`. Defaults to `REPLICA`. Note that [*Tasks using the Fargate launch type or the `CODE_DEPLOY` or `EXTERNAL` deployment controller types don't support the `DAEMON` scheduling strategy*](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html).
        Returns:
        builder
      • serviceConnectConfiguration

        public ServiceArgs.Builder serviceConnectConfiguration​(@Nullable
                                                               com.pulumi.core.Output<ServiceServiceConnectConfigurationArgs> serviceConnectConfiguration)
        Parameters:
        serviceConnectConfiguration - ECS Service Connect configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace. See below.
        Returns:
        builder
      • serviceConnectConfiguration

        public ServiceArgs.Builder serviceConnectConfiguration​(ServiceServiceConnectConfigurationArgs serviceConnectConfiguration)
        Parameters:
        serviceConnectConfiguration - ECS Service Connect configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace. See below.
        Returns:
        builder
      • serviceRegistries

        public ServiceArgs.Builder serviceRegistries​(@Nullable
                                                     com.pulumi.core.Output<ServiceServiceRegistriesArgs> serviceRegistries)
        Parameters:
        serviceRegistries - Service discovery registries for the service. The maximum number of `serviceRegistries` blocks is `1`. See below.
        Returns:
        builder
      • serviceRegistries

        public ServiceArgs.Builder serviceRegistries​(ServiceServiceRegistriesArgs serviceRegistries)
        Parameters:
        serviceRegistries - Service discovery registries for the service. The maximum number of `serviceRegistries` blocks is `1`. See below.
        Returns:
        builder
      • sigintRollback

        public ServiceArgs.Builder sigintRollback​(@Nullable
                                                  com.pulumi.core.Output<java.lang.Boolean> sigintRollback)
        Parameters:
        sigintRollback - Whether to enable graceful termination of deployments using SIGINT signals. When enabled, allows customers to safely cancel an in-progress deployment and automatically trigger a rollback to the previous stable state. Defaults to `false`. Only applicable when using `ECS` deployment controller and requires `waitForSteadyState = true`.
        Returns:
        builder
      • sigintRollback

        public ServiceArgs.Builder sigintRollback​(java.lang.Boolean sigintRollback)
        Parameters:
        sigintRollback - Whether to enable graceful termination of deployments using SIGINT signals. When enabled, allows customers to safely cancel an in-progress deployment and automatically trigger a rollback to the previous stable state. Defaults to `false`. Only applicable when using `ECS` deployment controller and requires `waitForSteadyState = true`.
        Returns:
        builder
      • tags

        public ServiceArgs.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 ServiceArgs.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
      • taskDefinition

        public ServiceArgs.Builder taskDefinition​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> taskDefinition)
        Parameters:
        taskDefinition - Family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. Required unless using the `EXTERNAL` deployment controller. If a revision is not specified, the latest `ACTIVE` revision is used.
        Returns:
        builder
      • taskDefinition

        public ServiceArgs.Builder taskDefinition​(java.lang.String taskDefinition)
        Parameters:
        taskDefinition - Family and revision (`family:revision`) or full ARN of the task definition that you want to run in your service. Required unless using the `EXTERNAL` deployment controller. If a revision is not specified, the latest `ACTIVE` revision is used.
        Returns:
        builder
      • triggers

        public ServiceArgs.Builder triggers​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> triggers)
        Parameters:
        triggers - Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. When using the triggers property you also need to set the forceNewDeployment property to True.
        Returns:
        builder
      • triggers

        public ServiceArgs.Builder triggers​(java.util.Map<java.lang.String,​java.lang.String> triggers)
        Parameters:
        triggers - Map of arbitrary keys and values that, when changed, will trigger an in-place update (redeployment). Useful with `"plantimestamp()"`. When using the triggers property you also need to set the forceNewDeployment property to True.
        Returns:
        builder
      • volumeConfiguration

        public ServiceArgs.Builder volumeConfiguration​(@Nullable
                                                       com.pulumi.core.Output<ServiceVolumeConfigurationArgs> volumeConfiguration)
        Parameters:
        volumeConfiguration - Configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume. See below.
        Returns:
        builder
      • volumeConfiguration

        public ServiceArgs.Builder volumeConfiguration​(ServiceVolumeConfigurationArgs volumeConfiguration)
        Parameters:
        volumeConfiguration - Configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume. See below.
        Returns:
        builder
      • vpcLatticeConfigurations

        public ServiceArgs.Builder vpcLatticeConfigurations​(@Nullable
                                                            com.pulumi.core.Output<java.util.List<ServiceVpcLatticeConfigurationArgs>> vpcLatticeConfigurations)
        Parameters:
        vpcLatticeConfigurations - VPC Lattice configuration for your service that allows Lattice to connect, secure, and monitor your service across multiple accounts and VPCs. See below.
        Returns:
        builder
      • vpcLatticeConfigurations

        public ServiceArgs.Builder vpcLatticeConfigurations​(java.util.List<ServiceVpcLatticeConfigurationArgs> vpcLatticeConfigurations)
        Parameters:
        vpcLatticeConfigurations - VPC Lattice configuration for your service that allows Lattice to connect, secure, and monitor your service across multiple accounts and VPCs. See below.
        Returns:
        builder
      • vpcLatticeConfigurations

        public ServiceArgs.Builder vpcLatticeConfigurations​(ServiceVpcLatticeConfigurationArgs... vpcLatticeConfigurations)
        Parameters:
        vpcLatticeConfigurations - VPC Lattice configuration for your service that allows Lattice to connect, secure, and monitor your service across multiple accounts and VPCs. See below.
        Returns:
        builder
      • waitForSteadyState

        public ServiceArgs.Builder waitForSteadyState​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Boolean> waitForSteadyState)
        Parameters:
        waitForSteadyState - If `true`, this provider will wait for the service to reach a steady state (like [`aws ecs wait services-stable`](https://docs.aws.amazon.com/cli/latest/reference/ecs/wait/services-stable.html)) before continuing. Default `false`.
        Returns:
        builder
      • waitForSteadyState

        public ServiceArgs.Builder waitForSteadyState​(java.lang.Boolean waitForSteadyState)
        Parameters:
        waitForSteadyState - If `true`, this provider will wait for the service to reach a steady state (like [`aws ecs wait services-stable`](https://docs.aws.amazon.com/cli/latest/reference/ecs/wait/services-stable.html)) before continuing. Default `false`.
        Returns:
        builder