Show / Hide Table of Contents

Class CfnUserToGroupAddition

Adds the specified user to the specified group.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnUserToGroupAddition
Implements
IInspectable
IUserToGroupAdditionRef
IConstruct
IDependable
IEnvironmentAware
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.Env
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.With(params IMixin[])
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.IAM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnUserToGroupAddition : CfnResource, IInspectable, IUserToGroupAdditionRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnUserToGroupAddition Inherits CfnResource Implements IInspectable, IUserToGroupAdditionRef, IConstruct, IDependable, IEnvironmentAware
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html

CloudformationResource: AWS::IAM::UserToGroupAddition

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 cfnUserToGroupAddition = new CfnUserToGroupAddition(this, "MyCfnUserToGroupAddition", new CfnUserToGroupAdditionProps {
                 GroupName = "groupName",
                 Users = new [] { "users" }
             });

Synopsis

Constructors

CfnUserToGroupAddition(Construct, string, ICfnUserToGroupAdditionProps)

Create a new AWS::IAM::UserToGroupAddition.

Properties

AttrId

The stable and unique string identifying the group.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties

Adds the specified user to the specified group.

GroupName

The name of the group to update.

UserToGroupAdditionRef

A reference to a UserToGroupAddition resource.

Users

A list of the names of the users that you want to add to the group.

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

IsCfnUserToGroupAddition(object)

Checks whether the given object is a CfnUserToGroupAddition.

RenderProperties(IDictionary<string, object>)

Adds the specified user to the specified group.

Constructors

CfnUserToGroupAddition(Construct, string, ICfnUserToGroupAdditionProps)

Create a new AWS::IAM::UserToGroupAddition.

public CfnUserToGroupAddition(Construct scope, string id, ICfnUserToGroupAdditionProps props)
Parameters
scope Construct

Scope in which this resource is defined.

id string

Construct identifier for this resource (unique in its scope).

props ICfnUserToGroupAdditionProps

Resource properties.

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html

CloudformationResource: AWS::IAM::UserToGroupAddition

ExampleMetadata: fixture=_generated

Properties

AttrId

The stable and unique string identifying the group.

public virtual string AttrId { get; }
Property Value

string

Remarks

For more information about IDs, see IAM identifiers in the IAM User Guide .

CloudformationAttribute: Id

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html

CloudformationResource: AWS::IAM::UserToGroupAddition

ExampleMetadata: fixture=_generated

CfnProperties

Adds the specified user to the specified group.

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html

CloudformationResource: AWS::IAM::UserToGroupAddition

ExampleMetadata: fixture=_generated

GroupName

The name of the group to update.

public virtual string GroupName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html

CloudformationResource: AWS::IAM::UserToGroupAddition

ExampleMetadata: fixture=_generated

UserToGroupAdditionRef

A reference to a UserToGroupAddition resource.

public virtual IUserToGroupAdditionReference UserToGroupAdditionRef { get; }
Property Value

IUserToGroupAdditionReference

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html

CloudformationResource: AWS::IAM::UserToGroupAddition

ExampleMetadata: fixture=_generated

Users

A list of the names of the users that you want to add to the group.

public virtual string[] Users { get; set; }
Property Value

string[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html

CloudformationResource: AWS::IAM::UserToGroupAddition

ExampleMetadata: fixture=_generated

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

public virtual void Inspect(TreeInspector inspector)
Parameters
inspector TreeInspector

tree inspector to collect and process attributes.

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html

CloudformationResource: AWS::IAM::UserToGroupAddition

ExampleMetadata: fixture=_generated

IsCfnUserToGroupAddition(object)

Checks whether the given object is a CfnUserToGroupAddition.

public static bool IsCfnUserToGroupAddition(object x)
Parameters
x object
Returns

bool

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html

CloudformationResource: AWS::IAM::UserToGroupAddition

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

Adds the specified user to the specified group.

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props IDictionary<string, object>
Returns

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-usertogroupaddition.html

CloudformationResource: AWS::IAM::UserToGroupAddition

ExampleMetadata: fixture=_generated

Implements

IInspectable
IUserToGroupAdditionRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX