UpdateContainerInstancesStateRequest

public struct UpdateContainerInstancesStateRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to update. If you do not specify a cluster, the default cluster is assumed.

    Declaration

    Swift

    public let cluster: String?
  • A list of container instance IDs or full ARN entries.

    Declaration

    Swift

    public let containerInstances: [String]
  • The container instance state with which to update the container instance. The only valid values for this action are ACTIVE and DRAINING. A container instance can only be updated to DRAINING status once it has reached an ACTIVE state. If a container instance is in REGISTERING, DEREGISTERING, or REGISTRATION_FAILED state you can describe the container instance but will be unable to update the container instance state.

    Declaration

    Swift

    public let status: ContainerInstanceStatus
  • Undocumented

    Declaration

    Swift

    public init(cluster: String? = nil, containerInstances: [String], status: ContainerInstanceStatus)