Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CreateDeploymentRequest

import type { CreateDeploymentRequest } from "https://aws-api.deno.dev/v0.4/services/greengrassv2.ts?docs=full";
interface CreateDeploymentRequest {
clientToken?: string | null;
components?: {
[key: string]: ComponentDeploymentSpecification | null | undefined;
}
| null;
deploymentName?: string | null;
deploymentPolicies?: DeploymentPolicies | null;
iotJobConfiguration?: DeploymentIoTJobConfiguration | null;
parentTargetArn?: string | null;
tags?: {
[key: string]: string | null | undefined;
}
| null;
targetArn: string;
}

§Properties

§
clientToken?: string | null
[src]

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?: {
[key: string]: ComponentDeploymentSpecification | null | undefined;
}
| null
[src]

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.

§
deploymentName?: string | null
[src]

The name of the deployment.

§
deploymentPolicies?: DeploymentPolicies | null
[src]

The deployment policies for the deployment. These policies define how the deployment updates components and handles failure.

§
iotJobConfiguration?: DeploymentIoTJobConfiguration | null
[src]

The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and stop configurations for the deployment configuration.

§
parentTargetArn?: string | null
[src]

The parent deployment's target ARN within a subdeployment.

§
tags?: {
[key: string]: string | null | undefined;
}
| null
[src]

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.

§
targetArn: string
[src]

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