Class CfnDeployment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeployment>
- Enclosing class:
CfnDeployment
CfnDeployment
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
components
(Map<String, ? extends Object> components) The components to deploy.components
(IResolvable components) The components to deploy.static CfnDeployment.Builder
deploymentName
(String deploymentName) The name of the deployment.deploymentPolicies
(IResolvable deploymentPolicies) The deployment policies for the deployment.deploymentPolicies
(CfnDeployment.DeploymentPoliciesProperty deploymentPolicies) The deployment policies for the deployment.iotJobConfiguration
(IResolvable iotJobConfiguration) The job configuration for the deployment configuration.iotJobConfiguration
(CfnDeployment.DeploymentIoTJobConfigurationProperty iotJobConfiguration) The job configuration for the deployment configuration.parentTargetArn
(String parentTargetArn) The parent deployment's ARN for a subdeployment.Application-specific metadata to attach to the deployment.The ARN of the target AWS IoT thing or thing group.
-
Method Details
-
create
@Stability(Stable) public static CfnDeployment.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDeployment.Builder
.
-
targetArn
The ARN of the target AWS IoT thing or thing group.- Parameters:
targetArn
- The ARN of the target AWS IoT thing or thing group. This parameter is required.- Returns:
this
- See Also:
-
components
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.
- Parameters:
components
- The components to deploy. This parameter is required.- Returns:
this
- See Also:
-
components
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.
- Parameters:
components
- The components to deploy. This parameter is required.- Returns:
this
- See Also:
-
deploymentName
The name of the deployment.- Parameters:
deploymentName
- The name of the deployment. This parameter is required.- Returns:
this
- See Also:
-
deploymentPolicies
The deployment policies for the deployment.These policies define how the deployment updates components and handles failure.
- Parameters:
deploymentPolicies
- The deployment policies for the deployment. This parameter is required.- Returns:
this
- See Also:
-
deploymentPolicies
@Stability(Stable) public CfnDeployment.Builder deploymentPolicies(CfnDeployment.DeploymentPoliciesProperty deploymentPolicies) The deployment policies for the deployment.These policies define how the deployment updates components and handles failure.
- Parameters:
deploymentPolicies
- The deployment policies for the deployment. This parameter is required.- Returns:
this
- See Also:
-
iotJobConfiguration
@Stability(Stable) public CfnDeployment.Builder iotJobConfiguration(IResolvable iotJobConfiguration) The job configuration for the deployment configuration.The job configuration specifies the rollout, timeout, and stop configurations for the deployment configuration.
- Parameters:
iotJobConfiguration
- The job configuration for the deployment configuration. This parameter is required.- Returns:
this
- See Also:
-
iotJobConfiguration
@Stability(Stable) public CfnDeployment.Builder iotJobConfiguration(CfnDeployment.DeploymentIoTJobConfigurationProperty iotJobConfiguration) The job configuration for the deployment configuration.The job configuration specifies the rollout, timeout, and stop configurations for the deployment configuration.
- Parameters:
iotJobConfiguration
- The job configuration for the deployment configuration. This parameter is required.- Returns:
this
- See Also:
-
parentTargetArn
The parent deployment's ARN for a subdeployment.- Parameters:
parentTargetArn
- The parent deployment's ARN for a subdeployment. This parameter is required.- Returns:
this
- See Also:
-
tags
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 mostTags
implementations in AWS CloudFormation templates."Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
- Parameters:
tags
- Application-specific metadata to attach to the deployment. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeployment>
- Returns:
- a newly built instance of
CfnDeployment
.
-