PolicyDocumentProps

class aws_cdk.aws_iam.PolicyDocumentProps(*, assign_sids=None, statements=None)

Bases: object

Properties for a new PolicyDocument.

Parameters
  • assign_sids (Optional[bool]) – Automatically assign Statement Ids to all statements. Default: false

  • statements (Optional[List[PolicyStatement]]) – Initial statements to add to the policy document. Default: - No statements

Attributes

assign_sids

Automatically assign Statement Ids to all statements.

Default

false

Return type

Optional[bool]

statements

Initial statements to add to the policy document.

Default
  • No statements

Return type

Optional[List[PolicyStatement]]