Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request][CDK]: Allow property customization with resource delegation #553

Open
ShawneeY opened this issue May 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ShawneeY
Copy link

ShawneeY commented May 13, 2024

Please provide your feature request

Problem:

When creating AWS::RUM::AppMonitor using CDK, we can omit passing AppMonitorConfiguration and let RUM create identityPool and anonymous guest IAM role. However, it would apply default values for other properties; e.g. the sample rate used for CloudWatch RUM is set to 10% of the user sessions.

On the other hand, when a AppMonitorConfiguration is supplied but guestRoleArn and identityPoolId are omitted:

appMonitorConfiguration: {
    allowCookies: true,
    enableXRay: true,
    telemetries: ['errors', 'performance', 'http'],
    sessionSampleRate: 1,
},

Then the created AppMonitor is configured to use private authentication from existing provider. This is somewhat unexpected.

Desired feature

Allow customize AppMonitor via appMonitorConfiguration but still delegate creation of IdentityPool and GuestRole to RUM's internal logic(A.K.A option 1 from the attached screenshot):
AppMonitorAuthorizationConfig

In other words, it would be much clearer to set authorization option explicitly in CDK instead of inferring implicitly.

@ShawneeY ShawneeY added the enhancement New feature or request label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant