Skip to content

Type definitions#

Index > CodeDeploy > Type definitions

Auto-generated documentation for CodeDeploy type annotations stubs module mypy-boto3-codedeploy.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

TagTypeDef#

# TagTypeDef definition

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

AlarmTypeDef#

# AlarmTypeDef definition

class AlarmTypeDef(TypedDict):
    name: NotRequired[str],

AppSpecContentTypeDef#

# AppSpecContentTypeDef definition

class AppSpecContentTypeDef(TypedDict):
    content: NotRequired[str],
    sha256: NotRequired[str],

ApplicationInfoTypeDef#

# ApplicationInfoTypeDef definition

class ApplicationInfoTypeDef(TypedDict):
    applicationId: NotRequired[str],
    applicationName: NotRequired[str],
    createTime: NotRequired[datetime],
    linkedToGitHub: NotRequired[bool],
    gitHubAccountName: NotRequired[str],
    computePlatform: NotRequired[ComputePlatformType],  # (1)
  1. See ComputePlatformType

AutoRollbackConfigurationTypeDef#

# AutoRollbackConfigurationTypeDef definition

class AutoRollbackConfigurationTypeDef(TypedDict):
    enabled: NotRequired[bool],
    events: NotRequired[List[AutoRollbackEventType]],  # (1)
  1. See AutoRollbackEventType

AutoScalingGroupTypeDef#

# AutoScalingGroupTypeDef definition

class AutoScalingGroupTypeDef(TypedDict):
    name: NotRequired[str],
    hook: NotRequired[str],
    terminationHook: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

BatchGetApplicationsInputRequestTypeDef#

# BatchGetApplicationsInputRequestTypeDef definition

class BatchGetApplicationsInputRequestTypeDef(TypedDict):
    applicationNames: Sequence[str],

BatchGetDeploymentGroupsInputRequestTypeDef#

# BatchGetDeploymentGroupsInputRequestTypeDef definition

class BatchGetDeploymentGroupsInputRequestTypeDef(TypedDict):
    applicationName: str,
    deploymentGroupNames: Sequence[str],

BatchGetDeploymentInstancesInputRequestTypeDef#

# BatchGetDeploymentInstancesInputRequestTypeDef definition

class BatchGetDeploymentInstancesInputRequestTypeDef(TypedDict):
    deploymentId: str,
    instanceIds: Sequence[str],

BatchGetDeploymentTargetsInputRequestTypeDef#

# BatchGetDeploymentTargetsInputRequestTypeDef definition

class BatchGetDeploymentTargetsInputRequestTypeDef(TypedDict):
    deploymentId: str,
    targetIds: Sequence[str],

BatchGetDeploymentsInputRequestTypeDef#

# BatchGetDeploymentsInputRequestTypeDef definition

class BatchGetDeploymentsInputRequestTypeDef(TypedDict):
    deploymentIds: Sequence[str],

BatchGetOnPremisesInstancesInputRequestTypeDef#

# BatchGetOnPremisesInstancesInputRequestTypeDef definition

class BatchGetOnPremisesInstancesInputRequestTypeDef(TypedDict):
    instanceNames: Sequence[str],

BlueInstanceTerminationOptionTypeDef#

# BlueInstanceTerminationOptionTypeDef definition

class BlueInstanceTerminationOptionTypeDef(TypedDict):
    action: NotRequired[InstanceActionType],  # (1)
    terminationWaitTimeInMinutes: NotRequired[int],
  1. See InstanceActionType

DeploymentReadyOptionTypeDef#

# DeploymentReadyOptionTypeDef definition

class DeploymentReadyOptionTypeDef(TypedDict):
    actionOnTimeout: NotRequired[DeploymentReadyActionType],  # (1)
    waitTimeInMinutes: NotRequired[int],
  1. See DeploymentReadyActionType

GreenFleetProvisioningOptionTypeDef#

# GreenFleetProvisioningOptionTypeDef definition

class GreenFleetProvisioningOptionTypeDef(TypedDict):
    action: NotRequired[GreenFleetProvisioningActionType],  # (1)
  1. See GreenFleetProvisioningActionType

ContinueDeploymentInputRequestTypeDef#

# ContinueDeploymentInputRequestTypeDef definition

class ContinueDeploymentInputRequestTypeDef(TypedDict):
    deploymentId: NotRequired[str],
    deploymentWaitType: NotRequired[DeploymentWaitTypeType],  # (1)
  1. See DeploymentWaitTypeType

MinimumHealthyHostsTypeDef#

# MinimumHealthyHostsTypeDef definition

class MinimumHealthyHostsTypeDef(TypedDict):
    type: NotRequired[MinimumHealthyHostsTypeType],  # (1)
    value: NotRequired[int],
  1. See MinimumHealthyHostsTypeType

DeploymentStyleTypeDef#

# DeploymentStyleTypeDef definition

class DeploymentStyleTypeDef(TypedDict):
    deploymentType: NotRequired[DeploymentTypeType],  # (1)
    deploymentOption: NotRequired[DeploymentOptionType],  # (2)
  1. See DeploymentTypeType
  2. See DeploymentOptionType

EC2TagFilterTypeDef#

# EC2TagFilterTypeDef definition

class EC2TagFilterTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],
    Type: NotRequired[EC2TagFilterTypeType],  # (1)
  1. See EC2TagFilterTypeType

ECSServiceTypeDef#

# ECSServiceTypeDef definition

class ECSServiceTypeDef(TypedDict):
    serviceName: NotRequired[str],
    clusterName: NotRequired[str],

TagFilterTypeDef#

# TagFilterTypeDef definition

class TagFilterTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],
    Type: NotRequired[TagFilterTypeType],  # (1)
  1. See TagFilterTypeType

TriggerConfigTypeDef#

# TriggerConfigTypeDef definition

class TriggerConfigTypeDef(TypedDict):
    triggerName: NotRequired[str],
    triggerTargetArn: NotRequired[str],
    triggerEvents: NotRequired[List[TriggerEventTypeType]],  # (1)
  1. See TriggerEventTypeType

DeleteApplicationInputRequestTypeDef#

# DeleteApplicationInputRequestTypeDef definition

class DeleteApplicationInputRequestTypeDef(TypedDict):
    applicationName: str,

DeleteDeploymentConfigInputRequestTypeDef#

# DeleteDeploymentConfigInputRequestTypeDef definition

class DeleteDeploymentConfigInputRequestTypeDef(TypedDict):
    deploymentConfigName: str,

DeleteDeploymentGroupInputRequestTypeDef#

# DeleteDeploymentGroupInputRequestTypeDef definition

class DeleteDeploymentGroupInputRequestTypeDef(TypedDict):
    applicationName: str,
    deploymentGroupName: str,

DeleteGitHubAccountTokenInputRequestTypeDef#

# DeleteGitHubAccountTokenInputRequestTypeDef definition

class DeleteGitHubAccountTokenInputRequestTypeDef(TypedDict):
    tokenName: NotRequire