GetPolicyDocumentStatement constructor

const GetPolicyDocumentStatement({
  1. Input<List<String>?>? actions,
  2. Input<List<GetPolicyDocumentStatementCondition>?>? conditions,
  3. Input<String?>? effect,
  4. Input<List<String>?>? notActions,
  5. Input<List<GetPolicyDocumentStatementNotPrincipal>?>? notPrincipals,
  6. Input<List<String>?>? notResources,
  7. Input<List<GetPolicyDocumentStatementPrincipal>?>? principals,
  8. Input<List<String>?>? resources,
  9. Input<String?>? sid,
})

Creates a new GetPolicyDocumentStatement. actions List of actions that this statement either allows or denies. For example, ["ec2:RunInstances", "s3:*"]. conditions Configuration block for a condition. Detailed below. effect Whether this statement allows or denies the given actions. Valid values are Allow and Deny. Defaults to Allow. notActions List of actions that this statement does not apply to. Use to apply a policy statement to all actions except those listed. notPrincipals Like principals except these are principals that the statement does not apply to. notResources List of resource ARNs that this statement does not apply to. Use to apply a policy statement to all resources except those listed. Conflicts with resources. principals Configuration block for principals. Detailed below. resources List of resource ARNs that this statement applies to. This is required by AWS if used for an IAM policy. Conflicts with notResources. sid Sid (statement ID) is an identifier for a policy statement.

Implementation

const GetPolicyDocumentStatement({
  this.actions,
  this.conditions,
  this.effect,
  this.notActions,
  this.notPrincipals,
  this.notResources,
  this.principals,
  this.resources,
  this.sid,
});