Show / Hide Table of Contents

Class CfnPrincipalAssociation

Associates a specified principal with a resource share.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnPrincipalAssociation
Implements
IInspectable
IPrincipalAssociationRef
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.AddResourceDependency(CfnResource, string)
CfnResource.ApplyCrossStackReferenceStrength(ReferenceStrength)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.CfnPropertyName(string)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.RemoveResourceDependency(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.RAM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPrincipalAssociation : CfnResource, IInspectable, IPrincipalAssociationRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnPrincipalAssociation Inherits CfnResource Implements IInspectable, IPrincipalAssociationRef, IConstruct, IDependable, IEnvironmentAware
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-principalassociation.html

CloudformationResource: AWS::RAM::PrincipalAssociation

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.RAM;

             var cfnPrincipalAssociation = new CfnPrincipalAssociation(this, "MyCfnPrincipalAssociation", new CfnPrincipalAssociationProps {
                 Principal = "principal",
                 ResourceShareArn = "resourceShareArn"
             });

Synopsis

Constructors

CfnPrincipalAssociation(Construct, string, ICfnPrincipalAssociationProps)

Create a new AWS::RAM::PrincipalAssociation.

Properties

AttrAssociationType

The type of entity included in this association.

AttrCreationTime

The date and time when the association was created.

AttrExternal

Indicates whether the principal belongs to the same organization in AWS Organizations as the AWS account that owns the resource share.

AttrLastUpdatedTime

The date and time when the association was last updated.

AttrStatus

The current status of the association.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties

Associates a specified principal with a resource share.

CfnPropertyNames

Associates a specified principal with a resource share.

Principal

Specifies the principal to associate with the resource share.

PrincipalAssociationRef

A reference to a PrincipalAssociation resource.

ResourceShareArn

Specifies the Amazon Resource Name (ARN) of the resource share.

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

IsCfnPrincipalAssociation(object)

Checks whether the given object is a CfnPrincipalAssociation.

RenderProperties(IDictionary<string, object>)

Associates a specified principal with a resource share.

Constructors

CfnPrincipalAssociation(Construct, string, ICfnPrincipalAssociationProps)

Create a new AWS::RAM::PrincipalAssociation.

public CfnPrincipalAssociation(Construct scope, string id, ICfnPrincipalAssociationProps props)
Parameters
scope Construct

Scope in which this resource is defined.

id string

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

props ICfnPrincipalAssociationProps

Resource properties.

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-principalassociation.html

CloudformationResource: AWS::RAM::PrincipalAssociation

ExampleMetadata: fixture=_generated

Properties

AttrAssociationType

The type of entity included in this association.

public virtual string AttrAssociationType { get; }
Property Value

string

Remarks

CloudformationAttribute: AssociationType

AttrCreationTime

The date and time when the association was created.

public virtual string AttrCreationTime { get; }
Property Value

string

Remarks

CloudformationAttribute: CreationTime

AttrExternal

Indicates whether the principal belongs to the same organization in AWS Organizations as the AWS account that owns the resource share.

public virtual IResolvable AttrExternal { get; }
Property Value

IResolvable

Remarks

CloudformationAttribute: External

AttrLastUpdatedTime

The date and time when the association was last updated.

public virtual string AttrLastUpdatedTime { get; }
Property Value

string

Remarks

CloudformationAttribute: LastUpdatedTime

AttrStatus

The current status of the association.

public virtual string AttrStatus { get; }
Property Value

string

Remarks

CloudformationAttribute: Status

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-ram-principalassociation.html

CloudformationResource: AWS::RAM::PrincipalAssociation

ExampleMetadata: fixture=_generated

CfnProperties

Associates a specified principal with a resource share.

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-ram-principalassociation.html

CloudformationResource: AWS::RAM::PrincipalAssociation

ExampleMetadata: fixture=_generated

CfnPropertyNames

Associates a specified principal with a resource share.

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

IDictionary<string, string>

Overrides
CfnResource.CfnPropertyNames
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-principalassociation.html

CloudformationResource: AWS::RAM::PrincipalAssociation

ExampleMetadata: fixture=_generated

Principal

Specifies the principal to associate with the resource share.

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

string

Remarks

The possible values are:.

PrincipalAssociationRef

A reference to a PrincipalAssociation resource.

public virtual IPrincipalAssociationReference PrincipalAssociationRef { get; }
Property Value

IPrincipalAssociationReference

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-principalassociation.html

CloudformationResource: AWS::RAM::PrincipalAssociation

ExampleMetadata: fixture=_generated

ResourceShareArn

Specifies the Amazon Resource Name (ARN) of the resource share.

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-principalassociation.html

CloudformationResource: AWS::RAM::PrincipalAssociation

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-ram-principalassociation.html

CloudformationResource: AWS::RAM::PrincipalAssociation

ExampleMetadata: fixture=_generated

IsCfnPrincipalAssociation(object)

Checks whether the given object is a CfnPrincipalAssociation.

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

bool

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-principalassociation.html

CloudformationResource: AWS::RAM::PrincipalAssociation

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

Associates a specified principal with a resource share.

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-ram-principalassociation.html

CloudformationResource: AWS::RAM::PrincipalAssociation

ExampleMetadata: fixture=_generated

Implements

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