Class CfnDeploymentPropsMixin.ComponentRunWithProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeploymentPropsMixin.ComponentRunWithProperty>
- Enclosing interface:
CfnDeploymentPropsMixin.ComponentRunWithProperty
CfnDeploymentPropsMixin.ComponentRunWithProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDeploymentPropsMixin.ComponentRunWithProperty.getPosixUser()systemResourceLimits(CfnDeploymentPropsMixin.SystemResourceLimitsProperty systemResourceLimits) systemResourceLimits(IResolvable systemResourceLimits) windowsUser(String windowsUser) Sets the value ofCfnDeploymentPropsMixin.ComponentRunWithProperty.getWindowsUser()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
posixUser
@Stability(Stable) public CfnDeploymentPropsMixin.ComponentRunWithProperty.Builder posixUser(String posixUser) Sets the value ofCfnDeploymentPropsMixin.ComponentRunWithProperty.getPosixUser()- Parameters:
posixUser- The POSIX system user and (optional) group to use to run this component. Specify the user and group separated by a colon (:) in the following format:user:group. The group is optional. If you don't specify a group, the AWS IoT Greengrass Core software uses the primary user for the group.- Returns:
this
-
systemResourceLimits
@Stability(Stable) public CfnDeploymentPropsMixin.ComponentRunWithProperty.Builder systemResourceLimits(IResolvable systemResourceLimits) - Parameters:
systemResourceLimits- The system resource limits to apply to this component's process on the core device. AWS IoT Greengrass supports this feature only on Linux core devices.If you omit this parameter, the AWS IoT Greengrass Core software uses the default system resource limits that you configure on the AWS IoT Greengrass nucleus component. For more information, see Configure system resource limits for components .
- Returns:
this
-
systemResourceLimits
@Stability(Stable) public CfnDeploymentPropsMixin.ComponentRunWithProperty.Builder systemResourceLimits(CfnDeploymentPropsMixin.SystemResourceLimitsProperty systemResourceLimits) - Parameters:
systemResourceLimits- The system resource limits to apply to this component's process on the core device. AWS IoT Greengrass supports this feature only on Linux core devices.If you omit this parameter, the AWS IoT Greengrass Core software uses the default system resource limits that you configure on the AWS IoT Greengrass nucleus component. For more information, see Configure system resource limits for components .
- Returns:
this
-
windowsUser
@Stability(Stable) public CfnDeploymentPropsMixin.ComponentRunWithProperty.Builder windowsUser(String windowsUser) Sets the value ofCfnDeploymentPropsMixin.ComponentRunWithProperty.getWindowsUser()- Parameters:
windowsUser- The Windows user to use to run this component on Windows core devices. The user must exist on each Windows core device, and its name and password must be in the LocalSystem account's Credentials Manager instance.If you omit this parameter, the AWS IoT Greengrass Core software uses the default Windows user that you configure on the AWS IoT Greengrass nucleus component. For more information, see Configure the user and group that run components .
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeploymentPropsMixin.ComponentRunWithProperty>- Returns:
- a new instance of
CfnDeploymentPropsMixin.ComponentRunWithProperty - Throws:
NullPointerException- if any required attribute was not provided
-