Skip to content

aws-cdk-lib.aws_apigatewayv2: Missing DetailedMetricsEnabled option #33222

@philmod-h

Description

@philmod-h

Describe the feature

It's not possible to enable DetailedMetricsEnabled with the L2 construct.

Use Case

Get detailed metrics with HttpApi.

Proposed Solution

No response

Other Information

const cfnStage = stage.node.defaultChild as apigateway.CfnStage;
cfnStage.addOverride('Properties.DefaultRouteSettings.DetailedMetricsEnabled', true);

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.165.0 (build 00f70f1)

Environment details (OS name and version, etc.)

macos

Metadata

Metadata

Assignees

No one assigned

    Labels

    aws-cdk-libRelated to the aws-cdk-lib packageeffort/mediumMedium work item – several days of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions