class Aws::GreengrassV2::Types::ComponentRunWith

Contains information system user and group that the IoT Greengrass Core software uses to run component processes on the core device. For more information, see [Configure the user and group that run components] in the *IoT Greengrass V2 Developer Guide*.

[1]: docs.aws.amazon.com/greengrass/v2/developerguide/configure-greengrass-core-v2.html#configure-component-user

@note When making an API call, you may pass ComponentRunWith

data as a hash:

    {
      posix_user: "NonEmptyString",
      system_resource_limits: {
        memory: 1,
        cpus: 1.0,
      },
    }

@!attribute [rw] posix_user

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 IoT Greengrass Core software uses the
primary user for the group.

If you omit this parameter, the IoT Greengrass Core software uses
the default system user and group that you configure on the
Greengrass nucleus component. For more information, see [Configure
the user and group that run components][1].

[1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/configure-greengrass-core-v2.html#configure-component-user
@return [String]

@!attribute [rw] system_resource_limits

The system resource limits to apply to this component's process on
the core device.

If you omit this parameter, the IoT Greengrass Core software uses
the default system resource limits that you configure on the
Greengrass nucleus component. For more information, see [Configure
system resource limits for components][1].

[1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/configure-greengrass-core-v2.html#configure-component-system-resource-limits
@return [Types::SystemResourceLimits]

@see docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ComponentRunWith AWS API Documentation

Constants

SENSITIVE