-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
@aws-cdk/aws-cognitoRelated to Amazon CognitoRelated to Amazon Cognitoeffort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.open-for-community-contributionWe are welcoming community contributions for this oneWe are welcoming community contributions for this onep3
Description
Describe the feature
At this moment, to configure native integration of Cognito's App Client with the Pinpoint project you can either do this from the AWS Console or use the workaround like showed below.
CDK already has the L2 construct for Cognito App Client and we need to extend this construct to allow engineers to configure the integration from the L2 construct props instead of L1 construct.
(
client.node.defaultChild as cognito.CfnUserPoolClient
).analyticsConfiguration = {
userDataShared: true,
applicationArn: props.analyticsAppArn,
};Use Case
Cognito has the native integration with Pinpoint analytics useful for operations like InitiateAuth, RespondToAuthChallenge and few others. This integration allows Cognito App Client to send the analytic events to Pinpoint without implementing this separately.
Proposed Solution
No response
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
CDK version used
2.173.2
Environment details (OS name and version, etc.)
macOS, Node v22
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-cognitoRelated to Amazon CognitoRelated to Amazon Cognitoeffort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.open-for-community-contributionWe are welcoming community contributions for this oneWe are welcoming community contributions for this onep3