Literals#
Index > CodeDeploy > Literals
Auto-generated documentation for CodeDeploy type annotations stubs module mypy-boto3-codedeploy.
ApplicationRevisionSortByType#
# ApplicationRevisionSortByType usage example
from mypy_boto3_codedeploy.literals import ApplicationRevisionSortByType
def get_value() -> ApplicationRevisionSortByType:
return "firstUsedTime"
# ApplicationRevisionSortByType definition
ApplicationRevisionSortByType = Literal[
"firstUsedTime",
"lastUsedTime",
"registerTime",
]
AutoRollbackEventType#
# AutoRollbackEventType usage example
from mypy_boto3_codedeploy.literals import AutoRollbackEventType
def get_value() -> AutoRollbackEventType:
return "DEPLOYMENT_FAILURE"
# AutoRollbackEventType definition
AutoRollbackEventType = Literal[
"DEPLOYMENT_FAILURE",
"DEPLOYMENT_STOP_ON_ALARM",
"DEPLOYMENT_STOP_ON_REQUEST",
]
BundleTypeType#
# BundleTypeType usage example
from mypy_boto3_codedeploy.literals import BundleTypeType
def get_value() -> BundleTypeType:
return "JSON"
# BundleTypeType definition
BundleTypeType = Literal[
"JSON",
"tar",
"tgz",
"YAML",
"zip",
]
ComputePlatformType#
# ComputePlatformType usage example
from mypy_boto3_codedeploy.literals import ComputePlatformType
def get_value() -> ComputePlatformType:
return "ECS"
# ComputePlatformType definition
ComputePlatformType = Literal[
"ECS",
"Lambda",
"Server",
]
DeploymentCreatorType#
# DeploymentCreatorType usage example
from mypy_boto3_codedeploy.literals import DeploymentCreatorType
def get_value() -> DeploymentCreatorType:
return "CloudFormation"
# DeploymentCreatorType definition
DeploymentCreatorType = Literal[
"autoscaling",
"autoscalingTermination",
"CloudFormation",
"CloudFormationRollback",
"CodeDeploy",
"CodeDeployAutoUpdate",
"codeDeployRollback",
"user",
]
DeploymentOptionType#
# DeploymentOptionType usage example
from mypy_boto3_codedeploy.literals import DeploymentOptionType
def get_value() -> DeploymentOptionType:
return "WITHOUT_TRAFFIC_CONTROL"
# DeploymentOptionType definition
DeploymentOptionType = Literal[
"WITH_TRAFFIC_CONTROL",
"WITHOUT_TRAFFIC_CONTROL",
]
DeploymentReadyActionType#
# DeploymentReadyActionType usage example
from mypy_boto3_codedeploy.literals import DeploymentReadyActionType
def get_value() -> DeploymentReadyActionType:
return "CONTINUE_DEPLOYMENT"
# DeploymentReadyActionType definition
DeploymentReadyActionType = Literal[
"CONTINUE_DEPLOYMENT",
"STOP_DEPLOYMENT",
]
DeploymentStatusType#
# DeploymentStatusType usage example
from mypy_boto3_codedeploy.literals import DeploymentStatusType
def get_value() -> DeploymentStatusType:
return "Baking"
# DeploymentStatusType definition
DeploymentStatusType = Literal[
"Baking",
"Created",
"Failed",
"InProgress",
"Queued",
"Ready",
"Stopped",
"Succeeded",
]
DeploymentSuccessfulWaiterName#
# DeploymentSuccessfulWaiterName usage example
from mypy_boto3_codedeploy.literals import DeploymentSuccessfulWaiterName
def get_value() -> DeploymentSuccessfulWaiterName:
return "deployment_successful"
# DeploymentSuccessfulWaiterName definition
DeploymentSuccessfulWaiterName = Literal[
"deployment_successful",
]
DeploymentTargetTypeType#
# DeploymentTargetTypeType usage example
from mypy_boto3_codedeploy.literals import DeploymentTargetTypeType
def get_value() -> DeploymentTargetTypeType:
return "CloudFormationTarget"
# DeploymentTargetTypeType definition
DeploymentTargetTypeType = Literal[
"CloudFormationTarget",
"ECSTarget",
"InstanceTarget",
"LambdaTarget",
]
DeploymentTypeType#
# DeploymentTypeType usage example
from mypy_boto3_codedeploy.literals import DeploymentTypeType
def get_value() -> DeploymentTypeType:
return "BLUE_GREEN"
# DeploymentTypeType definition
DeploymentTypeType = Literal[
"BLUE_GREEN",
"IN_PLACE",
]
DeploymentWaitTypeType#
# DeploymentWaitTypeType usage example
from mypy_boto3_codedeploy.literals import DeploymentWaitTypeType
def get_value() -> DeploymentWaitTypeType:
return "READY_WAIT"
# DeploymentWaitTypeType definition
DeploymentWaitTypeType = Literal[
"READY_WAIT",
"TERMINATION_WAIT",
]
EC2TagFilterTypeType#
# EC2TagFilterTypeType usage example
from mypy_boto3_codedeploy.literals import EC2TagFilterTypeType
def get_value() -> EC2TagFilterTypeType:
return "KEY_AND_VALUE"
# EC2TagFilterTypeType definition
EC2TagFilterTypeType = Literal[
"KEY_AND_VALUE",
"KEY_ONLY",
"VALUE_ONLY",
]
ErrorCodeType#
# ErrorCodeType usage example
from mypy_boto3_codedeploy.literals import ErrorCodeType
def get_value() -> ErrorCodeType:
return "AGENT_ISSUE"
# ErrorCodeType definition
ErrorCodeType = Literal[
"AGENT_ISSUE",
"ALARM_ACTIVE",
"APPLICATION_MISSING",
"AUTO_SCALING_CONFIGURATION",
"AUTO_SCALING_IAM_ROLE_PERMISSIONS",
"AUTOSCALING_VALIDATION_ERROR",
"CLOUDFORMATION_STACK_FAILURE",
"CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND",
"CUSTOMER_APPLICATION_UNHEALTHY",
"DEPLOYMENT_GROUP_MISSING",
"ECS_UPDATE_ERROR",
"ELASTIC_LOAD_BALANCING_INVALID",
"ELB_INVALID_INSTANCE",
"HEALTH_CONSTRAINTS",
"HEALTH_CONSTRAINTS_INVALID",
"HOOK_EXECUTION_FAILURE",
"IAM_ROLE_MISSING",
"IAM_ROLE_PERMISSIONS",
"INTERNAL_ERROR",
"INVALID_ECS_SERVICE",
"INVALID_LAMBDA_CONFIGURATION",
"INVALID_LAMBDA_FUNCTION",
"INVALID_REVISION",
"MANUAL_STOP",
"MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION",
"MISSING_ELB_INFORMATION",
"MISSING_GITHUB_TOKEN",
"NO_EC2_SUBSCRIPTION",
"NO_INSTANCES",
"OVER_MAX_INSTANCES",
"RESOURCE_LIMIT_EXCEEDED",
"REVISION_MISSING",
"THROTTLED",
"TIMEOUT",
]
FileExistsBehaviorType#
# FileExistsBehaviorType usage example
from mypy_boto3_codedeploy.literals import FileExistsBehaviorType
def get_value() -> FileExistsBehaviorType:
return "DISALLOW"
# FileExistsBehaviorType definition
FileExistsBehaviorType = Literal[
"DISALLOW",
"OVERWRITE",
"RETAIN",
]
GreenFleetProvisioningActionType#
# GreenFleetProvisioningActionType usage example
from mypy_boto3_codedeploy.literals import GreenFleetProvisioningActionType
def get_value() -> GreenFleetProvisioningActionType:
return "COPY_AUTO_SCALING_GROUP"
# GreenFleetProvisioningActionType definition
GreenFleetProvisioningActionType = Literal[
"COPY_AUTO_SCALING_GROUP",
"DISCOVER_EXISTING",
]
InstanceActionType#
# InstanceActionType usage example
from mypy_boto3_codedeploy.literals import InstanceActionType
def get_value() -> InstanceActionType:
return "KEEP_ALIVE"
# InstanceActionType definition
InstanceActionType = Literal[
"KEEP_ALIVE",
"TERMINATE",
]
InstanceStatusType#
# InstanceStatusType usage example
from mypy_boto3_codedeploy.literals import InstanceStatusType
def get_value() -> InstanceStatusType:
return "Failed"
# InstanceStatusType definition
InstanceStatusType = Literal[
"Failed",
"InProgress",
"Pending",
"Ready",
"Skipped",
"Succeeded",
"Unknown",
]
InstanceTypeType#
# InstanceTypeType usage example
from mypy_boto3_codedeploy.literals import InstanceTypeType
def get_value() -> InstanceTypeType:
return "Blue"
# InstanceTypeType definition
InstanceTypeType = Literal[
"Blue",
"Green",
]
LifecycleErrorCodeType#
# LifecycleErrorCodeType usage example
from mypy_boto3_codedeploy.literals import LifecycleErrorCodeType
def get_value() -> LifecycleErrorCodeType:
return "ScriptFailed"
# LifecycleErrorCodeType definition
LifecycleErrorCodeType = Literal[
"ScriptFailed",
"ScriptMissing",
"ScriptNotExecutable",
"ScriptTimedOut",
"Success",
"UnknownError",
]
LifecycleEventStatusType#
# LifecycleEventStatusType usage example
from mypy_boto3_codedeploy.literals import LifecycleEventStatusType
def get_value() -> LifecycleEventStatusType:
return "Failed"
# LifecycleEventStatusType definition
LifecycleEventStatusType = Literal[
"Failed",
"InProgress",
"Pending",
"Skipped",
"Succeeded",
"Unknown",
]
ListApplicationRevisionsPaginatorName#
# ListApplicationRevisionsPaginatorName usage example
from mypy_boto3_codedeploy.literals import ListApplicationRevisionsPaginatorName
def get_value() -> ListApplicationRevisionsPaginatorName:
return "list_application_revisions"
# ListApplicationRevisionsPaginatorName definition
ListApplicationRevisionsPaginatorName = Literal[
"list_application_revisions",
]
ListApplicationsPaginatorName#
# ListApplicationsPaginatorName usage example
from mypy_boto3_codedeploy.literals import ListApplicationsPaginatorName
def get_value() -> ListApplicationsPaginatorName:
return "list_applications"
# ListApplicationsPaginatorName definition
ListApplicationsPaginatorName = Literal[
"list_applications",
]
ListDeploymentConfigsPaginatorName#
# ListDeploymentConfigsPaginatorName usage example
from mypy_boto3_codedeploy.literals import ListDeploymentConfigsPaginatorName
def get_value() -> ListDeploymentConfigsPaginatorName:
return "list_deployment_configs"
# ListDeploymentConfigsPaginatorName definition
ListDeploymentConfigsPaginatorName = Literal[
"list_deployment_configs",
]
ListDeploymentGroupsPaginatorName#
# ListDeploymentGroupsPaginatorName usage example
from mypy_boto3_codedeploy.literals import ListDeploymentGroupsPaginatorName
def get_value() -> ListDeploymentGroupsPaginatorName:
return "list_deployment_groups"
# ListDeploymentGroupsPaginatorName definition
ListDeploymentGroupsPaginatorName = Literal[
"list_deployment_groups",
]
ListDeploymentInstancesPaginatorName#
# ListDeploymentInstancesPaginatorName usage example
from mypy_boto3_codedeploy.literals import ListDeploymentInstancesPaginatorName
def get_value() -> ListDeploymentInstancesPaginatorName:
return "list_deployment_instances"
# ListDeploymentInstancesPaginatorName definition
ListDeploymentInstancesPaginatorName = Literal[
"list_deployment_instances",
]
ListDeploymentTargetsPaginatorName#
# ListDeploymentTargetsPaginatorName usage example
from mypy_boto3_codedeploy.literals import ListDeploymentTargetsPaginatorName
def get_value() -> ListDeploymentTargetsPaginatorName:
return "list_deployment_targets"
# ListDeploymentTargetsPaginatorName definition
ListDeploymentTargetsPaginatorName = Literal[
"list_deployment_targets",
]
ListDeploymentsPaginatorName#
# ListDeploymentsPaginatorName usage example
from mypy_boto3_codedeploy.literals import ListDeploymentsPaginatorName
def get_value() -> ListDeploymentsPaginatorName:
return "list_deployments"
# ListDeploymentsPaginatorName definition
ListDeploymentsPaginatorName = Literal[
"list_deployments",
]
ListGitHubAccountTokenNamesPaginatorName#
# ListGitHubAccountTokenNamesPaginatorName usage example
from mypy_boto3_codedeploy.literals import ListGitHubAccountTokenNamesPaginatorName
def get_value() -> ListGitHubAccountTokenNamesPaginatorName:
return "list_git_hub_account_token_names"
# ListGitHubAccountTokenNamesPaginatorName definition
ListGitHubAccountTokenNamesPaginatorName = Literal[
"list_git_hub_account_token_names",
]
ListOnPremisesInstancesPaginatorName#
# ListOnPremisesInstancesPaginatorName usage example
from mypy_boto3_codedeploy.literals import ListOnPremisesInstancesPaginatorName
def get_value() -> ListOnPremisesInstancesPaginatorName:
return "list_on_premises_instances"
# ListOnPremisesInstancesPaginatorName definition
ListOnPremisesInstancesPaginatorName = Literal[
"list_on_premises_instances",
]
ListStateFilterActionType#
# ListStateFilterActionType usage example
from mypy_boto3_codedeploy.literals import ListStateFilterActionType
def get_value() -> ListStateFilterActionType:
return "exclude"
# ListStateFilterActionType definition
ListStateFilterActionType = Literal[
"exclude",
"ignore",
"include",
]
MinimumHealthyHostsPerZoneTypeType#
# MinimumHealthyHostsPerZoneTypeType usage example
from mypy_boto3_codedeplo