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)
]
ContainerRestartPolicyUnionTypeDef#
# ContainerRestartPolicyUnionTypeDef definition
ContainerRestartPolicyUnionTypeDef = Union[
ContainerRestartPolicyTypeDef, # (1)
ContainerRestartPolicyOutputTypeDef, # (2)
]
DeploymentAlarmsUnionTypeDef#
# DeploymentAlarmsUnionTypeDef definition
DeploymentAlarmsUnionTypeDef = Union[
DeploymentAlarmsTypeDef, # (1)
DeploymentAlarmsOutputTypeDef, # (2)
]
DeviceUnionTypeDef#
# DeviceUnionTypeDef definition
DeviceUnionTypeDef = Union[
DeviceTypeDef, # (1)
DeviceOutputTypeDef, # (2)
]
- See DeviceTypeDef
- See DeviceOutputTypeDef
DockerVolumeConfigurationUnionTypeDef#
# DockerVolumeConfigurationUnionTypeDef definition
DockerVolumeConfigurationUnionTypeDef = Union[
DockerVolumeConfigurationTypeDef, # (1)
DockerVolumeConfigurationOutputTypeDef, # (2)
]
FirelensConfigurationUnionTypeDef#
# FirelensConfigurationUnionTypeDef definition
FirelensConfigurationUnionTypeDef = Union[
FirelensConfigurationTypeDef, # (1)
FirelensConfigurationOutputTypeDef, # (2)
]
HealthCheckUnionTypeDef#
# HealthCheckUnionTypeDef definition
HealthCheckUnionTypeDef = Union[
HealthCheckTypeDef, # (1)
HealthCheckOutputTypeDef, # (2)
]
KernelCapabilitiesUnionTypeDef#
# KernelCapabilitiesUnionTypeDef definition
KernelCapabilitiesUnionTypeDef = Union[
KernelCapabilitiesTypeDef, # (1)
KernelCapabilitiesOutputTypeDef, # (2)
]
ResourceUnionTypeDef#
# ResourceUnionTypeDef definition
ResourceUnionTypeDef = Union[
ResourceTypeDef, # (1)
ResourceOutputTypeDef, # (2)
]
- See ResourceTypeDef
- See ResourceOutputTypeDef
TmpfsUnionTypeDef#
# TmpfsUnionTypeDef definition
TmpfsUnionTypeDef = Union[
TmpfsTypeDef, # (1)
TmpfsOutputTypeDef, # (2)
]
- See TmpfsTypeDef
- See TmpfsOutputTypeDef
EBSTagSpecificationUnionTypeDef#
# EBSTagSpecificationUnionTypeDef definition
EBSTagSpecificationUnionTypeDef = Union[
EBSTagSpecificationTypeDef, # (1)
EBSTagSpecificationOutputTypeDef, # (2)
]
ContainerOverrideUnionTypeDef#
# ContainerOverrideUnionTypeDef definition
ContainerOverrideUnionTypeDef = Union[
ContainerOverrideTypeDef, # (1)
ContainerOverrideOutputTypeDef, # (2)
]
LogConfigurationUnionTypeDef#
# LogConfigurationUnionTypeDef definition
LogConfigurationUnionTypeDef = Union[
LogConfigurationTypeDef, # (1)
LogConfigurationOutputTypeDef, # (2)
]
VolumeUnionTypeDef#
# VolumeUnionTypeDef definition
VolumeUnionTypeDef = Union[
VolumeTypeDef, # (1)
VolumeOutputTypeDef, # (2)
]
- See VolumeTypeDef
- See VolumeOutputTypeDef
ServiceConnectServiceUnionTypeDef#
# ServiceConnectServiceUnionTypeDef definition
ServiceConnectServiceUnionTypeDef = Union[
ServiceConnectServiceTypeDef, # (1)
ServiceConnectServiceOutputTypeDef, # (2)
]
LinuxParametersUnionTypeDef#
# LinuxParametersUnionTypeDef definition
LinuxParametersUnionTypeDef = Union[
LinuxParametersTypeDef, # (1)
LinuxParametersOutputTypeDef, # (2)
]
ServiceManagedEBSVolumeConfigurationUnionTypeDef#
# ServiceManagedEBSVolumeConfigurationUnionTypeDef definition
ServiceManagedEBSVolumeConfigurationUnionTypeDef = Union[
ServiceManagedEBSVolumeConfigurationTypeDef, # (1)
ServiceManagedEBSVolumeConfigurationOutputTypeDef, # (2)
]
- See ServiceManagedEBSVolumeConfigurationTypeDef
- See ServiceManagedEBSVolumeConfigurationOutputTypeDef
ContainerDefinitionUnionTypeDef#
# ContainerDefinitionUnionTypeDef definition
ContainerDefinitionUnionTypeDef = Union[
ContainerDefinitionTypeDef, # (1)
ContainerDefinitionOutputTypeDef, # (2)
]
ServiceVolumeConfigurationUnionTypeDef#
# ServiceVolumeConfigurationUnionTypeDef definition
ServiceVolumeConfigurationUnionTypeDef = Union[
ServiceVolumeConfigurationTypeDef, # (1)
ServiceVolumeConfigurationOutputTypeDef, # (2)
]
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],
- See TargetTypeType
ManagedScalingTypeDef#
# ManagedScalingTypeDef definition
class ManagedScalingTypeDef(TypedDict):
status: NotRequired[ManagedScalingStatusType], # (1)
targetCapacity: NotRequired[int],
minimumScalingStepSize: NotRequired[int],
maximumScalingStepSize: NotRequired[int],
instanceWarmupPeriod: NotRequired[int],
AwsVpcConfigurationOutputTypeDef#
# AwsVpcConfigurationOutputTypeDef definition
class AwsVpcConfigurationOutputTypeDef(TypedDict):
subnets: List[str],
securityGroups: NotRequired[List[str]],
assignPublicIp: NotRequired[AssignPublicIpType], # (1)
AwsVpcConfigurationTypeDef#
# AwsVpcConfigurationTypeDef definition
class AwsVpcConfigurationTypeDef(TypedDict):
subnets: Sequence[str],
securityGroups: NotRequired[Sequence[str]],
assignPublicIp: NotRequired[AssignPublicIpType], # (1)
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],
ContainerDependencyTypeDef#
# ContainerDependencyTypeDef definition
class ContainerDependencyTypeDef(TypedDict):
containerName: str,
condition: ContainerConditionType, # (1)
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)
FirelensConfigurationOutputTypeDef#
# FirelensConfigurationOutputTypeDef definition
class FirelensConfigurationOutputTypeDef(TypedDict):
type: FirelensConfigurationTypeType, # (1)
options: NotRequired[Dict[str, str]],
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],
RepositoryCredentialsTypeDef#
# RepositoryCredentialsTypeDef definition
class RepositoryCredentialsTypeDef(TypedDict):
credentialsParameter: str,
ResourceRequirementTypeDef#
# ResourceRequirementTypeDef definition
class ResourceRequirementTypeDef(TypedDict):
value: str,
type: ResourceTypeType, # (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,
- 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],
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],
ManagedAgentTypeDef#
# ManagedAgentTypeDef definition
class ManagedAgentTypeDef(TypedDict):
lastStartedAt: NotRequired[datetime],
name: NotRequired[ManagedAgentNameType], # (1)
reason: NotRequired[str],
lastStatus: NotRequired[str],
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)
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],
PlacementStrategyTypeDef#
# PlacementStrategyTypeDef definition
class PlacementStrategyTypeDef(TypedDict):
type: NotRequired[PlacementStrategyTypeType], # (1)
field: NotRequired[str],
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)
- See ScaleUnitType
DeleteAccountSettingRequestRequestTypeDef#
# DeleteAccountSettingRequestRequestTypeDef definition
class DeleteAccountSettingRequestRequestTypeDef(TypedDict):
name: SettingNameType, # (1)
principalArn: NotRequired[str],
- See SettingNameType
SettingTypeDef#
# SettingTypeDef definition
class SettingTypeDef(TypedDict):
name: NotRequired[SettingNameType], # (1)
value: NotRequired[str],
principalArn: NotRequired[str],
type: NotRequired[SettingTypeType], # (2)
- See SettingNameType
- 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],
DescribeClustersRequestRequestTypeDef#
# DescribeClustersRequestRequestTypeDef definition
class DescribeClustersRequestRequestTypeDef(TypedDict):
clusters: NotRequired[Sequence[str]],
include: NotRequired[Sequence[ClusterFieldType]], # (1)
- See ClusterFieldType
DescribeContainerInstancesRequestRequestTypeDef#
# DescribeContainerInstancesRequestRequestTypeDef definition
class DescribeContainerInstancesRequestRequestTypeDef(TypedDict):
containerInstances: Sequence[str],
cluster: NotRequired[str],
include: NotRequired[Sequence[ContainerInstanceFieldType]], # (1)
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)
- 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)
DescribeTaskSetsRequestRequestTypeDef#
# DescribeTaskSetsRequestRequestTypeDef definition
class DescribeTaskSetsRequestRequestTypeDef(TypedDict):
cluster: str,
service: str,
taskSets: NotRequired[Sequence[str]],
include: NotRequired[Sequence[TaskSetFieldType]], # (1)
- See TaskSetFieldType
DescribeTasksRequestRequestTypeDef#
# DescribeTasksRequestRequestTypeDef definition
class DescribeTasksRequestRequestTypeDef(TypedDict):
tasks: Sequence[str],
cluster: NotRequired[str],
include: NotRequired[Sequence[TaskFieldType]], # (1)
- See TaskFieldType
DeviceOutputTypeDef#
# DeviceOutputTypeDef definition
class DeviceOutputTypeDef(TypedDict):
hostPath: str,
containerPath: NotRequired[str],
permissions: NotRequired[List[DeviceCgroupPermissionType]], # (1)
DeviceTypeDef#
# DeviceTypeDef definition
class DeviceTypeDef(TypedDict):
hostPath: str,
containerPath: NotRequired[str],
permissions: NotRequired[Sequence[DeviceCgroupPermissionType]], # (1)
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]],
- 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]],
- See ScopeType
EFSAuthorizationConfigTypeDef#
# EFSAuthorizationConfigTypeDef definition
class EFSAuthorizationConfigTypeDef(TypedDict):
accessPointId: NotRequired[str],
iam: NotRequired[EFSAuthorizationConfigIAMType], # (1)
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]],
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],
- 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],
- 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)
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],
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)
- See LaunchTypeType
- 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],
ListTaskDefinitionsRequestRequestTypeDef#
# ListTaskDefinitionsRequestRequestTypeDef definition
class ListTaskDefinitionsRequestRequestTypeDef(TypedDict):
familyPrefix: NotRequired[str],
status: NotRequired[TaskDefinitionStatusType], # (1)
sort: NotRequired[SortOrderType], # (2)
nextToken: NotRequired[str],
maxResults: NotRequired[int],
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)
- See DesiredStatusType
- See LaunchTypeType
ManagedAgentStateChangeTypeDef#
# ManagedAgentStateChangeTypeDef definition
class ManagedAgentStateChangeTypeDef(TypedDict):
containerName: str,
managedAgentName: ManagedAgentNameType, # (1)
status: str,
reason: NotRequired[str],
PlatformDeviceTypeDef#
# PlatformDeviceTypeDef definition
class PlatformDeviceTypeDef(TypedDict):
id: str,
type: PlatformDeviceTypeType, # (1)
PutAccountSettingDefaultRequestRequestTypeDef#
# PutAccountSettingDefaultRequestRequestTypeDef definition
class PutAccountSettingDefaultRequestRequestTypeDef(TypedDict):
name: SettingNameType, # (1)
value: str,
- See SettingNameType
PutAccountSettingRequestRequestTypeDef#
# PutAccountSettingRequestRequestTypeDef definition
class PutAccountSettingRequestRequestTypeDef(TypedDict):
name: SettingNameType, # (1)
value: str,
principalArn: NotRequired[str],
- See SettingNameType
RuntimePlatformTypeDef#
# RuntimePlatformTypeDef definition
class RuntimePlatformTypeDef(TypedDict):
cpuArchitecture: NotRequired[CPUArchitectureType], # (1)
operatingSystemFamily: NotRequired[OSFamilyType], # (2)
- See CPUArchitectureType
- See OSFamilyType
TaskDefinitionPlacementConstraintTypeDef#
# TaskDefinitionPlacementConstraintTypeDef definition
class TaskDefinitionPlacementConstraintTypeDef(TypedDict):
type: NotRequired[TaskDefinitionPlacementConstraintTypeType], # (1)
expression: NotRequired[str],
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]],
ServiceDeploymentCircuitBreakerTypeDef#
# ServiceDeploymentCircuitBreakerTypeDef definition
class ServiceDeploymentCircuitBreakerTypeDef(TypedDict):
status: NotRequired[ServiceDeploymentRollbackMonitorsStatusType], # (1)
failureCount: NotRequired[int],
threshold: NotRequired[int],
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],
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],
AttachmentTypeDef#
# AttachmentTypeDef definition
class AttachmentTypeDef(TypedDict):
id: NotRequired[str],
type: NotRequired[str],
status: NotRequired[str],
details: NotRequired[List[KeyValuePairTypeDef]], # (1)
ProxyConfigurationOutputTypeDef#
# ProxyConfigurationOutputTypeDef definition
class ProxyConfigurationOutputTypeDef(TypedDict):
containerName: str,
type: NotRequired[ProxyConfigurationTypeType], # (1)
properties: NotRequired[List[KeyValuePairTypeDef]], # (2)
ProxyConfigurationTypeDef#
# ProxyConfigurationTypeDef definition
class ProxyConfigurationTypeDef(TypedDict):
containerName: str,
type: NotRequired[ProxyConfigurationTypeType], # (1)
properties: NotRequired[Sequence[KeyValuePairTypeDef]], # (2)
DeleteAttributesRequestRequestTypeDef#
# DeleteAttributesRequestRequestTypeDef definition
class DeleteAttributesRequestRequestTypeDef(TypedDict):
attributes: Sequence[AttributeTypeDef], # (1)
cluster: NotRequired[str],
- See AttributeTypeDef
PutAttributesRequestRequestTypeDef#
# PutAttributesRequestRequestTypeDef definition
class PutAttributesRequestRequestTypeDef(TypedDict):
attributes: Sequence[AttributeTypeDef], # (1)
cluster: NotRequired[str],
- See AttributeTypeDef
AutoScalingGroupProviderTypeDef#
# AutoScalingGroupProviderTypeDef definition
class AutoScalingGroupProviderTypeDef(TypedDict):
autoScalingGroupArn: str,
managedScaling: NotRequired[ManagedScalingTypeDef], # (1)
managedTerminationProtection: NotRequired[ManagedTerminationProtectionType], # (2)
managedDraining: NotRequired[ManagedDrainingType], # (3)
AutoScalingGroupProviderUpdateTypeDef#
# AutoScalingGroupProviderUpdateTypeDef definition
class AutoScalingGroupProviderUpdateTypeDef(TypedDict):
managedScaling: NotRequired[ManagedScalingTypeDef], # (1)
managedTerminationProtection: NotRequired[ManagedTerminationProtectionType], # (2)
managedDraining: NotRequired[ManagedDrainingType], # (3)
NetworkConfigurationOutputTypeDef#
# NetworkConfigurationOutputTypeDef definition
class NetworkConfigurationOutputTypeDef(TypedDict):
awsvpcConfiguration: NotRequired[AwsVpcConfigurationOutputTypeDef], # (1)
PutClusterCapacityProvidersRequestRequestTypeDef#
# PutClusterCapacityProvidersRequestRequestTypeDef definition
class PutClusterCapacityProvidersRequestRequestTypeDef(TypedDict):
cluster: str,
capacityProviders: Sequence[str],
defaultCapacityProviderStrategy: Sequence[CapacityProviderStrategyItemTypeDef], # (1)
EBSTagSpecificationOutputTypeDef#
# EBSTagSpecificationOutputTypeDef definition
class EBSTagSpecificationOutputTypeDef(TypedDict):
resourceType: EBSResourceTypeType, # (1)
tags: NotRequired[List[TagTypeDef]], # (2)
propagateTags: NotRequired[PropagateTagsType], # (3)
- See EBSResourceTypeType
- See TagTypeDef
- See PropagateTagsType
EBSTagSpecificationTypeDef#
# EBSTagSpecificationTypeDef definition
class EBSTagSpecificationTypeDef(TypedDict):
resourceType: EBSResourceTypeType, # (1)
tags: NotRequired[Sequence[TagTypeDef]], # (2)
propagateTags: NotRequired[PropagateTagsType], # (3)
- See EBSResourceTypeType
- See TagTypeDef
- See PropagateTagsType
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
UpdateClusterSettingsRequestRequestTypeDef#
# UpdateClusterSettingsRequestRequestTypeDef definition
class UpdateClusterSettingsRequestRequestTypeDef(TypedDict):
cluster: str,
settings: Sequence[ClusterSettingTypeDef], # (1)
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)
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)
LogConfigurationOutputTypeDef#
# LogConfigurationOutputTypeDef definition
class LogConfigurationOutputTypeDef(TypedDict):
logDriver: LogDriverType, # (1)
options: NotRequired[Dict[str, str]],
secretOptions: NotRequired[List[SecretTypeDef]], # (2)
- See LogDriverType
- See SecretTypeDef
LogConfigurationTypeDef#
# LogConfigurationTypeDef definition
class LogConfigurationTypeDef(TypedDict):
logDriver: LogDriverType, # (1)
options: NotRequired[Mapping[str, str]],
secretOptions: NotRequired[Sequence[SecretTypeDef]], # (2)
- See LogDriverType
- See SecretTypeDef
ContainerInstanceHealthStatusTypeDef#
# ContainerInstanceHealthStatusTypeDef definition
class ContainerInstanceHealthStatusTypeDef(TypedDict):
overallStatus: NotRequired[InstanceHealthCheckStateType], # (1)
details: NotRequired[List[InstanceHealthCheckResultTypeDef]], # (2)
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],
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)
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]],
DeleteAttributesResponseTypeDef#
# DeleteAttributesResponseTypeDef definition
class DeleteAttributesResponseTypeDef(TypedDict):
attributes: List[AttributeTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DiscoverPollEndpointResponseTypeDef#
# DiscoverPollEndpointResponseTypeDef definition
class DiscoverPollEndpointResponseTypeDef(TypedDict):
endpoint: str,
telemetryEndpoint: str,
serviceConnectEndpoint: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListAttributesResponseTypeDef#
# ListAttributesResponseTypeDef definition
class ListAttributesResponseTypeDef(TypedDict):
attributes: List[AttributeTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListClustersResponseTypeDef#
# ListClustersResponseTypeDef definition
class ListClustersResponseTypeDef(TypedDict):
clusterArns: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
ListContainerInstancesResponseTypeDef#
# ListContainerInstancesResponseTypeDef definition
class ListContainerInstancesResponseTypeDef(TypedDict):
containerInstanceArns: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
ListServicesByNamespaceResponseTypeDef#
# ListServicesByNamespaceResponseTypeDef definition
class ListServicesByNamespaceResponseTypeDef(TypedDict):
serviceArns: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
ListServicesResponseTypeDef#
# ListServicesResponseTypeDef definition
class ListServicesResponseTypeDef(TypedDict):
serviceArns: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
tags: List[TagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TagTypeDef
- See ResponseMetadataTypeDef
ListTaskDefinitionFamiliesResponseTypeDef#
# ListTaskDefinitionFamiliesResponseTypeDef definition
class ListTaskDefinitionFamiliesResponseTypeDef(TypedDict):
families: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
ListTaskDefinitionsResponseTypeDef#
# ListTaskDefinitionsResponseTypeDef definition
class ListTaskDefinitionsResponseTypeDef(TypedDict):
taskDefinitionArns: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
ListTasksResponseTypeDef#
# ListTasksResponseTypeDef definition
class ListTasksResponseTypeDef(TypedDict):
taskArns: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
PutAttributesResponseTypeDef#
# PutAttributesResponseTypeDef definition
class PutAttributesResponseTypeDef(TypedDict):
attributes: List[AttributeTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
SubmitAttachmentStateChangesResponseTypeDef#
# SubmitAttachmentStateChangesResponseTypeDef definition
class SubmitAttachmentStateChangesResponseTypeDef(TypedDict):
acknowledgment: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
SubmitContainerStateChangeResponseTypeDef#
# SubmitContainerStateChangeResponseTypeDef definition
class SubmitContainerStateChangeResponseTypeDef(TypedDict):
acknowledgment: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
SubmitTaskStateChangeResponseTypeDef#
# SubmitTaskStateChangeResponseTypeDef definition
class SubmitTaskStateChangeResponseTypeDef(TypedDict):
acknowledgment: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateTaskSetRequestRequestTypeDef#
# UpdateTaskSetRequestRequestTypeDef definition
class UpdateTaskSetRequestRequestTypeDef(TypedDict):
cluster: str,
service: str,
taskSet: str,
scale: ScaleTypeDef, # (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)
ListAccountSettingsResponseTypeDef#
# ListAccountSettingsResponseTypeDef definition
class ListAccountSettingsResponseTypeDef(TypedDict):
settings: List[SettingTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
PutAccountSettingDefaultResponseTypeDef#
# PutAccountSettingDefaultResponseTypeDef definition
class PutAccountSettingDefaultResponseTypeDef(TypedDict):
setting: SettingTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PutAccountSettingResponseTypeDef#
# PutAccountSettingResponseTypeDef definition
class PutAccountSettingResponseTypeDef(TypedDict):
setting: SettingTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeploymentConfigurationOutputTypeDef#
# DeploymentConfigurationOutputTypeDef definition
class DeploymentConfigurationOutputTypeDef(TypedDict):
deploymentCircuitBreaker: NotRequired[DeploymentCircuitBreakerTypeDef], # (1)
maximumPercent: NotRequired[int],
minimumHealthyPercent: NotRequired[int],
alarms: NotRequired[DeploymentAlarmsOutputTypeDef], # (2)
DescribeServicesRequestServicesInactiveWaitTypeDef#
# DescribeServicesRequestServicesInactiveWaitTypeDef definition
class DescribeServicesRequestServicesInactiveWaitTypeDef(TypedDict):
services: Sequence[str],
cluster: NotRequired[str],
include: NotRequired[Sequence[ServiceFieldType]], # (1)
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (2)
- See ServiceFieldType
- See WaiterConfigTypeDef
DescribeServicesRequestServicesStableWaitTypeDef#
# DescribeServicesRequestServicesStableWaitTypeDef definition
class DescribeServicesRequestServicesStableWaitTypeDef(TypedDict):
services: Sequence[str],
cluster: NotRequired[str],
include: NotRequired[Sequence[ServiceFieldType]], # (1)
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (2)
- See ServiceFieldType
- See WaiterConfigTypeDef
DescribeTasksRequestTasksRunningWaitTypeDef#
# DescribeTasksRequestTasksRunningWaitTypeDef definition
class DescribeTasksRequestTasksRunningWaitTypeDef(TypedDict):
tasks: Sequence[str],
cluster: NotRequired[str],
include: NotRequired[Sequence[TaskFieldType]], # (1)
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (2)
- See TaskFieldType
- See WaiterConfigTypeDef
DescribeTasksRequestTasksStoppedWaitTypeDef#
# DescribeTasksRequestTasksStoppedWaitTypeDef definition
class DescribeTasksRequestTasksStoppedWaitTypeDef(TypedDict):
tasks: Sequence[str],
cluster: NotRequired[str],
include: NotRequired[Sequence[TaskFieldType]], # (1)
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (2)
- See TaskFieldType
- See WaiterConfigTypeDef
EFSVolumeConfigurationTypeDef#
# EFSVolumeConfigurationTypeDef definition
class EFSVolumeConfigurationTypeDef(TypedDict):
fileSystemId: str,
rootDirectory: NotRequired[str],
transitEncryption: NotRequired[EFSTransitEncryptionType], # (1)
transitEncryptionPort: NotRequired[int],
authorizationConfig: NotRequired[EFSAuthorizationConfigTypeDef], # (2)
ExecuteCommandConfigurationTypeDef#
# ExecuteCommandConfigurationTypeDef definition
class ExecuteCommandConfigurationTypeDef(TypedDict):
kmsKeyId: NotRequired[str],
logging: NotRequired[ExecuteCommandLoggingType], # (1)
logConfiguration: NotRequired[ExecuteCommandLogConfigurationTypeDef], # (2)
ExecuteCommandResponseTypeDef#
# ExecuteCommandResponseTypeDef definition
class ExecuteCommandResponseTypeDef(TypedDict):
clusterArn: str,
containerArn: str,
containerName: str,
interactive: bool,
session: SessionTypeDef, # (1)
taskArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
FSxWindowsFileServerVolumeConfigurationTypeDef#
# FSxWindowsFileServerVolumeConfigurationTypeDef definition
class FSxWindowsFileServerVolumeConfigurationTypeDef(TypedDict):
fileSystemId: str,
rootDirectory: str,
authorizationConfig: FSxWindowsFileServerAuthorizationConfigTypeDef, # (1)
GetTaskProtectionResponseTypeDef#
# GetTaskProtectionResponseTypeDef definition
class GetTaskProtectionResponseTypeDef(TypedDict):
protectedTasks: List[ProtectedTaskTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
UpdateTaskProtectionResponseTypeDef#
# UpdateTaskProtectionResponseTypeDef definition
class UpdateTaskProtectionResponseTypeDef(TypedDict):
protectedTasks: List[ProtectedTaskTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
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],
ListAccountSettingsRequestListAccountSettingsPaginateTypeDef#
# ListAccountSettingsRequestListAccountSettingsPaginateTypeDef definition
class ListAccountSettingsRequestListAccountSettingsPaginateTypeDef(TypedDict):
name: NotRequired[SettingNameType], # (1)
value: NotRequired[str],
principalArn: NotRequired[str],
effectiveSettings: NotRequired[bool],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListAttributesRequestListAttributesPaginateTypeDef#
# ListAttributesRequestListAttributesPaginateTypeDef definition
class ListAttributesRequestListAttributesPaginateTypeDef(TypedDict):
targetType: TargetTypeType, # (1)
cluster: NotRequired[str],
attributeName: NotRequired[str],
attributeValue: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
- See TargetTypeType
- See PaginatorConfigTypeDef
ListClustersRequestListClustersPaginateTypeDef#
# ListClustersRequestListClustersPaginateTypeDef definition
class ListClustersRequestListClustersPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListContainerInstancesRequestListContainerInstancesPaginateTypeDef#
# ListContainerInstancesRequestListContainerInstancesPaginateTypeDef definition
class ListContainerInstancesRequestListContainerInstancesPaginateTypeDef(TypedDict):
cluster: NotRequired[str],
filter: NotRequired[str],
status: NotRequired[ContainerInstanceStatusType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListServicesByNamespaceRequestListServicesByNamespacePaginateTypeDef#
# ListServicesByNamespaceRequestListServicesByNamespacePaginateTypeDef definition
class ListServicesByNamespaceRequestListServicesByNamespacePaginateTypeDef(TypedDict):
namespace: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListServicesRequestListServicesPaginateTypeDef#
# ListServicesRequestListServicesPaginateTypeDef definition
class ListServicesRequestListServicesPaginateTypeDef(TypedDict):
cluster: NotRequired[str],
launchType: NotRequired[LaunchTypeType], # (1)
schedulingStrategy: NotRequired[SchedulingStrategyType], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
ListTaskDefinitionFamiliesRequestListTaskDefinitionFamiliesPaginateTypeDef#
# ListTaskDefinitionFamiliesRequestListTaskDefinitionFamiliesPaginateTypeDef definition
class ListTaskDefinitionFamiliesRequestListTaskDefinitionFamiliesPaginateTypeDef(TypedDict):
familyPrefix: NotRequired[str],
status: NotRequired[TaskDefinitionFamilyStatusType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListTaskDefinitionsRequestListTaskDefinitionsPaginateTypeDef#
# ListTaskDefinitionsRequestListTaskDefinitionsPaginateTypeDef definition
class ListTaskDefinitionsRequestListTaskDefinitionsPaginateTypeDef(TypedDict):
familyPrefix: NotRequired[str],
status: NotRequired[TaskDefinitionStatusType], # (1)
sort: NotRequired[SortOrderType], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
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)
- See DesiredStatusType
- See LaunchTypeType
- See PaginatorConfigTypeDef
ListServiceDeploymentsResponseTypeDef#
# ListServiceDeploymentsResponseTypeDef definition
class ListServiceDeploymentsResponseTypeDef(TypedDict):
serviceDeployments: List[ServiceDeploymentBriefTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ServiceConnectTlsConfigurationTypeDef#
# ServiceConnectTlsConfigurationTypeDef definition
class ServiceConnectTlsConfigurationTypeDef(TypedDict):
issuerCertificateAuthority: ServiceConnectTlsCertificateAuthorityTypeDef, # (1)
kmsKey: NotRequired[str],
roleArn: NotRequired[str],
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)
- See CapacityProviderStatusType
- See AutoScalingGroupProviderTypeDef
- See CapacityProviderUpdateStatusType
- See TagTypeDef
CreateCapacityProviderRequestRequestTypeDef#
# CreateCapacityProviderRequestRequestTypeDef definition
class CreateCapacityProviderRequestRequestTypeDef(TypedDict):
name: str,
autoScalingGroupProvider: AutoScalingGroupProviderTypeDef, # (1)
tags: NotRequired[Sequence[TagTypeDef]], # (2)
UpdateCapacityProviderRequestRequestTypeDef#
# UpdateCapacityProviderRequestRequestTypeDef definition
class UpdateCapacityProviderRequestRequestTypeDef(TypedDict):
name: str,
autoScalingGroupProvider: AutoScalingGroupProviderUpdateTypeDef, # (1)
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)
- See LaunchTypeType
- See CapacityProviderStrategyItemTypeDef
- See NetworkConfigurationOutputTypeDef
- See LoadBalancerTypeDef
- See ServiceRegistryTypeDef
- See ScaleTypeDef
- See StabilityStatusType
- See TagTypeDef
- See DeploymentEphemeralStorageTypeDef
NetworkConfigurationTypeDef#
# NetworkConfigurationTypeDef definition
class NetworkConfigurationTypeDef(TypedDict):
awsvpcConfiguration: NotRequired[AwsVpcConfigurationUnionTypeDef], # (1)
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)
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)
- See ContainerOverrideOutputTypeDef
- See InferenceAcceleratorOverrideTypeDef
- 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)
- See VersionInfoTypeDef
- See ResourceOutputTypeDef
- See ResourceOutputTypeDef
- See AgentUpdateStatusType
- See AttributeTypeDef
- See AttachmentTypeDef
- See TagTypeDef
- 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],
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],
DeploymentConfigurationTypeDef#
# DeploymentConfigurationTypeDef definition
class DeploymentConfigurationTypeDef(TypedDict):
deploymentCircuitBreaker: NotRequired[DeploymentCircuitBreakerTypeDef], # (1)
maximumPercent: NotRequired[int],
minimumHealthyPercent: NotRequired[int],
alarms: NotRequired[DeploymentAlarmsUnionTypeDef], # (2)
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)
- See ServiceRevisionSummaryTypeDef
- See ServiceRevisionSummaryTypeDef
- See ServiceDeploymentStatusType
- See DeploymentConfigurationOutputTypeDef
- See RollbackTypeDef
- See ServiceDeploymentCircuitBreakerTypeDef
- See ServiceDeploymentAlarmsTypeDef
ClusterConfigurationTypeDef#
# ClusterConfigurationTypeDef definition
class ClusterConfigurationTypeDef(TypedDict):
executeCommandConfiguration: NotRequired[ExecuteCommandConfigurationTypeDef], # (1)
managedStorageConfiguration: NotRequired[ManagedStorageConfigurationTypeDef], # (2)
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],
- See HostVolumePropertiesTypeDef
- See DockerVolumeConfigurationOutputTypeDef
- See EFSVolumeConfigurationTypeDef
- 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],
- See HostVolumePropertiesTypeDef
- See DockerVolumeConfigurationTypeDef DockerVolumeConfigurationOutputTypeDef
- See EFSVolumeConfigurationTypeDef
- 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]],
- See RepositoryCredentialsTypeDef
- See PortMappingTypeDef
- See ContainerRestartPolicyOutputTypeDef
- See KeyValuePairTypeDef
- See EnvironmentFileTypeDef
- See MountPointTypeDef
- See VolumeFromTypeDef
- See LinuxParametersOutputTypeDef
- See SecretTypeDef
- See ContainerDependencyTypeDef
- See VersionConsistencyType
- See HostEntryTypeDef
- See UlimitTypeDef
- See LogConfigurationOutputTypeDef
- See HealthCheckOutputTypeDef
- See SystemControlTypeDef
- See ResourceRequirementTypeDef
- 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)
- See ResourceTypeDef ResourceOutputTypeDef
- See VersionInfoTypeDef
- See AttributeTypeDef
- See PlatformDeviceTypeDef
- 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)
- See ServiceConnectClientAliasTypeDef
- See TimeoutConfigurationTypeDef
- 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)
- See ServiceConnectClientAliasTypeDef
- See TimeoutConfigurationTypeDef
- 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],
- See KernelCapabilitiesTypeDef KernelCapabilitiesOutputTypeDef
- See DeviceTypeDef DeviceOutputTypeDef
- See TmpfsTypeDef TmpfsOutputTypeDef
CreateCapacityProviderResponseTypeDef#
# CreateCapacityProviderResponseTypeDef definition
class CreateCapacityProviderResponseTypeDef(TypedDict):
capacityProvider: CapacityProviderTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteCapacityProviderResponseTypeDef#
# DeleteCapacityProviderResponseTypeDef definition
class DeleteCapacityProviderResponseTypeDef(TypedDict):
capacityProvider: CapacityProviderTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeCapacityProvidersResponseTypeDef#
# DescribeCapacityProvidersResponseTypeDef definition
class DescribeCapacityProvidersResponseTypeDef(TypedDict):
capacityProviders: List[CapacityProviderTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
nextToken: NotRequired[str],
UpdateCapacityProviderResponseTypeDef#
# UpdateCapacityProviderResponseTypeDef definition
class UpdateCapacityProviderResponseTypeDef(TypedDict):
capacityProvider: CapacityProviderTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateTaskSetResponseTypeDef#
# CreateTaskSetResponseTypeDef definition
class CreateTaskSetResponseTypeDef(TypedDict):
taskSet: TaskSetTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteTaskSetResponseTypeDef#
# DeleteTaskSetResponseTypeDef definition
class DeleteTaskSetResponseTypeDef(TypedDict):
taskSet: TaskSetTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeTaskSetsResponseTypeDef#
# DescribeTaskSetsResponseTypeDef definition
class DescribeTaskSetsResponseTypeDef(TypedDict):
taskSets: List[TaskSetTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See TaskSetTypeDef
- See FailureTypeDef
- See ResponseMetadataTypeDef
UpdateServicePrimaryTaskSetResponseTypeDef#
# UpdateServicePrimaryTaskSetResponseTypeDef definition
class UpdateServicePrimaryTaskSetResponseTypeDef(TypedDict):
taskSet: TaskSetTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateTaskSetResponseTypeDef#
# UpdateTaskSetResponseTypeDef definition
class UpdateTaskSetResponseTypeDef(TypedDict):
taskSet: TaskSetTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
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)
- See NetworkConfigurationTypeDef
- See LoadBalancerTypeDef
- See ServiceRegistryTypeDef
- See LaunchTypeType
- See CapacityProviderStrategyItemTypeDef
- See ScaleTypeDef
- See TagTypeDef
ServiceVolumeConfigurationOutputTypeDef#
# ServiceVolumeConfigurationOutputTypeDef definition
class ServiceVolumeConfigurationOutputTypeDef(TypedDict):
name: str,
managedEBSVolume: NotRequired[ServiceManagedEBSVolumeConfigurationOutputTypeDef], # (1)
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)
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)
- See EBSTagSpecificationTypeDef EBSTagSpecificationOutputTypeDef
- See TaskManagedEBSVolumeTerminationPolicyTypeDef
- 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)
- See AttachmentTypeDef
- See AttributeTypeDef
- See ConnectivityType
- See ContainerTypeDef
- See HealthStatusType
- See InferenceAcceleratorTypeDef
- See LaunchTypeType
- See TaskOverrideOutputTypeDef
- See TaskStopCodeType
- See TagTypeDef
- See EphemeralStorageTypeDef
- 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)
- See ContainerOverrideTypeDef ContainerOverrideOutputTypeDef
- See InferenceAcceleratorOverrideTypeDef
- See EphemeralStorageTypeDef
DeregisterContainerInstanceResponseTypeDef#
# DeregisterContainerInstanceResponseTypeDef definition
class DeregisterContainerInstanceResponseTypeDef(TypedDict):
containerInstance: ContainerInstanceTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeContainerInstancesResponseTypeDef#
# DescribeContainerInstancesResponseTypeDef definition
class DescribeContainerInstancesResponseTypeDef(TypedDict):
containerInstances: List[ContainerInstanceTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
RegisterContainerInstanceResponseTypeDef#
# RegisterContainerInstanceResponseTypeDef definition
class RegisterContainerInstanceResponseTypeDef(TypedDict):
containerInstance: ContainerInstanceTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateContainerAgentResponseTypeDef#
# UpdateContainerAgentResponseTypeDef definition
class UpdateContainerAgentResponseTypeDef(TypedDict):
containerInstance: ContainerInstanceTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateContainerInstancesStateResponseTypeDef#
# UpdateContainerInstancesStateResponseTypeDef definition
class UpdateContainerInstancesStateResponseTypeDef(TypedDict):
containerInstances: List[ContainerInstanceTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
DescribeServiceDeploymentsResponseTypeDef#
# DescribeServiceDeploymentsResponseTypeDef definition
class DescribeServiceDeploymentsResponseTypeDef(TypedDict):
serviceDeployments: List[ServiceDeploymentTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
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)
- See ClusterConfigurationTypeDef
- See KeyValuePairTypeDef
- See TagTypeDef
- See ClusterSettingTypeDef
- See CapacityProviderStrategyItemTypeDef
- See AttachmentTypeDef
- 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)
- See TagTypeDef
- See ClusterSettingTypeDef
- See ClusterConfigurationTypeDef
- See CapacityProviderStrategyItemTypeDef
- See ClusterServiceConnectDefaultsRequestTypeDef
UpdateClusterRequestRequestTypeDef#
# UpdateClusterRequestRequestTypeDef definition
class UpdateClusterRequestRequestTypeDef(TypedDict):
cluster: str,
settings: NotRequired[Sequence[ClusterSettingTypeDef]], # (1)
configuration: NotRequired[ClusterConfigurationTypeDef], # (2)
serviceConnectDefaults: NotRequired[ClusterServiceConnectDefaultsRequestTypeDef], # (3)
- See ClusterSettingTypeDef
- See ClusterConfigurationTypeDef
- 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)
- See ContainerDefinitionOutputTypeDef
- See NetworkModeType
- See VolumeOutputTypeDef
- See TaskDefinitionStatusType
- See AttributeTypeDef
- See TaskDefinitionPlacementConstraintTypeDef
- See CompatibilityType
- See RuntimePlatformTypeDef
- See CompatibilityType
- See InferenceAcceleratorTypeDef
- See PidModeType
- See IpcModeType
- See ProxyConfigurationOutputTypeDef
- See EphemeralStorageTypeDef
ServiceConnectConfigurationOutputTypeDef#
# ServiceConnectConfigurationOutputTypeDef definition
class ServiceConnectConfigurationOutputTypeDef(TypedDict):
enabled: bool,
namespace: NotRequired[str],
services: NotRequired[List[ServiceConnectServiceOutputTypeDef]], # (1)
logConfiguration: NotRequired[LogConfigurationOutputTypeDef], # (2)
TaskVolumeConfigurationTypeDef#
# TaskVolumeConfigurationTypeDef definition
class TaskVolumeConfigurationTypeDef(TypedDict):
name: str,
managedEBSVolume: NotRequired[TaskManagedEBSVolumeConfigurationTypeDef], # (1)
DescribeTasksResponseTypeDef#
# DescribeTasksResponseTypeDef definition
class DescribeTasksResponseTypeDef(TypedDict):
tasks: List[TaskTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See TaskTypeDef
- See FailureTypeDef
- See ResponseMetadataTypeDef
RunTaskResponseTypeDef#
# RunTaskResponseTypeDef definition
class RunTaskResponseTypeDef(TypedDict):
tasks: List[TaskTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See TaskTypeDef
- See FailureTypeDef
- See ResponseMetadataTypeDef
StartTaskResponseTypeDef#
# StartTaskResponseTypeDef definition
class StartTaskResponseTypeDef(TypedDict):
tasks: List[TaskTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See TaskTypeDef
- See FailureTypeDef
- See ResponseMetadataTypeDef
StopTaskResponseTypeDef#
# StopTaskResponseTypeDef definition
class StopTaskResponseTypeDef(TypedDict):
task: TaskTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TaskTypeDef
- See ResponseMetadataTypeDef
CreateClusterResponseTypeDef#
# CreateClusterResponseTypeDef definition
class CreateClusterResponseTypeDef(TypedDict):
cluster: ClusterTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteClusterResponseTypeDef#
# DeleteClusterResponseTypeDef definition
class DeleteClusterResponseTypeDef(TypedDict):
cluster: ClusterTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeClustersResponseTypeDef#
# DescribeClustersResponseTypeDef definition
class DescribeClustersResponseTypeDef(TypedDict):
clusters: List[ClusterTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See ClusterTypeDef
- See FailureTypeDef
- See ResponseMetadataTypeDef
PutClusterCapacityProvidersResponseTypeDef#
# PutClusterCapacityProvidersResponseTypeDef definition
class PutClusterCapacityProvidersResponseTypeDef(TypedDict):
cluster: ClusterTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateClusterResponseTypeDef#
# UpdateClusterResponseTypeDef definition
class UpdateClusterResponseTypeDef(TypedDict):
cluster: ClusterTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateClusterSettingsResponseTypeDef#
# UpdateClusterSettingsResponseTypeDef definition
class UpdateClusterSettingsResponseTypeDef(TypedDict):
cluster: ClusterTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteTaskDefinitionsResponseTypeDef#
# DeleteTaskDefinitionsResponseTypeDef definition
class DeleteTaskDefinitionsResponseTypeDef(TypedDict):
taskDefinitions: List[TaskDefinitionTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
DeregisterTaskDefinitionResponseTypeDef#
# DeregisterTaskDefinitionResponseTypeDef definition
class DeregisterTaskDefinitionResponseTypeDef(TypedDict):
taskDefinition: TaskDefinitionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeTaskDefinitionResponseTypeDef#
# DescribeTaskDefinitionResponseTypeDef definition
class DescribeTaskDefinitionResponseTypeDef(TypedDict):
taskDefinition: TaskDefinitionTypeDef, # (1)
tags: List[TagTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See TaskDefinitionTypeDef
- See TagTypeDef
- See ResponseMetadataTypeDef
RegisterTaskDefinitionResponseTypeDef#
# RegisterTaskDefinitionResponseTypeDef definition
class RegisterTaskDefinitionResponseTypeDef(TypedDict):
taskDefinition: TaskDefinitionTypeDef, # (1)
tags: List[TagTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See TaskDefinitionTypeDef
- See TagTypeDef
- 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)
- See CapacityProviderStrategyItemTypeDef
- See LaunchTypeType
- See NetworkConfigurationOutputTypeDef
- See DeploymentRolloutStateType
- See ServiceConnectConfigurationOutputTypeDef
- See ServiceConnectServiceResourceTypeDef
- See ServiceVolumeConfigurationOutputTypeDef
- See DeploymentEphemeralStorageTypeDef
- 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)
- See CapacityProviderStrategyItemTypeDef
- See LaunchTypeType
- See LoadBalancerTypeDef
- See ServiceRegistryTypeDef
- See NetworkConfigurationOutputTypeDef
- See ContainerImageTypeDef
- See ServiceConnectConfigurationOutputTypeDef
- See ServiceVolumeConfigurationOutputTypeDef
- See DeploymentEphemeralStorageTypeDef
- See VpcLatticeConfigurationTypeDef
ServiceConnectConfigurationTypeDef#
# ServiceConnectConfigurationTypeDef definition
class ServiceConnectConfigurationTypeDef(TypedDict):
enabled: bool,
namespace: NotRequired[str],
services: NotRequired[Sequence[ServiceConnectServiceUnionTypeDef]], # (1)
logConfiguration: NotRequired[LogConfigurationUnionTypeDef], # (2)
- See ServiceConnectServiceTypeDef ServiceConnectServiceOutputTypeDef
- 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]],
- See RepositoryCredentialsTypeDef
- See PortMappingTypeDef
- See ContainerRestartPolicyTypeDef ContainerRestartPolicyOutputTypeDef
- See KeyValuePairTypeDef
- See EnvironmentFileTypeDef
- See MountPointTypeDef
- See VolumeFromTypeDef
- See LinuxParametersTypeDef LinuxParametersOutputTypeDef
- See SecretTypeDef
- See ContainerDependencyTypeDef
- See VersionConsistencyType
- See HostEntryTypeDef
- See UlimitTypeDef
- See LogConfigurationTypeDef LogConfigurationOutputTypeDef
- See HealthCheckTypeDef HealthCheckOutputTypeDef
- See SystemControlTypeDef
- See ResourceRequirementTypeDef
- See FirelensConfigurationTypeDef FirelensConfigurationOutputTypeDef
ServiceVolumeConfigurationTypeDef#
# ServiceVolumeConfigurationTypeDef definition
class ServiceVolumeConfigurationTypeDef(TypedDict):
name: str,
managedEBSVolume: NotRequired[ServiceManagedEBSVolumeConfigurationUnionTypeDef], # (1)
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)
- See CapacityProviderStrategyItemTypeDef
- See LaunchTypeType
- See NetworkConfigurationTypeDef
- See TaskOverrideTypeDef
- See PlacementConstraintTypeDef
- See PlacementStrategyTypeDef
- See PropagateTagsType
- See TagTypeDef
- 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)
- See NetworkConfigurationTypeDef
- See TaskOverrideTypeDef
- See PropagateTagsType
- See TagTypeDef
- 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)
- See LoadBalancerTypeDef
- See ServiceRegistryTypeDef
- See LaunchTypeType
- See CapacityProviderStrategyItemTypeDef
- See DeploymentConfigurationOutputTypeDef
- See TaskSetTypeDef
- See DeploymentTypeDef
- See ServiceEventTypeDef
- See PlacementConstraintTypeDef
- See PlacementStrategyTypeDef
- See NetworkConfigurationOutputTypeDef
- See SchedulingStrategyType
- See DeploymentControllerTypeDef
- See TagTypeDef
- See PropagateTagsType
- See AvailabilityZoneRebalancingType
DescribeServiceRevisionsResponseTypeDef#
# DescribeServiceRevisionsResponseTypeDef definition
class DescribeServiceRevisionsResponseTypeDef(TypedDict):
serviceRevisions: List[ServiceRevisionTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
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)
- See CapacityProviderStrategyItemTypeDef
- See DeploymentConfigurationTypeDef
- See AvailabilityZoneRebalancingType
- See NetworkConfigurationTypeDef
- See PlacementConstraintTypeDef
- See PlacementStrategyTypeDef
- See LoadBalancerTypeDef
- See PropagateTagsType
- See ServiceRegistryTypeDef
- See ServiceConnectConfigurationTypeDef
- See ServiceVolumeConfigurationTypeDef
- See VpcLatticeConfigurationTypeDef
CreateServiceResponseTypeDef#
# CreateServiceResponseTypeDef definition
class CreateServiceResponseTypeDef(TypedDict):
service: ServiceTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteServiceResponseTypeDef#
# DeleteServiceResponseTypeDef definition
class DeleteServiceResponseTypeDef(TypedDict):
service: ServiceTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeServicesResponseTypeDef#
# DescribeServicesResponseTypeDef definition
class DescribeServicesResponseTypeDef(TypedDict):
services: List[ServiceTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See ServiceTypeDef
- See FailureTypeDef
- See ResponseMetadataTypeDef
UpdateServiceResponseTypeDef#
# UpdateServiceResponseTypeDef definition
class UpdateServiceResponseTypeDef(TypedDict):
service: ServiceTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
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)
- See ContainerDefinitionTypeDef ContainerDefinitionOutputTypeDef
- See NetworkModeType
- See VolumeTypeDef VolumeOutputTypeDef
- See TaskDefinitionPlacementConstraintTypeDef
- See CompatibilityType
- See TagTypeDef
- See PidModeType
- See IpcModeType
- See ProxyConfigurationTypeDef
- See InferenceAcceleratorTypeDef
- See EphemeralStorageTypeDef
- 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)
- See AvailabilityZoneRebalancingType
- See LoadBalancerTypeDef
- See ServiceRegistryTypeDef
- See LaunchTypeType
- See CapacityProviderStrategyItemTypeDef
- See DeploymentConfigurationTypeDef
- See PlacementConstraintTypeDef
- See PlacementStrategyTypeDef
- See NetworkConfigurationTypeDef
- See SchedulingStrategyType
- See DeploymentControllerTypeDef
- See TagTypeDef
- See PropagateTagsType
- See ServiceConnectConfigurationTypeDef
- See ServiceVolumeConfigurationTypeDef ServiceVolumeConfigurationOutputTypeDef
- See VpcLatticeConfigurationTypeDef