Skip to content

Type definitions#

Index > AppRunner > Type definitions

Auto-generated documentation for AppRunner type annotations stubs module mypy-boto3-apprunner.

SourceConfigurationUnionTypeDef#

# SourceConfigurationUnionTypeDef definition

SourceConfigurationUnionTypeDef = Union[
    SourceConfigurationTypeDef,  # (1)
    SourceConfigurationOutputTypeDef,  # (2)
]
  1. See SourceConfigurationTypeDef
  2. See SourceConfigurationOutputTypeDef

AssociateCustomDomainRequestRequestTypeDef#

# AssociateCustomDomainRequestRequestTypeDef definition

class AssociateCustomDomainRequestRequestTypeDef(TypedDict):
    ServiceArn: str,
    DomainName: str,
    EnableWWWSubdomain: NotRequired[bool],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

VpcDNSTargetTypeDef#

# VpcDNSTargetTypeDef definition

class VpcDNSTargetTypeDef(TypedDict):
    VpcIngressConnectionArn: NotRequired[str],
    VpcId: NotRequired[str],
    DomainName: NotRequired[str],

AuthenticationConfigurationTypeDef#

# AuthenticationConfigurationTypeDef definition

class AuthenticationConfigurationTypeDef(TypedDict):
    ConnectionArn: NotRequired[str],
    AccessRoleArn: NotRequired[str],

AutoScalingConfigurationSummaryTypeDef#

# AutoScalingConfigurationSummaryTypeDef definition

class AutoScalingConfigurationSummaryTypeDef(TypedDict):
    AutoScalingConfigurationArn: NotRequired[str],
    AutoScalingConfigurationName: NotRequired[str],
    AutoScalingConfigurationRevision: NotRequired[int],
    Status: NotRequired[AutoScalingConfigurationStatusType],  # (1)
    CreatedAt: NotRequired[datetime],
    HasAssociatedService: NotRequired[bool],
    IsDefault: NotRequired[bool],
  1. See AutoScalingConfigurationStatusType

AutoScalingConfigurationTypeDef#

# AutoScalingConfigurationTypeDef definition

class AutoScalingConfigurationTypeDef(TypedDict):
    AutoScalingConfigurationArn: NotRequired[str],
    AutoScalingConfigurationName: NotRequired[str],
    AutoScalingConfigurationRevision: NotRequired[int],
    Latest: NotRequired[bool],
    Status: NotRequired[AutoScalingConfigurationStatusType],  # (1)
    MaxConcurrency: NotRequired[int],
    MinSize: NotRequired[int],
    MaxSize: NotRequired[int],
    CreatedAt: NotRequired[datetime],
    DeletedAt: NotRequired[datetime],
    HasAssociatedService: NotRequired[bool],
    IsDefault: NotRequired[bool],
  1. See AutoScalingConfigurationStatusType

CertificateValidationRecordTypeDef#

# CertificateValidationRecordTypeDef definition

class CertificateValidationRecordTypeDef(TypedDict):
    Name: NotRequired[str],
    Type: NotRequired[str],
    Value: NotRequired[str],
    Status: NotRequired[CertificateValidationRecordStatusType],  # (1)
  1. See CertificateValidationRecordStatusType

CodeConfigurationValuesOutputTypeDef#

# CodeConfigurationValuesOutputTypeDef definition

class CodeConfigurationValuesOutputTypeDef(TypedDict):
    Runtime: RuntimeType,  # (1)
    BuildCommand: NotRequired[str],
    StartCommand: NotRequired[str],
    Port: NotRequired[str],
    RuntimeEnvironmentVariables: NotRequired[Dict[str, str]],
    RuntimeEnvironmentSecrets: NotRequired[Dict[str, str]],
  1. See RuntimeType

CodeConfigurationValuesTypeDef#

# CodeConfigurationValuesTypeDef definition

class CodeConfigurationValuesTypeDef(TypedDict):
    Runtime: RuntimeType,  # (1)
    BuildCommand: NotRequired[str],
    StartCommand: NotRequired[str],
    Port: NotRequired[str],
    RuntimeEnvironmentVariables: NotRequired[Mapping[str, str]],
    RuntimeEnvironmentSecrets: NotRequired[Mapping[str, str]],
  1. See RuntimeType

SourceCodeVersionTypeDef#

# SourceCodeVersionTypeDef definition

class SourceCodeVersionTypeDef(TypedDict):
    Type: SourceCodeVersionTypeType,  # (1)
    Value: str,
  1. See SourceCodeVersionTypeType

ConnectionSummaryTypeDef#

# ConnectionSummaryTypeDef definition

class ConnectionSummaryTypeDef(TypedDict):
    ConnectionName: NotRequired[str],
    ConnectionArn: NotRequired[str],
    ProviderType: NotRequired[ProviderTypeType],  # (1)
    Status: NotRequired[ConnectionStatusType],  # (2)
    CreatedAt: NotRequired[datetime],
  1. See ProviderTypeType
  2. See ConnectionStatusType

ConnectionTypeDef#

# ConnectionTypeDef definition

class ConnectionTypeDef(TypedDict):
    ConnectionName: NotRequired[str],
    ConnectionArn: NotRequired[str],
    ProviderType: NotRequired[ProviderTypeType],  # (1)
    Status: NotRequired[ConnectionStatusType],  # (2)
    CreatedAt: NotRequired[datetime],
  1. See ProviderTypeType
  2. See ConnectionStatusType

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

TraceConfigurationTypeDef#

# TraceConfigurationTypeDef definition

class TraceConfigurationTypeDef(TypedDict):
    Vendor: TracingVendorType,  # (1)
  1. See TracingVendorType

EncryptionConfigurationTypeDef#

# EncryptionConfigurationTypeDef definition

class EncryptionConfigurationTypeDef(TypedDict):
    KmsKey: str,

HealthCheckConfigurationTypeDef#

# HealthCheckConfigurationTypeDef definition

class HealthCheckConfigurationTypeDef(TypedDict):
    Protocol: NotRequired[HealthCheckProtocolType],  # (1)
    Path: NotRequired[str],
    Interval: NotRequired[int],
    Timeout: NotRequired[int],
    HealthyThreshold: NotRequired[int],
    UnhealthyThreshold: NotRequired[int],
  1. See HealthCheckProtocolType

InstanceConfigurationTypeDef#

# InstanceConfigurationTypeDef definition

class InstanceConfigurationTypeDef(TypedDict):
    Cpu: NotRequired[str],
    Memory: NotRequired[str],
    InstanceRoleArn: NotRequired[str],

ServiceObservabilityConfigurationTypeDef#

# ServiceObservabilityConfigurationTypeDef definition

class ServiceObservabilityConfigurationTypeDef(TypedDict):
    ObservabilityEnabled: bool,
    ObservabilityConfigurationArn: NotRequired[str],

VpcConnectorTypeDef#

# VpcConnectorTypeDef definition

class VpcConnectorTypeDef(TypedDict):
    VpcConnectorName: NotRequired[str],
    VpcConnectorArn: NotRequired[str],
    VpcConnectorRevision: NotRequired[int],
    Subnets: NotRequired[List[str]],
    SecurityGroups: NotRequired[List[str]],
    Status: NotRequired[VpcConnectorStatusType],  # (1)
    CreatedAt: NotRequired[datetime],
    DeletedAt: NotRequired[datetime],
  1. See VpcConnectorStatusType

IngressVpcConfigurationTypeDef#

# IngressVpcConfigurationTypeDef definition

class IngressVpcConfigurationTypeDef(TypedDict):
    VpcId: NotRequired[str],
    VpcEndpointId: NotRequired[str],

DeleteAutoScalingConfigurationRequestRequestTypeDef#

# DeleteAutoScalingConfigurationRequestRequestTypeDef definition

class DeleteAutoScalingConfigurationRequestRequestTypeDef(TypedDict):
    AutoScalingConfigurationArn: str,
    DeleteAllRevisions: NotRequired[bool],

DeleteConnectionRequestRequestTypeDef#

# DeleteConnectionRequestRequestTypeDef definition

class DeleteConnectionRequestRequestTypeDef(TypedDict):
    ConnectionArn: str,

DeleteObservabilityConfigurationRequestRequestTypeDef#

# DeleteObservabilityConfigurationRequestRequestTypeDef definition

class DeleteObservabilityConfigurationRequestRequestTypeDef(TypedDict):
    ObservabilityConfigurationArn: str,

DeleteServiceRequestRequestTypeDef#

# DeleteServiceRequestRequestTypeDef definition

class DeleteServiceRequestRequestTypeDef(TypedDict):
    ServiceArn: str,

DeleteVpcConnectorRequestRequestTypeDef#

# DeleteVpcConnectorRequestRequestTypeDef definition

class DeleteVpcConnectorRequestRequestTypeDef(TypedDict):
    VpcConnectorArn: str,

DeleteVpcIngressConnectionRequestRequestTypeDef#

# DeleteVpcIngressConnectionRequestRequestTypeDef definition

class DeleteVpcIngressConnectionRequestRequestTypeDef(TypedDict):
    VpcIngressConnectionArn: str,

DescribeAutoScalingConfigurationRequestRequestTypeDef#

# DescribeAutoScalingConfigurationRequestRequestTypeDef definition

class DescribeAutoScalingConfigurationRequestRequestTypeDef(TypedDict):
    AutoScalingConfigurationArn: str,

DescribeCustomDomainsRequestRequestTypeDef#

# DescribeCustomDomainsRequestRequestTypeDef definition

class DescribeCustomDomainsRequestRequestTypeDef(TypedDict):
    ServiceArn: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

DescribeObservabilityConfigurationRequestRequestTypeDef