CreateDeploymentRequest
¶
Source code in docs_src/capo_amplifygen3/types/create_deployment_request.py
branch_arn
instance-attribute
¶
branch_arn: NotRequired[BranchArn]
The Amazon Resource Name (ARN) of the branch to deploy to. This applies only to an app with a backend. The branch must belong to the same app and environment. In the Production environment, it must be the production branch. If you omit this, Amplify chooses the branch and creates it if it doesn't exist.
description
instance-attribute
¶
description: NotRequired[Description]
The description of the deployment.
environment_name
instance-attribute
¶
environment_name: EnvironmentName
The name of the environment.
publishable_key_action
instance-attribute
¶
publishable_key_action: NotRequired[PublishableKeyAction]
Specifies what the deployment does with the branch's publishable key, for an app with a backend. CREATE_NEW creates a new key that this deployment and later deployments use. The previous key stays active until you revoke it with RevokeApiKey. REUSE, the default, uses the branch's current key.
source_config
instance-attribute
¶
source_config: NotRequired[DeploymentSourceConfigRequest]
The source to deploy.