Skip to content

Literals#

Index > Lightsail > Literals

Auto-generated documentation for Lightsail type annotations stubs module mypy-boto3-lightsail.

AccessDirectionType#

# AccessDirectionType usage example

from mypy_boto3_lightsail.literals import AccessDirectionType

def get_value() -> AccessDirectionType:
    return "inbound"
# AccessDirectionType definition

AccessDirectionType = Literal[
    "inbound",
    "outbound",
]

AccessTypeType#

# AccessTypeType usage example

from mypy_boto3_lightsail.literals import AccessTypeType

def get_value() -> AccessTypeType:
    return "private"
# AccessTypeType definition

AccessTypeType = Literal[
    "private",
    "public",
]

AccountLevelBpaSyncStatusType#

# AccountLevelBpaSyncStatusType usage example

from mypy_boto3_lightsail.literals import AccountLevelBpaSyncStatusType

def get_value() -> AccountLevelBpaSyncStatusType:
    return "Defaulted"
# AccountLevelBpaSyncStatusType definition

AccountLevelBpaSyncStatusType = Literal[
    "Defaulted",
    "Failed",
    "InSync",
    "NeverSynced",
]

AddOnTypeType#

# AddOnTypeType usage example

from mypy_boto3_lightsail.literals import AddOnTypeType

def get_value() -> AddOnTypeType:
    return "AutoSnapshot"
# AddOnTypeType definition

AddOnTypeType = Literal[
    "AutoSnapshot",
    "StopInstanceOnIdle",
]

AlarmStateType#

# AlarmStateType usage example

from mypy_boto3_lightsail.literals import AlarmStateType

def get_value() -> AlarmStateType:
    return "ALARM"
# AlarmStateType definition

AlarmStateType = Literal[
    "ALARM",
    "INSUFFICIENT_DATA",
    "OK",
]

AppCategoryType#

# AppCategoryType usage example

from mypy_boto3_lightsail.literals import AppCategoryType

def get_value() -> AppCategoryType:
    return "LfR"
# AppCategoryType definition

AppCategoryType = Literal[
    "LfR",
]

AutoMountStatusType#

# AutoMountStatusType usage example

from mypy_boto3_lightsail.literals import AutoMountStatusType

def get_value() -> AutoMountStatusType:
    return "Failed"
# AutoMountStatusType definition

AutoMountStatusType = Literal[
    "Failed",
    "Mounted",
    "NotMounted",
    "Pending",
]

AutoSnapshotStatusType#

# AutoSnapshotStatusType usage example

from mypy_boto3_lightsail.literals import AutoSnapshotStatusType

def get_value() -> AutoSnapshotStatusType:
    return "Failed"
# AutoSnapshotStatusType definition

AutoSnapshotStatusType = Literal[
    "Failed",
    "InProgress",
    "NotFound",
    "Success",
]

BPAStatusMessageType#

# BPAStatusMessageType usage example

from mypy_boto3_lightsail.literals import BPAStatusMessageType

def get_value() -> BPAStatusMessageType:
    return "DEFAULTED_FOR_SLR_MISSING"
# BPAStatusMessageType definition

BPAStatusMessageType = Literal[
    "DEFAULTED_FOR_SLR_MISSING",
    "DEFAULTED_FOR_SLR_MISSING_ON_HOLD",
    "SYNC_ON_HOLD",
    "Unknown",
]

BehaviorEnumType#

# BehaviorEnumType usage example

from mypy_boto3_lightsail.literals import BehaviorEnumType

def get_value() -> BehaviorEnumType:
    return "cache"
# BehaviorEnumType definition

BehaviorEnumType = Literal[
    "cache",
    "dont-cache",
]

BlueprintTypeType#

# BlueprintTypeType usage example

from mypy_boto3_lightsail.literals import BlueprintTypeType

def get_value() -> BlueprintTypeType:
    return "app"
# BlueprintTypeType definition

BlueprintTypeType = Literal[
    "app",
    "os",
]

BucketMetricNameType#

# BucketMetricNameType usage example

from mypy_boto3_lightsail.literals import BucketMetricNameType

def get_value() -> BucketMetricNameType:
    return "BucketSizeBytes"
# BucketMetricNameType definition

BucketMetricNameType = Literal[
    "BucketSizeBytes",
    "NumberOfObjects",
]

CertificateDomainValidationStatusType#

# CertificateDomainValidationStatusType usage example

from mypy_boto3_lightsail.literals import CertificateDomainValidationStatusType

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

CertificateDomainValidationStatusType = Literal[
    "FAILED",
    "PENDING_VALIDATION",
    "SUCCESS",
]

CertificateProviderType#

# CertificateProviderType usage example

from mypy_boto3_lightsail.literals import CertificateProviderType

def get_value() -> CertificateProviderType:
    return "LetsEncrypt"
# CertificateProviderType definition

CertificateProviderType = Literal[
    "LetsEncrypt",
]

CertificateStatusType#

# CertificateStatusType usage example

from mypy_boto3_lightsail.literals import CertificateStatusType

def get_value() -> CertificateStatusType:
    return "EXPIRED"
# CertificateStatusType definition

CertificateStatusType = Literal[
    "EXPIRED",
    "FAILED",
    "INACTIVE",
    "ISSUED",
    "PENDING_VALIDATION",
    "REVOKED",
    "VALIDATION_TIMED_OUT",
]

CloudFormationStackRecordSourceTypeType#

# CloudFormationStackRecordSourceTypeType usage example

from mypy_boto3_lightsail.