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
 
Sets the policy ID for this policy and returns the updated policy so that multiple calls can be chained together.

Policy IDs serve to help developers keep track of multiple policies, and are often used as human readable name for a policy.

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

Syntax

C#
public Policy WithId(
         String id
)

Parameters

id
Type: System.String

Return Value
Type: Amazon.Auth.AccessControlPolicy.Policy
this instance

Version Information

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