PolicyDocumentProps

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

Bases: object

__init__(*, assign_sids=None, statements=None)

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

Return type

None

Attributes

assign_sids

Automatically assign Statement Ids to all statements.

default :default: false

Return type

Optional[bool]

statements

Initial statements to add to the policy document.

default :default: - No statements

Return type

Optional[List[PolicyStatement]]