CreateDeploymentRequest
¶
Source code in docs_src/capo_greengrassv2/types/create_deployment_request.py
client_token
instance-attribute
¶
client_token: NotRequired[ClientTokenString]
A unique, case-sensitive identifier that you can provide to ensure that the request is idempotent. Idempotency means that the request is successfully processed only once, even if you send the request multiple times. When a request succeeds, and you specify the same client token for subsequent successful requests, the IoT Greengrass V2 service returns the successful response that it caches from the previous request. IoT Greengrass V2 caches successful responses for idempotent requests for up to 8 hours.
components
instance-attribute
¶
components: NotRequired[ComponentDeploymentSpecifications]
The components to deploy. This is a dictionary, where each key is the name of a component, and each key's value is the version and configuration to deploy for that component.
deployment_name
instance-attribute
¶
deployment_name: NotRequired[DeploymentNameString]
The name of the deployment.
deployment_policies
instance-attribute
¶
deployment_policies: NotRequired[DeploymentPolicies]
The deployment policies for the deployment. These policies define how the deployment updates components and handles failure.
iot_job_configuration
instance-attribute
¶
iot_job_configuration: NotRequired[DeploymentIoTJobConfiguration]
The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and stop configurations for the deployment configuration.
parent_target_arn
instance-attribute
¶
parent_target_arn: NotRequired[ThingGroupARN]
The parent deployment's target ARN within a subdeployment.
tags
instance-attribute
¶
tags: NotRequired[TagMap]
A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.