Interface CfnUserPoolClient.AnalyticsConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnUserPoolClient.AnalyticsConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnUserPoolClient

@Stability(Stable) public static interface CfnUserPoolClient.AnalyticsConfigurationProperty extends software.amazon.jsii.JsiiSerializable
The Amazon Pinpoint analytics configuration necessary to collect metrics for a user pool.

In Regions where Amazon Pinpoint isn't available, user pools only support sending events to Amazon Pinpoint projects in us-east-1. In Regions where Amazon Pinpoint is available, user pools support sending events to Amazon Pinpoint projects within that same Region.

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.*;
 AnalyticsConfigurationProperty analyticsConfigurationProperty = AnalyticsConfigurationProperty.builder()
         .applicationArn("applicationArn")
         .applicationId("applicationId")
         .externalId("externalId")
         .roleArn("roleArn")
         .userDataShared(false)
         .build();
 
  • Method Details

    • getApplicationArn

      @Stability(Stable) @Nullable default String getApplicationArn()
      The Amazon Resource Name (ARN) of an Amazon Pinpoint project.

      You can use the Amazon Pinpoint project for integration with the chosen user pool client. Amazon Cognito publishes events to the Amazon Pinpoint project that the app ARN declares.

    • getApplicationId

      @Stability(Stable) @Nullable default String getApplicationId()
      The application ID for an Amazon Pinpoint application.
    • getExternalId

      @Stability(Stable) @Nullable default String getExternalId()
      The external ID.
    • getRoleArn

      @Stability(Stable) @Nullable default String getRoleArn()
      The ARN of an AWS Identity and Access Management role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.
    • getUserDataShared

      @Stability(Stable) @Nullable default Object getUserDataShared()
      If UserDataShared is true , Amazon Cognito includes user data in the events that it publishes to Amazon Pinpoint analytics.
    • builder

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