Skip to content

[AWS::ApplicationSignals::ServiceLevelObjective] - [BUG] - MetricDataQuery doesn't support Period attribute #2372

@whi-tw

Description

@whi-tw

Name of the resource

Other

Resource Name

AWS::ApplicationSignals::ServiceLevelObjective

Issue Description

The Period attribute on MetricDataQuery should be supported, as-per the Application Signals API documentation. Without this, it doesn't seem possible to create an expression based MetricDataQuery:

error: At least one metricStat or expression in SliConfig should define a period.

Expected Behavior

a Period attribute should be accepted in a MetricDataQuery object.

Observed Behavior

a Period attribute is not accepted in a MetricDataQuery object.

Test Cases

A MetricDataQuery object with just an Id, Expression, ReturnData and Period should be correctly accepted.

Other Details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions