AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The details of an Amazon ECS service deployment. This is used only when a service
uses the ECS
deployment controller type.
Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z
public class Deployment
The Deployment type exposes the following members
Name | Description | |
---|---|---|
![]() |
Deployment() |
Name | Type | Description | |
---|---|---|---|
![]() |
CapacityProviderStrategy | System.Collections.Generic.List<Amazon.ECS.Model.CapacityProviderStrategyItem> |
Gets and sets the property CapacityProviderStrategy. The capacity provider strategy that the deployment is using. |
![]() |
CreatedAt | System.DateTime |
Gets and sets the property CreatedAt. The Unix timestamp for the time when the service deployment was created. |
![]() |
DesiredCount | System.Int32 |
Gets and sets the property DesiredCount. The most recent desired count of tasks that was specified for the service to deploy or maintain. |
![]() |
FailedTasks | System.Int32 |
Gets and sets the property FailedTasks.
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 Once a service deployment has one or more successfully running tasks, the failed task count resets to zero and stops being evaluated. |
![]() |
FargateEphemeralStorage | Amazon.ECS.Model.DeploymentEphemeralStorage |
Gets and sets the property FargateEphemeralStorage. The Fargate ephemeral storage settings for the deployment. |
![]() |
Id | System.String |
Gets and sets the property Id. The ID of the deployment. |
![]() |
LaunchType | Amazon.ECS.LaunchType |
Gets and sets the property LaunchType. The launch type the tasks in the service are using. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide. |
![]() |
NetworkConfiguration | Amazon.ECS.Model.NetworkConfiguration |
Gets and sets the property NetworkConfiguration.
The VPC subnet and security group configuration for tasks that receive their own elastic
network interface by using the |
![]() |
PendingCount | System.Int32 |
Gets and sets the property PendingCount.
The number of tasks in the deployment that are in the |
![]() |
PlatformFamily | System.String |
Gets and sets the property PlatformFamily. The operating system that your tasks in the service, or tasks are running on. A platform family is specified only for tasks using the Fargate launch type.
All tasks that run as part of this service must use the same |
![]() |
PlatformVersion | System.String |
Gets and sets the property PlatformVersion.
The platform version that your tasks in the service run on. A platform version is
only specified for tasks using the Fargate launch type. If one isn't specified, the
|
![]() |
RolloutState | Amazon.ECS.DeploymentRolloutState |
Gets and sets the property RolloutState.
The
The rollout state of the deployment. When a service deployment is started, it begins
in an |
![]() |
RolloutStateReason | System.String |
Gets and sets the property RolloutStateReason. A description of the rollout state of a deployment. |
![]() |
RunningCount | System.Int32 |
Gets and sets the property RunningCount.
The number of tasks in the deployment that are in the |
![]() |
ServiceConnectConfiguration | Amazon.ECS.Model.ServiceConnectConfiguration |
Gets and sets the property ServiceConnectConfiguration. The details of the Service Connect configuration that's used by this deployment. Compare the configuration between multiple deployments when troubleshooting issues with new deployments. The configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace. Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide. |
![]() |
ServiceConnectResources | System.Collections.Generic.List<Amazon.ECS.Model.ServiceConnectServiceResource> |
Gets and sets the property ServiceConnectResources. The list of Service Connect resources that are associated with this deployment. Each list entry maps a discovery name to a Cloud Map service name. |
![]() |
Status | System.String |
Gets and sets the property Status. The status of the deployment. The following describes each state.
|
![]() |
TaskDefinition | System.String |
Gets and sets the property TaskDefinition. The most recent task definition that was specified for the tasks in the service to use. |
![]() |
UpdatedAt | System.DateTime |
Gets and sets the property UpdatedAt. The Unix timestamp for the time when the service deployment was last updated. |
![]() |
VolumeConfigurations | System.Collections.Generic.List<Amazon.ECS.Model.ServiceVolumeConfiguration> |
Gets and sets the property VolumeConfigurations.
The details of the volume that was |
![]() |
VpcLatticeConfigurations | System.Collections.Generic.List<Amazon.ECS.Model.VpcLatticeConfiguration> |
Gets and sets the property VpcLatticeConfigurations. The VPC Lattice configuration for the service deployment. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5