ContainerOverride

public struct ContainerOverride : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The command to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.

    Declaration

    Swift

    public let command: [String]?
  • cpu

    The number of cpu units reserved for the container, instead of the default value from the task definition. You must also specify a container name.

    Declaration

    Swift

    public let cpu: Int?
  • The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. You must also specify a container name.

    Declaration

    Swift

    public let environment: [KeyValuePair]?
  • A list of files containing the environment variables to pass to a container, instead of the value from the container definition.

    Declaration

    Swift

    public let environmentFiles: [EnvironmentFile]?
  • The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name.

    Declaration

    Swift

    public let memory: Int?
  • The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name.

    Declaration

    Swift

    public let memoryReservation: Int?
  • The name of the container that receives the override. This parameter is required if any override is specified.

    Declaration

    Swift

    public let name: String?
  • The type and amount of a resource to assign to a container, instead of the default value from the task definition. The only supported resource is a GPU.

    Declaration

    Swift

    public let resourceRequirements: [ResourceRequirement]?
  • Undocumented

    Declaration

    Swift

    public init(command: [String]? = nil, cpu: Int? = nil, environment: [KeyValuePair]? = nil, environmentFiles: [EnvironmentFile]? = nil, memory: Int? = nil, memoryReservation: Int? = nil, name: String? = nil, resourceRequirements: [ResourceRequirement]? = nil)