Literals#
Index > Inspector2 > Literals
Auto-generated documentation for Inspector2 type annotations stubs module mypy-boto3-inspector2.
AccountSortByType#
# AccountSortByType usage example
from mypy_boto3_inspector2.literals import AccountSortByType
def get_value() -> AccountSortByType:
return "ALL"
# AccountSortByType definition
AccountSortByType = Literal[
"ALL",
"CRITICAL",
"HIGH",
]
AggregationFindingTypeType#
# AggregationFindingTypeType usage example
from mypy_boto3_inspector2.literals import AggregationFindingTypeType
def get_value() -> AggregationFindingTypeType:
return "CODE_VULNERABILITY"
# AggregationFindingTypeType definition
AggregationFindingTypeType = Literal[
"CODE_VULNERABILITY",
"NETWORK_REACHABILITY",
"PACKAGE_VULNERABILITY",
]
AggregationResourceTypeType#
# AggregationResourceTypeType usage example
from mypy_boto3_inspector2.literals import AggregationResourceTypeType
def get_value() -> AggregationResourceTypeType:
return "AWS_EC2_INSTANCE"
# AggregationResourceTypeType definition
AggregationResourceTypeType = Literal[
"AWS_EC2_INSTANCE",
"AWS_ECR_CONTAINER_IMAGE",
"AWS_LAMBDA_FUNCTION",
]
AggregationTypeType#
# AggregationTypeType usage example
from mypy_boto3_inspector2.literals import AggregationTypeType
def get_value() -> AggregationTypeType:
return "ACCOUNT"
# AggregationTypeType definition
AggregationTypeType = Literal[
"ACCOUNT",
"AMI",
"AWS_EC2_INSTANCE",
"AWS_ECR_CONTAINER",
"AWS_LAMBDA_FUNCTION",
"FINDING_TYPE",
"IMAGE_LAYER",
"LAMBDA_LAYER",
"PACKAGE",
"REPOSITORY",
"TITLE",
]
AmiSortByType#
# AmiSortByType usage example
from mypy_boto3_inspector2.literals import AmiSortByType
def get_value() -> AmiSortByType:
return "AFFECTED_INSTANCES"
# AmiSortByType definition
AmiSortByType = Literal[
"AFFECTED_INSTANCES",
"ALL",
"CRITICAL",
"HIGH",
]
ArchitectureType#
# ArchitectureType usage example
from mypy_boto3_inspector2.literals import ArchitectureType
def get_value() -> ArchitectureType:
return "ARM64"
# ArchitectureType definition
ArchitectureType = Literal[
"ARM64",
"X86_64",
]
AwsEcrContainerSortByType#
# AwsEcrContainerSortByType usage example
from mypy_boto3_inspector2.literals import AwsEcrContainerSortByType
def get_value() -> AwsEcrContainerSortByType:
return "ALL"
# AwsEcrContainerSortByType definition
AwsEcrContainerSortByType = Literal[
"ALL",
"CRITICAL",
"HIGH",
]
CisFindingStatusComparisonType#
# CisFindingStatusComparisonType usage example
from mypy_boto3_inspector2.literals import CisFindingStatusComparisonType
def get_value() -> CisFindingStatusComparisonType:
return "EQUALS"
# CisFindingStatusComparisonType definition
CisFindingStatusComparisonType = Literal[
"EQUALS",
]
CisFindingStatusType#
# CisFindingStatusType usage example
from mypy_boto3_inspector2.literals import CisFindingStatusType
def get_value() -> CisFindingStatusType:
return "FAILED"
# CisFindingStatusType definition
CisFindingStatusType = Literal[
"FAILED",
"PASSED",
"SKIPPED",
]
CisReportFormatType#
# CisReportFormatType usage example
from mypy_boto3_inspector2.literals import CisReportFormatType
def get_value() -> CisReportFormatType:
return "CSV"
# CisReportFormatType definition
CisReportFormatType = Literal[
"CSV",
"PDF",
]
CisReportStatusType#
# CisReportStatusType usage example
from mypy_boto3_inspector2.literals import CisReportStatusType
def get_value() -> CisReportStatusType:
return "FAILED"
# CisReportStatusType definition
CisReportStatusType = Literal[
"FAILED",
"IN_PROGRESS",
"SUCCEEDED",
]
CisResultStatusComparisonType#
# CisResultStatusComparisonType usage example
from mypy_boto3_inspector2.literals import CisResultStatusComparisonType
def get_value() -> CisResultStatusComparisonType:
return "EQUALS"
# CisResultStatusComparisonType definition
CisResultStatusComparisonType = Literal[
"EQUALS",
]
CisResultStatusType#
# CisResultStatusType usage example
from mypy_boto3_inspector2.literals import CisResultStatusType
def get_value() -> CisResultStatusType:
return "FAILED"
# CisResultStatusType definition
CisResultStatusType = Literal[
"FAILED",
"PASSED",
"SKIPPED",
]
CisRuleStatusType#