AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
Constructs a new AWS access control policy resource. Resources are typically specified as Amazon Resource Names (ARNs).

You specify the resource using the following Amazon Resource Name (ARN) format: arn:aws:<vendor>:<region>:<namespace>:<relative-id> >vendor identifies the AWS product (e.g., sns)region is the AWS Region the resource resides in (e.g., us-east-1), if anynamespace is the AWS account ID with no hyphens (e.g., 123456789012)relative-id is the service specific portion that identifies the specific resource

For example, an Amazon SQS queue might be addressed with the following ARN: arn:aws:sqs:us-east-1:987654321000:MyQueue

Some resources may not use every field in an ARN. For example, resources in Amazon S3 are global, so they omit the region field: arn:aws:s3:::bucket/*

Namespace: Amazon.Auth.AccessControlPolicy
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public Resource(
         String resource
)

Parameters

resource
Type: System.String

The Amazon Resource Name (ARN) uniquely identifying the desired AWS resource.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5