Class CfnDeploymentPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeploymentPropsMixin>
- Enclosing class:
CfnDeploymentPropsMixin
CfnDeploymentPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()components(Map<String, ? extends Object> components) The components to deploy.components(IResolvable components) The components to deploy.create()create(CfnPropertyMixinOptions options) deploymentName(String deploymentName) The name of the deployment.deploymentPolicies(CfnDeploymentPropsMixin.DeploymentPoliciesProperty deploymentPolicies) The deployment policies for the deployment.deploymentPolicies(IResolvable deploymentPolicies) The deployment policies for the deployment.iotJobConfiguration(CfnDeploymentPropsMixin.DeploymentIoTJobConfigurationProperty iotJobConfiguration) The job configuration for the deployment configuration.iotJobConfiguration(IResolvable 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 CfnDeploymentPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDeploymentPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDeploymentPropsMixin.Builder.
-
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
@Stability(Stable) public CfnDeploymentPropsMixin.Builder components(Map<String, ? extends Object> 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
@Stability(Stable) public CfnDeploymentPropsMixin.Builder deploymentPolicies(IResolvable 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 CfnDeploymentPropsMixin.Builder deploymentPolicies(CfnDeploymentPropsMixin.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 CfnDeploymentPropsMixin.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 CfnDeploymentPropsMixin.Builder iotJobConfiguration(CfnDeploymentPropsMixin.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
Jsonproperty type is processed as a map of key-value pairs. It uses the following format, which is different from mostTagsimplementations in 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:
-
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:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeploymentPropsMixin>- Returns:
- a newly built instance of
CfnDeploymentPropsMixin.
-