Class CfnIdentityPoolPrincipalTag
A CloudFormation AWS::Cognito::IdentityPoolPrincipalTag
.
public class CfnIdentityPoolPrincipalTag : CfnResource, IInspectable
- Inheritance
-
CfnIdentityPoolPrincipalTag
- Implements
-
IInspectable
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
});
Remarks
A list of the identity pool principal tag assignments for attributes for access control.
CloudformationResource: AWS::Cognito::IdentityPoolPrincipalTag
ExampleMetadata: fixture=_generated
Constructors
CfnIdentityPoolPrincipalTag(Construct, string, ICfnIdentityPoolPrincipalTagProps)
Create a new AWS::Cognito::IdentityPoolPrincipalTag
.
public CfnIdentityPoolPrincipalTag(Construct scope, string id, ICfnIdentityPoolPrincipalTagProps props)
Parameters
scope
Construct- scope in which this resource is defined.
id
string- scoped id of the resource.
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
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
IdentityPoolId
The identity pool that you want to associate with this principal tag map.
public virtual string IdentityPoolId { get; set; }
Property Value
Remarks
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
Remarks
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
Remarks
When Amazon Cognito requests credentials, it sets the value of the principal tag to the value of the user's claim.
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
Remarks
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
IDictionary<string, object>