Show / Hide Table of Contents

Class CfnGroupPolicyProps

Properties for defining a CfnGroupPolicy.

Inheritance
object
CfnGroupPolicyProps
Implements
ICfnGroupPolicyProps
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 CfnGroupPolicyProps : ICfnGroupPolicyProps
Syntax (vb)
Public Class CfnGroupPolicyProps Implements ICfnGroupPolicyProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-grouppolicy.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 cfnGroupPolicyProps = new CfnGroupPolicyProps {
                 GroupName = "groupName",
                 PolicyName = "policyName",

                 // the properties below are optional
                 PolicyDocument = policyDocument
             };

Synopsis

Constructors

CfnGroupPolicyProps()

Properties for defining a CfnGroupPolicy.

Properties

GroupName

The name of the group to associate the policy with.

PolicyDocument

The policy document.

PolicyName

The name of the policy document.

Constructors

CfnGroupPolicyProps()

Properties for defining a CfnGroupPolicy.

public CfnGroupPolicyProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-grouppolicy.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 cfnGroupPolicyProps = new CfnGroupPolicyProps {
                 GroupName = "groupName",
                 PolicyName = "policyName",

                 // the properties below are optional
                 PolicyDocument = policyDocument
             };

Properties

GroupName

The name of the group to associate the policy with.

public string GroupName { get; set; }
Property Value

string

Remarks

This parameter allows (through its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-grouppolicy.html#cfn-iam-grouppolicy-groupname

PolicyDocument

The policy document.

public object? PolicyDocument { get; set; }
Property Value

object

Remarks

You must provide policies in JSON format in IAM. However, for CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

The regex pattern used to validate this parameter is a string of characters consisting of the following:

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-grouppolicy.html#cfn-iam-grouppolicy-policydocument

    PolicyName

    The name of the policy document.

    public string PolicyName { get; set; }
    Property Value

    string

    Remarks

    This parameter allows (through its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-grouppolicy.html#cfn-iam-grouppolicy-policyname

    Implements

    ICfnGroupPolicyProps
    Back to top Generated by DocFX