Literals
Auto-generated documentation for ECS type annotations stubs module mypy-boto3-ecs.
AgentUpdateStatusType
Usage Example
from mypy_boto3_ecs.literals import AgentUpdateStatusType
def get_value() -> AgentUpdateStatusType:
return "FAILED"
Definition
AgentUpdateStatusType = Literal[
"FAILED",
"PENDING",
"STAGED",
"STAGING",
"UPDATED",
"UPDATING",
]
ApplicationProtocolType
Usage Example
from mypy_boto3_ecs.literals import ApplicationProtocolType
def get_value() -> ApplicationProtocolType:
return "grpc"
AssignPublicIpType
Usage Example
from mypy_boto3_ecs.literals import AssignPublicIpType
def get_value() -> AssignPublicIpType:
return "DISABLED"
CPUArchitectureType
Usage Example
from mypy_boto3_ecs.literals import CPUArchitectureType
def get_value() -> CPUArchitectureType:
return "ARM64"
CapacityProviderFieldType
Usage Example
from mypy_boto3_ecs.literals import CapacityProviderFieldType
def get_value() -> CapacityProviderFieldType:
return "TAGS"
CapacityProviderStatusType
Usage Example
from mypy_boto3_ecs.literals import CapacityProviderStatusType
def get_value() -> CapacityProviderStatusType:
return "ACTIVE"
CapacityProviderUpdateStatusType
Usage Example
from mypy_boto3_ecs.literals import CapacityProviderUpdateStatusType
def get_value() -> CapacityProviderUpdateStatusType:
return "DELETE_COMPLETE"
Definition
CapacityProviderUpdateStatusType = Literal[
"DELETE_COMPLETE",
"DELETE_FAILED",
"DELETE_IN_PROGRESS",
"UPDATE_COMPLETE",
"UPDATE_FAILED",
"UPDATE_IN_PROGRESS",
]
ClusterFieldType
Usage Example
from mypy_boto3_ecs.literals import ClusterFieldType
def get_value() -> ClusterFieldType:
return "ATTACHMENTS"
Definition
ClusterFieldType = Literal[
"ATTACHMENTS",
"CONFIGURATIONS",
"SETTINGS",
"STATISTICS",
"TAGS",
]
ClusterSettingNameType
Usage Example
from mypy_boto3_ecs.literals import ClusterSettingNameType
def get_value() -> ClusterSettingNameType:
return "containerInsights"
CompatibilityType
Usage Example
from mypy_boto3_ecs.literals import CompatibilityType
def get_value() -> CompatibilityType:
return "EC2"
ConnectivityType
Usage Example
from mypy_boto3_ecs.literals import ConnectivityType
def get_value() -> ConnectivityType:
return "CONNECTED"
ContainerConditionType
Usage Example
from mypy_boto3_ecs.literals import ContainerConditionType
def get_value() -> ContainerConditionType:
return "COMPLETE"
ContainerInstanceFieldType
Usage Example
from mypy_boto3_ecs.literals import ContainerInstanceFieldType
def get_value() -> ContainerInstanceFieldType:
return "CONTAINER_INSTANCE_HEALTH"
ContainerInstanceStatusType
Usage Example
from mypy_boto3_ecs.literals import ContainerInstanceStatusType
def get_value() -> ContainerInstanceStatusType:
return "ACTIVE"
Definition
ContainerInstanceStatusType = Literal[
"ACTIVE",
"DEREGISTERING",
"DRAINING",
"REGISTERING",
"REGISTRATION_FAILED",
]
DeploymentControllerTypeType
Usage Example
from mypy_boto3_ecs.literals import DeploymentControllerTypeType
def get_value() -> DeploymentControllerTypeType:
return "CODE_DEPLOY"
DeploymentRolloutStateType
Usage Example
from mypy_boto3_ecs.literals import DeploymentRolloutStateType
def get_value() -> DeploymentRolloutStateType:
return "COMPLETED"
DesiredStatusType
Usage Example
from mypy_boto3_ecs.literals import DesiredStatusType
def get_value() -> DesiredStatusType:
return "PENDING"
DeviceCgroupPermissionType
Usage Example
from mypy_boto3_ecs.literals import DeviceCgroupPermissionType
def get_value() -> DeviceCgroupPermissionType:
return "mknod"
EFSAuthorizationConfigIAMType
Usage Example
from mypy_boto3_ecs.literals import EFSAuthorizationConfigIAMType
def get_value() -> EFSAuthorizationConfigIAMType:
return "DISABLED"
EFSTransitEncryptionType
Usage Example
from mypy_boto3_ecs.literals import EFSTransitEncryptionType
def get_value() -> EFSTransitEncryptionType:
return "DISABLED"
EnvironmentFileTypeType
Usage Example
from mypy_boto3_ecs.literals import EnvironmentFileTypeType
def get_value() -> EnvironmentFileTypeType:
return "s3"
ExecuteCommandLoggingType
Usage Example
from mypy_boto3_ecs.literals import ExecuteCommandLoggingType
def get_value() -> ExecuteCommandLoggingType:
return "DEFAULT"
FirelensConfigurationTypeType
Usage Example
from mypy_boto3_ecs.literals import FirelensConfigurationTypeType
def get_value() -> FirelensConfigurationTypeType:
return "fluentbit"
HealthStatusType
Usage Example
from mypy_boto3_ecs.literals import HealthStatusType
def get_value() -> HealthStatusType:
return "HEALTHY"
InstanceHealthCheckStateType
Usage Example
from mypy_boto3_ecs.literals import InstanceHealthCheckStateType
def get_value() -> InstanceHealthCheckStateType:
return "IMPAIRED"
Definition
InstanceHealthCheckStateType = Literal[
"IMPAIRED",
"INITIALIZING",
"INSUFFICIENT_DATA",
"OK",
]
InstanceHealthCheckTypeType
Usage Example
from mypy_boto3_ecs.literals import InstanceHealthCheckTypeType
def get_value() -> InstanceHealthCheckTypeType:
return "CONTAINER_RUNTIME"
IpcModeType
Usage Example
from mypy_boto3_ecs.literals import IpcModeType
def get_value() -> IpcModeType:
return "host"
LaunchTypeType
Usage Example
from mypy_boto3_ecs.literals import LaunchTypeType
def get_value() -> LaunchTypeType:
return "EC2"
ListAccountSettingsPaginatorName
Usage Example
from mypy_boto3_ecs.literals import ListAccountSettingsPaginatorName
def get_value() -> ListAccountSettingsPaginatorName:
return "list_account_settings"
ListAttributesPaginatorName
Usage Example
from mypy_boto3_ecs.literals import ListAttributesPaginatorName
def get_value() -> ListAttributesPaginatorName:
return "list_attributes"
ListClustersPaginatorName
Usage Example
from mypy_boto3_ecs.literals import ListClustersPaginatorName
def get_value() -> ListClustersPaginatorName:
return "list_clusters"
ListContainerInstancesPaginatorName
Usage Example
from mypy_boto3_ecs.literals import ListContainerInstancesPaginatorName
def get_value() -> ListContainerInstancesPaginatorName:
return "list_container_instances"
ListServicesByNamespacePaginatorName
Usage Example
from mypy_boto3_ecs.literals import ListServicesByNamespacePaginatorName
def get_value() -> ListServicesByNamespacePaginatorName:
return "list_services_by_namespace"
ListServicesPaginatorName
Usage Example
from mypy_boto3_ecs.literals import ListServicesPaginatorName
def get_value() -> ListServicesPaginatorName:
return "list_services"
ListTaskDefinitionFamiliesPaginatorName
Usage Example
from mypy_boto3_ecs.literals import ListTaskDefinitionFamiliesPaginatorName
def get_value() -> ListTaskDefinitionFamiliesPaginatorName:
return "list_task_definition_families"
ListTaskDefinitionsPaginatorName
Usage Example
from mypy_boto3_ecs.literals import ListTaskDefinitionsPaginatorName
def get_value() -> ListTaskDefinitionsPaginatorName:
return "list_task_definitions"
ListTasksPaginatorName
Usage Example
from mypy_boto3_ecs.literals import ListTasksPaginatorName
def get_value() -> ListTasksPaginatorName:
return "list_tasks"
LogDriverType
Usage Example
from mypy_boto3_ecs.literals import LogDriverType
def get_value() -> LogDriverType:
return "awsfirelens"
Definition
LogDriverType = Literal[
"awsfirelens",
"awslogs",
"fluentd",
"gelf",
"journald",
"json-file",
"splunk",
"syslog",
]
ManagedAgentNameType
Usage Example
from mypy_boto3_ecs.literals import ManagedAgentNameType
def get_value() -> ManagedAgentNameType:
return "ExecuteCommandAgent"
ManagedScalingStatusType
Usage Example
from mypy_boto3_ecs.literals import ManagedScalingStatusType
def get_value() -> ManagedScalingStatusType:
return "DISABLED"
ManagedTerminationProtectionType
Usage Example
from mypy_boto3_ecs.literals import ManagedTerminationProtectionType
def get_value() -> ManagedTerminationProtectionType:
return "DISABLED"
NetworkModeType
Usage Example
from mypy_boto3_ecs.literals import NetworkModeType
def get_value() -> NetworkModeType:
return "awsvpc"
OSFamilyType
Usage Example
from mypy_boto3_ecs.literals import OSFamilyType
def get_value() -> OSFamilyType:
return "LINUX"
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
Usage Example
from mypy_boto3_ecs.literals import PidModeType
def get_value() -> PidModeType:
return "host"
PlacementConstraintTypeType
Usage Example
from mypy_boto3_ecs.literals import PlacementConstraintTypeType
def get_value() -> PlacementConstraintTypeType:
return "distinctInstance"
PlacementStrategyTypeType
Usage Example
from mypy_boto3_ecs.literals import PlacementStrategyTypeType
def get_value() -> PlacementStrategyTypeType:
return "binpack"
PlatformDeviceTypeType
Usage Example
from mypy_boto3_ecs.literals import PlatformDeviceTypeType
def get_value() -> PlatformDeviceTypeType:
return "GPU"
PropagateTagsType
Usage Example
from mypy_boto3_ecs.literals import PropagateTagsType
def get_value() -> PropagateTagsType:
return "NONE"
ProxyConfigurationTypeType
Usage Example
from mypy_boto3_ecs.literals import ProxyConfigurationTypeType
def get_value() -> ProxyConfigurationTypeType:
return "APPMESH"
ResourceTypeType
Usage Example
from mypy_boto3_ecs.literals import ResourceTypeType
def get_value() -> ResourceTypeType:
return "GPU"
ScaleUnitType
Usage Example
from mypy_boto3_ecs.literals import ScaleUnitType
def get_value() -> ScaleUnitType:
return "PERCENT"
SchedulingStrategyType
Usage Example
from mypy_boto3_ecs.literals import SchedulingStrategyType
def get_value() -> SchedulingStrategyType:
return "DAEMON"
ScopeType
Usage Example
from mypy_boto3_ecs.literals import ScopeType
def get_value() -> ScopeType:
return "shared"
ServiceFieldType
Usage Example
from mypy_boto3_ecs.literals import ServiceFieldType
def get_value() -> ServiceFieldType:
return "TAGS"
ServicesInactiveWaiterName
Usage Example
from mypy_boto3_ecs.literals import ServicesInactiveWaiterName
def get_value() -> ServicesInactiveWaiterName:
return "services_inactive"
ServicesStableWaiterName
Usage Example
from mypy_boto3_ecs.literals import ServicesStableWaiterName
def get_value() -> ServicesStableWaiterName:
return "services_stable"
SettingNameType
Usage Example
from mypy_boto3_ecs.literals import SettingNameType
def get_value() -> SettingNameType:
return "awsvpcTrunking"
Definition
SettingNameType = Literal[
"awsvpcTrunking",
"containerInsights",
"containerInstanceLongArnFormat",
"serviceLongArnFormat",
"taskLongArnFormat",
]
SortOrderType
Usage Example
from mypy_boto3_ecs.literals import SortOrderType
def get_value() -> SortOrderType:
return "ASC"
StabilityStatusType
Usage Example
from mypy_boto3_ecs.literals import StabilityStatusType
def get_value() -> StabilityStatusType:
return "STABILIZING"
TargetTypeType
Usage Example
from mypy_boto3_ecs.literals import TargetTypeType
def get_value() -> TargetTypeType:
return "container-instance"
TaskDefinitionFamilyStatusType
Usage Example
from mypy_boto3_ecs.literals import TaskDefinitionFamilyStatusType
def get_value() -> TaskDefinitionFamilyStatusType:
return "ACTIVE"
TaskDefinitionFieldType
Usage Example
from mypy_boto3_ecs.literals import TaskDefinitionFieldType
def get_value() -> TaskDefinitionFieldType:
return "TAGS"
TaskDefinitionPlacementConstraintTypeType
Usage Example
from mypy_boto3_ecs.literals import TaskDefinitionPlacementConstraintTypeType
def get_value() -> TaskDefinitionPlacementConstraintTypeType:
return "memberOf"
TaskDefinitionStatusType
Usage Example
from mypy_boto3_ecs.literals import TaskDefinitionStatusType
def get_value() -> TaskDefinitionStatusType:
return "ACTIVE"
TaskFieldType
Usage Example
from mypy_boto3_ecs.literals import TaskFieldType
def get_value() -> TaskFieldType:
return "TAGS"
TaskSetFieldType
Usage Example
from mypy_boto3_ecs.literals import TaskSetFieldType
def get_value() -> TaskSetFieldType:
return "TAGS"
TaskStopCodeType
Usage Example
from mypy_boto3_ecs.literals import TaskStopCodeType
def get_value() -> TaskStopCodeType:
return "EssentialContainerExited"
Definition
TaskStopCodeType = Literal[
"EssentialContainerExited",
"ServiceSchedulerInitiated",
"SpotInterruption",
"TaskFailedToStart",
"TerminationNotice",
"UserInitiated",
]
TasksRunningWaiterName
Usage Example
from mypy_boto3_ecs.literals import TasksRunningWaiterName
def get_value() -> TasksRunningWaiterName:
return "tasks_running"
TasksStoppedWaiterName
Usage Example
from mypy_boto3_ecs.literals import TasksStoppedWaiterName
def get_value() -> TasksStoppedWaiterName:
return "tasks_stopped"
TransportProtocolType
Usage Example
from mypy_boto3_ecs.literals import TransportProtocolType
def get_value() -> TransportProtocolType:
return "tcp"
UlimitNameType
Usage Example
from mypy_boto3_ecs.literals import UlimitNameType
def get_value() -> UlimitNameType:
return "core"
Definition
UlimitNameType = Literal[
"core",
"cpu",
"data",
"fsize",
"locks",
"memlock",
"msgqueue",
"nice",
"nofile",
"nproc",
"rss",
"rtprio",
"rttime",
"sigpending",
"stack",
]
ECSServiceName
Usage Example
from mypy_boto3_ecs.literals import ECSServiceName
def get_value() -> ECSServiceName:
return "ecs"
ServiceName
Usage Example
from mypy_boto3_ecs.literals import ServiceName
def get_value() -> ServiceName:
return "accessanalyzer"
Definition
ServiceName = Literal[
"accessanalyzer",
"account",
"acm",
"acm-pca",
"alexaforbusiness",
"amp",
"amplify",
"amplifybackend",
"amplifyuibuilder",
"apigateway",
"apigatewaymanagementapi",
"apigatewayv2",
"appconfig",
"appconfigdata",
"appflow",
"appintegrations",
"application-autoscaling",
"application-insights",
"applicationcostprofiler",
"appmesh",
"apprunner",
"appstream",
"appsync",
"arc-zonal-shift",
"athena",
"auditmanager",
"autoscaling",
"autoscaling-plans",
"backup",
"backup-gateway",
"backupstorage",
"batch",
"billingconductor",
"braket",
"budgets",
"ce",
"chime",
"chime-sdk-identity",
"chime-sdk-media-pipelines",
"chime-sdk-meetings",
"chime-sdk-messaging",
"chime-sdk-voice",
"cleanrooms",
"cloud9",
"cloudcontrol",
"clouddirectory",
"cloudformation",
"cloudfront",
"cloudhsm",
"cloudhsmv2",
"cloudsearch",
"cloudsearchdomain",
"cloudtrail",
"cloudtrail-data",
"cloudwatch",
"codeartifact",
"codebuild",
"codecatalyst",
"codecommit",
"codedeploy",
"codeguru-reviewer",
"codeguruprofiler",
"codepipeline",
"codestar",
"codestar-connections",
"codestar-notifications",
"cognito-identity",
"cognito-idp",
"cognito-sync",
"comprehend",
"comprehendmedical",
"compute-optimizer",
"config",
"connect",
"connect-contact-lens",
"connectcampaigns",
"connectcases",
"connectparticipant",
"controltower",
"cur",
"customer-profiles",
"databrew",
"dataexchange",
"datapipeline",
"datasync",
"dax",
"detective",
"devicefarm",
"devops-guru",
"directconnect",
"discovery",
"dlm",
"dms",
"docdb",
"docdb-elastic",
"drs",
"ds",
"dynamodb",
"dynamodbstreams",
"ebs",
"ec2",
"ec2-instance-connect",
"ecr",
"ecr-public",
"ecs",
"efs",
"eks",
"elastic-inference",
"elasticache",
"elasticbeanstalk",
"elastictranscoder",
"elb",
"elbv2",
"emr",
"emr-containers",
"emr-serverless",
"es",
"events",
"evidently",
"finspace",
"finspace-data",
"firehose",
"fis",
"fms",
"forecast",
"forecastquery",
"frauddetector",
"fsx",
"gamelift",
"gamesparks",
"glacier",
"globalaccelerator",
"glue",
"grafana",
"greengrass",
"greengrassv2",
"groundstation",
"guardduty",
"health",
"healthlake",
"honeycode",
"iam",
"identitystore",
"imagebuilder",
"importexport",
"inspector",
"inspector2",
"internetmonitor",
"iot",
"iot-data",
"iot-jobs-data",
"iot-roborunner",
"iot1click-devices",
"iot1click-projects",
"iotanalytics",
"iotdeviceadvisor",
"iotevents",
"iotevents-data",
"iotfleethub",
"iotfleetwise",
"iotsecuretunneling",
"iotsitewise",
"iotthingsgraph",
"iottwinmaker",
"iotwireless",
"ivs",
"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",
"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",
"macie",
"macie2",
"managedblockchain",
"marketplace-catalog",
"marketplace-entitlement",
"marketplacecommerceanalytics",
"mediaconnect",
"mediaconvert",
"medialive",
"mediapackage",
"mediapackage-vod",
"mediastore",
"mediastore-data",
"mediatailor",
"memorydb",
"meteringmarketplace",
"mgh",
"mgn",
"migration-hub-refactor-spaces",
"migrationhub-config",
"migrationhuborchestrator",
"migrationhubstrategy",
"mobile",
"mq",
"mturk",
"mwaa",
"neptune",
"network-firewall",
"networkmanager",
"nimble",
"oam",
"omics",
"opensearch",
"opensearchserverless",
"opsworks",
"opsworkscm",
"organizations",
"outposts",
"panorama",
"personalize",
"personalize-events",
"personalize-runtime",
"pi",
"pinpoint",
"pinpoint-email",
"pinpoint-sms-voice",
"pinpoint-sms-voice-v2",
"pipes",
"polly",
"pricing",
"privatenetworks",
"proton",
"qldb",
"qldb-session",
"quicksight",
"ram",
"rbin",
"rds",
"rds-data",
"redshift",
"redshift-data",
"redshift-serverless",
"rekognition",
"resiliencehub",
"resource-explorer-2",
"resource-groups",
"resourcegroupstaggingapi",
"robomaker",
"rolesanywhere",
"route53",
"route53-recovery-cluster",
"route53-recovery-control-config",
"route53-recovery-readiness",
"route53domains",
"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",
"sqs",
"ssm",
"ssm-contacts",
"ssm-incidents",
"ssm-sap",
"sso",
"sso-admin",
"sso-oidc",
"stepfunctions",
"storagegateway",
"sts",
"support",
"support-app",
"swf",
"synthetics",
"textract",
"timestream-query",
"timestream-write",
"tnb",
"transcribe",
"transfer",
"translate",
"voice-id",
"waf",
"waf-regional",
"wafv2",
"wellarchitected",
"wisdom",
"workdocs",
"worklink",
"workmail",
"workmailmessageflow",
"workspaces",
"workspaces-web",
"xray",
]
ResourceServiceName
Usage Example
from mypy_boto3_ecs.literals import ResourceServiceName
def get_value() -> ResourceServiceName:
return "cloudformation"
Definition
ResourceServiceName = Literal[
"cloudformation",
"cloudwatch",
"dynamodb",
"ec2",
"glacier",
"iam",
"opsworks",
"s3",
"sns",
"sqs",
]
PaginatorName
Usage Example
from mypy_boto3_ecs.literals import PaginatorName
def get_value() -> PaginatorName:
return "list_account_settings"
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
Usage Example
from mypy_boto3_ecs.literals import WaiterName
def get_value() -> WaiterName:
return "services_inactive"
Definition
WaiterName = Literal[
"services_inactive",
"services_stable",
"tasks_running",
"tasks_stopped",
]
RegionName
Usage Example
from mypy_boto3_ecs.literals import RegionName
def get_value() -> RegionName:
return "af-south-1"
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",
"ca-central-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",
"me-central-1",
"me-south-1",
"sa-east-1",
"us-east-1",
"us-east-2",
"us-west-1",
"us-west-2",
]