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",
]

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"