Struct aws_sdk_securityhub::model::aws_ecs_service_details::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for AwsEcsServiceDetails
Implementations
pub fn capacity_provider_strategy(
self,
input: impl Into<AwsEcsServiceCapacityProviderStrategyDetails>
) -> Self
pub fn capacity_provider_strategy(
self,
input: impl Into<AwsEcsServiceCapacityProviderStrategyDetails>
) -> Self
Appends an item to capacity_provider_strategy
.
To override the contents of this collection use set_capacity_provider_strategy
.
The capacity provider strategy that the service uses.
pub fn set_capacity_provider_strategy(
self,
input: Option<Vec<AwsEcsServiceCapacityProviderStrategyDetails>>
) -> Self
pub fn set_capacity_provider_strategy(
self,
input: Option<Vec<AwsEcsServiceCapacityProviderStrategyDetails>>
) -> Self
The capacity provider strategy that the service uses.
The ARN of the cluster that hosts the service.
The ARN of the cluster that hosts the service.
pub fn deployment_configuration(
self,
input: AwsEcsServiceDeploymentConfigurationDetails
) -> Self
pub fn deployment_configuration(
self,
input: AwsEcsServiceDeploymentConfigurationDetails
) -> Self
Deployment parameters for the service. Includes the number of tasks that run and the order in which to start and stop tasks.
pub fn set_deployment_configuration(
self,
input: Option<AwsEcsServiceDeploymentConfigurationDetails>
) -> Self
pub fn set_deployment_configuration(
self,
input: Option<AwsEcsServiceDeploymentConfigurationDetails>
) -> Self
Deployment parameters for the service. Includes the number of tasks that run and the order in which to start and stop tasks.
Contains the deployment controller type that the service uses.
pub fn set_deployment_controller(
self,
input: Option<AwsEcsServiceDeploymentControllerDetails>
) -> Self
pub fn set_deployment_controller(
self,
input: Option<AwsEcsServiceDeploymentControllerDetails>
) -> Self
Contains the deployment controller type that the service uses.
The number of instantiations of the task definition to run on the service.
The number of instantiations of the task definition to run on the service.
Whether to enable Amazon ECS managed tags for the tasks in the service.
Whether to enable Amazon ECS managed tags for the tasks in the service.
Whether the execute command functionality is enabled for the service.
Whether the execute command functionality is enabled for the service.
After a task starts, the amount of time in seconds that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks.
After a task starts, the amount of time in seconds that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks.
The launch type that the service uses.
Valid values: EC2
| FARGATE
| EXTERNAL
The launch type that the service uses.
Valid values: EC2
| FARGATE
| EXTERNAL
Appends an item to load_balancers
.
To override the contents of this collection use set_load_balancers
.
Information about the load balancers that the service uses.
pub fn set_load_balancers(
self,
input: Option<Vec<AwsEcsServiceLoadBalancersDetails>>
) -> Self
pub fn set_load_balancers(
self,
input: Option<Vec<AwsEcsServiceLoadBalancersDetails>>
) -> Self
Information about the load balancers that the service uses.
For tasks that use the awsvpc
networking mode, the VPC subnet and security group configuration.
pub fn set_network_configuration(
self,
input: Option<AwsEcsServiceNetworkConfigurationDetails>
) -> Self
pub fn set_network_configuration(
self,
input: Option<AwsEcsServiceNetworkConfigurationDetails>
) -> Self
For tasks that use the awsvpc
networking mode, the VPC subnet and security group configuration.
pub fn placement_constraints(
self,
input: impl Into<AwsEcsServicePlacementConstraintsDetails>
) -> Self
pub fn placement_constraints(
self,
input: impl Into<AwsEcsServicePlacementConstraintsDetails>
) -> Self
Appends an item to placement_constraints
.
To override the contents of this collection use set_placement_constraints
.
The placement constraints for the tasks in the service.
pub fn set_placement_constraints(
self,
input: Option<Vec<AwsEcsServicePlacementConstraintsDetails>>
) -> Self
pub fn set_placement_constraints(
self,
input: Option<Vec<AwsEcsServicePlacementConstraintsDetails>>
) -> Self
The placement constraints for the tasks in the service.
pub fn placement_strategies(
self,
input: impl Into<AwsEcsServicePlacementStrategiesDetails>
) -> Self
pub fn placement_strategies(
self,
input: impl Into<AwsEcsServicePlacementStrategiesDetails>
) -> Self
Appends an item to placement_strategies
.
To override the contents of this collection use set_placement_strategies
.
Information about how tasks for the service are placed.
pub fn set_placement_strategies(
self,
input: Option<Vec<AwsEcsServicePlacementStrategiesDetails>>
) -> Self
pub fn set_placement_strategies(
self,
input: Option<Vec<AwsEcsServicePlacementStrategiesDetails>>
) -> Self
Information about how tasks for the service are placed.
The platform version on which to run the service. Only specified for tasks that are hosted on Fargate. If a platform version is not specified, the LATEST
platform version is used by default.
The platform version on which to run the service. Only specified for tasks that are hosted on Fargate. If a platform version is not specified, the LATEST
platform version is used by default.
Indicates whether to propagate the tags from the task definition to the task or from the service to the task. If no value is provided, then tags are not propagated.
Valid values: TASK_DEFINITION
| SERVICE
Indicates whether to propagate the tags from the task definition to the task or from the service to the task. If no value is provided, then tags are not propagated.
Valid values: TASK_DEFINITION
| SERVICE
The ARN of the IAM role that is associated with the service. The role allows the Amazon ECS container agent to register container instances with an Elastic Load Balancing load balancer.
The ARN of the IAM role that is associated with the service. The role allows the Amazon ECS container agent to register container instances with an Elastic Load Balancing load balancer.
The scheduling strategy to use for the service.
The REPLICA
scheduling strategy places and maintains the desired number of tasks across the cluster. By default, the service scheduler spreads tasks across Availability Zones. Task placement strategies and constraints are used to customize task placement decisions.
The DAEMON
scheduling strategy deploys exactly one task on each active container instance that meets all of the task placement constraints that are specified in the cluster. The service scheduler also evaluates the task placement constraints for running tasks and stops tasks that do not meet the placement constraints.
Valid values: REPLICA
| DAEMON
The scheduling strategy to use for the service.
The REPLICA
scheduling strategy places and maintains the desired number of tasks across the cluster. By default, the service scheduler spreads tasks across Availability Zones. Task placement strategies and constraints are used to customize task placement decisions.
The DAEMON
scheduling strategy deploys exactly one task on each active container instance that meets all of the task placement constraints that are specified in the cluster. The service scheduler also evaluates the task placement constraints for running tasks and stops tasks that do not meet the placement constraints.
Valid values: REPLICA
| DAEMON
The ARN of the service.
The ARN of the service.
The name of the service.
The name can contain up to 255 characters. It can use letters, numbers, underscores, and hyphens.
The name of the service.
The name can contain up to 255 characters. It can use letters, numbers, underscores, and hyphens.
pub fn service_registries(
self,
input: impl Into<AwsEcsServiceServiceRegistriesDetails>
) -> Self
pub fn service_registries(
self,
input: impl Into<AwsEcsServiceServiceRegistriesDetails>
) -> Self
Appends an item to service_registries
.
To override the contents of this collection use set_service_registries
.
Information about the service discovery registries to assign to the service.
pub fn set_service_registries(
self,
input: Option<Vec<AwsEcsServiceServiceRegistriesDetails>>
) -> Self
pub fn set_service_registries(
self,
input: Option<Vec<AwsEcsServiceServiceRegistriesDetails>>
) -> Self
Information about the service discovery registries to assign to the service.
The task definition to use for tasks in the service.
The task definition to use for tasks in the service.
Consumes the builder and constructs a AwsEcsServiceDetails
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more