AWS SDK for .NET Documentation
WithStatements Method (statements)
AmazonAmazon.Auth.AccessControlPolicyPolicyWithStatements(array<Statement>[]()[][]) Did this page help you?   Yes   No    Tell us about it...
Sets the collection of statements contained by this policy and returns this policy object so that additional method calls can be chained together.

Individual statements in a policy are what specify the rules that enable or disable access to your AWS resources.

Declaration Syntax
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See for more information.")]
public Policy WithStatements(
	params Statement[] statements
statements (array<Statement>[]()[][])
The collection of statements included in this policy.
Return Value
this instance

Assembly: AWSSDK (Module: AWSSDK) Version: (