Interface CfnIdentityPoolPrincipalTagProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnIdentityPoolPrincipalTagProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:43.855Z") @Stability(Stable) public interface CfnIdentityPoolPrincipalTagProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnIdentityPoolPrincipalTag.

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;
 CfnIdentityPoolPrincipalTagProps cfnIdentityPoolPrincipalTagProps = CfnIdentityPoolPrincipalTagProps.builder()
         .identityPoolId("identityPoolId")
         .identityProviderName("identityProviderName")
         // the properties below are optional
         .principalTags(principalTags)
         .useDefaults(false)
         .build();
 
  • Method Details

    • getIdentityPoolId

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

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

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

      When Amazon Cognito requests credentials, it sets the value of the principal tag to the value of the user's claim.

    • getUseDefaults

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

      @Stability(Stable) static CfnIdentityPoolPrincipalTagProps.Builder builder()
      Returns:
      a CfnIdentityPoolPrincipalTagProps.Builder of CfnIdentityPoolPrincipalTagProps