Skip to content

Type definitions#

Index > ECS > Type definitions

Auto-generated documentation for ECS type annotations stubs module mypy-boto3-ecs.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

AwsVpcConfigurationUnionTypeDef#

# AwsVpcConfigurationUnionTypeDef definition

AwsVpcConfigurationUnionTypeDef = Union[
    AwsVpcConfigurationTypeDef,  # (1)
    AwsVpcConfigurationOutputTypeDef,  # (2)
]
  1. See AwsVpcConfigurationTypeDef
  2. See AwsVpcConfigurationOutputTypeDef

ContainerRestartPolicyUnionTypeDef#

# ContainerRestartPolicyUnionTypeDef definition

ContainerRestartPolicyUnionTypeDef = Union[
    ContainerRestartPolicyTypeDef,  # (1)
    ContainerRestartPolicyOutputTypeDef,  # (2)
]
  1. See ContainerRestartPolicyTypeDef
  2. See ContainerRestartPolicyOutputTypeDef

DeploymentAlarmsUnionTypeDef#

# DeploymentAlarmsUnionTypeDef definition

DeploymentAlarmsUnionTypeDef = Union[
    DeploymentAlarmsTypeDef,  # (1)
    DeploymentAlarmsOutputTypeDef,  # (2)
]
  1. See DeploymentAlarmsTypeDef
  2. See DeploymentAlarmsOutputTypeDef

DeviceUnionTypeDef#

# DeviceUnionTypeDef definition

DeviceUnionTypeDef = Union[
    DeviceTypeDef,  # (1)
    DeviceOutputTypeDef,  # (2)
]
  1. See DeviceTypeDef
  2. See DeviceOutputTypeDef

DockerVolumeConfigurationUnionTypeDef#

# DockerVolumeConfigurationUnionTypeDef definition

DockerVolumeConfigurationUnionTypeDef = Union[
    DockerVolumeConfigurationTypeDef,  # (1)
    DockerVolumeConfigurationOutputTypeDef,  # (2)
]
  1. See DockerVolumeConfigurationTypeDef
  2. See DockerVolumeConfigurationOutputTypeDef

FirelensConfigurationUnionTypeDef#

# FirelensConfigurationUnionTypeDef definition

FirelensConfigurationUnionTypeDef = Union[
    FirelensConfigurationTypeDef,  # (1)
    FirelensConfigurationOutputTypeDef,  # (2)
]
  1. See FirelensConfigurationTypeDef
  2. See FirelensConfigurationOutputTypeDef

HealthCheckUnionTypeDef#

# HealthCheckUnionTypeDef definition

HealthCheckUnionTypeDef = Union[
    HealthCheckTypeDef,  # (1)
    HealthCheckOutputTypeDef,  # (2)
]
  1. See HealthCheckTypeDef
  2. See HealthCheckOutputTypeDef

KernelCapabilitiesUnionTypeDef#

# KernelCapabilitiesUnionTypeDef definition

KernelCapabilitiesUnionTypeDef = Union[
    KernelCapabilitiesTypeDef,  # (1)
    KernelCapabilitiesOutputTypeDef,  # (2)
]
  1. See KernelCapabilitiesTypeDef
  2. See KernelCapabilitiesOutputTypeDef

ResourceUnionTypeDef#

# ResourceUnionTypeDef definition

ResourceUnionTypeDef = Union[
    ResourceTypeDef,  # (1)
    ResourceOutputTypeDef,  # (2)
]
  1. See ResourceTypeDef
  2. See ResourceOutputTypeDef

TmpfsUnionTypeDef#

# TmpfsUnionTypeDef definition

TmpfsUnionTypeDef = Union[
    TmpfsTypeDef,  # (1)
    TmpfsOutputTypeDef,  # (2)
]
  1. See TmpfsTypeDef
  2. See TmpfsOutputTypeDef

EBSTagSpecificationUnionTypeDef#

# EBSTagSpecificationUnionTypeDef definition

EBSTagSpecificationUnionTypeDef = Union[
    EBSTagSpecificationTypeDef,  # (1)
    EBSTagSpecificationOutputTypeDef,  # (2)
]
  1. See EBSTagSpecificationTypeDef
  2. See EBSTagSpecificationOutputTypeDef

ContainerOverrideUnionTypeDef#

# ContainerOverrideUnionTypeDef definition

ContainerOverrideUnionTypeDef = Union[
    ContainerOverrideTypeDef,  # (1)
    ContainerOverrideOutputTypeDef,  # (2)
]
  1. See ContainerOverrideTypeDef
  2. See ContainerOverrideOutputTypeDef

LogConfigurationUnionTypeDef#

# LogConfigurationUnionTypeDef definition

LogConfigurationUnionTypeDef = Union[
    LogConfigurationTypeDef,  # (1)
    LogConfigurationOutputTypeDef,  # (2)
]
  1. See LogConfigurationTypeDef
  2. See LogConfigurationOutputTypeDef

VolumeUnionTypeDef#

# VolumeUnionTypeDef definition

VolumeUnionTypeDef = Union[
    VolumeTypeDef,  # (1)
    VolumeOutputTypeDef,  # (2)
]
  1. See VolumeTypeDef
  2. See VolumeOutputTypeDef

ServiceConnectServiceUnionTypeDef#

# ServiceConnectServiceUnionTypeDef definition

ServiceConnectServiceUnionTypeDef = Union[
    ServiceConnectServiceTypeDef,  # (1)
    ServiceConnectServiceOutputTypeDef,  # (2)
]
  1. See ServiceConnectServiceTypeDef
  2. See ServiceConnectServiceOutputTypeDef

LinuxParametersUnionTypeDef#

# LinuxParametersUnionTypeDef definition

LinuxParametersUnionTypeDef = Union[
    LinuxParametersTypeDef,  # (1)
    LinuxParametersOutputTypeDef,  # (2)
]
  1. See LinuxParametersTypeDef
  2. See LinuxParametersOutputTypeDef

ServiceManagedEBSVolumeConfigurationUnionTypeDef#

# ServiceManagedEBSVolumeConfigurationUnionTypeDef definition

ServiceManagedEBSVolumeConfigurationUnionTypeDef = Union[
    ServiceManagedEBSVolumeConfigurationTypeDef,  # (1)
    ServiceManagedEBSVolumeConfigurationOutputTypeDef,  # (2)
]
  1. See ServiceManagedEBSVolumeConfigurationTypeDef
  2. See ServiceManagedEBSVolumeConfigurationOutputTypeDef

ContainerDefinitionUnionTypeDef#

# ContainerDefinitionUnionTypeDef definition

ContainerDefinitionUnionTypeDef = Union[
    ContainerDefinitionTypeDef,  # (1)
    ContainerDefinitionOutputTypeDef,  # (2)
]
  1. See ContainerDefinitionTypeDef
  2. See ContainerDefinitionOutputTypeDef

ServiceVolumeConfigurationUnionTypeDef#

# ServiceVolumeConfigurationUnionTypeDef definition

ServiceVolumeConfigurationUnionTypeDef = Union[
    ServiceVolumeConfigurationTypeDef,  # (1)
    ServiceVolumeConfigurationOutputTypeDef,  # (2)
]
  1. See ServiceVolumeConfigurationTypeDef
  2. See ServiceVolumeConfigurationOutputTypeDef

AttachmentStateChangeTypeDef#

# AttachmentStateChangeTypeDef definition

class AttachmentStateChangeTypeDef(TypedDict):
    attachmentArn: str,
    status: str,

KeyValuePairTypeDef#

# KeyValuePairTypeDef definition

class KeyValuePairTypeDef(TypedDict):
    name: NotRequired[str],
    value: NotRequired[str],

AttributeTypeDef#

# AttributeTypeDef definition

class AttributeTypeDef(TypedDict):
    name: str,
    value: NotRequired[str],
    targetType: NotRequired[TargetTypeType],  # (1)
    targetId: NotRequired[str],
  1. See TargetTypeType

ManagedScalingTypeDef#

# ManagedScalingTypeDef definition

class ManagedScalingTypeDef(TypedDict):
    status: NotRequired[ManagedScalingStatusType],  # (1)
    targetCapacity: NotRequired[int],
    minimumScalingStepSize: NotRequired[int],
    maximumScalingStepSize: NotRequired[int],
    instanceWarmupPeriod: NotRequired[int],
  1. See ManagedScalingStatusType

AwsVpcConfigurationOutputTypeDef#

# AwsVpcConfigurationOutputTypeDef definition

class AwsVpcConfigurationOutputTypeDef(TypedDict):
    subnets: List[str],
    securityGroups: NotRequired[List[str]],
    assignPublicIp: NotRequired[AssignPublicIpType],  # (1)
  1. See AssignPublicIpType

AwsVpcConfigurationTypeDef#

# AwsVpcConfigurationTypeDef definition

class AwsVpcConfigurationTypeDef(TypedDict):
    subnets: Sequence[str],
    securityGroups: NotRequired[Sequence[str]],
    assignPublicIp: NotRequired[AssignPublicIpType],  # (1)
  1. See AssignPublicIpType

CapacityProviderStrategyItemTypeDef#

# CapacityProviderStrategyItemTypeDef definition

class CapacityProviderStrategyItemTypeDef(TypedDict):
    capacityProvider: str,
    weight: NotRequired[int],
    base: NotRequired[int],

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    key: NotRequired[str],
    value: NotRequired[str],

ManagedStorageConfigurationTypeDef#

# ManagedStorageConfigurationTypeDef definition

class ManagedStorageConfigurationTypeDef(TypedDict):
    kmsKeyId: NotRequired[str],
    fargateEphemeralStorageKmsKeyId: NotRequired[str],

ClusterServiceConnectDefaultsRequestTypeDef#

# ClusterServiceConnectDefaultsRequestTypeDef definition

class ClusterServiceConnectDefaultsRequestTypeDef(TypedDict):
    namespace: str,

ClusterServiceConnectDefaultsTypeDef#

# ClusterServiceConnectDefaultsTypeDef definition

class ClusterServiceConnectDefaultsTypeDef(TypedDict):
    namespace: NotRequired[str],

ClusterSettingTypeDef#

# ClusterSettingTypeDef definition

class ClusterSettingTypeDef(TypedDict):
    name: NotRequired[ClusterSettingNameType],  # (1)
    value: NotRequired[str],
  1. See ClusterSettingNameType

ContainerDependencyTypeDef#

# ContainerDependencyTypeDef definition

class ContainerDependencyTypeDef(TypedDict):
    containerName: str,
    condition: ContainerConditionType,  # (1)
  1. See ContainerConditionType

ContainerRestartPolicyOutputTypeDef#

# ContainerRestartPolicyOutputTypeDef definition

class ContainerRestartPolicyOutputTypeDef(TypedDict):
    enabled: bool,
    ignoredExitCodes: NotRequired[List[int]],
    restartAttemptPeriod: NotRequired[int],

EnvironmentFileTypeDef#

# EnvironmentFileTypeDef definition

class EnvironmentFileTypeDef(TypedDict):
    value: str,
    type: EnvironmentFileTypeType,  # (1)
  1. See EnvironmentFileTypeType

FirelensConfigurationOutputTypeDef#

# FirelensConfigurationOutputTypeDef definition

class FirelensConfigurationOutputTypeDef(TypedDict):
    type: FirelensConfigurationTypeType,  # (1)
    options: NotRequired[Dict[str, str]],
  1. See FirelensConfigurationTypeType

HealthCheckOutputTypeDef#

# HealthCheckOutputTypeDef definition

class HealthCheckOutputTypeDef(TypedDict):
    command: List[str],
    interval: NotRequired[int],
    timeout: NotRequired[int],
    retries: NotRequired[int],
    startPeriod: NotRequired[int],

HostEntryTypeDef#

# HostEntryTypeDef definition

class HostEntryTypeDef(TypedDict):
    hostname: str,
    ipAddress: str,

MountPointTypeDef#

# MountPointTypeDef definition

class MountPointTypeDef(TypedDict):
    sourceVolume: NotRequired[str],
    containerPath: NotRequired[str],
    readOnly: NotRequired[bool],

PortMappingTypeDef#

# PortMappingTypeDef definition

class PortMappingTypeDef(TypedDict):
    containerPort: NotRequired[int],
    hostPort: NotRequired[int],
    protocol: NotRequired[TransportProtocolType],  # (1)
    name: NotRequired[str],
    appProtocol: NotRequired[ApplicationProtocolType],  # (2)
    containerPortRange: NotRequired[str],
  1. See TransportProtocolType
  2. See ApplicationProtocolType

RepositoryCredentialsTypeDef#

# RepositoryCredentialsTypeDef definition

class RepositoryCredentialsTypeDef(TypedDict):
    credentialsParameter: str,

ResourceRequirementTypeDef#

# ResourceRequirementTypeDef definition

class ResourceRequirementTypeDef(TypedDict):
    value: str,
    type: ResourceTypeType,  # (1)
  1. See ResourceTypeType

SecretTypeDef#

# SecretTypeDef definition

class SecretTypeDef(TypedDict):
    name: str,
    valueFrom: str,

SystemControlTypeDef#

# SystemControlTypeDef definition

class SystemControlTypeDef(TypedDict):
    namespace: NotRequired[str],
    value: NotRequired[str],

UlimitTypeDef#

# UlimitTypeDef definition

class UlimitTypeDef(TypedDict):
    name: UlimitNameType,  # (1)
    softLimit: int,
    hardLimit: int,
  1. See UlimitNameType

VolumeFromTypeDef#

# VolumeFromTypeDef definition

class VolumeFromTypeDef(TypedDict):
    sourceContainer: NotRequired[str],
    readOnly: NotRequired[bool],

ContainerImageTypeDef#

# ContainerImageTypeDef definition

class ContainerImageTypeDef(TypedDict):
    containerName: NotRequired[str],
    imageDigest: NotRequired[str],
    image: NotRequired[str],

InstanceHealthCheckResultTypeDef#

# InstanceHealthCheckResultTypeDef definition

class InstanceHealthCheckResultTypeDef(TypedDict):
    type: NotRequired[InstanceHealthCheckTypeType],  # (1)
    status: NotRequired[InstanceHealthCheckStateType],  # (2)
    lastUpdated: NotRequired[datetime],
    lastStatusChange: NotRequired[datetime],
  1. See InstanceHealthCheckTypeType
  2. See InstanceHealthCheckStateType

ResourceOutputTypeDef#

# ResourceOutputTypeDef definition

class ResourceOutputTypeDef(TypedDict):
    name: NotRequired[str],
    type: NotRequired[str],
    doubleValue: NotRequired[float],
    longValue: NotRequired[int],
    integerValue: NotRequired[int],
    stringSetValue: NotRequired[List[str]],

VersionInfoTypeDef#

# VersionInfoTypeDef definition

class VersionInfoTypeDef(TypedDict):
    agentVersion: NotRequired[str],
    agentHash: NotRequired[str],
    dockerVersion: NotRequired[str],

ContainerRestartPolicyTypeDef#

# ContainerRestartPolicyTypeDef definition

class ContainerRestartPolicyTypeDef(TypedDict):
    enabled: bool,
    ignoredExitCodes: NotRequired[Sequence[int]],
    restartAttemptPeriod: NotRequired[int],

NetworkBindingTypeDef#

# NetworkBindingTypeDef definition

class NetworkBindingTypeDef(TypedDict):
    bindIP: NotRequired[str],
    containerPort: NotRequired[int],
    hostPort: NotRequired[int],
    protocol: NotRequired[TransportProtocolType],  # (1)
    containerPortRange: NotRequired[str],
    hostPortRange: NotRequired[str],
  1. See TransportProtocolType

ManagedAgentTypeDef#

# ManagedAgentTypeDef definition

class ManagedAgentTypeDef(TypedDict):
    lastStartedAt: NotRequired[datetime],
    name: NotRequired[ManagedAgentNameType],  # (1)
    reason: NotRequired[str],
    lastStatus: NotRequired[str],
  1. See ManagedAgentNameType

NetworkInterfaceTypeDef#

# NetworkInterfaceTypeDef definition

class NetworkInterfaceTypeDef(TypedDict):
    attachmentId: NotRequired[str],
    privateIpv4Address: NotRequired[str],
    ipv6Address: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

DeploymentControllerTypeDef#

# DeploymentControllerTypeDef definition

class DeploymentControllerTypeDef(TypedDict):
    type: DeploymentControllerTypeType,  # (1)
  1. See DeploymentControllerTypeType

LoadBalancerTypeDef#

# LoadBalancerTypeDef definition

class LoadBalancerTypeDef(TypedDict):
    targetGroupArn: NotRequired[str],
    loadBalancerName: NotRequired[str],
    containerName: NotRequired[str],
    containerPort: NotRequired[int],

PlacementConstraintTypeDef#

# PlacementConstraintTypeDef definition

class PlacementConstraintTypeDef(TypedDict):
    type: NotRequired[PlacementConstraintTypeType],  # (1)
    expression: NotRequired[str],
  1. See PlacementConstraintTypeType

PlacementStrategyTypeDef#

# PlacementStrategyTypeDef definition

class PlacementStrategyTypeDef(TypedDict):
    type: NotRequired[PlacementStrategyTypeType],  # (1)
    field: NotRequired[str],
  1. See PlacementStrategyTypeType

ServiceRegistryTypeDef#

# ServiceRegistryTypeDef definition

class ServiceRegistryTypeDef(TypedDict):
    registryArn: NotRequired[str],
    port: NotRequired[int],
    containerName: NotRequired[str],
    containerPort: NotRequired[int],

VpcLatticeConfigurationTypeDef#

# VpcLatticeConfigurationTypeDef definition

class VpcLatticeConfigurationTypeDef(TypedDict):
    roleArn: str,
    targetGroupArn: str,
    portName: str,

ScaleTypeDef#

# ScaleTypeDef definition

class ScaleTypeDef(TypedDict):
    value: NotRequired[float],
    unit: NotRequired[ScaleUnitType],  # (1)
  1. See ScaleUnitType

DeleteAccountSettingRequestRequestTypeDef#

# DeleteAccountSettingRequestRequestTypeDef definition

class DeleteAccountSettingRequestRequestTypeDef(TypedDict):
    name: SettingNameType,  # (1)
    principalArn: NotRequired[str],
  1. See SettingNameType

SettingTypeDef#

# SettingTypeDef definition

class SettingTypeDef(TypedDict):
    name: NotRequired[SettingNameType],  # (1)
    value: NotRequired[str],
    principalArn: NotRequired[str],
    type: NotRequired[SettingTypeType],  # (2)
  1. See SettingNameType
  2. See SettingTypeType

DeleteCapacityProviderRequestRequestTypeDef#

# DeleteCapacityProviderRequestRequestTypeDef definition

class DeleteCapacityProviderRequestRequestTypeDef(TypedDict):
    capacityProvider: str,

DeleteClusterRequestRequestTypeDef#

# DeleteClusterRequestRequestTypeDef definition

class DeleteClusterRequestRequestTypeDef(TypedDict):
    cluster: str,

DeleteServiceRequestRequestTypeDef#

# DeleteServiceRequestRequestTypeDef definition

class DeleteServiceRequestRequestTypeDef(TypedDict):
    service: str,
    cluster: NotRequired[str],
    force: NotRequired[bool],

DeleteTaskDefinitionsRequestRequestTypeDef#

# DeleteTaskDefinitionsRequestRequestTypeDef definition

class DeleteTaskDefinitionsRequestRequestTypeDef(TypedDict):
    taskDefinitions: Sequence[str],

FailureTypeDef#

# FailureTypeDef definition

class FailureTypeDef(TypedDict):
    arn: NotRequired[str],
    reason: NotRequired[str],
    detail: NotRequired[str],

DeleteTaskSetRequestRequestTypeDef#

# DeleteTaskSetRequestRequestTypeDef definition

class DeleteTaskSetRequestRequestTypeDef(TypedDict):
    cluster: str,
    service: str,
    taskSet: str,
    force: NotRequired[bool],

DeploymentAlarmsOutputTypeDef#

# DeploymentAlarmsOutputTypeDef definition

class DeploymentAlarmsOutputTypeDef(TypedDict):
    alarmNames: List[str],
    rollback: bool,
    enable: bool,

DeploymentAlarmsTypeDef#

# DeploymentAlarmsTypeDef definition

class DeploymentAlarmsTypeDef(TypedDict):
    alarmNames: Sequence[str],
    rollback: bool,
    enable: bool,

DeploymentCircuitBreakerTypeDef#

# DeploymentCircuitBreakerTypeDef definition

class DeploymentCircuitBreakerTypeDef(TypedDict):
    enable: bool,
    rollback: bool,

DeploymentEphemeralStorageTypeDef#

# DeploymentEphemeralStorageTypeDef definition

class DeploymentEphemeralStorageTypeDef(TypedDict):
    kmsKeyId: NotRequired[str],

ServiceConnectServiceResourceTypeDef#

# ServiceConnectServiceResourceTypeDef definition

class ServiceConnectServiceResourceTypeDef(TypedDict):
    discoveryName: NotRequired[str],
    discoveryArn: NotRequired[str],

DeregisterContainerInstanceRequestRequestTypeDef#

# DeregisterContainerInstanceRequestRequestTypeDef definition

class DeregisterContainerInstanceRequestRequestTypeDef(TypedDict):
    containerInstance: str,
    cluster: NotRequired[str],
    force: NotRequired[bool],

DeregisterTaskDefinitionRequestRequestTypeDef#

# DeregisterTaskDefinitionRequestRequestTypeDef definition

class DeregisterTaskDefinitionRequestRequestTypeDef(TypedDict):
    taskDefinition: str,

DescribeCapacityProvidersRequestRequestTypeDef#

# DescribeCapacityProvidersRequestRequestTypeDef definition

class DescribeCapacityProvidersRequestRequestTypeDef(TypedDict):
    capacityProviders: NotRequired[Sequence[str]],
    include: NotRequired[Sequence[CapacityProviderFieldType]],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See CapacityProviderFieldType

DescribeClustersRequestRequestTypeDef#

# DescribeClustersRequestRequestTypeDef definition

class DescribeClustersRequestRequestTypeDef(TypedDict):
    clusters: NotRequired[Sequence[str]],
    include: NotRequired[Sequence[ClusterFieldType]],  # (1)
  1. See ClusterFieldType

DescribeContainerInstancesRequestRequestTypeDef#

# DescribeContainerInstancesRequestRequestTypeDef definition

class DescribeContainerInstancesRequestRequestTypeDef(TypedDict):
    containerInstances: Sequence[str],
    cluster: NotRequired[str],
    include: NotRequired[Sequence[ContainerInstanceFieldType]],  # (1)
  1. See ContainerInstanceFieldType

DescribeServiceDeploymentsRequestRequestTypeDef#

# DescribeServiceDeploymentsRequestRequestTypeDef definition

class DescribeServiceDeploymentsRequestRequestTypeDef(TypedDict):
    serviceDeploymentArns: Sequence[str],

DescribeServiceRevisionsRequestRequestTypeDef#

# DescribeServiceRevisionsRequestRequestTypeDef definition

class DescribeServiceRevisionsRequestRequestTypeDef(TypedDict):
    serviceRevisionArns: Sequence[str],

DescribeServicesRequestRequestTypeDef#

# DescribeServicesRequestRequestTypeDef definition

class DescribeServicesRequestRequestTypeDef(TypedDict):
    services: Sequence[str],
    cluster: NotRequired[str],
    include: NotRequired[Sequence[ServiceFieldType]],  # (1)
  1. See ServiceFieldType

WaiterConfigTypeDef#

# WaiterConfigTypeDef definition

class WaiterConfigTypeDef(TypedDict):
    Delay: NotRequired[int],
    MaxAttempts: NotRequired[int],

DescribeTaskDefinitionRequestRequestTypeDef#

# DescribeTaskDefinitionRequestRequestTypeDef definition

class DescribeTaskDefinitionRequestRequestTypeDef(TypedDict):
    taskDefinition: str,
    include: NotRequired[Sequence[TaskDefinitionFieldType]],  # (1)
  1. See TaskDefinitionFieldType

DescribeTaskSetsRequestRequestTypeDef#

# DescribeTaskSetsRequestRequestTypeDef definition

class DescribeTaskSetsRequestRequestTypeDef(TypedDict):
    cluster: str,
    service: str,
    taskSets: NotRequired[Sequence[str]],
    include: NotRequired[Sequence[TaskSetFieldType]],  # (1)
  1. See TaskSetFieldType

DescribeTasksRequestRequestTypeDef#

# DescribeTasksRequestRequestTypeDef definition

class DescribeTasksRequestRequestTypeDef(TypedDict):
    tasks: Sequence[str],
    cluster: NotRequired[str],
    include: NotRequired[Sequence[TaskFieldType]],  # (1)
  1. See TaskFieldType

DeviceOutputTypeDef#

# DeviceOutputTypeDef definition

class DeviceOutputTypeDef(TypedDict):
    hostPath: str,
    containerPath: NotRequired[str],
    permissions: NotRequired[List[DeviceCgroupPermissionType]],  # (1)
  1. See DeviceCgroupPermissionType

DeviceTypeDef#

# DeviceTypeDef definition

class DeviceTypeDef(TypedDict):
    hostPath: str,
    containerPath: NotRequired[str],
    permissions: NotRequired[Sequence[DeviceCgroupPermissionType]],  # (1)
  1. See DeviceCgroupPermissionType

DiscoverPollEndpointRequestRequestTypeDef#

# DiscoverPollEndpointRequestRequestTypeDef definition

class DiscoverPollEndpointRequestRequestTypeDef(TypedDict):
    containerInstance: NotRequired[str],
    cluster: NotRequired[str],

DockerVolumeConfigurationOutputTypeDef#

# DockerVolumeConfigurationOutputTypeDef definition

class DockerVolumeConfigurationOutputTypeDef(TypedDict):
    scope: NotRequired[ScopeType],  # (1)
    autoprovision: NotRequired[bool],
    driver: NotRequired[str],
    driverOpts: NotRequired[Dict[str, str]],
    labels: NotRequired[Dict[str, str]],
  1. See ScopeType

DockerVolumeConfigurationTypeDef#

# DockerVolumeConfigurationTypeDef definition

class DockerVolumeConfigurationTypeDef(TypedDict):
    scope: NotRequired[ScopeType],  # (1)
    autoprovision: NotRequired[bool],
    driver: NotRequired[str],
    driverOpts: NotRequired[Mapping[str, str]],
    labels: NotRequired[Mapping[str, str]],
  1. See ScopeType

EFSAuthorizationConfigTypeDef#

# EFSAuthorizationConfigTypeDef definition

class EFSAuthorizationConfigTypeDef(TypedDict):
    accessPointId: NotRequired[str],
    iam: NotRequired[EFSAuthorizationConfigIAMType],  # (1)
  1. See EFSAuthorizationConfigIAMType

EphemeralStorageTypeDef#

# EphemeralStorageTypeDef definition

class EphemeralStorageTypeDef(TypedDict):
    sizeInGiB: int,

ExecuteCommandLogConfigurationTypeDef#

# ExecuteCommandLogConfigurationTypeDef definition

class ExecuteCommandLogConfigurationTypeDef(TypedDict):
    cloudWatchLogGroupName: NotRequired[str],
    cloudWatchEncryptionEnabled: NotRequired[bool],
    s3BucketName: NotRequired[str],
    s3EncryptionEnabled: NotRequired[bool],
    s3KeyPrefix: NotRequired[str],

ExecuteCommandRequestRequestTypeDef#

# ExecuteCommandRequestRequestTypeDef definition

class ExecuteCommandRequestRequestTypeDef(TypedDict):
    command: str,
    interactive: bool,
    task: str,
    cluster: NotRequired[str],
    container: NotRequired[str],

SessionTypeDef#

# SessionTypeDef definition

class SessionTypeDef(TypedDict):
    sessionId: NotRequired[str],
    streamUrl: NotRequired[str],
    tokenValue: NotRequired[str],

FSxWindowsFileServerAuthorizationConfigTypeDef#

# FSxWindowsFileServerAuthorizationConfigTypeDef definition

class FSxWindowsFileServerAuthorizationConfigTypeDef(TypedDict):
    credentialsParameter: str,
    domain: str,

FirelensConfigurationTypeDef#

# FirelensConfigurationTypeDef definition

class FirelensConfigurationTypeDef(TypedDict):
    type: FirelensConfigurationTypeType,  # (1)
    options: NotRequired[Mapping[str, str]],
  1. See FirelensConfigurationTypeType

GetTaskProtectionRequestRequestTypeDef#

# GetTaskProtectionRequestRequestTypeDef definition

class GetTaskProtectionRequestRequestTypeDef(TypedDict):
    cluster: str,
    tasks: NotRequired[Sequence[str]],

ProtectedTaskTypeDef#

# ProtectedTaskTypeDef definition

class ProtectedTaskTypeDef(TypedDict):
    taskArn: NotRequired[str],
    protectionEnabled: NotRequired[bool],
    expirationDate: NotRequired[datetime],

HealthCheckTypeDef#

# HealthCheckTypeDef definition

class HealthCheckTypeDef(TypedDict):
    command: Sequence[str],
    interval: NotRequired[int],
    timeout: NotRequired[int],
    retries: NotRequired[int],
    startPeriod: NotRequired[int],

HostVolumePropertiesTypeDef#

# HostVolumePropertiesTypeDef definition

class HostVolumePropertiesTypeDef(TypedDict):
    sourcePath: NotRequired[str],

InferenceAcceleratorOverrideTypeDef#

# InferenceAcceleratorOverrideTypeDef definition

class InferenceAcceleratorOverrideTypeDef(TypedDict):
    deviceName: NotRequired[str],
    deviceType: NotRequired[str],

InferenceAcceleratorTypeDef#

# InferenceAcceleratorTypeDef definition

class InferenceAcceleratorTypeDef(TypedDict):
    deviceName: str,
    deviceType: str,

KernelCapabilitiesOutputTypeDef#

# KernelCapabilitiesOutputTypeDef definition

class KernelCapabilitiesOutputTypeDef(TypedDict):
    add: NotRequired[List[str]],
    drop: NotRequired[List[str]],

KernelCapabilitiesTypeDef#

# KernelCapabilitiesTypeDef definition

class KernelCapabilitiesTypeDef(TypedDict):
    add: NotRequired[Sequence[str]],
    drop: NotRequired[Sequence[str]],

TmpfsOutputTypeDef#

# TmpfsOutputTypeDef definition

class TmpfsOutputTypeDef(TypedDict):
    containerPath: str,
    size: int,
    mountOptions: NotRequired[List[str]],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListAccountSettingsRequestRequestTypeDef#

# ListAccountSettingsRequestRequestTypeDef definition

class ListAccountSettingsRequestRequestTypeDef(TypedDict):
    name: NotRequired[SettingNameType],  # (1)
    value: NotRequired[str],
    principalArn: NotRequired[str],
    effectiveSettings: NotRequired[bool],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See SettingNameType

ListAttributesRequestRequestTypeDef#

# ListAttributesRequestRequestTypeDef definition

class ListAttributesRequestRequestTypeDef(TypedDict):
    targetType: TargetTypeType,  # (1)
    cluster: NotRequired[str],
    attributeName: NotRequired[str],
    attributeValue: NotRequired[str],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See TargetTypeType

ListClustersRequestRequestTypeDef#

# ListClustersRequestRequestTypeDef definition

class ListClustersRequestRequestTypeDef(TypedDict):
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

ListContainerInstancesRequestRequestTypeDef#

# ListContainerInstancesRequestRequestTypeDef definition

class ListContainerInstancesRequestRequestTypeDef(TypedDict):
    cluster: NotRequired[str],
    filter: NotRequired[str],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    status: NotRequired[ContainerInstanceStatusType],  # (1)
  1. See ContainerInstanceStatusType

ServiceDeploymentBriefTypeDef#

# ServiceDeploymentBriefTypeDef definition

class ServiceDeploymentBriefTypeDef(TypedDict):
    serviceDeploymentArn: NotRequired[str],
    serviceArn: NotRequired[str],
    clusterArn: NotRequired[str],
    startedAt: NotRequired[datetime],
    createdAt: NotRequired[datetime],
    finishedAt: NotRequired[datetime],
    targetServiceRevisionArn: NotRequired[str],
    status: NotRequired[ServiceDeploymentStatusType],  # (1)
    statusReason: NotRequired[str],
  1. See ServiceDeploymentStatusType

ListServicesByNamespaceRequestRequestTypeDef#

# ListServicesByNamespaceRequestRequestTypeDef definition

class ListServicesByNamespaceRequestRequestTypeDef(TypedDict):
    namespace: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

ListServicesRequestRequestTypeDef#

# ListServicesRequestRequestTypeDef definition

class ListServicesRequestRequestTypeDef(TypedDict):
    cluster: NotRequired[str],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    launchType: NotRequired[LaunchTypeType],  # (1)
    schedulingStrategy: NotRequired[SchedulingStrategyType],  # (2)
  1. See LaunchTypeType
  2. See SchedulingStrategyType

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

ListTaskDefinitionFamiliesRequestRequestTypeDef#

# ListTaskDefinitionFamiliesRequestRequestTypeDef definition

class ListTaskDefinitionFamiliesRequestRequestTypeDef(TypedDict):
    familyPrefix: NotRequired[str],
    status: NotRequired[TaskDefinitionFamilyStatusType],  # (1)
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See TaskDefinitionFamilyStatusType

ListTaskDefinitionsRequestRequestTypeDef#

# ListTaskDefinitionsRequestRequestTypeDef definition

class ListTaskDefinitionsRequestRequestTypeDef(TypedDict):
    familyPrefix: NotRequired[str],
    status: NotRequired[TaskDefinitionStatusType],  # (1)
    sort: NotRequired[SortOrderType],  # (2)
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See TaskDefinitionStatusType
  2. See SortOrderType

ListTasksRequestRequestTypeDef#

# ListTasksRequestRequestTypeDef definition

class ListTasksRequestRequestTypeDef(TypedDict):
    cluster: NotRequired[str],
    containerInstance: NotRequired[str],
    family: NotRequired[str],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    startedBy: NotRequired[str],
    serviceName: NotRequired[str],
    desiredStatus: NotRequired[DesiredStatusType],  # (1)
    launchType: NotRequired[LaunchTypeType],  # (2)
  1. See DesiredStatusType
  2. See LaunchTypeType

ManagedAgentStateChangeTypeDef#

# ManagedAgentStateChangeTypeDef definition

class ManagedAgentStateChangeTypeDef(TypedDict):
    containerName: str,
    managedAgentName: ManagedAgentNameType,  # (1)
    status: str,
    reason: NotRequired[str],
  1. See ManagedAgentNameType

PlatformDeviceTypeDef#

# PlatformDeviceTypeDef definition

class PlatformDeviceTypeDef(TypedDict):
    id: str,
    type: PlatformDeviceTypeType,  # (1)
  1. See PlatformDeviceTypeType

PutAccountSettingDefaultRequestRequestTypeDef#

# PutAccountSettingDefaultRequestRequestTypeDef definition

class PutAccountSettingDefaultRequestRequestTypeDef(TypedDict):
    name: SettingNameType,  # (1)
    value: str,
  1. See SettingNameType

PutAccountSettingRequestRequestTypeDef#

# PutAccountSettingRequestRequestTypeDef definition

class PutAccountSettingRequestRequestTypeDef(TypedDict):
    name: SettingNameType,  # (1)
    value: str,
    principalArn: NotRequired[str],
  1. See SettingNameType

RuntimePlatformTypeDef#

# RuntimePlatformTypeDef definition

class RuntimePlatformTypeDef(TypedDict):
    cpuArchitecture: NotRequired[CPUArchitectureType],  # (1)
    operatingSystemFamily: NotRequired[OSFamilyType],  # (2)
  1. See CPUArchitectureType
  2. See OSFamilyType

TaskDefinitionPlacementConstraintTypeDef#

# TaskDefinitionPlacementConstraintTypeDef definition

class TaskDefinitionPlacementConstraintTypeDef(TypedDict):
    type: NotRequired[TaskDefinitionPlacementConstraintTypeType],  # (1)
    expression: NotRequired[str],
  1. See TaskDefinitionPlacementConstraintTypeType

ResourceTypeDef#

# ResourceTypeDef definition

class ResourceTypeDef(TypedDict):
    name: NotRequired[str],
    type: NotRequired[str],
    doubleValue: NotRequired[float],
    longValue: NotRequired[int],
    integerValue: NotRequired[int],
    stringSetValue: NotRequired[Sequence[str]],

RollbackTypeDef#

# RollbackTypeDef definition

class RollbackTypeDef(TypedDict):
    reason: NotRequired[str],
    startedAt: NotRequired[datetime],
    serviceRevisionArn: NotRequired[str],

ServiceConnectClientAliasTypeDef#

# ServiceConnectClientAliasTypeDef definition

class ServiceConnectClientAliasTypeDef(TypedDict):
    port: int,
    dnsName: NotRequired[str],

TimeoutConfigurationTypeDef#

# TimeoutConfigurationTypeDef definition

class TimeoutConfigurationTypeDef(TypedDict):
    idleTimeoutSeconds: NotRequired[int],
    perRequestTimeoutSeconds: NotRequired[int],

ServiceConnectTlsCertificateAuthorityTypeDef#

# ServiceConnectTlsCertificateAuthorityTypeDef definition

class ServiceConnectTlsCertificateAuthorityTypeDef(TypedDict):
    awsPcaAuthorityArn: NotRequired[str],

ServiceDeploymentAlarmsTypeDef#

# ServiceDeploymentAlarmsTypeDef definition

class ServiceDeploymentAlarmsTypeDef(TypedDict):
    status: NotRequired[ServiceDeploymentRollbackMonitorsStatusType],  # (1)
    alarmNames: NotRequired[List[str]],
    triggeredAlarmNames: NotRequired[List[str]],
  1. See ServiceDeploymentRollbackMonitorsStatusType

ServiceDeploymentCircuitBreakerTypeDef#

# ServiceDeploymentCircuitBreakerTypeDef definition

class ServiceDeploymentCircuitBreakerTypeDef(TypedDict):
    status: NotRequired[ServiceDeploymentRollbackMonitorsStatusType],  # (1)
    failureCount: NotRequired[int],
    threshold: NotRequired[int],
  1. See ServiceDeploymentRollbackMonitorsStatusType

ServiceRevisionSummaryTypeDef#

# ServiceRevisionSummaryTypeDef definition

class ServiceRevisionSummaryTypeDef(TypedDict):
    arn: NotRequired[str],
    requestedTaskCount: NotRequired[int],
    runningTaskCount: NotRequired[int],
    pendingTaskCount: NotRequired[int],

ServiceEventTypeDef#

# ServiceEventTypeDef definition

class ServiceEventTypeDef(TypedDict):
    id: NotRequired[str],
    createdAt: NotRequired[datetime],
    message: NotRequired[str],

StopTaskRequestRequestTypeDef#

# StopTaskRequestRequestTypeDef definition

class StopTaskRequestRequestTypeDef(TypedDict):
    task: str,
    cluster: NotRequired[str],
    reason: NotRequired[str],

TaskEphemeralStorageTypeDef#

# TaskEphemeralStorageTypeDef definition

class TaskEphemeralStorageTypeDef(TypedDict):
    sizeInGiB: NotRequired[int],
    kmsKeyId: NotRequired[str],

TaskManagedEBSVolumeTerminationPolicyTypeDef#

# TaskManagedEBSVolumeTerminationPolicyTypeDef definition

class TaskManagedEBSVolumeTerminationPolicyTypeDef(TypedDict):
    deleteOnTermination: bool,

TmpfsTypeDef#

# TmpfsTypeDef definition

class TmpfsTypeDef(TypedDict):
    containerPath: str,
    size: int,
    mountOptions: NotRequired[Sequence[str]],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

UpdateContainerAgentRequestRequestTypeDef#

# UpdateContainerAgentRequestRequestTypeDef definition

class UpdateContainerAgentRequestRequestTypeDef(TypedDict):
    containerInstance: str,
    cluster: NotRequired[str],

UpdateContainerInstancesStateRequestRequestTypeDef#

# UpdateContainerInstancesStateRequestRequestTypeDef definition

class UpdateContainerInstancesStateRequestRequestTypeDef(TypedDict):
    containerInstances: Sequence[str],
    status: ContainerInstanceStatusType,  # (1)
    cluster: NotRequired[str],
  1. See ContainerInstanceStatusType

UpdateServicePrimaryTaskSetRequestRequestTypeDef#

# UpdateServicePrimaryTaskSetRequestRequestTypeDef definition

class UpdateServicePrimaryTaskSetRequestRequestTypeDef(TypedDict):
    cluster: str,
    service: str,
    primaryTaskSet: str,

UpdateTaskProtectionRequestRequestTypeDef#

# UpdateTaskProtectionRequestRequestTypeDef definition

class UpdateTaskProtectionRequestRequestTypeDef(TypedDict):
    cluster: str,
    tasks: Sequence[str],
    protectionEnabled: bool,
    expiresInMinutes: NotRequired[int],

SubmitAttachmentStateChangesRequestRequestTypeDef#

# SubmitAttachmentStateChangesRequestRequestTypeDef definition

class SubmitAttachmentStateChangesRequestRequestTypeDef(TypedDict):
    attachments: Sequence[AttachmentStateChangeTypeDef],  # (1)
    cluster: NotRequired[str],
  1. See AttachmentStateChangeTypeDef

AttachmentTypeDef#

# AttachmentTypeDef definition

class AttachmentTypeDef(TypedDict):
    id: NotRequired[str],
    type: NotRequired[str],
    status: NotRequired[str],
    details: NotRequired[List[KeyValuePairTypeDef]],  # (1)
  1. See KeyValuePairTypeDef

ProxyConfigurationOutputTypeDef#

# ProxyConfigurationOutputTypeDef definition

class ProxyConfigurationOutputTypeDef(TypedDict):
    containerName: str,
    type: NotRequired[ProxyConfigurationTypeType],  # (1)
    properties: NotRequired[List[KeyValuePairTypeDef]],  # (2)
  1. See ProxyConfigurationTypeType
  2. See KeyValuePairTypeDef

ProxyConfigurationTypeDef#

# ProxyConfigurationTypeDef definition

class ProxyConfigurationTypeDef(TypedDict):
    containerName: str,
    type: NotRequired[ProxyConfigurationTypeType],  # (1)
    properties: NotRequired[Sequence[KeyValuePairTypeDef]],  # (2)
  1. See ProxyConfigurationTypeType
  2. See KeyValuePairTypeDef

DeleteAttributesRequestRequestTypeDef#

# DeleteAttributesRequestRequestTypeDef definition

class DeleteAttributesRequestRequestTypeDef(TypedDict):
    attributes: Sequence[AttributeTypeDef],  # (1)
    cluster: NotRequired[str],
  1. See AttributeTypeDef

PutAttributesRequestRequestTypeDef#

# PutAttributesRequestRequestTypeDef definition

class PutAttributesRequestRequestTypeDef(TypedDict):
    attributes: Sequence[AttributeTypeDef],  # (1)
    cluster: NotRequired[str],
  1. See AttributeTypeDef

AutoScalingGroupProviderTypeDef#

# AutoScalingGroupProviderTypeDef definition

class AutoScalingGroupProviderTypeDef(TypedDict):
    autoScalingGroupArn: str,
    managedScaling: NotRequired[ManagedScalingTypeDef],  # (1)
    managedTerminationProtection: NotRequired[ManagedTerminationProtectionType],  # (2)
    managedDraining: NotRequired[ManagedDrainingType],  # (3)
  1. See ManagedScalingTypeDef
  2. See ManagedTerminationProtectionType
  3. See ManagedDrainingType

AutoScalingGroupProviderUpdateTypeDef#

# AutoScalingGroupProviderUpdateTypeDef definition

class AutoScalingGroupProviderUpdateTypeDef(TypedDict):
    managedScaling: NotRequired[ManagedScalingTypeDef],  # (1)
    managedTerminationProtection: NotRequired[ManagedTerminationProtectionType],  # (2)
    managedDraining: NotRequired[ManagedDrainingType],  # (3)
  1. See ManagedScalingTypeDef
  2. See ManagedTerminationProtectionType
  3. See ManagedDrainingType

NetworkConfigurationOutputTypeDef#

# NetworkConfigurationOutputTypeDef definition

class NetworkConfigurationOutputTypeDef(TypedDict):
    awsvpcConfiguration: NotRequired[AwsVpcConfigurationOutputTypeDef],  # (1)
  1. See AwsVpcConfigurationOutputTypeDef

PutClusterCapacityProvidersRequestRequestTypeDef#

# PutClusterCapacityProvidersRequestRequestTypeDef definition

class PutClusterCapacityProvidersRequestRequestTypeDef(TypedDict):
    cluster: str,
    capacityProviders: Sequence[str],
    defaultCapacityProviderStrategy: Sequence[CapacityProviderStrategyItemTypeDef],  # (1)
  1. See CapacityProviderStrategyItemTypeDef

EBSTagSpecificationOutputTypeDef#

# EBSTagSpecificationOutputTypeDef definition

class EBSTagSpecificationOutputTypeDef(TypedDict):
    resourceType: EBSResourceTypeType,  # (1)
    tags: NotRequired[List[TagTypeDef]],  # (2)
    propagateTags: NotRequired[PropagateTagsType],  # (3)
  1. See EBSResourceTypeType
  2. See TagTypeDef
  3. See PropagateTagsType

EBSTagSpecificationTypeDef#

# EBSTagSpecificationTypeDef definition

class EBSTagSpecificationTypeDef(TypedDict):
    resourceType: EBSResourceTypeType,  # (1)
    tags: NotRequired[Sequence[TagTypeDef]],  # (2)
    propagateTags: NotRequired[PropagateTagsType],  # (3)
  1. See EBSResourceTypeType
  2. See TagTypeDef
  3. See PropagateTagsType

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

UpdateClusterSettingsRequestRequestTypeDef#

# UpdateClusterSettingsRequestRequestTypeDef definition

class UpdateClusterSettingsRequestRequestTypeDef(TypedDict):
    cluster: str,
    settings: Sequence[ClusterSettingTypeDef],  # (1)
  1. See ClusterSettingTypeDef

ContainerOverrideOutputTypeDef#

# ContainerOverrideOutputTypeDef definition

class ContainerOverrideOutputTypeDef(TypedDict):
    name: NotRequired[str],
    command: NotRequired[List[str]],
    environment: NotRequired[List[KeyValuePairTypeDef]],  # (1)
    environmentFiles: NotRequired[List[EnvironmentFileTypeDef]],  # (2)
    cpu: NotRequired[int],
    memory: NotRequired[int],
    memoryReservation: NotRequired[int],
    resourceRequirements: NotRequired[List[ResourceRequirementTypeDef]],  # (3)
  1. See KeyValuePairTypeDef
  2. See EnvironmentFileTypeDef
  3. See ResourceRequirementTypeDef

ContainerOverrideTypeDef#

# ContainerOverrideTypeDef definition

class ContainerOverrideTypeDef(TypedDict):
    name: NotRequired[str],
    command: NotRequired[Sequence[str]],
    environment: NotRequired[Sequence[KeyValuePairTypeDef]],  # (1)
    environmentFiles: NotRequired[Sequence[EnvironmentFileTypeDef]],  # (2)
    cpu: NotRequired[int],
    memory: NotRequired[int],
    memoryReservation: NotRequired[int],
    resourceRequirements: NotRequired[Sequence[ResourceRequirementTypeDef]],  # (3)
  1. See KeyValuePairTypeDef
  2. See EnvironmentFileTypeDef
  3. See ResourceRequirementTypeDef

LogConfigurationOutputTypeDef#

# LogConfigurationOutputTypeDef definition

class LogConfigurationOutputTypeDef(TypedDict):
    logDriver: LogDriverType,  # (1)
    options: NotRequired[Dict[str, str]],
    secretOptions: NotRequired[List[SecretTypeDef]],  # (2)
  1. See LogDriverType
  2. See SecretTypeDef

LogConfigurationTypeDef#

# LogConfigurationTypeDef definition

class LogConfigurationTypeDef(TypedDict):
    logDriver: LogDriverType,  # (1)
    options: NotRequired[Mapping[str, str]],
    secretOptions: NotRequired[Sequence[SecretTypeDef]],  # (2)
  1. See LogDriverType
  2. See SecretTypeDef

ContainerInstanceHealthStatusTypeDef#

# ContainerInstanceHealthStatusTypeDef definition

class ContainerInstanceHealthStatusTypeDef(TypedDict):
    overallStatus: NotRequired[InstanceHealthCheckStateType],  # (1)
    details: NotRequired[List[InstanceHealthCheckResultTypeDef]],  # (2)
  1. See InstanceHealthCheckStateType
  2. See InstanceHealthCheckResultTypeDef

ContainerStateChangeTypeDef#

# ContainerStateChangeTypeDef definition

class ContainerStateChangeTypeDef(TypedDict):
    containerName: NotRequired[str],
    imageDigest: NotRequired[str],
    runtimeId: NotRequired[str],
    exitCode: NotRequired[int],
    networkBindings: NotRequired[Sequence[NetworkBindingTypeDef]],  # (1)
    reason: NotRequired[str],
    status: NotRequired[str],
  1. See NetworkBindingTypeDef

SubmitContainerStateChangeRequestRequestTypeDef#

# SubmitContainerStateChangeRequestRequestTypeDef definition

class SubmitContainerStateChangeRequestRequestTypeDef(TypedDict):
    cluster: NotRequired[str],
    task: NotRequired[str],
    containerName: NotRequired[str],
    runtimeId: NotRequired[str],
    status: NotRequired[str],
    exitCode: NotRequired[int],
    reason: NotRequired[str],
    networkBindings: NotRequired[Sequence[NetworkBindingTypeDef]],  # (1)
  1. See NetworkBindingTypeDef

ContainerTypeDef#

# ContainerTypeDef definition

class ContainerTypeDef(TypedDict):
    containerArn: NotRequired[str],
    taskArn: NotRequired[str],
    name: NotRequired[str],
    image: NotRequired[str],
    imageDigest: NotRequired[str],
    runtimeId: NotRequired[str],
    lastStatus: NotRequired[str],
    exitCode: NotRequired[int],
    reason: NotRequired[str],
    networkBindings: NotRequired[List[NetworkBindingTypeDef]],  # (1)
    networkInterfaces: NotRequired[List[NetworkInterfaceTypeDef]],  # (2)
    healthStatus: NotRequired[HealthStatusType],  # (3)
    managedAgents: NotRequired[List[ManagedAgentTypeDef]],  # (4)
    cpu: NotRequired[str],
    memory: NotRequired[str],
    memoryReservation: NotRequired[str],
    gpuIds: NotRequired[List[str]],
  1. See NetworkBindingTypeDef
  2. See NetworkInterfaceTypeDef
  3. See HealthStatusType
  4. See ManagedAgentTypeDef

DeleteAttributesResponseTypeDef#

# DeleteAttributesResponseTypeDef definition

class DeleteAttributesResponseTypeDef(TypedDict):
    attributes: List[AttributeTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AttributeTypeDef
  2. See ResponseMetadataTypeDef

DiscoverPollEndpointResponseTypeDef#

# DiscoverPollEndpointResponseTypeDef definition

class DiscoverPollEndpointResponseTypeDef(TypedDict):
    endpoint: str,
    telemetryEndpoint: str,
    serviceConnectEndpoint: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListAttributesResponseTypeDef#

# ListAttributesResponseTypeDef definition

class ListAttributesResponseTypeDef(TypedDict):
    attributes: List[AttributeTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See AttributeTypeDef
  2. See ResponseMetadataTypeDef

ListClustersResponseTypeDef#

# ListClustersResponseTypeDef definition

class ListClustersResponseTypeDef(TypedDict):
    clusterArns: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    nextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

ListContainerInstancesResponseTypeDef#

# ListContainerInstancesResponseTypeDef definition

class ListContainerInstancesResponseTypeDef(TypedDict):
    containerInstanceArns: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    nextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

ListServicesByNamespaceResponseTypeDef#

# ListServicesByNamespaceResponseTypeDef definition

class ListServicesByNamespaceResponseTypeDef(TypedDict):
    serviceArns: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    nextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

ListServicesResponseTypeDef#

# ListServicesResponseTypeDef definition

class ListServicesResponseTypeDef(TypedDict):
    serviceArns: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    nextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    tags: List[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

ListTaskDefinitionFamiliesResponseTypeDef#

# ListTaskDefinitionFamiliesResponseTypeDef definition

class ListTaskDefinitionFamiliesResponseTypeDef(TypedDict):
    families: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    nextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

ListTaskDefinitionsResponseTypeDef#

# ListTaskDefinitionsResponseTypeDef definition

class ListTaskDefinitionsResponseTypeDef(TypedDict):
    taskDefinitionArns: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    nextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

ListTasksResponseTypeDef#

# ListTasksResponseTypeDef definition

class ListTasksResponseTypeDef(TypedDict):
    taskArns: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    nextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

PutAttributesResponseTypeDef#

# PutAttributesResponseTypeDef definition

class PutAttributesResponseTypeDef(TypedDict):
    attributes: List[AttributeTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AttributeTypeDef
  2. See ResponseMetadataTypeDef

SubmitAttachmentStateChangesResponseTypeDef#

# SubmitAttachmentStateChangesResponseTypeDef definition

class SubmitAttachmentStateChangesResponseTypeDef(TypedDict):
    acknowledgment: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

SubmitContainerStateChangeResponseTypeDef#

# SubmitContainerStateChangeResponseTypeDef definition

class SubmitContainerStateChangeResponseTypeDef(TypedDict):
    acknowledgment: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

SubmitTaskStateChangeResponseTypeDef#

# SubmitTaskStateChangeResponseTypeDef definition

class SubmitTaskStateChangeResponseTypeDef(TypedDict):
    acknowledgment: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateTaskSetRequestRequestTypeDef#

# UpdateTaskSetRequestRequestTypeDef definition

class UpdateTaskSetRequestRequestTypeDef(TypedDict):
    cluster: str,
    service: str,
    taskSet: str,
    scale: ScaleTypeDef,  # (1)
  1. See ScaleTypeDef

CreatedAtTypeDef#

# CreatedAtTypeDef definition

class CreatedAtTypeDef(TypedDict):
    before: NotRequired[TimestampTypeDef],
    after: NotRequired[TimestampTypeDef],

DeleteAccountSettingResponseTypeDef#

# DeleteAccountSettingResponseTypeDef definition

class DeleteAccountSettingResponseTypeDef(TypedDict):
    setting: SettingTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SettingTypeDef
  2. See ResponseMetadataTypeDef

ListAccountSettingsResponseTypeDef#

# ListAccountSettingsResponseTypeDef definition

class ListAccountSettingsResponseTypeDef(TypedDict):
    settings: List[SettingTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See SettingTypeDef
  2. See ResponseMetadataTypeDef

PutAccountSettingDefaultResponseTypeDef#

# PutAccountSettingDefaultResponseTypeDef definition

class PutAccountSettingDefaultResponseTypeDef(TypedDict):
    setting: SettingTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SettingTypeDef
  2. See ResponseMetadataTypeDef

PutAccountSettingResponseTypeDef#

# PutAccountSettingResponseTypeDef definition

class PutAccountSettingResponseTypeDef(TypedDict):
    setting: SettingTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SettingTypeDef
  2. See ResponseMetadataTypeDef

DeploymentConfigurationOutputTypeDef#

# DeploymentConfigurationOutputTypeDef definition

class DeploymentConfigurationOutputTypeDef(TypedDict):
    deploymentCircuitBreaker: NotRequired[DeploymentCircuitBreakerTypeDef],  # (1)
    maximumPercent: NotRequired[int],
    minimumHealthyPercent: NotRequired[int],
    alarms: NotRequired[DeploymentAlarmsOutputTypeDef],  # (2)
  1. See DeploymentCircuitBreakerTypeDef
  2. See DeploymentAlarmsOutputTypeDef

DescribeServicesRequestServicesInactiveWaitTypeDef#

# DescribeServicesRequestServicesInactiveWaitTypeDef definition

class DescribeServicesRequestServicesInactiveWaitTypeDef(TypedDict):
    services: Sequence[str],
    cluster: NotRequired[str],
    include: NotRequired[Sequence[ServiceFieldType]],  # (1)
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See ServiceFieldType
  2. See WaiterConfigTypeDef

DescribeServicesRequestServicesStableWaitTypeDef#

# DescribeServicesRequestServicesStableWaitTypeDef definition

class DescribeServicesRequestServicesStableWaitTypeDef(TypedDict):
    services: Sequence[str],
    cluster: NotRequired[str],
    include: NotRequired[Sequence[ServiceFieldType]],  # (1)
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See ServiceFieldType
  2. See WaiterConfigTypeDef

DescribeTasksRequestTasksRunningWaitTypeDef#

# DescribeTasksRequestTasksRunningWaitTypeDef definition

class DescribeTasksRequestTasksRunningWaitTypeDef(TypedDict):
    tasks: Sequence[str],
    cluster: NotRequired[str],
    include: NotRequired[Sequence[TaskFieldType]],  # (1)
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See TaskFieldType
  2. See WaiterConfigTypeDef

DescribeTasksRequestTasksStoppedWaitTypeDef#

# DescribeTasksRequestTasksStoppedWaitTypeDef definition

class DescribeTasksRequestTasksStoppedWaitTypeDef(TypedDict):
    tasks: Sequence[str],
    cluster: NotRequired[str],
    include: NotRequired[Sequence[TaskFieldType]],  # (1)
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See TaskFieldType
  2. See WaiterConfigTypeDef

EFSVolumeConfigurationTypeDef#

# EFSVolumeConfigurationTypeDef definition

class EFSVolumeConfigurationTypeDef(TypedDict):
    fileSystemId: str,
    rootDirectory: NotRequired[str],
    transitEncryption: NotRequired[EFSTransitEncryptionType],  # (1)
    transitEncryptionPort: NotRequired[int],
    authorizationConfig: NotRequired[EFSAuthorizationConfigTypeDef],  # (2)
  1. See EFSTransitEncryptionType
  2. See EFSAuthorizationConfigTypeDef

ExecuteCommandConfigurationTypeDef#

# ExecuteCommandConfigurationTypeDef definition

class ExecuteCommandConfigurationTypeDef(TypedDict):
    kmsKeyId: NotRequired[str],
    logging: NotRequired[ExecuteCommandLoggingType],  # (1)
    logConfiguration: NotRequired[ExecuteCommandLogConfigurationTypeDef],  # (2)
  1. See ExecuteCommandLoggingType
  2. See ExecuteCommandLogConfigurationTypeDef

ExecuteCommandResponseTypeDef#

# ExecuteCommandResponseTypeDef definition

class ExecuteCommandResponseTypeDef(TypedDict):
    clusterArn: str,
    containerArn: str,
    containerName: str,
    interactive: bool,
    session: SessionTypeDef,  # (1)
    taskArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SessionTypeDef
  2. See ResponseMetadataTypeDef

FSxWindowsFileServerVolumeConfigurationTypeDef#

# FSxWindowsFileServerVolumeConfigurationTypeDef definition

class FSxWindowsFileServerVolumeConfigurationTypeDef(TypedDict):
    fileSystemId: str,
    rootDirectory: str,
    authorizationConfig: FSxWindowsFileServerAuthorizationConfigTypeDef,  # (1)
  1. See FSxWindowsFileServerAuthorizationConfigTypeDef

GetTaskProtectionResponseTypeDef#

# GetTaskProtectionResponseTypeDef definition

class GetTaskProtectionResponseTypeDef(TypedDict):
    protectedTasks: List[ProtectedTaskTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ProtectedTaskTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

UpdateTaskProtectionResponseTypeDef#

# UpdateTaskProtectionResponseTypeDef definition

class UpdateTaskProtectionResponseTypeDef(TypedDict):
    protectedTasks: List[ProtectedTaskTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ProtectedTaskTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

LinuxParametersOutputTypeDef#

# LinuxParametersOutputTypeDef definition

class LinuxParametersOutputTypeDef(TypedDict):
    capabilities: NotRequired[KernelCapabilitiesOutputTypeDef],  # (1)
    devices: NotRequired[List[DeviceOutputTypeDef]],  # (2)
    initProcessEnabled: NotRequired[bool],
    sharedMemorySize: NotRequired[int],
    tmpfs: NotRequired[List[TmpfsOutputTypeDef]],  # (3)
    maxSwap: NotRequired[int],
    swappiness: NotRequired[int],
  1. See KernelCapabilitiesOutputTypeDef
  2. See DeviceOutputTypeDef
  3. See TmpfsOutputTypeDef

ListAccountSettingsRequestListAccountSettingsPaginateTypeDef#

# ListAccountSettingsRequestListAccountSettingsPaginateTypeDef definition

class ListAccountSettingsRequestListAccountSettingsPaginateTypeDef(TypedDict):
    name: NotRequired[SettingNameType],  # (1)
    value: NotRequired[str],
    principalArn: NotRequired[str],
    effectiveSettings: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See SettingNameType
  2. See PaginatorConfigTypeDef

ListAttributesRequestListAttributesPaginateTypeDef#

# ListAttributesRequestListAttributesPaginateTypeDef definition

class ListAttributesRequestListAttributesPaginateTypeDef(TypedDict):
    targetType: TargetTypeType,  # (1)
    cluster: NotRequired[str],
    attributeName: NotRequired[str],
    attributeValue: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See TargetTypeType
  2. See PaginatorConfigTypeDef

ListClustersRequestListClustersPaginateTypeDef#

# ListClustersRequestListClustersPaginateTypeDef definition

class ListClustersRequestListClustersPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListContainerInstancesRequestListContainerInstancesPaginateTypeDef#

# ListContainerInstancesRequestListContainerInstancesPaginateTypeDef definition

class ListContainerInstancesRequestListContainerInstancesPaginateTypeDef(TypedDict):
    cluster: NotRequired[str],
    filter: NotRequired[str],
    status: NotRequired[ContainerInstanceStatusType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ContainerInstanceStatusType
  2. See PaginatorConfigTypeDef

ListServicesByNamespaceRequestListServicesByNamespacePaginateTypeDef#

# ListServicesByNamespaceRequestListServicesByNamespacePaginateTypeDef definition

class ListServicesByNamespaceRequestListServicesByNamespacePaginateTypeDef(TypedDict):
    namespace: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListServicesRequestListServicesPaginateTypeDef#

# ListServicesRequestListServicesPaginateTypeDef definition

class ListServicesRequestListServicesPaginateTypeDef(TypedDict):
    cluster: NotRequired[str],
    launchType: NotRequired[LaunchTypeType],  # (1)
    schedulingStrategy: NotRequired[SchedulingStrategyType],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See LaunchTypeType
  2. See SchedulingStrategyType
  3. See PaginatorConfigTypeDef

ListTaskDefinitionFamiliesRequestListTaskDefinitionFamiliesPaginateTypeDef#

# ListTaskDefinitionFamiliesRequestListTaskDefinitionFamiliesPaginateTypeDef definition

class ListTaskDefinitionFamiliesRequestListTaskDefinitionFamiliesPaginateTypeDef(TypedDict):
    familyPrefix: NotRequired[str],
    status: NotRequired[TaskDefinitionFamilyStatusType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See TaskDefinitionFamilyStatusType
  2. See PaginatorConfigTypeDef

ListTaskDefinitionsRequestListTaskDefinitionsPaginateTypeDef#

# ListTaskDefinitionsRequestListTaskDefinitionsPaginateTypeDef definition

class ListTaskDefinitionsRequestListTaskDefinitionsPaginateTypeDef(TypedDict):
    familyPrefix: NotRequired[str],
    status: NotRequired[TaskDefinitionStatusType],  # (1)
    sort: NotRequired[SortOrderType],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See TaskDefinitionStatusType
  2. See SortOrderType
  3. See PaginatorConfigTypeDef

ListTasksRequestListTasksPaginateTypeDef#

# ListTasksRequestListTasksPaginateTypeDef definition

class ListTasksRequestListTasksPaginateTypeDef(TypedDict):
    cluster: NotRequired[str],
    containerInstance: NotRequired[str],
    family: NotRequired[str],
    startedBy: NotRequired[str],
    serviceName: NotRequired[str],
    desiredStatus: NotRequired[DesiredStatusType],  # (1)
    launchType: NotRequired[LaunchTypeType],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See DesiredStatusType
  2. See LaunchTypeType
  3. See PaginatorConfigTypeDef

ListServiceDeploymentsResponseTypeDef#

# ListServiceDeploymentsResponseTypeDef definition

class ListServiceDeploymentsResponseTypeDef(TypedDict):
    serviceDeployments: List[ServiceDeploymentBriefTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See ServiceDeploymentBriefTypeDef
  2. See ResponseMetadataTypeDef

ServiceConnectTlsConfigurationTypeDef#

# ServiceConnectTlsConfigurationTypeDef definition

class ServiceConnectTlsConfigurationTypeDef(TypedDict):
    issuerCertificateAuthority: ServiceConnectTlsCertificateAuthorityTypeDef,  # (1)
    kmsKey: NotRequired[str],
    roleArn: NotRequired[str],
  1. See ServiceConnectTlsCertificateAuthorityTypeDef

CapacityProviderTypeDef#

# CapacityProviderTypeDef definition

class CapacityProviderTypeDef(TypedDict):
    capacityProviderArn: NotRequired[str],
    name: NotRequired[str],
    status: NotRequired[CapacityProviderStatusType],  # (1)
    autoScalingGroupProvider: NotRequired[AutoScalingGroupProviderTypeDef],  # (2)
    updateStatus: NotRequired[CapacityProviderUpdateStatusType],  # (3)
    updateStatusReason: NotRequired[str],
    tags: NotRequired[List[TagTypeDef]],  # (4)
  1. See CapacityProviderStatusType
  2. See AutoScalingGroupProviderTypeDef
  3. See CapacityProviderUpdateStatusType
  4. See TagTypeDef

CreateCapacityProviderRequestRequestTypeDef#

# CreateCapacityProviderRequestRequestTypeDef definition

class CreateCapacityProviderRequestRequestTypeDef(TypedDict):
    name: str,
    autoScalingGroupProvider: AutoScalingGroupProviderTypeDef,  # (1)
    tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See AutoScalingGroupProviderTypeDef
  2. See TagTypeDef

UpdateCapacityProviderRequestRequestTypeDef#

# UpdateCapacityProviderRequestRequestTypeDef definition

class UpdateCapacityProviderRequestRequestTypeDef(TypedDict):
    name: str,
    autoScalingGroupProvider: AutoScalingGroupProviderUpdateTypeDef,  # (1)
  1. See AutoScalingGroupProviderUpdateTypeDef

TaskSetTypeDef#

# TaskSetTypeDef definition

class TaskSetTypeDef(TypedDict):
    id: NotRequired[str],
    taskSetArn: NotRequired[str],
    serviceArn: NotRequired[str],
    clusterArn: NotRequired[str],
    startedBy: NotRequired[str],
    externalId: NotRequired[str],
    status: NotRequired[str],
    taskDefinition: NotRequired[str],
    computedDesiredCount: NotRequired[int],
    pendingCount: NotRequired[int],
    runningCount: NotRequired[int],
    createdAt: NotRequired[datetime],
    updatedAt: NotRequired[datetime],
    launchType: NotRequired[LaunchTypeType],  # (1)
    capacityProviderStrategy: NotRequired[List[CapacityProviderStrategyItemTypeDef]],  # (2)
    platformVersion: NotRequired[str],
    platformFamily: NotRequired[str],
    networkConfiguration: NotRequired[NetworkConfigurationOutputTypeDef],  # (3)
    loadBalancers: NotRequired[List[LoadBalancerTypeDef]],  # (4)
    serviceRegistries: NotRequired[List[ServiceRegistryTypeDef]],  # (5)
    scale: NotRequired[ScaleTypeDef],  # (6)
    stabilityStatus: NotRequired[StabilityStatusType],  # (7)
    stabilityStatusAt: NotRequired[datetime],
    tags: NotRequired[List[TagTypeDef]],  # (8)
    fargateEphemeralStorage: NotRequired[DeploymentEphemeralStorageTypeDef],  # (9)
  1. See LaunchTypeType
  2. See CapacityProviderStrategyItemTypeDef
  3. See NetworkConfigurationOutputTypeDef
  4. See LoadBalancerTypeDef
  5. See ServiceRegistryTypeDef
  6. See ScaleTypeDef
  7. See StabilityStatusType
  8. See TagTypeDef
  9. See DeploymentEphemeralStorageTypeDef

NetworkConfigurationTypeDef#

# NetworkConfigurationTypeDef definition

class NetworkConfigurationTypeDef(TypedDict):
    awsvpcConfiguration: NotRequired[AwsVpcConfigurationUnionTypeDef],  # (1)
  1. See AwsVpcConfigurationTypeDef AwsVpcConfigurationOutputTypeDef

ServiceManagedEBSVolumeConfigurationOutputTypeDef#

# ServiceManagedEBSVolumeConfigurationOutputTypeDef definition

class ServiceManagedEBSVolumeConfigurationOutputTypeDef(TypedDict):
    roleArn: str,
    encrypted: NotRequired[bool],
    kmsKeyId: NotRequired[str],
    volumeType: NotRequired[str],
    sizeInGiB: NotRequired[int],
    snapshotId: NotRequired[str],
    iops: NotRequired[int],
    throughput: NotRequired[int],
    tagSpecifications: NotRequired[List[EBSTagSpecificationOutputTypeDef]],  # (1)
    filesystemType: NotRequired[TaskFilesystemTypeType],  # (2)
  1. See EBSTagSpecificationOutputTypeDef
  2. See TaskFilesystemTypeType

TaskOverrideOutputTypeDef#

# TaskOverrideOutputTypeDef definition

class TaskOverrideOutputTypeDef(TypedDict):
    containerOverrides: NotRequired[List[ContainerOverrideOutputTypeDef]],  # (1)
    cpu: NotRequired[str],
    inferenceAcceleratorOverrides: NotRequired[List[InferenceAcceleratorOverrideTypeDef]],  # (2)
    executionRoleArn: NotRequired[str],
    memory: NotRequired[str],
    taskRoleArn: NotRequired[str],
    ephemeralStorage: NotRequired[EphemeralStorageTypeDef],  # (3)
  1. See ContainerOverrideOutputTypeDef
  2. See InferenceAcceleratorOverrideTypeDef
  3. See EphemeralStorageTypeDef

ContainerInstanceTypeDef#

# ContainerInstanceTypeDef definition

class ContainerInstanceTypeDef(TypedDict):
    containerInstanceArn: NotRequired[str],
    ec2InstanceId: NotRequired[str],
    capacityProviderName: NotRequired[str],
    version: NotRequired[int],
    versionInfo: NotRequired[VersionInfoTypeDef],  # (1)
    remainingResources: NotRequired[List[ResourceOutputTypeDef]],  # (2)
    registeredResources: NotRequired[List[ResourceOutputTypeDef]],  # (2)
    status: NotRequired[str],
    statusReason: NotRequired[str],
    agentConnected: NotRequired[bool],
    runningTasksCount: NotRequired[int],
    pendingTasksCount: NotRequired[int],
    agentUpdateStatus: NotRequired[AgentUpdateStatusType],  # (4)
    attributes: NotRequired[List[AttributeTypeDef]],  # (5)
    registeredAt: NotRequired[datetime],
    attachments: NotRequired[List[AttachmentTypeDef]],  # (6)
    tags: NotRequired[List[TagTypeDef]],  # (7)
    healthStatus: NotRequired[ContainerInstanceHealthStatusTypeDef],  # (8)
  1. See VersionInfoTypeDef
  2. See ResourceOutputTypeDef
  3. See ResourceOutputTypeDef
  4. See AgentUpdateStatusType
  5. See AttributeTypeDef
  6. See AttachmentTypeDef
  7. See TagTypeDef
  8. See ContainerInstanceHealthStatusTypeDef

SubmitTaskStateChangeRequestRequestTypeDef#

# SubmitTaskStateChangeRequestRequestTypeDef definition

class SubmitTaskStateChangeRequestRequestTypeDef(TypedDict):
    cluster: NotRequired[str],
    task: NotRequired[str],
    status: NotRequired[str],
    reason: NotRequired[str],
    containers: NotRequired[Sequence[ContainerStateChangeTypeDef]],  # (1)
    attachments: NotRequired[Sequence[AttachmentStateChangeTypeDef]],  # (2)
    managedAgents: NotRequired[Sequence[ManagedAgentStateChangeTypeDef]],  # (3)
    pullStartedAt: NotRequired[TimestampTypeDef],
    pullStoppedAt: NotRequired[TimestampTypeDef],
    executionStoppedAt: NotRequired[TimestampTypeDef],
  1. See ContainerStateChangeTypeDef
  2. See AttachmentStateChangeTypeDef
  3. See ManagedAgentStateChangeTypeDef

ListServiceDeploymentsRequestRequestTypeDef#

# ListServiceDeploymentsRequestRequestTypeDef definition

class ListServiceDeploymentsRequestRequestTypeDef(TypedDict):
    service: str,
    cluster: NotRequired[str],
    status: NotRequired[Sequence[ServiceDeploymentStatusType]],  # (1)
    createdAt: NotRequired[CreatedAtTypeDef],  # (2)
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See ServiceDeploymentStatusType
  2. See CreatedAtTypeDef

DeploymentConfigurationTypeDef#

# DeploymentConfigurationTypeDef definition

class DeploymentConfigurationTypeDef(TypedDict):
    deploymentCircuitBreaker: NotRequired[DeploymentCircuitBreakerTypeDef],  # (1)
    maximumPercent: NotRequired[int],
    minimumHealthyPercent: NotRequired[int],
    alarms: NotRequired[DeploymentAlarmsUnionTypeDef],  # (2)
  1. See DeploymentCircuitBreakerTypeDef
  2. See DeploymentAlarmsTypeDef DeploymentAlarmsOutputTypeDef

ServiceDeploymentTypeDef#

# ServiceDeploymentTypeDef definition

class ServiceDeploymentTypeDef(TypedDict):
    serviceDeploymentArn: NotRequired[str],
    serviceArn: NotRequired[str],
    clusterArn: NotRequired[str],
    createdAt: NotRequired[datetime],
    startedAt: NotRequired[datetime],
    finishedAt: NotRequired[datetime],
    stoppedAt: NotRequired[datetime],
    updatedAt: NotRequired[datetime],
    sourceServiceRevisions: NotRequired[List[ServiceRevisionSummaryTypeDef]],  # (1)
    targetServiceRevision: NotRequired[ServiceRevisionSummaryTypeDef],  # (2)
    status: NotRequired[ServiceDeploymentStatusType],  # (3)
    statusReason: NotRequired[str],
    deploymentConfiguration: NotRequired[DeploymentConfigurationOutputTypeDef],  # (4)
    rollback: NotRequired[RollbackTypeDef],  # (5)
    deploymentCircuitBreaker: NotRequired[ServiceDeploymentCircuitBreakerTypeDef],  # (6)
    alarms: NotRequired[ServiceDeploymentAlarmsTypeDef],  # (7)
  1. See ServiceRevisionSummaryTypeDef
  2. See ServiceRevisionSummaryTypeDef
  3. See ServiceDeploymentStatusType
  4. See DeploymentConfigurationOutputTypeDef
  5. See RollbackTypeDef
  6. See ServiceDeploymentCircuitBreakerTypeDef
  7. See ServiceDeploymentAlarmsTypeDef

ClusterConfigurationTypeDef#

# ClusterConfigurationTypeDef definition

class ClusterConfigurationTypeDef(TypedDict):
    executeCommandConfiguration: NotRequired[ExecuteCommandConfigurationTypeDef],  # (1)
    managedStorageConfiguration: NotRequired[ManagedStorageConfigurationTypeDef],  # (2)
  1. See ExecuteCommandConfigurationTypeDef
  2. See ManagedStorageConfigurationTypeDef

VolumeOutputTypeDef#

# VolumeOutputTypeDef definition

class VolumeOutputTypeDef(TypedDict):
    name: NotRequired[str],
    host: NotRequired[HostVolumePropertiesTypeDef],  # (1)
    dockerVolumeConfiguration: NotRequired[DockerVolumeConfigurationOutputTypeDef],  # (2)
    efsVolumeConfiguration: NotRequired[EFSVolumeConfigurationTypeDef],  # (3)
    fsxWindowsFileServerVolumeConfiguration: NotRequired[FSxWindowsFileServerVolumeConfigurationTypeDef],  # (4)
    configuredAtLaunch: NotRequired[bool],
  1. See HostVolumePropertiesTypeDef
  2. See DockerVolumeConfigurationOutputTypeDef
  3. See EFSVolumeConfigurationTypeDef
  4. See FSxWindowsFileServerVolumeConfigurationTypeDef

VolumeTypeDef#

# VolumeTypeDef definition

class VolumeTypeDef(TypedDict):
    name: NotRequired[str],
    host: NotRequired[HostVolumePropertiesTypeDef],  # (1)
    dockerVolumeConfiguration: NotRequired[DockerVolumeConfigurationUnionTypeDef],  # (2)
    efsVolumeConfiguration: NotRequired[EFSVolumeConfigurationTypeDef],  # (3)
    fsxWindowsFileServerVolumeConfiguration: NotRequired[FSxWindowsFileServerVolumeConfigurationTypeDef],  # (4)
    configuredAtLaunch: NotRequired[bool],
  1. See HostVolumePropertiesTypeDef
  2. See DockerVolumeConfigurationTypeDef DockerVolumeConfigurationOutputTypeDef
  3. See EFSVolumeConfigurationTypeDef
  4. See FSxWindowsFileServerVolumeConfigurationTypeDef

ContainerDefinitionOutputTypeDef#

# ContainerDefinitionOutputTypeDef definition

class ContainerDefinitionOutputTypeDef(TypedDict):
    name: NotRequired[str],
    image: NotRequired[str],
    repositoryCredentials: NotRequired[RepositoryCredentialsTypeDef],  # (1)
    cpu: NotRequired[int],
    memory: NotRequired[int],
    memoryReservation: NotRequired[int],
    links: NotRequired[List[str]],
    portMappings: NotRequired[List[PortMappingTypeDef]],  # (2)
    essential: NotRequired[bool],
    restartPolicy: NotRequired[ContainerRestartPolicyOutputTypeDef],  # (3)
    entryPoint: NotRequired[List[str]],
    command: NotRequired[List[str]],
    environment: NotRequired[List[KeyValuePairTypeDef]],  # (4)
    environmentFiles: NotRequired[List[EnvironmentFileTypeDef]],  # (5)
    mountPoints: NotRequired[List[MountPointTypeDef]],  # (6)
    volumesFrom: NotRequired[List[VolumeFromTypeDef]],  # (7)
    linuxParameters: NotRequired[LinuxParametersOutputTypeDef],  # (8)
    secrets: NotRequired[List[SecretTypeDef]],  # (9)
    dependsOn: NotRequired[List[ContainerDependencyTypeDef]],  # (10)
    startTimeout: NotRequired[int],
    stopTimeout: NotRequired[int],
    versionConsistency: NotRequired[VersionConsistencyType],  # (11)
    hostname: NotRequired[str],
    user: NotRequired[str],
    workingDirectory: NotRequired[str],
    disableNetworking: NotRequired[bool],
    privileged: NotRequired[bool],
    readonlyRootFilesystem: NotRequired[bool],
    dnsServers: NotRequired[List[str]],
    dnsSearchDomains: NotRequired[List[str]],
    extraHosts: NotRequired[List[HostEntryTypeDef]],  # (12)
    dockerSecurityOptions: NotRequired[List[str]],
    interactive: NotRequired[bool],
    pseudoTerminal: NotRequired[bool],
    dockerLabels: NotRequired[Dict[str, str]],
    ulimits: NotRequired[List[UlimitTypeDef]],  # (13)
    logConfiguration: NotRequired[LogConfigurationOutputTypeDef],  # (14)
    healthCheck: NotRequired[HealthCheckOutputTypeDef],  # (15)
    systemControls: NotRequired[List[SystemControlTypeDef]],  # (16)
    resourceRequirements: NotRequired[List[ResourceRequirementTypeDef]],  # (17)
    firelensConfiguration: NotRequired[FirelensConfigurationOutputTypeDef],  # (18)
    credentialSpecs: NotRequired[List[str]],
  1. See RepositoryCredentialsTypeDef
  2. See PortMappingTypeDef
  3. See ContainerRestartPolicyOutputTypeDef
  4. See KeyValuePairTypeDef
  5. See EnvironmentFileTypeDef
  6. See MountPointTypeDef
  7. See VolumeFromTypeDef
  8. See LinuxParametersOutputTypeDef
  9. See SecretTypeDef
  10. See ContainerDependencyTypeDef
  11. See VersionConsistencyType
  12. See HostEntryTypeDef
  13. See UlimitTypeDef
  14. See LogConfigurationOutputTypeDef
  15. See HealthCheckOutputTypeDef
  16. See SystemControlTypeDef
  17. See ResourceRequirementTypeDef
  18. See FirelensConfigurationOutputTypeDef

RegisterContainerInstanceRequestRequestTypeDef#

# RegisterContainerInstanceRequestRequestTypeDef definition

class RegisterContainerInstanceRequestRequestTypeDef(TypedDict):
    cluster: NotRequired[str],
    instanceIdentityDocument: NotRequired[str],
    instanceIdentityDocumentSignature: NotRequired[str],
    totalResources: NotRequired[Sequence[ResourceUnionTypeDef]],  # (1)
    versionInfo: NotRequired[VersionInfoTypeDef],  # (2)
    containerInstanceArn: NotRequired[str],
    attributes: NotRequired[Sequence[AttributeTypeDef]],  # (3)
    platformDevices: NotRequired[Sequence[PlatformDeviceTypeDef]],  # (4)
    tags: NotRequired[Sequence[TagTypeDef]],  # (5)
  1. See ResourceTypeDef ResourceOutputTypeDef
  2. See VersionInfoTypeDef
  3. See AttributeTypeDef
  4. See PlatformDeviceTypeDef
  5. See TagTypeDef

ServiceConnectServiceOutputTypeDef#

# ServiceConnectServiceOutputTypeDef definition

class ServiceConnectServiceOutputTypeDef(TypedDict):
    portName: str,
    discoveryName: NotRequired[str],
    clientAliases: NotRequired[List[ServiceConnectClientAliasTypeDef]],  # (1)
    ingressPortOverride: NotRequired[int],
    timeout: NotRequired[TimeoutConfigurationTypeDef],  # (2)
    tls: NotRequired[ServiceConnectTlsConfigurationTypeDef],  # (3)
  1. See ServiceConnectClientAliasTypeDef
  2. See TimeoutConfigurationTypeDef
  3. See ServiceConnectTlsConfigurationTypeDef

ServiceConnectServiceTypeDef#

# ServiceConnectServiceTypeDef definition

class ServiceConnectServiceTypeDef(TypedDict):
    portName: str,
    discoveryName: NotRequired[str],
    clientAliases: NotRequired[Sequence[ServiceConnectClientAliasTypeDef]],  # (1)
    ingressPortOverride: NotRequired[int],
    timeout: NotRequired[TimeoutConfigurationTypeDef],  # (2)
    tls: NotRequired[ServiceConnectTlsConfigurationTypeDef],  # (3)
  1. See ServiceConnectClientAliasTypeDef
  2. See TimeoutConfigurationTypeDef
  3. See ServiceConnectTlsConfigurationTypeDef

LinuxParametersTypeDef#

# LinuxParametersTypeDef definition

class LinuxParametersTypeDef(TypedDict):
    capabilities: NotRequired[KernelCapabilitiesUnionTypeDef],  # (1)
    devices: NotRequired[Sequence[DeviceUnionTypeDef]],  # (2)
    initProcessEnabled: NotRequired[bool],
    sharedMemorySize: NotRequired[int],
    tmpfs: NotRequired[Sequence[TmpfsUnionTypeDef]],  # (3)
    maxSwap: NotRequired[int],
    swappiness: NotRequired[int],
  1. See KernelCapabilitiesTypeDef KernelCapabilitiesOutputTypeDef
  2. See DeviceTypeDef DeviceOutputTypeDef
  3. See TmpfsTypeDef TmpfsOutputTypeDef

CreateCapacityProviderResponseTypeDef#

# CreateCapacityProviderResponseTypeDef definition

class CreateCapacityProviderResponseTypeDef(TypedDict):
    capacityProvider: CapacityProviderTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CapacityProviderTypeDef
  2. See ResponseMetadataTypeDef

DeleteCapacityProviderResponseTypeDef#

# DeleteCapacityProviderResponseTypeDef definition

class DeleteCapacityProviderResponseTypeDef(TypedDict):
    capacityProvider: CapacityProviderTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CapacityProviderTypeDef
  2. See ResponseMetadataTypeDef

DescribeCapacityProvidersResponseTypeDef#

# DescribeCapacityProvidersResponseTypeDef definition

class DescribeCapacityProvidersResponseTypeDef(TypedDict):
    capacityProviders: List[CapacityProviderTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
    nextToken: NotRequired[str],
  1. See CapacityProviderTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

UpdateCapacityProviderResponseTypeDef#

# UpdateCapacityProviderResponseTypeDef definition

class UpdateCapacityProviderResponseTypeDef(TypedDict):
    capacityProvider: CapacityProviderTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CapacityProviderTypeDef
  2. See ResponseMetadataTypeDef

CreateTaskSetResponseTypeDef#

# CreateTaskSetResponseTypeDef definition

class CreateTaskSetResponseTypeDef(TypedDict):
    taskSet: TaskSetTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TaskSetTypeDef
  2. See ResponseMetadataTypeDef

DeleteTaskSetResponseTypeDef#

# DeleteTaskSetResponseTypeDef definition

class DeleteTaskSetResponseTypeDef(TypedDict):
    taskSet: TaskSetTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TaskSetTypeDef
  2. See ResponseMetadataTypeDef

DescribeTaskSetsResponseTypeDef#

# DescribeTaskSetsResponseTypeDef definition

class DescribeTaskSetsResponseTypeDef(TypedDict):
    taskSets: List[TaskSetTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See TaskSetTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

UpdateServicePrimaryTaskSetResponseTypeDef#

# UpdateServicePrimaryTaskSetResponseTypeDef definition

class UpdateServicePrimaryTaskSetResponseTypeDef(TypedDict):
    taskSet: TaskSetTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TaskSetTypeDef
  2. See ResponseMetadataTypeDef

UpdateTaskSetResponseTypeDef#

# UpdateTaskSetResponseTypeDef definition

class UpdateTaskSetResponseTypeDef(TypedDict):
    taskSet: TaskSetTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TaskSetTypeDef
  2. See ResponseMetadataTypeDef

CreateTaskSetRequestRequestTypeDef#

# CreateTaskSetRequestRequestTypeDef definition

class CreateTaskSetRequestRequestTypeDef(TypedDict):
    service: str,
    cluster: str,
    taskDefinition: str,
    externalId: NotRequired[str],
    networkConfiguration: NotRequired[NetworkConfigurationTypeDef],  # (1)
    loadBalancers: NotRequired[Sequence[LoadBalancerTypeDef]],  # (2)
    serviceRegistries: NotRequired[Sequence[ServiceRegistryTypeDef]],  # (3)
    launchType: NotRequired[LaunchTypeType],  # (4)
    capacityProviderStrategy: NotRequired[Sequence[CapacityProviderStrategyItemTypeDef]],  # (5)
    platformVersion: NotRequired[str],
    scale: NotRequired[ScaleTypeDef],  # (6)
    clientToken: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (7)
  1. See NetworkConfigurationTypeDef
  2. See LoadBalancerTypeDef
  3. See ServiceRegistryTypeDef
  4. See LaunchTypeType
  5. See CapacityProviderStrategyItemTypeDef
  6. See ScaleTypeDef
  7. See TagTypeDef

ServiceVolumeConfigurationOutputTypeDef#

# ServiceVolumeConfigurationOutputTypeDef definition

class ServiceVolumeConfigurationOutputTypeDef(TypedDict):
    name: str,
    managedEBSVolume: NotRequired[ServiceManagedEBSVolumeConfigurationOutputTypeDef],  # (1)
  1. See ServiceManagedEBSVolumeConfigurationOutputTypeDef

ServiceManagedEBSVolumeConfigurationTypeDef#

# ServiceManagedEBSVolumeConfigurationTypeDef definition

class ServiceManagedEBSVolumeConfigurationTypeDef(TypedDict):
    roleArn: str,
    encrypted: NotRequired[bool],
    kmsKeyId: NotRequired[str],
    volumeType: NotRequired[str],
    sizeInGiB: NotRequired[int],
    snapshotId: NotRequired[str],
    iops: NotRequired[int],
    throughput: NotRequired[int],
    tagSpecifications: NotRequired[Sequence[EBSTagSpecificationUnionTypeDef]],  # (1)
    filesystemType: NotRequired[TaskFilesystemTypeType],  # (2)
  1. See EBSTagSpecificationTypeDef EBSTagSpecificationOutputTypeDef
  2. See TaskFilesystemTypeType

TaskManagedEBSVolumeConfigurationTypeDef#

# TaskManagedEBSVolumeConfigurationTypeDef definition

class TaskManagedEBSVolumeConfigurationTypeDef(TypedDict):
    roleArn: str,
    encrypted: NotRequired[bool],
    kmsKeyId: NotRequired[str],
    volumeType: NotRequired[str],
    sizeInGiB: NotRequired[int],
    snapshotId: NotRequired[str],
    iops: NotRequired[int],
    throughput: NotRequired[int],
    tagSpecifications: NotRequired[Sequence[EBSTagSpecificationUnionTypeDef]],  # (1)
    terminationPolicy: NotRequired[TaskManagedEBSVolumeTerminationPolicyTypeDef],  # (2)
    filesystemType: NotRequired[TaskFilesystemTypeType],  # (3)
  1. See EBSTagSpecificationTypeDef EBSTagSpecificationOutputTypeDef
  2. See TaskManagedEBSVolumeTerminationPolicyTypeDef
  3. See TaskFilesystemTypeType

TaskTypeDef#

# TaskTypeDef definition

class TaskTypeDef(TypedDict):
    attachments: NotRequired[List[AttachmentTypeDef]],  # (1)
    attributes: NotRequired[List[AttributeTypeDef]],  # (2)
    availabilityZone: NotRequired[str],
    capacityProviderName: NotRequired[str],
    clusterArn: NotRequired[str],
    connectivity: NotRequired[ConnectivityType],  # (3)
    connectivityAt: NotRequired[datetime],
    containerInstanceArn: NotRequired[str],
    containers: NotRequired[List[ContainerTypeDef]],  # (4)
    cpu: NotRequired[str],
    createdAt: NotRequired[datetime],
    desiredStatus: NotRequired[str],
    enableExecuteCommand: NotRequired[bool],
    executionStoppedAt: NotRequired[datetime],
    group: NotRequired[str],
    healthStatus: NotRequired[HealthStatusType],  # (5)
    inferenceAccelerators: NotRequired[List[InferenceAcceleratorTypeDef]],  # (6)
    lastStatus: NotRequired[str],
    launchType: NotRequired[LaunchTypeType],  # (7)
    memory: NotRequired[str],
    overrides: NotRequired[TaskOverrideOutputTypeDef],  # (8)
    platformVersion: NotRequired[str],
    platformFamily: NotRequired[str],
    pullStartedAt: NotRequired[datetime],
    pullStoppedAt: NotRequired[datetime],
    startedAt: NotRequired[datetime],
    startedBy: NotRequired[str],
    stopCode: NotRequired[TaskStopCodeType],  # (9)
    stoppedAt: NotRequired[datetime],
    stoppedReason: NotRequired[str],
    stoppingAt: NotRequired[datetime],
    tags: NotRequired[List[TagTypeDef]],  # (10)
    taskArn: NotRequired[str],
    taskDefinitionArn: NotRequired[str],
    version: NotRequired[int],
    ephemeralStorage: NotRequired[EphemeralStorageTypeDef],  # (11)
    fargateEphemeralStorage: NotRequired[TaskEphemeralStorageTypeDef],  # (12)
  1. See AttachmentTypeDef
  2. See AttributeTypeDef
  3. See ConnectivityType
  4. See ContainerTypeDef
  5. See HealthStatusType
  6. See InferenceAcceleratorTypeDef
  7. See LaunchTypeType
  8. See TaskOverrideOutputTypeDef
  9. See TaskStopCodeType
  10. See TagTypeDef
  11. See EphemeralStorageTypeDef
  12. See TaskEphemeralStorageTypeDef

TaskOverrideTypeDef#

# TaskOverrideTypeDef definition

class TaskOverrideTypeDef(TypedDict):
    containerOverrides: NotRequired[Sequence[ContainerOverrideUnionTypeDef]],  # (1)
    cpu: NotRequired[str],
    inferenceAcceleratorOverrides: NotRequired[Sequence[InferenceAcceleratorOverrideTypeDef]],  # (2)
    executionRoleArn: NotRequired[str],
    memory: NotRequired[str],
    taskRoleArn: NotRequired[str],
    ephemeralStorage: NotRequired[EphemeralStorageTypeDef],  # (3)
  1. See ContainerOverrideTypeDef ContainerOverrideOutputTypeDef
  2. See InferenceAcceleratorOverrideTypeDef
  3. See EphemeralStorageTypeDef

DeregisterContainerInstanceResponseTypeDef#

# DeregisterContainerInstanceResponseTypeDef definition

class DeregisterContainerInstanceResponseTypeDef(TypedDict):
    containerInstance: ContainerInstanceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ContainerInstanceTypeDef
  2. See ResponseMetadataTypeDef

DescribeContainerInstancesResponseTypeDef#

# DescribeContainerInstancesResponseTypeDef definition

class DescribeContainerInstancesResponseTypeDef(TypedDict):
    containerInstances: List[ContainerInstanceTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ContainerInstanceTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

RegisterContainerInstanceResponseTypeDef#

# RegisterContainerInstanceResponseTypeDef definition

class RegisterContainerInstanceResponseTypeDef(TypedDict):
    containerInstance: ContainerInstanceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ContainerInstanceTypeDef
  2. See ResponseMetadataTypeDef

UpdateContainerAgentResponseTypeDef#

# UpdateContainerAgentResponseTypeDef definition

class UpdateContainerAgentResponseTypeDef(TypedDict):
    containerInstance: ContainerInstanceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ContainerInstanceTypeDef
  2. See ResponseMetadataTypeDef

UpdateContainerInstancesStateResponseTypeDef#

# UpdateContainerInstancesStateResponseTypeDef definition

class UpdateContainerInstancesStateResponseTypeDef(TypedDict):
    containerInstances: List[ContainerInstanceTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ContainerInstanceTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

DescribeServiceDeploymentsResponseTypeDef#

# DescribeServiceDeploymentsResponseTypeDef definition

class DescribeServiceDeploymentsResponseTypeDef(TypedDict):
    serviceDeployments: List[ServiceDeploymentTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ServiceDeploymentTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

ClusterTypeDef#

# ClusterTypeDef definition

class ClusterTypeDef(TypedDict):
    clusterArn: NotRequired[str],
    clusterName: NotRequired[str],
    configuration: NotRequired[ClusterConfigurationTypeDef],  # (1)
    status: NotRequired[str],
    registeredContainerInstancesCount: NotRequired[int],
    runningTasksCount: NotRequired[int],
    pendingTasksCount: NotRequired[int],
    activeServicesCount: NotRequired[int],
    statistics: NotRequired[List[KeyValuePairTypeDef]],  # (2)
    tags: NotRequired[List[TagTypeDef]],  # (3)
    settings: NotRequired[List[ClusterSettingTypeDef]],  # (4)
    capacityProviders: NotRequired[List[str]],
    defaultCapacityProviderStrategy: NotRequired[List[CapacityProviderStrategyItemTypeDef]],  # (5)
    attachments: NotRequired[List[AttachmentTypeDef]],  # (6)
    attachmentsStatus: NotRequired[str],
    serviceConnectDefaults: NotRequired[ClusterServiceConnectDefaultsTypeDef],  # (7)
  1. See ClusterConfigurationTypeDef
  2. See KeyValuePairTypeDef
  3. See TagTypeDef
  4. See ClusterSettingTypeDef
  5. See CapacityProviderStrategyItemTypeDef
  6. See AttachmentTypeDef
  7. See ClusterServiceConnectDefaultsTypeDef

CreateClusterRequestRequestTypeDef#

# CreateClusterRequestRequestTypeDef definition

class CreateClusterRequestRequestTypeDef(TypedDict):
    clusterName: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (1)
    settings: NotRequired[Sequence[ClusterSettingTypeDef]],  # (2)
    configuration: NotRequired[ClusterConfigurationTypeDef],  # (3)
    capacityProviders: NotRequired[Sequence[str]],
    defaultCapacityProviderStrategy: NotRequired[Sequence[CapacityProviderStrategyItemTypeDef]],  # (4)
    serviceConnectDefaults: NotRequired[ClusterServiceConnectDefaultsRequestTypeDef],  # (5)
  1. See TagTypeDef
  2. See ClusterSettingTypeDef
  3. See ClusterConfigurationTypeDef
  4. See CapacityProviderStrategyItemTypeDef
  5. See ClusterServiceConnectDefaultsRequestTypeDef

UpdateClusterRequestRequestTypeDef#

# UpdateClusterRequestRequestTypeDef definition

class UpdateClusterRequestRequestTypeDef(TypedDict):
    cluster: str,
    settings: NotRequired[Sequence[ClusterSettingTypeDef]],  # (1)
    configuration: NotRequired[ClusterConfigurationTypeDef],  # (2)
    serviceConnectDefaults: NotRequired[ClusterServiceConnectDefaultsRequestTypeDef],  # (3)
  1. See ClusterSettingTypeDef
  2. See ClusterConfigurationTypeDef
  3. See ClusterServiceConnectDefaultsRequestTypeDef

TaskDefinitionTypeDef#

# TaskDefinitionTypeDef definition

class TaskDefinitionTypeDef(TypedDict):
    taskDefinitionArn: NotRequired[str],
    containerDefinitions: NotRequired[List[ContainerDefinitionOutputTypeDef]],  # (1)
    family: NotRequired[str],
    taskRoleArn: NotRequired[str],
    executionRoleArn: NotRequired[str],
    networkMode: NotRequired[NetworkModeType],  # (2)
    revision: NotRequired[int],
    volumes: NotRequired[List[VolumeOutputTypeDef]],  # (3)
    status: NotRequired[TaskDefinitionStatusType],  # (4)
    requiresAttributes: NotRequired[List[AttributeTypeDef]],  # (5)
    placementConstraints: NotRequired[List[TaskDefinitionPlacementConstraintTypeDef]],  # (6)
    compatibilities: NotRequired[List[CompatibilityType]],  # (7)
    runtimePlatform: NotRequired[RuntimePlatformTypeDef],  # (8)
    requiresCompatibilities: NotRequired[List[CompatibilityType]],  # (7)
    cpu: NotRequired[str],
    memory: NotRequired[str],
    inferenceAccelerators: NotRequired[List[InferenceAcceleratorTypeDef]],  # (10)
    pidMode: NotRequired[PidModeType],  # (11)
    ipcMode: NotRequired[IpcModeType],  # (12)
    proxyConfiguration: NotRequired[ProxyConfigurationOutputTypeDef],  # (13)
    registeredAt: NotRequired[datetime],
    deregisteredAt: NotRequired[datetime],
    registeredBy: NotRequired[str],
    ephemeralStorage: NotRequired[EphemeralStorageTypeDef],  # (14)
  1. See ContainerDefinitionOutputTypeDef
  2. See NetworkModeType
  3. See VolumeOutputTypeDef
  4. See TaskDefinitionStatusType
  5. See AttributeTypeDef
  6. See TaskDefinitionPlacementConstraintTypeDef
  7. See CompatibilityType
  8. See RuntimePlatformTypeDef
  9. See CompatibilityType
  10. See InferenceAcceleratorTypeDef
  11. See PidModeType
  12. See IpcModeType
  13. See ProxyConfigurationOutputTypeDef
  14. See EphemeralStorageTypeDef

ServiceConnectConfigurationOutputTypeDef#

# ServiceConnectConfigurationOutputTypeDef definition

class ServiceConnectConfigurationOutputTypeDef(TypedDict):
    enabled: bool,
    namespace: NotRequired[str],
    services: NotRequired[List[ServiceConnectServiceOutputTypeDef]],  # (1)
    logConfiguration: NotRequired[LogConfigurationOutputTypeDef],  # (2)
  1. See ServiceConnectServiceOutputTypeDef
  2. See LogConfigurationOutputTypeDef

TaskVolumeConfigurationTypeDef#

# TaskVolumeConfigurationTypeDef definition

class TaskVolumeConfigurationTypeDef(TypedDict):
    name: str,
    managedEBSVolume: NotRequired[TaskManagedEBSVolumeConfigurationTypeDef],  # (1)
  1. See TaskManagedEBSVolumeConfigurationTypeDef

DescribeTasksResponseTypeDef#

# DescribeTasksResponseTypeDef definition

class DescribeTasksResponseTypeDef(TypedDict):
    tasks: List[TaskTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See TaskTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

RunTaskResponseTypeDef#

# RunTaskResponseTypeDef definition

class RunTaskResponseTypeDef(TypedDict):
    tasks: List[TaskTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See TaskTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

StartTaskResponseTypeDef#

# StartTaskResponseTypeDef definition

class StartTaskResponseTypeDef(TypedDict):
    tasks: List[TaskTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See TaskTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

StopTaskResponseTypeDef#

# StopTaskResponseTypeDef definition

class StopTaskResponseTypeDef(TypedDict):
    task: TaskTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TaskTypeDef
  2. See ResponseMetadataTypeDef

CreateClusterResponseTypeDef#

# CreateClusterResponseTypeDef definition

class CreateClusterResponseTypeDef(TypedDict):
    cluster: ClusterTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClusterTypeDef
  2. See ResponseMetadataTypeDef

DeleteClusterResponseTypeDef#

# DeleteClusterResponseTypeDef definition

class DeleteClusterResponseTypeDef(TypedDict):
    cluster: ClusterTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClusterTypeDef
  2. See ResponseMetadataTypeDef

DescribeClustersResponseTypeDef#

# DescribeClustersResponseTypeDef definition

class DescribeClustersResponseTypeDef(TypedDict):
    clusters: List[ClusterTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ClusterTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

PutClusterCapacityProvidersResponseTypeDef#

# PutClusterCapacityProvidersResponseTypeDef definition

class PutClusterCapacityProvidersResponseTypeDef(TypedDict):
    cluster: ClusterTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClusterTypeDef
  2. See ResponseMetadataTypeDef

UpdateClusterResponseTypeDef#

# UpdateClusterResponseTypeDef definition

class UpdateClusterResponseTypeDef(TypedDict):
    cluster: ClusterTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClusterTypeDef
  2. See ResponseMetadataTypeDef

UpdateClusterSettingsResponseTypeDef#

# UpdateClusterSettingsResponseTypeDef definition

class UpdateClusterSettingsResponseTypeDef(TypedDict):
    cluster: ClusterTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ClusterTypeDef
  2. See ResponseMetadataTypeDef

DeleteTaskDefinitionsResponseTypeDef#

# DeleteTaskDefinitionsResponseTypeDef definition

class DeleteTaskDefinitionsResponseTypeDef(TypedDict):
    taskDefinitions: List[TaskDefinitionTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See TaskDefinitionTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

DeregisterTaskDefinitionResponseTypeDef#

# DeregisterTaskDefinitionResponseTypeDef definition

class DeregisterTaskDefinitionResponseTypeDef(TypedDict):
    taskDefinition: TaskDefinitionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TaskDefinitionTypeDef
  2. See ResponseMetadataTypeDef

DescribeTaskDefinitionResponseTypeDef#

# DescribeTaskDefinitionResponseTypeDef definition

class DescribeTaskDefinitionResponseTypeDef(TypedDict):
    taskDefinition: TaskDefinitionTypeDef,  # (1)
    tags: List[TagTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See TaskDefinitionTypeDef
  2. See TagTypeDef
  3. See ResponseMetadataTypeDef

RegisterTaskDefinitionResponseTypeDef#

# RegisterTaskDefinitionResponseTypeDef definition

class RegisterTaskDefinitionResponseTypeDef(TypedDict):
    taskDefinition: TaskDefinitionTypeDef,  # (1)
    tags: List[TagTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See TaskDefinitionTypeDef
  2. See TagTypeDef
  3. See ResponseMetadataTypeDef

DeploymentTypeDef#

# DeploymentTypeDef definition

class DeploymentTypeDef(TypedDict):
    id: NotRequired[str],
    status: NotRequired[str],
    taskDefinition: NotRequired[str],
    desiredCount: NotRequired[int],
    pendingCount: NotRequired[int],
    runningCount: NotRequired[int],
    failedTasks: NotRequired[int],
    createdAt: NotRequired[datetime],
    updatedAt: NotRequired[datetime],
    capacityProviderStrategy: NotRequired[List[CapacityProviderStrategyItemTypeDef]],  # (1)
    launchType: NotRequired[LaunchTypeType],  # (2)
    platformVersion: NotRequired[str],
    platformFamily: NotRequired[str],
    networkConfiguration: NotRequired[NetworkConfigurationOutputTypeDef],  # (3)
    rolloutState: NotRequired[DeploymentRolloutStateType],  # (4)
    rolloutStateReason: NotRequired[str],
    serviceConnectConfiguration: NotRequired[ServiceConnectConfigurationOutputTypeDef],  # (5)
    serviceConnectResources: NotRequired[List[ServiceConnectServiceResourceTypeDef]],  # (6)
    volumeConfigurations: NotRequired[List[ServiceVolumeConfigurationOutputTypeDef]],  # (7)
    fargateEphemeralStorage: NotRequired[DeploymentEphemeralStorageTypeDef],  # (8)
    vpcLatticeConfigurations: NotRequired[List[VpcLatticeConfigurationTypeDef]],  # (9)
  1. See CapacityProviderStrategyItemTypeDef
  2. See LaunchTypeType
  3. See NetworkConfigurationOutputTypeDef
  4. See DeploymentRolloutStateType
  5. See ServiceConnectConfigurationOutputTypeDef
  6. See ServiceConnectServiceResourceTypeDef
  7. See ServiceVolumeConfigurationOutputTypeDef
  8. See DeploymentEphemeralStorageTypeDef
  9. See VpcLatticeConfigurationTypeDef

ServiceRevisionTypeDef#

# ServiceRevisionTypeDef definition

class ServiceRevisionTypeDef(TypedDict):
    serviceRevisionArn: NotRequired[str],
    serviceArn: NotRequired[str],
    clusterArn: NotRequired[str],
    taskDefinition: NotRequired[str],
    capacityProviderStrategy: NotRequired[List[CapacityProviderStrategyItemTypeDef]],  # (1)
    launchType: NotRequired[LaunchTypeType],  # (2)
    platformVersion: NotRequired[str],
    platformFamily: NotRequired[str],
    loadBalancers: NotRequired[List[LoadBalancerTypeDef]],  # (3)
    serviceRegistries: NotRequired[List[ServiceRegistryTypeDef]],  # (4)
    networkConfiguration: NotRequired[NetworkConfigurationOutputTypeDef],  # (5)
    containerImages: NotRequired[List[ContainerImageTypeDef]],  # (6)
    guardDutyEnabled: NotRequired[bool],
    serviceConnectConfiguration: NotRequired[ServiceConnectConfigurationOutputTypeDef],  # (7)
    volumeConfigurations: NotRequired[List[ServiceVolumeConfigurationOutputTypeDef]],  # (8)
    fargateEphemeralStorage: NotRequired[DeploymentEphemeralStorageTypeDef],  # (9)
    createdAt: NotRequired[datetime],
    vpcLatticeConfigurations: NotRequired[List[VpcLatticeConfigurationTypeDef]],  # (10)
  1. See CapacityProviderStrategyItemTypeDef
  2. See LaunchTypeType
  3. See LoadBalancerTypeDef
  4. See ServiceRegistryTypeDef
  5. See NetworkConfigurationOutputTypeDef
  6. See ContainerImageTypeDef
  7. See ServiceConnectConfigurationOutputTypeDef
  8. See ServiceVolumeConfigurationOutputTypeDef
  9. See DeploymentEphemeralStorageTypeDef
  10. See VpcLatticeConfigurationTypeDef

ServiceConnectConfigurationTypeDef#

# ServiceConnectConfigurationTypeDef definition

class ServiceConnectConfigurationTypeDef(TypedDict):
    enabled: bool,
    namespace: NotRequired[str],
    services: NotRequired[Sequence[ServiceConnectServiceUnionTypeDef]],  # (1)
    logConfiguration: NotRequired[LogConfigurationUnionTypeDef],  # (2)
  1. See ServiceConnectServiceTypeDef ServiceConnectServiceOutputTypeDef
  2. See LogConfigurationTypeDef LogConfigurationOutputTypeDef

ContainerDefinitionTypeDef#

# ContainerDefinitionTypeDef definition

class ContainerDefinitionTypeDef(TypedDict):
    name: NotRequired[str],
    image: NotRequired[str],
    repositoryCredentials: NotRequired[RepositoryCredentialsTypeDef],  # (1)
    cpu: NotRequired[int],
    memory: NotRequired[int],
    memoryReservation: NotRequired[int],
    links: NotRequired[Sequence[str]],
    portMappings: NotRequired[Sequence[PortMappingTypeDef]],  # (2)
    essential: NotRequired[bool],
    restartPolicy: NotRequired[ContainerRestartPolicyUnionTypeDef],  # (3)
    entryPoint: NotRequired[Sequence[str]],
    command: NotRequired[Sequence[str]],
    environment: NotRequired[Sequence[KeyValuePairTypeDef]],  # (4)
    environmentFiles: NotRequired[Sequence[EnvironmentFileTypeDef]],  # (5)
    mountPoints: NotRequired[Sequence[MountPointTypeDef]],  # (6)
    volumesFrom: NotRequired[Sequence[VolumeFromTypeDef]],  # (7)
    linuxParameters: NotRequired[LinuxParametersUnionTypeDef],  # (8)
    secrets: NotRequired[Sequence[SecretTypeDef]],  # (9)
    dependsOn: NotRequired[Sequence[ContainerDependencyTypeDef]],  # (10)
    startTimeout: NotRequired[int],
    stopTimeout: NotRequired[int],
    versionConsistency: NotRequired[VersionConsistencyType],  # (11)
    hostname: NotRequired[str],
    user: NotRequired[str],
    workingDirectory: NotRequired[str],
    disableNetworking: NotRequired[bool],
    privileged: NotRequired[bool],
    readonlyRootFilesystem: NotRequired[bool],
    dnsServers: NotRequired[Sequence[str]],
    dnsSearchDomains: NotRequired[Sequence[str]],
    extraHosts: NotRequired[Sequence[HostEntryTypeDef]],  # (12)
    dockerSecurityOptions: NotRequired[Sequence[str]],
    interactive: NotRequired[bool],
    pseudoTerminal: NotRequired[bool],
    dockerLabels: NotRequired[Mapping[str, str]],
    ulimits: NotRequired[Sequence[UlimitTypeDef]],  # (13)
    logConfiguration: NotRequired[LogConfigurationUnionTypeDef],  # (14)
    healthCheck: NotRequired[HealthCheckUnionTypeDef],  # (15)
    systemControls: NotRequired[Sequence[SystemControlTypeDef]],  # (16)
    resourceRequirements: NotRequired[Sequence[ResourceRequirementTypeDef]],  # (17)
    firelensConfiguration: NotRequired[FirelensConfigurationUnionTypeDef],  # (18)
    credentialSpecs: NotRequired[Sequence[str]],
  1. See RepositoryCredentialsTypeDef
  2. See PortMappingTypeDef
  3. See ContainerRestartPolicyTypeDef ContainerRestartPolicyOutputTypeDef
  4. See KeyValuePairTypeDef
  5. See EnvironmentFileTypeDef
  6. See MountPointTypeDef
  7. See VolumeFromTypeDef
  8. See LinuxParametersTypeDef LinuxParametersOutputTypeDef
  9. See SecretTypeDef
  10. See ContainerDependencyTypeDef
  11. See VersionConsistencyType
  12. See HostEntryTypeDef
  13. See UlimitTypeDef
  14. See LogConfigurationTypeDef LogConfigurationOutputTypeDef
  15. See HealthCheckTypeDef HealthCheckOutputTypeDef
  16. See SystemControlTypeDef
  17. See ResourceRequirementTypeDef
  18. See FirelensConfigurationTypeDef FirelensConfigurationOutputTypeDef

ServiceVolumeConfigurationTypeDef#

# ServiceVolumeConfigurationTypeDef definition

class ServiceVolumeConfigurationTypeDef(TypedDict):
    name: str,
    managedEBSVolume: NotRequired[ServiceManagedEBSVolumeConfigurationUnionTypeDef],  # (1)
  1. See ServiceManagedEBSVolumeConfigurationTypeDef ServiceManagedEBSVolumeConfigurationOutputTypeDef

RunTaskRequestRequestTypeDef#

# RunTaskRequestRequestTypeDef definition

class RunTaskRequestRequestTypeDef(TypedDict):
    taskDefinition: str,
    capacityProviderStrategy: NotRequired[Sequence[CapacityProviderStrategyItemTypeDef]],  # (1)
    cluster: NotRequired[str],
    count: NotRequired[int],
    enableECSManagedTags: NotRequired[bool],
    enableExecuteCommand: NotRequired[bool],
    group: NotRequired[str],
    launchType: NotRequired[LaunchTypeType],  # (2)
    networkConfiguration: NotRequired[NetworkConfigurationTypeDef],  # (3)
    overrides: NotRequired[TaskOverrideTypeDef],  # (4)
    placementConstraints: NotRequired[Sequence[PlacementConstraintTypeDef]],  # (5)
    placementStrategy: NotRequired[Sequence[PlacementStrategyTypeDef]],  # (6)
    platformVersion: NotRequired[str],
    propagateTags: NotRequired[PropagateTagsType],  # (7)
    referenceId: NotRequired[str],
    startedBy: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (8)
    clientToken: NotRequired[str],
    volumeConfigurations: NotRequired[Sequence[TaskVolumeConfigurationTypeDef]],  # (9)
  1. See CapacityProviderStrategyItemTypeDef
  2. See LaunchTypeType
  3. See NetworkConfigurationTypeDef
  4. See TaskOverrideTypeDef
  5. See PlacementConstraintTypeDef
  6. See PlacementStrategyTypeDef
  7. See PropagateTagsType
  8. See TagTypeDef
  9. See TaskVolumeConfigurationTypeDef

StartTaskRequestRequestTypeDef#

# StartTaskRequestRequestTypeDef definition

class StartTaskRequestRequestTypeDef(TypedDict):
    containerInstances: Sequence[str],
    taskDefinition: str,
    cluster: NotRequired[str],
    enableECSManagedTags: NotRequired[bool],
    enableExecuteCommand: NotRequired[bool],
    group: NotRequired[str],
    networkConfiguration: NotRequired[NetworkConfigurationTypeDef],  # (1)
    overrides: NotRequired[TaskOverrideTypeDef],  # (2)
    propagateTags: NotRequired[PropagateTagsType],  # (3)
    referenceId: NotRequired[str],
    startedBy: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (4)
    volumeConfigurations: NotRequired[Sequence[TaskVolumeConfigurationTypeDef]],  # (5)
  1. See NetworkConfigurationTypeDef
  2. See TaskOverrideTypeDef
  3. See PropagateTagsType
  4. See TagTypeDef
  5. See TaskVolumeConfigurationTypeDef

ServiceTypeDef#

# ServiceTypeDef definition

class ServiceTypeDef(TypedDict):
    serviceArn: NotRequired[str],
    serviceName: NotRequired[str],
    clusterArn: NotRequired[str],
    loadBalancers: NotRequired[List[LoadBalancerTypeDef]],  # (1)
    serviceRegistries: NotRequired[List[ServiceRegistryTypeDef]],  # (2)
    status: NotRequired[str],
    desiredCount: NotRequired[int],
    runningCount: NotRequired[int],
    pendingCount: NotRequired[int],
    launchType: NotRequired[LaunchTypeType],  # (3)
    capacityProviderStrategy: NotRequired[List[CapacityProviderStrategyItemTypeDef]],  # (4)
    platformVersion: NotRequired[str],
    platformFamily: NotRequired[str],
    taskDefinition: NotRequired[str],
    deploymentConfiguration: NotRequired[DeploymentConfigurationOutputTypeDef],  # (5)
    taskSets: NotRequired[List[TaskSetTypeDef]],  # (6)
    deployments: NotRequired[List[DeploymentTypeDef]],  # (7)
    roleArn: NotRequired[str],
    events: NotRequired[List[ServiceEventTypeDef]],  # (8)
    createdAt: NotRequired[datetime],
    placementConstraints: NotRequired[List[PlacementConstraintTypeDef]],  # (9)
    placementStrategy: NotRequired[List[PlacementStrategyTypeDef]],  # (10)
    networkConfiguration: NotRequired[NetworkConfigurationOutputTypeDef],  # (11)
    healthCheckGracePeriodSeconds: NotRequired[int],
    schedulingStrategy: NotRequired[SchedulingStrategyType],  # (12)
    deploymentController: NotRequired[DeploymentControllerTypeDef],  # (13)
    tags: NotRequired[List[TagTypeDef]],  # (14)
    createdBy: NotRequired[str],
    enableECSManagedTags: NotRequired[bool],
    propagateTags: NotRequired[PropagateTagsType],  # (15)
    enableExecuteCommand: NotRequired[bool],
    availabilityZoneRebalancing: NotRequired[AvailabilityZoneRebalancingType],  # (16)
  1. See LoadBalancerTypeDef
  2. See ServiceRegistryTypeDef
  3. See LaunchTypeType
  4. See CapacityProviderStrategyItemTypeDef
  5. See DeploymentConfigurationOutputTypeDef
  6. See TaskSetTypeDef
  7. See DeploymentTypeDef
  8. See ServiceEventTypeDef
  9. See PlacementConstraintTypeDef
  10. See PlacementStrategyTypeDef
  11. See NetworkConfigurationOutputTypeDef
  12. See SchedulingStrategyType
  13. See DeploymentControllerTypeDef
  14. See TagTypeDef
  15. See PropagateTagsType
  16. See AvailabilityZoneRebalancingType

DescribeServiceRevisionsResponseTypeDef#

# DescribeServiceRevisionsResponseTypeDef definition

class DescribeServiceRevisionsResponseTypeDef(TypedDict):
    serviceRevisions: List[ServiceRevisionTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ServiceRevisionTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

UpdateServiceRequestRequestTypeDef#

# UpdateServiceRequestRequestTypeDef definition

class UpdateServiceRequestRequestTypeDef(TypedDict):
    service: str,
    cluster: NotRequired[str],
    desiredCount: NotRequired[int],
    taskDefinition: NotRequired[str],
    capacityProviderStrategy: NotRequired[Sequence[CapacityProviderStrategyItemTypeDef]],  # (1)
    deploymentConfiguration: NotRequired[DeploymentConfigurationTypeDef],  # (2)
    availabilityZoneRebalancing: NotRequired[AvailabilityZoneRebalancingType],  # (3)
    networkConfiguration: NotRequired[NetworkConfigurationTypeDef],  # (4)
    placementConstraints: NotRequired[Sequence[PlacementConstraintTypeDef]],  # (5)
    placementStrategy: NotRequired[Sequence[PlacementStrategyTypeDef]],  # (6)
    platformVersion: NotRequired[str],
    forceNewDeployment: NotRequired[bool],
    healthCheckGracePeriodSeconds: NotRequired[int],
    enableExecuteCommand: NotRequired[bool],
    enableECSManagedTags: NotRequired[bool],
    loadBalancers: NotRequired[Sequence[LoadBalancerTypeDef]],  # (7)
    propagateTags: NotRequired[PropagateTagsType],  # (8)
    serviceRegistries: NotRequired[Sequence[ServiceRegistryTypeDef]],  # (9)
    serviceConnectConfiguration: NotRequired[ServiceConnectConfigurationTypeDef],  # (10)
    volumeConfigurations: NotRequired[Sequence[ServiceVolumeConfigurationTypeDef]],  # (11)
    vpcLatticeConfigurations: NotRequired[Sequence[VpcLatticeConfigurationTypeDef]],  # (12)
  1. See CapacityProviderStrategyItemTypeDef
  2. See DeploymentConfigurationTypeDef
  3. See AvailabilityZoneRebalancingType
  4. See NetworkConfigurationTypeDef
  5. See PlacementConstraintTypeDef
  6. See PlacementStrategyTypeDef
  7. See LoadBalancerTypeDef
  8. See PropagateTagsType
  9. See ServiceRegistryTypeDef
  10. See ServiceConnectConfigurationTypeDef
  11. See ServiceVolumeConfigurationTypeDef
  12. See VpcLatticeConfigurationTypeDef

CreateServiceResponseTypeDef#

# CreateServiceResponseTypeDef definition

class CreateServiceResponseTypeDef(TypedDict):
    service: ServiceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ServiceTypeDef
  2. See ResponseMetadataTypeDef

DeleteServiceResponseTypeDef#

# DeleteServiceResponseTypeDef definition

class DeleteServiceResponseTypeDef(TypedDict):
    service: ServiceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ServiceTypeDef
  2. See ResponseMetadataTypeDef

DescribeServicesResponseTypeDef#

# DescribeServicesResponseTypeDef definition

class DescribeServicesResponseTypeDef(TypedDict):
    services: List[ServiceTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ServiceTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

UpdateServiceResponseTypeDef#

# UpdateServiceResponseTypeDef definition

class UpdateServiceResponseTypeDef(TypedDict):
    service: ServiceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ServiceTypeDef
  2. See ResponseMetadataTypeDef

RegisterTaskDefinitionRequestRequestTypeDef#

# RegisterTaskDefinitionRequestRequestTypeDef definition

class RegisterTaskDefinitionRequestRequestTypeDef(TypedDict):
    family: str,
    containerDefinitions: Sequence[ContainerDefinitionUnionTypeDef],  # (1)
    taskRoleArn: NotRequired[str],
    executionRoleArn: NotRequired[str],
    networkMode: NotRequired[NetworkModeType],  # (2)
    volumes: NotRequired[Sequence[VolumeUnionTypeDef]],  # (3)
    placementConstraints: NotRequired[Sequence[TaskDefinitionPlacementConstraintTypeDef]],  # (4)
    requiresCompatibilities: NotRequired[Sequence[CompatibilityType]],  # (5)
    cpu: NotRequired[str],
    memory: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (6)
    pidMode: NotRequired[PidModeType],  # (7)
    ipcMode: NotRequired[IpcModeType],  # (8)
    proxyConfiguration: NotRequired[ProxyConfigurationTypeDef],  # (9)
    inferenceAccelerators: NotRequired[Sequence[InferenceAcceleratorTypeDef]],  # (10)
    ephemeralStorage: NotRequired[EphemeralStorageTypeDef],  # (11)
    runtimePlatform: NotRequired[RuntimePlatformTypeDef],  # (12)
  1. See ContainerDefinitionTypeDef ContainerDefinitionOutputTypeDef
  2. See NetworkModeType
  3. See VolumeTypeDef VolumeOutputTypeDef
  4. See TaskDefinitionPlacementConstraintTypeDef
  5. See CompatibilityType
  6. See TagTypeDef
  7. See PidModeType
  8. See IpcModeType
  9. See ProxyConfigurationTypeDef
  10. See InferenceAcceleratorTypeDef
  11. See EphemeralStorageTypeDef
  12. See RuntimePlatformTypeDef

CreateServiceRequestRequestTypeDef#

# CreateServiceRequestRequestTypeDef definition

class CreateServiceRequestRequestTypeDef(TypedDict):
    serviceName: str,
    cluster: NotRequired[str],
    taskDefinition: NotRequired[str],
    availabilityZoneRebalancing: NotRequired[AvailabilityZoneRebalancingType],  # (1)
    loadBalancers: NotRequired[Sequence[LoadBalancerTypeDef]],  # (2)
    serviceRegistries: NotRequired[Sequence[ServiceRegistryTypeDef]],  # (3)
    desiredCount: NotRequired[int],
    clientToken: NotRequired[str],
    launchType: NotRequired[LaunchTypeType],  # (4)
    capacityProviderStrategy: NotRequired[Sequence[CapacityProviderStrategyItemTypeDef]],  # (5)
    platformVersion: NotRequired[str],
    role: NotRequired[str],
    deploymentConfiguration: NotRequired[DeploymentConfigurationTypeDef],  # (6)
    placementConstraints: NotRequired[Sequence[PlacementConstraintTypeDef]],  # (7)
    placementStrategy: NotRequired[Sequence[PlacementStrategyTypeDef]],  # (8)
    networkConfiguration: NotRequired[NetworkConfigurationTypeDef],  # (9)
    healthCheckGracePeriodSeconds: NotRequired[int],
    schedulingStrategy: NotRequired[SchedulingStrategyType],  # (10)
    deploymentController: NotRequired[DeploymentControllerTypeDef],  # (11)
    tags: NotRequired[Sequence[TagTypeDef]],  # (12)
    enableECSManagedTags: NotRequired[bool],
    propagateTags: NotRequired[PropagateTagsType],  # (13)
    enableExecuteCommand: NotRequired[bool],
    serviceConnectConfiguration: NotRequired[ServiceConnectConfigurationTypeDef],  # (14)
    volumeConfigurations: NotRequired[Sequence[ServiceVolumeConfigurationUnionTypeDef]],  # (15)
    vpcLatticeConfigurations: NotRequired[Sequence[VpcLatticeConfigurationTypeDef]],  # (16)
  1. See AvailabilityZoneRebalancingType
  2. See LoadBalancerTypeDef
  3. See ServiceRegistryTypeDef
  4. See LaunchTypeType
  5. See CapacityProviderStrategyItemTypeDef
  6. See DeploymentConfigurationTypeDef
  7. See PlacementConstraintTypeDef
  8. See PlacementStrategyTypeDef
  9. See NetworkConfigurationTypeDef
  10. See SchedulingStrategyType
  11. See DeploymentControllerTypeDef
  12. See TagTypeDef
  13. See PropagateTagsType
  14. See ServiceConnectConfigurationTypeDef
  15. See ServiceVolumeConfigurationTypeDef ServiceVolumeConfigurationOutputTypeDef
  16. See VpcLatticeConfigurationTypeDef