Constructs a new access control policy statement with the specified
effect.
Before a statement is valid and can be sent to AWS, callers must set the principals, resources, and actions (as well as any optional conditions) involved in the statement.
Declaration Syntax
C# |
public Statement( Statement..::..StatementEffect effect )
Parameters
- effect (Statement..::..StatementEffect)
- The effect this statement has (allowing access or denying access) when all conditions, resources, principals, and actions are matched.