Skip to content

Literals#

Index > ECS > Literals

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

AgentUpdateStatusType#

# AgentUpdateStatusType usage example

from mypy_boto3_ecs.literals import AgentUpdateStatusType

def get_value() -> AgentUpdateStatusType:
    return "FAILED"
# AgentUpdateStatusType definition

AgentUpdateStatusType = Literal[
    "FAILED",
    "PENDING",
    "STAGED",
    "STAGING",
    "UPDATED",
    "UPDATING",
]

ApplicationProtocolType#

# ApplicationProtocolType usage example

from mypy_boto3_ecs.literals import ApplicationProtocolType

def get_value() -> ApplicationProtocolType:
    return "grpc"
# ApplicationProtocolType definition

ApplicationProtocolType = Literal[
    "grpc",
    "http",
    "http2",
]

AssignPublicIpType#

# AssignPublicIpType usage example

from mypy_boto3_ecs.literals import AssignPublicIpType

def get_value() -> AssignPublicIpType:
    return "DISABLED"
# AssignPublicIpType definition

AssignPublicIpType = Literal[
    "DISABLED",
    "ENABLED",
]

AvailabilityZoneRebalancingType#

# AvailabilityZoneRebalancingType usage example

from mypy_boto3_ecs.literals import AvailabilityZoneRebalancingType

def get_value() -> AvailabilityZoneRebalancingType:
    return "DISABLED"
# AvailabilityZoneRebalancingType definition

AvailabilityZoneRebalancingType = Literal[
    "DISABLED",
    "ENABLED",
]

CPUArchitectureType#

# CPUArchitectureType usage example

from mypy_boto3_ecs.literals import CPUArchitectureType

def get_value() -> CPUArchitectureType:
    return "ARM64"
# CPUArchitectureType definition

CPUArchitectureType = Literal[
    "ARM64",
    "X86_64",
]

CapacityProviderFieldType#

# CapacityProviderFieldType usage example

from mypy_boto3_ecs.literals import CapacityProviderFieldType

def get_value() -> CapacityProviderFieldType:
    return "TAGS"
# CapacityProviderFieldType definition

CapacityProviderFieldType = Literal[
    "TAGS",
]

CapacityProviderStatusType#

# CapacityProviderStatusType usage example

from mypy_boto3_ecs.literals import CapacityProviderStatusType

def get_value() -> CapacityProviderStatusType:
    return "ACTIVE"
# CapacityProviderStatusType definition

CapacityProviderStatusType = Literal[
    "ACTIVE",
    "INACTIVE",
]

CapacityProviderUpdateStatusType#

# CapacityProviderUpdateStatusType usage example

from mypy_boto3_ecs.literals import CapacityProviderUpdateStatusType

def get_value() -> CapacityProviderUpdateStatusType:
    return "DELETE_COMPLETE"
# CapacityProviderUpdateStatusType definition

CapacityProviderUpdateStatusType = Literal[
    "DELETE_COMPLETE",
    "DELETE_FAILED",
    "DELETE_IN_PROGRESS",
    "UPDATE_COMPLETE",
    "UPDATE_FAILED",
    "UPDATE_IN_PROGRESS",
]

ClusterFieldType#

# ClusterFieldType usage example

from mypy_boto3_ecs.literals import ClusterFieldType

def get_value() -> ClusterFieldType:
    return "ATTACHMENTS"
# ClusterFieldType definition

ClusterFieldType = Literal[
    "ATTACHMENTS",
    "CONFIGURATIONS",
    "SETTINGS",
    "STATISTICS",
    "TAGS",
]

ClusterSettingNameType#

# ClusterSettingNameType usage example

from mypy_boto3_ecs.literals import ClusterSettingNameType

def get_value() -> ClusterSettingNameType:
    return "containerInsights"
# ClusterSettingNameType definition

ClusterSettingNameType = Literal[
    "containerInsights",
]

CompatibilityType#

# CompatibilityType usage example

from mypy_boto3_ecs.literals import CompatibilityType

def get_value() -> CompatibilityType:
    return "EC2"
# CompatibilityType definition

CompatibilityType = Literal[
    "EC2",
    "EXTERNAL",
    "FARGATE",
]

ConnectivityType#

# ConnectivityType usage example

from mypy_boto3_ecs.literals import ConnectivityType

def get_value() -> ConnectivityType:
    return "CONNECTED"
# ConnectivityType definition

ConnectivityType = Literal[
    "CONNECTED",
    "DISCONNECTED",
]

ContainerConditionType#

# ContainerConditionType usage example

from mypy_boto3_ecs.literals import ContainerConditionType

def get_value() -> ContainerConditionType:
    return "COMPLETE"
# ContainerConditionType definition

ContainerConditionType = Literal[
    "COMPLETE",
    "HEALTHY",
    "START",
    "SUCCESS",
]

ContainerInstanceFieldType#

# ContainerInstanceFieldType usage example

from mypy_boto3_ecs.literals import ContainerInstanceFieldType

def get_value() -> ContainerInstanceFieldType:
    return "CONTAINER_INSTANCE_HEALTH"
# ContainerInstanceFieldType definition

ContainerInstanceFieldType = Literal[
    "CONTAINER_INSTANCE_HEALTH",
    "TAGS",
]

ContainerInstanceStatusType#

# ContainerInstanceStatusType usage example

from mypy_boto3_ecs.literals import ContainerInstanceStatusType

def get_value() -> ContainerInstanceStatusType:
    return "ACTIVE"
# ContainerInstanceStatusType definition

ContainerInstanceStatusType = Literal[
    "ACTIVE",
    "DEREGISTERING",
    "DRAINING",
    "REGISTERING",
    "REGISTRATION_FAILED",
]

DeploymentControllerTypeType#

# DeploymentControllerTypeType usage example

from mypy_boto3_ecs.literals import DeploymentControllerTypeType

def get_value() -> DeploymentControllerTypeType:
    return "CODE_DEPLOY"
# DeploymentControllerTypeType definition

DeploymentControllerTypeType = Literal[
    "CODE_DEPLOY",
    "ECS",
    "EXTERNAL",
]

DeploymentRolloutStateType#

# DeploymentRolloutStateType usage example

from mypy_boto3_ecs.literals import DeploymentRolloutStateType

def get_value() -> DeploymentRolloutStateType:
    return "COMPLETED"
# DeploymentRolloutStateType definition

DeploymentRolloutStateType = Literal[
    "COMPLETED",
    "FAILED",
    "IN_PROGRESS",
]

DesiredStatusType#

# DesiredStatusType usage example

from mypy_boto3_ecs.literals import DesiredStatusType

def get_value() -> DesiredStatusType:
    return "PENDING"
# DesiredStatusType definition

DesiredStatusType = Literal[
    "PENDING",
    "RUNNING",
    "STOPPED",
]

DeviceCgroupPermissionType#

# DeviceCgroupPermissionType usage example

from mypy_boto3_ecs.literals import DeviceCgroupPermissionType

def get_value() -> DeviceCgroupPermissionType:
    return "mknod"
# DeviceCgroupPermissionType definition

DeviceCgroupPermissionType = Literal[
    "mknod",
    "read",
    "write",
]

EBSResourceTypeType#

# EBSResourceTypeType usage example

from mypy_boto3_ecs.literals import EBSResourceTypeType

def get_value() -> EBSResourceTypeType:
    return "volume"
# EBSResourceTypeType definition

EBSResourceTypeType = Literal[
    "volume",
]

EFSAuthorizationConfigIAMType#

# EFSAuthorizationConfigIAMType usage example

from mypy_boto3_ecs.literals import EFSAuthorizationConfigIAMType

def get_value() -> EFSAuthorizationConfigIAMType:
    return "DISABLED"
# EFSAuthorizationConfigIAMType definition

EFSAuthorizationConfigIAMType = Literal[
    "DISABLED",
    "ENABLED",
]

EFSTransitEncryptionType#

# EFSTransitEncryptionType usage example

from mypy_boto3_ecs.literals import EFSTransitEncryptionType

def get_value() -> EFSTransitEncryptionType:
    return "DISABLED"
# EFSTransitEncryptionType definition

EFSTransitEncryptionType = Literal[
    "DISABLED",
    "ENABLED",
]

EnvironmentFileTypeType#

# EnvironmentFileTypeType usage example

from mypy_boto3_ecs.literals import EnvironmentFileTypeType

def get_value() -> EnvironmentFileTypeType:
    return "s3"
# EnvironmentFileTypeType definition

EnvironmentFileTypeType = Literal[
    "s3",
]

ExecuteCommandLoggingType#

# ExecuteCommandLoggingType usage example

from mypy_boto3_ecs.literals import ExecuteCommandLoggingType

def get_value() -> ExecuteCommandLoggingType:
    return "DEFAULT"
# ExecuteCommandLoggingType definition

ExecuteCommandLoggingType = Literal[
    "DEFAULT",
    "NONE",
    "OVERRIDE",
]

FirelensConfigurationTypeType#

# FirelensConfigurationTypeType usage example

from mypy_boto3_ecs.literals import FirelensConfigurationTypeType

def get_value() -> FirelensConfigurationTypeType:
    return "fluentbit"
# FirelensConfigurationTypeType definition

FirelensConfigurationTypeType = Literal[
    "fluentbit",
    "fluentd",
]

HealthStatusType#

# HealthStatusType usage example

from mypy_boto3_ecs.literals import HealthStatusType

def get_value() -> HealthStatusType:
    return "HEALTHY"
# HealthStatusType definition

HealthStatusType = Literal[
    "HEALTHY",
    "UNHEALTHY",
    "UNKNOWN",
]

InstanceHealthCheckStateType#

# InstanceHealthCheckStateType usage example

from mypy_boto3_ecs.literals import InstanceHealthCheckStateType

def get_value() -> InstanceHealthCheckStateType:
    return "IMPAIRED"
# InstanceHealthCheckStateType definition

InstanceHealthCheckStateType = Literal[
    "IMPAIRED",
    "INITIALIZING",
    "INSUFFICIENT_DATA",
    "OK",
]

InstanceHealthCheckTypeType#

# InstanceHealthCheckTypeType usage example

from mypy_boto3_ecs.literals import InstanceHealthCheckTypeType

def get_value() -> InstanceHealthCheckTypeType:
    return "CONTAINER_RUNTIME"
# InstanceHealthCheckTypeType definition

InstanceHealthCheckTypeType = Literal[
    "CONTAINER_RUNTIME",
]

IpcModeType#

# IpcModeType usage example

from mypy_boto3_ecs.literals import IpcModeType

def get_value() -> IpcModeType:
    return "host"
# IpcModeType definition

IpcModeType = Literal[
    "host",
    "none",
    "task",
]

LaunchTypeType#

# LaunchTypeType usage example

from mypy_boto3_ecs.literals import LaunchTypeType

def get_value() -> LaunchTypeType:
    return "EC2"
# LaunchTypeType definition

LaunchTypeType = Literal[
    "EC2",
    "EXTERNAL",
    "FARGATE",
]

ListAccountSettingsPaginatorName#

# ListAccountSettingsPaginatorName usage example

from mypy_boto3_ecs.literals import ListAccountSettingsPaginatorName

def get_value() -> ListAccountSettingsPaginatorName:
    return "list_account_settings"
# ListAccountSettingsPaginatorName definition

ListAccountSettingsPaginatorName = Literal[
    "list_account_settings",
]

ListAttributesPaginatorName#

# ListAttributesPaginatorName usage example

from mypy_boto3_ecs.literals import ListAttributesPaginatorName

def get_value() -> ListAttributesPaginatorName:
    return "list_attributes"
# ListAttributesPaginatorName definition

ListAttributesPaginatorName = Literal[
    "list_attributes",
]

ListClustersPaginatorName#

# ListClustersPaginatorName usage example

from mypy_boto3_ecs.literals import ListClustersPaginatorName

def get_value() -> ListClustersPaginatorName:
    return "list_clusters"
# ListClustersPaginatorName definition

ListClustersPaginatorName = Literal[
    "list_clusters",
]

ListContainerInstancesPaginatorName#

# ListContainerInstancesPaginatorName usage example

from mypy_boto3_ecs.literals import ListContainerInstancesPaginatorName

def get_value() -> ListContainerInstancesPaginatorName:
    return "list_container_instances"
# ListContainerInstancesPaginatorName definition

ListContainerInstancesPaginatorName = Literal[
    "list_container_instances",
]

ListServicesByNamespacePaginatorName#

# ListServicesByNamespacePaginatorName usage example

from mypy_boto3_ecs.literals import ListServicesByNamespacePaginatorName

def get_value() -> ListServicesByNamespacePaginatorName:
    return "list_services_by_namespace"
# ListServicesByNamespacePaginatorName definition

ListServicesByNamespacePaginatorName = Literal[
    "list_services_by_namespace",
]

ListServicesPaginatorName#

# ListServicesPaginatorName usage example

from mypy_boto3_ecs.literals import ListServicesPaginatorName

def get_value() -> ListServicesPaginatorName:
    return "list_services"
# ListServicesPaginatorName definition

ListServicesPaginatorName = Literal[
    "list_services",
]

ListTaskDefinitionFamiliesPaginatorName#

# ListTaskDefinitionFamiliesPaginatorName usage example

from mypy_boto3_ecs.literals import ListTaskDefinitionFamiliesPaginatorName

def get_value() -> ListTaskDefinitionFamiliesPaginatorName:
    return "list_task_definition_families"
# ListTaskDefinitionFamiliesPaginatorName definition

ListTaskDefinitionFamiliesPaginatorName = Literal[
    "list_task_definition_families",
]

ListTaskDefinitionsPaginatorName#

# ListTaskDefinitionsPaginatorName usage example

from mypy_boto3_ecs.literals import ListTaskDefinitionsPaginatorName

def get_value() -> ListTaskDefinitionsPaginatorName:
    return "list_task_definitions"
# ListTaskDefinitionsPaginatorName definition

ListTaskDefinitionsPaginatorName = Literal[
    "list_task_definitions",
]

ListTasksPaginatorName#

# ListTasksPaginatorName usage example

from mypy_boto3_ecs.literals import ListTasksPaginatorName

def get_value() -> ListTasksPaginatorName:
    return "list_tasks"
# ListTasksPaginatorName definition

ListTasksPaginatorName = Literal[
    "list_tasks",
]

LogDriverType#

# LogDriverType usage example

from mypy_boto3_ecs.literals import LogDriverType

def get_value() -> LogDriverType:
    return "awsfirelens"
# LogDriverType definition

LogDriverType = Literal[
    "awsfirelens",
    "awslogs",
    "fluentd",
    "gelf",
    "journald",
    "json-file",
    "splunk",
    "syslog",
]

ManagedAgentNameType#

# ManagedAgentNameType usage example

from mypy_boto3_ecs.literals import ManagedAgentNameType

def get_value() -> ManagedAgentNameType:
    return "ExecuteCommandAgent"
# ManagedAgentNameType definition

ManagedAgentNameType = Literal[
    "ExecuteCommandAgent",
]

ManagedDrainingType#

# ManagedDrainingType usage example

from mypy_boto3_ecs.literals import ManagedDrainingType

def get_value() -> ManagedDrainingType:
    return "DISABLED"
# ManagedDrainingType definition

ManagedDrainingType = Literal[
    "DISABLED",
    "ENABLED",
]

ManagedScalingStatusType#

# ManagedScalingStatusType usage example

from mypy_boto3_ecs.literals import ManagedScalingStatusType

def get_value() -> ManagedScalingStatusType:
    return "DISABLED"
# ManagedScalingStatusType definition

ManagedScalingStatusType = Literal[
    "DISABLED",
    "ENABLED",
]

ManagedTerminationProtectionType#

# ManagedTerminationProtectionType usage example

from mypy_boto3_ecs.literals import ManagedTerminationProtectionType

def get_value() -> ManagedTerminationProtectionType:
    return "DISABLED"
# ManagedTerminationProtectionType definition

ManagedTerminationProtectionType = Literal[
    "DISABLED",
    "ENABLED",
]

NetworkModeType#

# NetworkModeType usage example

from mypy_boto3_ecs.literals import NetworkModeType

def get_value() -> NetworkModeType:
    return "awsvpc"
# NetworkModeType definition

NetworkModeType = Literal[
    "awsvpc",
    "bridge",
    "host",
    "none",
]

OSFamilyType#

# OSFamilyType usage example

from mypy_boto3_ecs.literals import OSFamilyType

def get_value() -> OSFamilyType:
    return "LINUX"
# OSFamilyType definition

OSFamilyType = Literal[
    "LINUX",
    "WINDOWS_SERVER_2004_CORE",
    "WINDOWS_SERVER_2016_FULL",
    "WINDOWS_SERVER_2019_CORE",
    "WINDOWS_SERVER_2019_FULL",
    "WINDOWS_SERVER_2022_CORE",
    "WINDOWS_SERVER_2022_FULL",
    "WINDOWS_SERVER_20H2_CORE",
]

PidModeType#

# PidModeType usage example

from mypy_boto3_ecs.literals import PidModeType

def get_value() -> PidModeType:
    return "host"
# PidModeType definition

PidModeType = Literal[
    "host",
    "task",
]

PlacementConstraintTypeType#

# PlacementConstraintTypeType usage example

from mypy_boto3_ecs.literals import PlacementConstraintTypeType

def get_value() -> PlacementConstraintTypeType:
    return "distinctInstance"
# PlacementConstraintTypeType definition

PlacementConstraintTypeType = Literal[
    "distinctInstance",
    "memberOf",
]

PlacementStrategyTypeType#

# PlacementStrategyTypeType usage example

from mypy_boto3_ecs.literals import PlacementStrategyTypeType

def get_value() -> PlacementStrategyTypeType:
    return "binpack"
# PlacementStrategyTypeType definition

PlacementStrategyTypeType = Literal[
    "binpack",
    "random",
    "spread",
]

PlatformDeviceTypeType#

# PlatformDeviceTypeType usage example

from mypy_boto3_ecs.literals import PlatformDeviceTypeType

def get_value() -> PlatformDeviceTypeType:
    return "GPU"
# PlatformDeviceTypeType definition

PlatformDeviceTypeType = Literal[
    "GPU",
]

PropagateTagsType#

# PropagateTagsType usage example

from mypy_boto3_ecs.literals import PropagateTagsType

def get_value() -> PropagateTagsType:
    return "NONE"
# PropagateTagsType definition

PropagateTagsType = Literal[
    "NONE",
    "SERVICE",
    "TASK_DEFINITION",
]

ProxyConfigurationTypeType#

# ProxyConfigurationTypeType usage example

from mypy_boto3_ecs.literals import ProxyConfigurationTypeType

def get_value() -> ProxyConfigurationTypeType:
    return "APPMESH"
# ProxyConfigurationTypeType definition

ProxyConfigurationTypeType = Literal[
    "APPMESH",
]

ResourceTypeType#

# ResourceTypeType usage example

from mypy_boto3_ecs.literals import ResourceTypeType

def get_value() -> ResourceTypeType:
    return "GPU"
# ResourceTypeType definition

ResourceTypeType = Literal[
    "GPU",
    "InferenceAccelerator",
]

ScaleUnitType#

# ScaleUnitType usage example

from mypy_boto3_ecs.literals import ScaleUnitType

def get_value() -> ScaleUnitType:
    return "PERCENT"
# ScaleUnitType definition

ScaleUnitType = Literal[
    "PERCENT",
]

SchedulingStrategyType#

# SchedulingStrategyType usage example

from mypy_boto3_ecs.literals import SchedulingStrategyType

def get_value() -> SchedulingStrategyType:
    return "DAEMON"
# SchedulingStrategyType definition

SchedulingStrategyType = Literal[
    "DAEMON",
    "REPLICA",
]

ScopeType#

# ScopeType usage example

from mypy_boto3_ecs.literals import ScopeType

def get_value() -> ScopeType:
    return "shared"
# ScopeType definition

ScopeType = Literal[
    "shared",
    "task",
]

ServiceDeploymentRollbackMonitorsStatusType#

# ServiceDeploymentRollbackMonitorsStatusType usage example

from mypy_boto3_ecs.literals import ServiceDeploymentRollbackMonitorsStatusType

def get_value() -> ServiceDeploymentRollbackMonitorsStatusType:
    return "DISABLED"
# ServiceDeploymentRollbackMonitorsStatusType definition

ServiceDeploymentRollbackMonitorsStatusType = Literal[
    "DISABLED",
    "MONITORING",
    "MONITORING_COMPLETE",
    "TRIGGERED",
]

ServiceDeploymentStatusType#

# ServiceDeploymentStatusType usage example

from mypy_boto3_ecs.literals import ServiceDeploymentStatusType

def get_value() -> ServiceDeploymentStatusType:
    return "IN_PROGRESS"
# ServiceDeploymentStatusType definition

ServiceDeploymentStatusType = Literal[
    "IN_PROGRESS",
    "PENDING",
    "ROLLBACK_FAILED",
    "ROLLBACK_IN_PROGRESS",
    "ROLLBACK_SUCCESSFUL",
    "STOP_REQUESTED",
    "STOPPED",
    "SUCCESSFUL",
]

ServiceFieldType#

# ServiceFieldType usage example

from mypy_boto3_ecs.literals import ServiceFieldType

def get_value() -> ServiceFieldType:
    return "TAGS"
# ServiceFieldType definition

ServiceFieldType = Literal[
    "TAGS",
]

ServicesInactiveWaiterName#

# ServicesInactiveWaiterName usage example

from mypy_boto3_ecs.literals import ServicesInactiveWaiterName

def get_value() -> ServicesInactiveWaiterName:
    return "services_inactive"
# ServicesInactiveWaiterName definition

ServicesInactiveWaiterName = Literal[
    "services_inactive",
]

ServicesStableWaiterName#

# ServicesStableWaiterName usage example

from mypy_boto3_ecs.literals import ServicesStableWaiterName

def get_value() -> ServicesStableWaiterName:
    return "services_stable"
# ServicesStableWaiterName definition

ServicesStableWaiterName = Literal[
    "services_stable",
]

SettingNameType#

# SettingNameType usage example

from mypy_boto3_ecs.literals import SettingNameType

def get_value() -> SettingNameType:
    return "awsvpcTrunking"
# SettingNameType definition

SettingNameType = Literal[
    "awsvpcTrunking",
    "containerInsights",
    "containerInstanceLongArnFormat",
    "fargateFIPSMode",
    "fargateTaskRetirementWaitPeriod",
    "guardDutyActivate",
    "serviceLongArnFormat",
    "tagResourceAuthorization",
    "taskLongArnFormat",
]

SettingTypeType#

# SettingTypeType usage example

from mypy_boto3_ecs.literals import SettingTypeType

def get_value() -> SettingTypeType:
    return "aws_managed"
# SettingTypeType definition

SettingTypeType = Literal[
    "aws_managed",
    "user",
]

SortOrderType#

# SortOrderType usage example

from mypy_boto3_ecs.literals import SortOrderType

def get_value() -> SortOrderType:
    return "ASC"
# SortOrderType definition

SortOrderType = Literal[
    "ASC",
    "DESC",
]

StabilityStatusType#

# StabilityStatusType usage example

from mypy_boto3_ecs.literals import StabilityStatusType

def get_value() -> StabilityStatusType:
    return "STABILIZING"
# StabilityStatusType definition

StabilityStatusType = Literal[
    "STABILIZING",
    "STEADY_STATE",
]

TargetTypeType#

# TargetTypeType usage example

from mypy_boto3_ecs.literals import TargetTypeType

def get_value() -> TargetTypeType:
    return "container-instance"
# TargetTypeType definition

TargetTypeType = Literal[
    "container-instance",
]

TaskDefinitionFamilyStatusType#

# TaskDefinitionFamilyStatusType usage example

from mypy_boto3_ecs.literals import TaskDefinitionFamilyStatusType

def get_value() -> TaskDefinitionFamilyStatusType:
    return "ACTIVE"
# TaskDefinitionFamilyStatusType definition

TaskDefinitionFamilyStatusType = Literal[
    "ACTIVE",
    "ALL",
    "INACTIVE",
]

TaskDefinitionFieldType#

# TaskDefinitionFieldType usage example

from mypy_boto3_ecs.literals import TaskDefinitionFieldType

def get_value() -> TaskDefinitionFieldType:
    return "TAGS"
# TaskDefinitionFieldType definition

TaskDefinitionFieldType = Literal[
    "TAGS",
]

TaskDefinitionPlacementConstraintTypeType#

# TaskDefinitionPlacementConstraintTypeType usage example

from mypy_boto3_ecs.literals import TaskDefinitionPlacementConstraintTypeType

def get_value() -> TaskDefinitionPlacementConstraintTypeType:
    return "memberOf"
# TaskDefinitionPlacementConstraintTypeType definition

TaskDefinitionPlacementConstraintTypeType = Literal[
    "memberOf",
]

TaskDefinitionStatusType#

# TaskDefinitionStatusType usage example

from mypy_boto3_ecs.literals import TaskDefinitionStatusType

def get_value() -> TaskDefinitionStatusType:
    return "ACTIVE"
# TaskDefinitionStatusType definition

TaskDefinitionStatusType = Literal[
    "ACTIVE",
    "DELETE_IN_PROGRESS",
    "INACTIVE",
]

TaskFieldType#

# TaskFieldType usage example

from mypy_boto3_ecs.literals import TaskFieldType

def get_value() -> TaskFieldType:
    return "TAGS"
# TaskFieldType definition

TaskFieldType = Literal[
    "TAGS",
]

TaskFilesystemTypeType#

# TaskFilesystemTypeType usage example

from mypy_boto3_ecs.literals import TaskFilesystemTypeType

def get_value() -> TaskFilesystemTypeType:
    return "ext3"
# TaskFilesystemTypeType definition

TaskFilesystemTypeType = Literal[
    "ext3",
    "ext4",
    "ntfs",
    "xfs",
]

TaskSetFieldType#

# TaskSetFieldType usage example

from mypy_boto3_ecs.literals import TaskSetFieldType

def get_value() -> TaskSetFieldType:
    return "TAGS"
# TaskSetFieldType definition

TaskSetFieldType = Literal[
    "TAGS",
]

TaskStopCodeType#

# TaskStopCodeType usage example

from mypy_boto3_ecs.literals import TaskStopCodeType

def get_value() -> TaskStopCodeType:
    return "EssentialContainerExited"
# TaskStopCodeType definition

TaskStopCodeType = Literal[
    "EssentialContainerExited",
    "ServiceSchedulerInitiated",
    "SpotInterruption",
    "TaskFailedToStart",
    "TerminationNotice",
    "UserInitiated",
]

TasksRunningWaiterName#

# TasksRunningWaiterName usage example

from mypy_boto3_ecs.literals import TasksRunningWaiterName

def get_value() -> TasksRunningWaiterName:
    return "tasks_running"
# TasksRunningWaiterName definition

TasksRunningWaiterName = Literal[
    "tasks_running",
]

TasksStoppedWaiterName#

# TasksStoppedWaiterName usage example

from mypy_boto3_ecs.literals import TasksStoppedWaiterName

def get_value() -> TasksStoppedWaiterName:
    return "tasks_stopped"
# TasksStoppedWaiterName definition

TasksStoppedWaiterName = Literal[
    "tasks_stopped",
]

TransportProtocolType#

# TransportProtocolType usage example

from mypy_boto3_ecs.literals import TransportProtocolType

def get_value() -> TransportProtocolType:
    return "tcp"
# TransportProtocolType definition

TransportProtocolType = Literal[
    "tcp",
    "udp",
]

UlimitNameType#

# UlimitNameType usage example

from mypy_boto3_ecs.literals import UlimitNameType

def get_value() -> UlimitNameType:
    return "core"
# UlimitNameType definition

UlimitNameType = Literal[
    "core",
    "cpu",
    "data",
    "fsize",
    "locks",
    "memlock",
    "msgqueue",
    "nice",
    "nofile",
    "nproc",
    "rss",
    "rtprio",
    "rttime",
    "sigpending",
    "stack",
]

VersionConsistencyType#

# VersionConsistencyType usage example

from mypy_boto3_ecs.literals import VersionConsistencyType

def get_value() -> VersionConsistencyType:
    return "disabled"
# VersionConsistencyType definition

VersionConsistencyType = Literal[
    "disabled",
    "enabled",
]

ECSServiceName#

# ECSServiceName usage example

from mypy_boto3_ecs.literals import ECSServiceName

def get_value() -> ECSServiceName:
    return "ecs"
# ECSServiceName definition

ECSServiceName = Literal[
    "ecs",
]

ServiceName#

# ServiceName usage example

from mypy_boto3_ecs.literals import ServiceName

def get_value() -> ServiceName:
    return "accessanalyzer"
# ServiceName definition

ServiceName = Literal[
    "accessanalyzer",
    "account",
    "acm",
    "acm-pca",
    "amp",
    "amplify",
    "amplifybackend",
    "amplifyuibuilder",
    "apigateway",
    "apigatewaymanagementapi",
    "apigatewayv2",
    "appconfig",
    "appconfigdata",
    "appfabric",
    "appflow",
    "appintegrations",
    "application-autoscaling",
    "application-insights",
    "application-signals",
    "applicationcostprofiler",
    "appmesh",
    "apprunner",
    "appstream",
    "appsync",
    "apptest",
    "arc-zonal-shift",
    "artifact",
    "athena",
    "auditmanager",
    "autoscaling",
    "autoscaling-plans",
    "b2bi",
    "backup",
    "backup-gateway",
    "batch",
    "bcm-data-exports",
    "bedrock",
    "bedrock-agent",
    "bedrock-agent-runtime",
    "bedrock-runtime",
    "billing",
    "billingconductor",
    "braket",
    "budgets",
    "ce",
    "chatbot",
    "chime",
    "chime-sdk-identity",
    "chime-sdk-media-pipelines",
    "chime-sdk-meetings",
    "chime-sdk-messaging",
    "chime-sdk-voice",
    "cleanrooms",
    "cleanroomsml",
    "cloud9",
    "cloudcontrol",
    "clouddirectory",
    "cloudformation",
    "cloudfront",
    "cloudfront-keyvaluestore",
    "cloudhsm",
    "cloudhsmv2",
    "cloudsearch",
    "cloudsearchdomain",
    "cloudtrail",
    "cloudtrail-data",
    "cloudwatch",
    "codeartifact",
    "codebuild",
    "codecatalyst",
    "codecommit",
    "codeconnections",
    "codedeploy",
    "codeguru-reviewer",
    "codeguru-security",
    "codeguruprofiler",
    "codepipeline",
    "codestar-connections",
    "codestar-notifications",
    "cognito-identity",
    "cognito-idp",
    "cognito-sync",
    "comprehend",
    "comprehendmedical",
    "compute-optimizer",
    "config",
    "connect",
    "connect-contact-lens",
    "connectcampaigns",
    "connectcampaignsv2",
    "connectcases",
    "connectparticipant",
    "controlcatalog",
    "controltower",
    "cost-optimization-hub",
    "cur",
    "customer-profiles",
    "databrew",
    "dataexchange",
    "datapipeline",
    "datasync",
    "datazone",
    "dax",
    "deadline",
    "detective",
    "devicefarm",
    "devops-guru",
    "directconnect",
    "discovery",
    "dlm",
    "dms",
    "docdb",
    "docdb-elastic",
    "drs",
    "ds",
    "ds-data",
    "dynamodb",
    "dynamodbstreams",
    "ebs",
    "ec2",
    "ec2-instance-connect",
    "ecr",
    "ecr-public",
    "ecs",
    "efs",
    "eks",
    "eks-auth",
    "elastic-inference",
    "elasticache",
    "elasticbeanstalk",
    "elastictranscoder",
    "elb",
    "elbv2",
    "emr",
    "emr-containers",
    "emr-serverless",
    "entityresolution",
    "es",
    "events",
    "evidently",
    "finspace",
    "finspace-data",
    "firehose",
    "fis",
    "fms",
    "forecast",
    "forecastquery",
    "frauddetector",
    "freetier",
    "fsx",
    "gamelift",
    "geo-maps",
    "geo-places",
    "geo-routes",
    "glacier",
    "globalaccelerator",
    "glue",
    "grafana",
    "greengrass",
    "greengrassv2",
    "groundstation",
    "guardduty",
    "health",
    "healthlake",
    "iam",
    "identitystore",
    "imagebuilder",
    "importexport",
    "inspector",
    "inspector-scan",
    "inspector2",
    "internetmonitor",
    "iot",
    "iot-data",
    "iot-jobs-data",
    "iot1click-devices",
    "iot1click-projects",
    "iotanalytics",
    "iotdeviceadvisor",
    "iotevents",
    "iotevents-data",
    "iotfleethub",
    "iotfleetwise",
    "iotsecuretunneling",
    "iotsitewise",
    "iotthingsgraph",
    "iottwinmaker",
    "iotwireless",
    "ivs",
    "ivs-realtime",
    "ivschat",
    "kafka",
    "kafkaconnect",
    "kendra",
    "kendra-ranking",
    "keyspaces",
    "kinesis",
    "kinesis-video-archived-media",
    "kinesis-video-media",
    "kinesis-video-signaling",
    "kinesis-video-webrtc-storage",
    "kinesisanalytics",
    "kinesisanalyticsv2",
    "kinesisvideo",
    "kms",
    "lakeformation",
    "lambda",
    "launch-wizard",
    "lex-models",
    "lex-runtime",
    "lexv2-models",
    "lexv2-runtime",
    "license-manager",
    "license-manager-linux-subscriptions",
    "license-manager-user-subscriptions",
    "lightsail",
    "location",
    "logs",
    "lookoutequipment",
    "lookoutmetrics",
    "lookoutvision",
    "m2",
    "machinelearning",
    "macie2",
    "mailmanager",
    "managedblockchain",
    "managedblockchain-query",
    "marketplace-agreement",
    "marketplace-catalog",
    "marketplace-deployment",
    "marketplace-entitlement",
    "marketplace-reporting",
    "marketplacecommerceanalytics",
    "mediaconnect",
    "mediaconvert",
    "medialive",
    "mediapackage",
    "mediapackage-vod",
    "mediapackagev2",
    "mediastore",
    "mediastore-data",
    "mediatailor",
    "medical-imaging",
    "memorydb",
    "meteringmarketplace",
    "mgh",
    "mgn",
    "migration-hub-refactor-spaces",
    "migrationhub-config",
    "migrationhuborchestrator",
    "migrationhubstrategy",
    "mq",
    "mturk",
    "mwaa",
    "neptune",
    "neptune-graph",
    "neptunedata",
    "network-firewall",
    "networkmanager",
    "networkmonitor",
    "oam",
    "omics",
    "opensearch",
    "opensearchserverless",
    "opsworks",
    "opsworkscm",
    "organizations",
    "osis",
    "outposts",
    "panorama",
    "partnercentral-selling",
    "payment-cryptography",
    "payment-cryptography-data",
    "pca-connector-ad",
    "pca-connector-scep",
    "pcs",
    "personalize",
    "personalize-events",
    "personalize-runtime",
    "pi",
    "pinpoint",
    "pinpoint-email",
    "pinpoint-sms-voice",
    "pinpoint-sms-voice-v2",
    "pipes",
    "polly",
    "pricing",
    "privatenetworks",
    "proton",
    "qapps",
    "qbusiness",
    "qconnect",
    "qldb",
    "qldb-session",
    "quicksight",
    "ram",
    "rbin",
    "rds",
    "rds-data",
    "redshift",
    "redshift-data",
    "redshift-serverless",
    "rekognition",
    "repostspace",
    "resiliencehub",
    "resource-explorer-2",
    "resource-groups",
    "resourcegroupstaggingapi",
    "robomaker",
    "rolesanywhere",
    "route53",
    "route53-recovery-cluster",
    "route53-recovery-control-config",
    "route53-recovery-readiness",
    "route53domains",
    "route53profiles",
    "route53resolver",
    "rum",
    "s3",
    "s3control",
    "s3outposts",
    "sagemaker",
    "sagemaker-a2i-runtime",
    "sagemaker-edge",
    "sagemaker-featurestore-runtime",
    "sagemaker-geospatial",
    "sagemaker-metrics",
    "sagemaker-runtime",
    "savingsplans",
    "scheduler",
    "schemas",
    "sdb",
    "secretsmanager",
    "securityhub",
    "securitylake",
    "serverlessrepo",
    "service-quotas",
    "servicecatalog",
    "servicecatalog-appregistry",
    "servicediscovery",
    "ses",
    "sesv2",
    "shield",
    "signer",
    "simspaceweaver",
    "sms",
    "sms-voice",
    "snow-device-management",
    "snowball",
    "sns",
    "socialmessaging",
    "sqs",
    "ssm",
    "ssm-contacts",
    "ssm-incidents",
    "ssm-quicksetup",
    "ssm-sap",
    "sso",
    "sso-admin",
    "sso-oidc",
    "stepfunctions",
    "storagegateway",
    "sts",
    "supplychain",
    "support",
    "support-app",
    "swf",
    "synthetics",
    "taxsettings",
    "textract",
    "timestream-influxdb",
    "timestream-query",
    "timestream-write",
    "tnb",
    "transcribe",
    "transfer",
    "translate",
    "trustedadvisor",
    "verifiedpermissions",
    "voice-id",
    "vpc-lattice",
    "waf",
    "waf-regional",
    "wafv2",
    "wellarchitected",
    "wisdom",
    "workdocs",
    "workmail",
    "workmailmessageflow",
    "workspaces",
    "workspaces-thin-client",
    "workspaces-web",
    "xray",
]

ResourceServiceName#

# ResourceServiceName usage example

from mypy_boto3_ecs.literals import ResourceServiceName

def get_value() -> ResourceServiceName:
    return "cloudformation"
# ResourceServiceName definition

ResourceServiceName = Literal[
    "cloudformation",
    "cloudwatch",
    "dynamodb",
    "ec2",
    "glacier",
    "iam",
    "opsworks",
    "s3",
    "sns",
    "sqs",
]

PaginatorName#

# PaginatorName usage example

from mypy_boto3_ecs.literals import PaginatorName

def get_value() -> PaginatorName:
    return "list_account_settings"
# PaginatorName definition

PaginatorName = Literal[
    "list_account_settings",
    "list_attributes",
    "list_clusters",
    "list_container_instances",
    "list_services",
    "list_services_by_namespace",
    "list_task_definition_families",
    "list_task_definitions",
    "list_tasks",
]

WaiterName#

# WaiterName usage example

from mypy_boto3_ecs.literals import WaiterName

def get_value() -> WaiterName:
    return "services_inactive"
# WaiterName definition

WaiterName = Literal[
    "services_inactive",
    "services_stable",
    "tasks_running",
    "tasks_stopped",
]

RegionName#

# RegionName usage example

from mypy_boto3_ecs.literals import RegionName

def get_value() -> RegionName:
    return "af-south-1"
# RegionName definition

RegionName = Literal[
    "af-south-1",
    "ap-east-1",
    "ap-northeast-1",
    "ap-northeast-2",
    "ap-northeast-3",
    "ap-south-1",
    "ap-south-2",
    "ap-southeast-1",
    "ap-southeast-2",
    "ap-southeast-3",
    "ap-southeast-4",
    "ap-southeast-5",
    "ca-central-1",
    "ca-west-1",
    "eu-central-1",
    "eu-central-2",
    "eu-north-1",
    "eu-south-1",
    "eu-south-2",
    "eu-west-1",
    "eu-west-2",
    "eu-west-3",
    "il-central-1",
    "me-central-1",
    "me-south-1",
    "sa-east-1",
    "us-east-1",
    "us-east-2",
    "us-west-1",
    "us-west-2",
]