Class CfnIdentityPoolPrincipalTag

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.cognito.CfnIdentityPoolPrincipalTag
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:33:59.418Z") @Stability(Stable) public class CfnIdentityPoolPrincipalTag extends CfnResource implements IInspectable
A list of the identity pool principal tag assignments for attributes for access control.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.cognito.*;
 Object principalTags;
 CfnIdentityPoolPrincipalTag cfnIdentityPoolPrincipalTag = CfnIdentityPoolPrincipalTag.Builder.create(this, "MyCfnIdentityPoolPrincipalTag")
         .identityPoolId("identityPoolId")
         .identityProviderName("identityProviderName")
         // the properties below are optional
         .principalTags(principalTags)
         .useDefaults(false)
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnIdentityPoolPrincipalTag

      protected CfnIdentityPoolPrincipalTag(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnIdentityPoolPrincipalTag

      protected CfnIdentityPoolPrincipalTag(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnIdentityPoolPrincipalTag

      @Stability(Stable) public CfnIdentityPoolPrincipalTag(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnIdentityPoolPrincipalTagProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getIdentityPoolId

      @Stability(Stable) @NotNull public String getIdentityPoolId()
      The identity pool that you want to associate with this principal tag map.
    • setIdentityPoolId

      @Stability(Stable) public void setIdentityPoolId(@NotNull String value)
      The identity pool that you want to associate with this principal tag map.
    • getIdentityProviderName

      @Stability(Stable) @NotNull public String getIdentityProviderName()
      The identity pool identity provider (IdP) that you want to associate with this principal tag map.
    • setIdentityProviderName

      @Stability(Stable) public void setIdentityProviderName(@NotNull String value)
      The identity pool identity provider (IdP) that you want to associate with this principal tag map.
    • getPrincipalTags

      @Stability(Stable) @Nullable public Object getPrincipalTags()
      A JSON-formatted list of user claims and the principal tags that you want to associate with them.
    • setPrincipalTags

      @Stability(Stable) public void setPrincipalTags(@Nullable Object value)
      A JSON-formatted list of user claims and the principal tags that you want to associate with them.
    • getUseDefaults

      @Stability(Stable) @Nullable public Object getUseDefaults()
      Use a default set of mappings between claims and tags for this provider, instead of a custom map.
    • setUseDefaults

      @Stability(Stable) public void setUseDefaults(@Nullable Boolean value)
      Use a default set of mappings between claims and tags for this provider, instead of a custom map.
    • setUseDefaults

      @Stability(Stable) public void setUseDefaults(@Nullable IResolvable value)
      Use a default set of mappings between claims and tags for this provider, instead of a custom map.