Deployment
public struct Deployment : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The capacity provider strategy that the deployment is using.
Declaration
Swift
public let capacityProviderStrategy: [CapacityProviderStrategyItem]?
-
The Unix timestamp for when the service deployment was created.
Declaration
Swift
public let createdAt: TimeStamp?
-
The most recent desired count of tasks that was specified for the service to deploy or maintain.
Declaration
Swift
public let desiredCount: Int?
-
The ID of the deployment.
Declaration
Swift
public let id: String?
-
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.
Declaration
Swift
public let launchType: LaunchType?
-
The VPC subnet and security group configuration for tasks that receive their own elastic network interface by using the awsvpc networking mode.
Declaration
Swift
public let networkConfiguration: NetworkConfiguration?
-
The number of tasks in the deployment that are in the PENDING status.
Declaration
Swift
public let pendingCount: Int?
-
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 in the Amazon Elastic Container Service Developer Guide.
Declaration
Swift
public let platformVersion: String?
-
The number of tasks in the deployment that are in the RUNNING status.
Declaration
Swift
public let runningCount: Int?
-
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.
Declaration
Swift
public let status: String?
-
The most recent task definition that was specified for the tasks in the service to use.
Declaration
Swift
public let taskDefinition: String?
-
The Unix timestamp for when the service deployment was last updated.
Declaration
Swift
public let updatedAt: TimeStamp?
-
init(capacityProviderStrategy:createdAt:desiredCount:id:launchType:networkConfiguration:pendingCount:platformVersion:runningCount:status:taskDefinition:updatedAt:)
Undocumented
Declaration
Swift
public init(capacityProviderStrategy: [CapacityProviderStrategyItem]? = nil, createdAt: TimeStamp? = nil, desiredCount: Int? = nil, id: String? = nil, launchType: LaunchType? = nil, networkConfiguration: NetworkConfiguration? = nil, pendingCount: Int? = nil, platformVersion: String? = nil, runningCount: Int? = nil, status: String? = nil, taskDefinition: String? = nil, updatedAt: TimeStamp? = nil)