Interface CfnGroup.IPolicyProperty
Contains information about an attached policy.
Namespace: Amazon.CDK.AWS.IAM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IPolicyProperty
Syntax (vb)
Public Interface IPolicyProperty
Remarks
An attached policy is a managed policy that has been attached to a user, group, or role.
For more information about managed policies, see Managed Policies and Inline Policies in the IAM User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group-policy.html
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 policyDocument;
var policyProperty = new PolicyProperty {
PolicyDocument = policyDocument,
PolicyName = "policyName"
};
Synopsis
Properties
PolicyDocument | The policy document. |
PolicyName | The friendly name (not ARN) identifying the policy. |
Properties
PolicyDocument
The policy document.
object PolicyDocument { get; }
Property Value
System.Object
Remarks
PolicyName
The friendly name (not ARN) identifying the policy.
string PolicyName { get; }
Property Value
System.String