Class UserPolicyReference
A reference to a UserPolicy resource.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.IAM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class UserPolicyReference : IUserPolicyReference
Syntax (vb)
Public Class UserPolicyReference Implements IUserPolicyReference
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IAM;
var userPolicyReference = new UserPolicyReference {
PolicyName = "policyName",
UserName = "userName"
};
Synopsis
Constructors
UserPolicyReference() | A reference to a UserPolicy resource. |
Properties
PolicyName | The PolicyName of the UserPolicy resource. |
UserName | The UserName of the UserPolicy resource. |
Constructors
UserPolicyReference()
A reference to a UserPolicy resource.
public UserPolicyReference()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IAM;
var userPolicyReference = new UserPolicyReference {
PolicyName = "policyName",
UserName = "userName"
};
Properties
PolicyName
The PolicyName of the UserPolicy resource.
public string PolicyName { get; set; }
Property Value
Remarks
ExampleMetadata: fixture=_generated
UserName
The UserName of the UserPolicy resource.
public string UserName { get; set; }
Property Value
Remarks
ExampleMetadata: fixture=_generated