Show / Hide Table of Contents

Class CfnGroup.PolicyProperty

Contains information about an attached policy.

Inheritance
object
CfnGroup.PolicyProperty
Implements
CfnGroup.IPolicyProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.IAM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnGroup.PolicyProperty : CfnGroup.IPolicyProperty
Syntax (vb)
Public Class CfnGroup.PolicyProperty Implements CfnGroup.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

Constructors

PolicyProperty()

Contains information about an attached policy.

Properties

PolicyDocument

The policy document.

PolicyName

The friendly name (not ARN) identifying the policy.

Constructors

PolicyProperty()

Contains information about an attached policy.

public PolicyProperty()
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"
             };

Properties

PolicyDocument

The policy document.

public object PolicyDocument { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group-policy.html#cfn-iam-group-policy-policydocument

PolicyName

The friendly name (not ARN) identifying the policy.

public string PolicyName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group-policy.html#cfn-iam-group-policy-policyname

Implements

CfnGroup.IPolicyProperty
Back to top Generated by DocFX