Sets the resources associated with this policy statement and returns this
updated Statement object so that additional method calls can be chained
together.
Resources are what a policy statement is allowing or denying access to, such as an Amazon SQS queue or an Amazon SNS topic.
Note that some services allow only one resource to be specified per policy statement.
Declaration Syntax
C# |
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")] public Statement WithResources( params Resource[] resources )
Parameters
- resources (array<Resource>[]()[][])
- The resources associated with this policy statement.
Return Value
this instance