NAME
Paws::ECS::Deployment
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::ECS::Deployment object:
$service_obj->Method(Att1 => { CapacityProviderStrategy => $value, ..., UpdatedAt => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::ECS::Deployment object:
$result = $service_obj->Method(...);
$result->Att1->CapacityProviderStrategy
DESCRIPTION
The details of an Amazon ECS service deployment. This is used only when a service uses the ECS
deployment controller type.
ATTRIBUTES
CapacityProviderStrategy => ArrayRef[Paws::ECS::CapacityProviderStrategyItem]
The capacity provider strategy that the deployment is using.
CreatedAt => Str
The Unix timestamp for when the service deployment was created.
DesiredCount => Int
The most recent desired count of tasks that was specified for the service to deploy or maintain.
FailedTasks => Int
The number of consecutively failed tasks in the deployment. A task is considered a failure if the service scheduler can't launch the task, the task doesn't transition to a RUNNING
state, or if it fails any of its defined health checks and is stopped.
Once a service deployment has one or more successfully running tasks, the failed task count resets to zero and stops being evaluated.
Id => Str
The ID of the deployment.
LaunchType => Str
The launch type the tasks in the service are using. For more information, see Amazon ECS Launch Types (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) in the Amazon Elastic Container Service Developer Guide.
NetworkConfiguration => Paws::ECS::NetworkConfiguration
The VPC subnet and security group configuration for tasks that receive their own elastic network interface by using the awsvpc
networking mode.
PendingCount => Int
The number of tasks in the deployment that are in the PENDING
status.
PlatformVersion => Str
The platform version on which your tasks in the service are running. A platform version is only specified for tasks using the Fargate launch type. If one is not specified, the LATEST
platform version is used by default. For more information, see AWS Fargate Platform Versions (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) in the Amazon Elastic Container Service Developer Guide.
RolloutState => Str
The rolloutState
of a service is only returned for services that use the rolling update (ECS
) deployment type that are not behind a Classic Load Balancer.
The rollout state of the deployment. When a service deployment is started, it begins in an IN_PROGRESS
state. When the service reaches a steady state, the deployment will transition to a COMPLETED
state. If the service fails to reach a steady state and circuit breaker is enabled, the deployment will transition to a FAILED
state. A deployment in FAILED
state will launch no new tasks. For more information, see DeploymentCircuitBreaker.
RolloutStateReason => Str
A description of the rollout state of a deployment.
RunningCount => Int
The number of tasks in the deployment that are in the RUNNING
status.
Status => Str
The status of the deployment. The following describes each state:
- PRIMARY
-
The most recent deployment of a service.
- ACTIVE
-
A service deployment that still has running tasks, but are in the process of being replaced with a new
PRIMARY
deployment. - INACTIVE
-
A deployment that has been completely replaced.
TaskDefinition => Str
The most recent task definition that was specified for the tasks in the service to use.
UpdatedAt => Str
The Unix timestamp for when the service deployment was last updated.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::ECS
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues