InitGroup

class aws_cdk.aws_ec2.InitGroup(group_name, group_id=None)

Bases: aws_cdk.aws_ec2.InitElement

Create Linux/UNIX groups and assign group IDs.

Not supported for Windows systems.

Parameters
  • group_name (str) –

  • group_id (Union[int, float, None]) –

Attributes

element_type

Returns the init element type for this element.

Return type

str

Static Methods

classmethod from_name(group_name, group_id=None)

Create a group from its name, and optionally, group id.

Parameters
  • group_name (str) –

  • group_id (Union[int, float, None]) –

Return type

InitGroup