Literals#
Auto-generated documentation for CodeBuild type annotations stubs module mypy-boto3-codebuild.
ArtifactNamespaceType#
# ArtifactNamespaceType usage example
from mypy_boto3_codebuild.literals import ArtifactNamespaceType
def get_value() -> ArtifactNamespaceType:
return "BUILD_ID"
# ArtifactNamespaceType definition
ArtifactNamespaceType = Literal[
"BUILD_ID",
"NONE",
]
ArtifactPackagingType#
# ArtifactPackagingType usage example
from mypy_boto3_codebuild.literals import ArtifactPackagingType
def get_value() -> ArtifactPackagingType:
return "NONE"
# ArtifactPackagingType definition
ArtifactPackagingType = Literal[
"NONE",
"ZIP",
]
ArtifactsTypeType#
# ArtifactsTypeType usage example
from mypy_boto3_codebuild.literals import ArtifactsTypeType
def get_value() -> ArtifactsTypeType:
return "CODEPIPELINE"
# ArtifactsTypeType definition
ArtifactsTypeType = Literal[
"CODEPIPELINE",
"NO_ARTIFACTS",
"S3",
]
AuthTypeType#
# AuthTypeType usage example
from mypy_boto3_codebuild.literals import AuthTypeType
def get_value() -> AuthTypeType:
return "BASIC_AUTH"
# AuthTypeType definition
AuthTypeType = Literal[
"BASIC_AUTH",
"CODECONNECTIONS",
"OAUTH",
"PERSONAL_ACCESS_TOKEN",
"SECRETS_MANAGER",
]
BatchReportModeTypeType#
# BatchReportModeTypeType usage example
from mypy_boto3_codebuild.literals import BatchReportModeTypeType
def get_value() -> BatchReportModeTypeType:
return "REPORT_AGGREGATED_BATCH"
# BatchReportModeTypeType definition
BatchReportModeTypeType = Literal[
"REPORT_AGGREGATED_BATCH",
"REPORT_INDIVIDUAL_BUILDS",
]
BucketOwnerAccessType#
# BucketOwnerAccessType usage example
from mypy_boto3_codebuild.literals import BucketOwnerAccessType
def get_value() -> BucketOwnerAccessType:
return "FULL"
# BucketOwnerAccessType definition
BucketOwnerAccessType = Literal[
"FULL",
"NONE",
"READ_ONLY",
]
BuildBatchPhaseTypeType#
# BuildBatchPhaseTypeType usage example
from mypy_boto3_codebuild.literals import BuildBatchPhaseTypeType
def get_value() -> BuildBatchPhaseTypeType:
return "COMBINE_ARTIFACTS"
# BuildBatchPhaseTypeType definition
BuildBatchPhaseTypeType = Literal[
"COMBINE_ARTIFACTS",
"DOWNLOAD_BATCHSPEC",
"FAILED",
"IN_PROGRESS",
"STOPPED",
"SUBMITTED",
"SUCCEEDED",
]
BuildPhaseTypeType#
# BuildPhaseTypeType usage example
from mypy_boto3_codebuild.literals import BuildPhaseTypeType
def get_value() -> BuildPhaseTypeType:
return "BUILD"
# BuildPhaseTypeType definition
BuildPhaseTypeType = Literal[
"BUILD",
"COMPLETED",
"DOWNLOAD_SOURCE",
"FINALIZING",
"INSTALL",
"POST_BUILD",
"PRE_BUILD",
"PROVISIONING",
"QUEUED",
"SUBMITTED",
"UPLOAD_ARTIFACTS",
]
CacheModeType#
# CacheModeType usage example
from mypy_boto3_codebuild.literals import CacheModeType
def get_value() -> CacheModeType:
return "LOCAL_CUSTOM_CACHE"
# CacheModeType definition
CacheModeType = Literal[
"LOCAL_CUSTOM_CACHE",
"LOCAL_DOCKER_LAYER_CACHE",
"LOCAL_SOURCE_CACHE",
]
CacheTypeType#
# CacheTypeType usage example
from mypy_boto3_codebuild.literals import CacheTypeType
def get_value() -> CacheTypeType:
return "LOCAL"
# CacheTypeType definition
CacheTypeType = Literal[
"LOCAL",
"NO_CACHE",
"S3",
]
ComputeTypeType#
# ComputeTypeType usage example
from mypy_boto3_codebuild.literals import ComputeTypeType
def get_value() -> ComputeTypeType:
return "ATTRIBUTE_BASED_COMPUTE"
# ComputeTypeType definition
ComputeTypeType = Literal[
"ATTRIBUTE_BASED_COMPUTE",
"BUILD_GENERAL1_2XLARGE",
"BUILD_GENERAL1_LARGE",
"BUILD_GENERAL1_MEDIUM",
"BUILD_GENERAL1_SMALL",
"BUILD_GENERAL1_XLARGE",
"BUILD_LAMBDA_10GB",
"BUILD_LAMBDA_1GB",
"BUILD_LAMBDA_2GB",
"BUILD_LAMBDA_4GB",
"BUILD_LAMBDA_8GB",
]
CredentialProviderTypeType#
# CredentialProviderTypeType usage example
from mypy_boto3_codebuild.literals import CredentialProviderTypeType
def get_value() -> CredentialProviderTypeType:
return "SECRETS_MANAGER"
# CredentialProviderTypeType definition
CredentialProviderTypeType = Literal[
"SECRETS_MANAGER",
]
DescribeCodeCoveragesPaginatorName#
# DescribeCodeCoveragesPaginatorName usage example
from mypy_boto3_codebuild.literals import DescribeCodeCoveragesPaginatorName
def get_value() -> DescribeCodeCoveragesPaginatorName:
return "describe_code_coverages"
# DescribeCodeCoveragesPaginatorName definition
DescribeCodeCoveragesPaginatorName = Literal[
"describe_code_coverages",
]
DescribeTestCasesPaginatorName#
# DescribeTestCasesPaginatorName usage example
from mypy_boto3_codebuild.literals import DescribeTestCasesPaginatorName
def get_value() -> DescribeTestCasesPaginatorName:
return "describe_test_cases"
# DescribeTestCasesPaginatorName definition
DescribeTestCasesPaginatorName = Literal[
"describe_test_cases",
]
EnvironmentTypeType#
# EnvironmentTypeType usage example
from mypy_boto3_codebuild.literals import EnvironmentTypeType
def get_value() -> EnvironmentTypeType:
return "ARM_CONTAINER"
# EnvironmentTypeType definition
EnvironmentTypeType = Literal[
"ARM_CONTAINER",
"ARM_EC2",
"ARM_LAMBDA_CONTAINER",
"LINUX_CONTAINER",
"LINUX_EC2",
"LINUX_GPU_CONTAINER",
"LINUX_LAMBDA_CONTAINER",
"MAC_ARM",
"WINDOWS_CONTAINER",
"WINDOWS_EC2",
"WINDOWS_SERVER_2019_CONTAINER",
]
EnvironmentVariableTypeType#
# EnvironmentVariableTypeType usage example
from mypy_boto3_codebuild.literals import EnvironmentVariableTypeType
def get_value() -> EnvironmentVariableTypeType:
return "PARAMETER_STORE"
# EnvironmentVariableTypeType definition
EnvironmentVariableTypeType = Literal[
"PARAMETER_STORE",
"PLAINTEXT",
"SECRETS_MANAGER",
]
FileSystemTypeType#
# FileSystemTypeType usage example
from mypy_boto3_codebuild.literals import FileSystemTypeType
def get_value() -> FileSystemTypeType:
return "EFS"
# FileSystemTypeType definition
FileSystemTypeType = Literal[
"EFS",
]
FleetContextCodeType#
# FleetContextCodeType usage example
from mypy_boto3_codebuild.literals import FleetContextCodeType
def get_value() -> FleetContextCodeType:
return "ACTION_REQUIRED"
# FleetContextCodeType definition
FleetContextCodeType = Literal[
"ACTION_REQUIRED",
"CREATE_FAILED",
"INSUFFICIENT_CAPACITY",
"PENDING_DELETION",
"UPDATE_FAILED",
]
FleetOverflowBehaviorType#
# FleetOverflowBehaviorType usage example
from mypy_boto3_codebuild.literals import FleetOverflowBehaviorType
def get_value() -> FleetOverflowBehaviorType:
return "ON_DEMAND"
# FleetOverflowBehaviorType definition
FleetOverflowBehaviorType = Literal[
"ON_DEMAND",
"QUEUE",
]
FleetProxyRuleBehaviorType#
# FleetProxyRuleBehaviorType usage example
from mypy_boto3_codebuild.literals import FleetProxyRuleBehaviorType
def get_value() -> FleetProxyRuleBehaviorType:
return "ALLOW_ALL"
# FleetProxyRuleBehaviorType definition
FleetProxyRuleBehaviorType = Literal[
"ALLOW_ALL",
"DENY_ALL",
]
FleetProxyRuleEffectTypeType#
# FleetProxyRuleEffectTypeType usage example
from mypy_boto3_codebuild.literals import FleetProxyRuleEffectTypeType
def get_value() -> FleetProxyRuleEffectTypeType:
return "ALLOW"
# FleetProxyRuleEffectTypeType definition
FleetProxyRuleEffectTypeType = Literal[
"ALLOW",
"DENY",
]
FleetProxyRuleTypeType#
# FleetProxyRuleTypeType usage example
from mypy_boto3_codebuild.literals import FleetProxyRuleTypeType
def get_value() -> FleetProxyRuleTypeType:
return "DOMAIN"
# FleetProxyRuleTypeType definition
FleetProxyRuleTypeType = Literal[
"DOMAIN",
"IP",
]
FleetScalingMetricTypeType#
# FleetScalingMetricTypeType usage example
from mypy_boto3_codebuild.literals import FleetScalingMetricTypeType
def get_value() -> FleetScalingMetricTypeType:
return "FLEET_UTILIZATION_RATE"
# FleetScalingMetricTypeType definition
FleetScalingMetricTypeType = Literal[
"FLEET_UTILIZATION_RATE",
]
FleetScalingTypeType#
# FleetScalingTypeType usage example
from mypy_boto3_codebuild.literals import FleetScalingTypeType
def get_value() -> FleetScalingTypeType:
return "TARGET_TRACKING_SCALING"
# FleetScalingTypeType definition
FleetScalingTypeType = Literal[
"TARGET_TRACKING_SCALING",
]