Class CfnIdentityPoolPrincipalTag
A list of the identity pool principal tag assignments for attributes for access control.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnIdentityPoolPrincipalTag : CfnResource, IInspectable
Syntax (vb)
Public Class CfnIdentityPoolPrincipalTag
Inherits CfnResource
Implements IInspectable
Remarks
CloudformationResource: AWS::Cognito::IdentityPoolPrincipalTag
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.Cognito;
var principalTags;
var cfnIdentityPoolPrincipalTag = new CfnIdentityPoolPrincipalTag(this, "MyCfnIdentityPoolPrincipalTag", new CfnIdentityPoolPrincipalTagProps {
IdentityPoolId = "identityPoolId",
IdentityProviderName = "identityProviderName",
// the properties below are optional
PrincipalTags = principalTags,
UseDefaults = false
});
Synopsis
Constructors
CfnIdentityPoolPrincipalTag(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnIdentityPoolPrincipalTag(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnIdentityPoolPrincipalTag(Construct, String, ICfnIdentityPoolPrincipalTagProps) |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
IdentityPoolId | The identity pool that you want to associate with this principal tag map. |
IdentityProviderName | The identity pool identity provider (IdP) that you want to associate with this principal tag map. |
PrincipalTags | A JSON-formatted list of user claims and the principal tags that you want to associate with them. |
UseDefaults | Use a default set of mappings between claims and tags for this provider, instead of a custom map. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnIdentityPoolPrincipalTag(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnIdentityPoolPrincipalTag(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnIdentityPoolPrincipalTag(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnIdentityPoolPrincipalTag(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnIdentityPoolPrincipalTag(Construct, String, ICfnIdentityPoolPrincipalTagProps)
public CfnIdentityPoolPrincipalTag(Construct scope, string id, ICfnIdentityPoolPrincipalTagProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnIdentityPoolPrincipalTagProps
Resource properties.
Properties
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
IdentityPoolId
The identity pool that you want to associate with this principal tag map.
public virtual string IdentityPoolId { get; set; }
Property Value
System.String
IdentityProviderName
The identity pool identity provider (IdP) that you want to associate with this principal tag map.
public virtual string IdentityProviderName { get; set; }
Property Value
System.String
PrincipalTags
A JSON-formatted list of user claims and the principal tags that you want to associate with them.
public virtual object PrincipalTags { get; set; }
Property Value
System.Object
UseDefaults
Use a default set of mappings between claims and tags for this provider, instead of a custom map.
public virtual object UseDefaults { get; set; }
Property Value
System.Object
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.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>