Skip to content

CreateDeploymentRequest

Source code in docs_src/capo_greengrassv2/types/create_deployment_request.py
class CreateDeploymentRequest(TypedDict, closed=True):
    target_arn: "capo_greengrassv2.types.target_arn.TargetARN"
    """<p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.</p>"""
    deployment_name: NotRequired[
        "capo_greengrassv2.types.deployment_name_string.DeploymentNameString"
    ]
    """<p>The name of the deployment.</p>"""
    components: NotRequired[
        "capo_greengrassv2.types.component_deployment_specifications.ComponentDeploymentSpecifications"
    ]
    """<p>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.</p>"""
    iot_job_configuration: NotRequired[
        "capo_greengrassv2.types.deployment_io_t_job_configuration.DeploymentIoTJobConfiguration"
    ]
    """<p>The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and stop configurations for the deployment configuration.</p>"""
    deployment_policies: NotRequired[
        "capo_greengrassv2.types.deployment_policies.DeploymentPolicies"
    ]
    """<p>The deployment policies for the deployment. These policies define how the deployment updates components and handles failure.</p>"""
    parent_target_arn: NotRequired[
        "capo_greengrassv2.types.thing_group_arn.ThingGroupARN"
    ]
    """<p>The parent deployment's target <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> within a subdeployment.</p>"""
    tags: NotRequired["capo_greengrassv2.types.tag_map.TagMap"]
    """<p>A list of key-value pairs that contain metadata for the resource. For more information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html">Tag your resources</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>"""
    client_token: NotRequired[
        "capo_greengrassv2.types.client_token_string.ClientTokenString"
    ]
    """<p>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.</p>"""

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.

target_arn instance-attribute

target_arn: TargetARN

The ARN of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.