interface CfnDeploymentMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.GreengrassV2.Mixins.CfnDeploymentMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsgreengrassv2/mixins#CfnDeploymentMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.greengrassv2.mixins.CfnDeploymentMixinProps |
Python | aws_cdk.mixins_preview.aws_greengrassv2.mixins.CfnDeploymentMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_greengrassv2 » mixins » CfnDeploymentMixinProps |
Properties for CfnDeploymentPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as greengrassv2_mixins } from '@aws-cdk/mixins-preview/aws-greengrassv2';
declare const rateIncreaseCriteria: any;
const cfnDeploymentMixinProps: greengrassv2_mixins.CfnDeploymentMixinProps = {
components: {
componentsKey: {
componentVersion: 'componentVersion',
configurationUpdate: {
merge: 'merge',
reset: ['reset'],
},
runWith: {
posixUser: 'posixUser',
systemResourceLimits: {
cpus: 123,
memory: 123,
},
windowsUser: 'windowsUser',
},
},
},
deploymentName: 'deploymentName',
deploymentPolicies: {
componentUpdatePolicy: {
action: 'action',
timeoutInSeconds: 123,
},
configurationValidationPolicy: {
timeoutInSeconds: 123,
},
failureHandlingPolicy: 'failureHandlingPolicy',
},
iotJobConfiguration: {
abortConfig: {
criteriaList: [{
action: 'action',
failureType: 'failureType',
minNumberOfExecutedThings: 123,
thresholdPercentage: 123,
}],
},
jobExecutionsRolloutConfig: {
exponentialRate: {
baseRatePerMinute: 123,
incrementFactor: 123,
rateIncreaseCriteria: rateIncreaseCriteria,
},
maximumPerMinute: 123,
},
timeoutConfig: {
inProgressTimeoutInMinutes: 123,
},
},
parentTargetArn: 'parentTargetArn',
tags: {
tagsKey: 'tags',
},
targetArn: 'targetArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| components? | IResolvable | { [string]: IResolvable | Component } | The components to deploy. |
| deployment | string | The name of the deployment. |
| deployment | IResolvable | Deployment | The deployment policies for the deployment. |
| iot | IResolvable | Deployment | The job configuration for the deployment configuration. |
| parent | string | The parent deployment's ARN for a subdeployment. |
| tags? | { [string]: string } | Application-specific metadata to attach to the deployment. |
| target | string | The ARN of the target AWS IoT thing or thing group. |
components?
Type:
IResolvable | { [string]: IResolvable | Component }
(optional)
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?
Type:
string
(optional)
The name of the deployment.
deploymentPolicies?
Type:
IResolvable | Deployment
(optional)
The deployment policies for the deployment.
These policies define how the deployment updates components and handles failure.
iotJobConfiguration?
Type:
IResolvable | Deployment
(optional)
The job configuration for the deployment configuration.
The job configuration specifies the rollout, timeout, and stop configurations for the deployment configuration.
parentTargetArn?
Type:
string
(optional)
The parent deployment's ARN for a subdeployment.
tags?
Type:
{ [string]: string }
(optional)
Application-specific metadata to attach to the deployment.
You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tag your AWS IoT Greengrass Version 2 resources in the AWS IoT Greengrass V2 Developer Guide .
This Json property type is processed as a map of key-value pairs. It uses the following format, which is different from most Tags implementations in CloudFormation templates.
"Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
}
targetArn?
Type:
string
(optional)
The ARN of the target AWS IoT thing or thing group.

.NET
Go
Java
Python
TypeScript