You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to filter out CloudWatch Dashboard from the graph using various combination of the code below. Will appreciate any insights into what I am doing wrong? Thanks!
graph_plugin: ICdkGraphPlugin=CdkGraphDiagramPlugin(
diagrams=[
IDiagramConfig(
name="diagram",
title="Praavi Infra Stack",
format=DiagramFormat.PNG,
filter_plan=Filters.exclude_cfn_type( # this raises an error
[
FilterValue(value="AWS::CloudWatch::Dashboard")
]
)
)
# Also tried this!# {# "name": "diagram",# "title": "Praavi Infra Stack",# "format": DiagramFormat.PNG,# "filter_plan": {# "exclude": {# "types": ["AWS::CloudWatch::Dashboard"]# }# }# }
]
)
graph=CdkGraph(app, plugins=[graph_plugin])
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have been trying to filter out CloudWatch Dashboard from the graph using various combination of the code below. Will appreciate any insights into what I am doing wrong? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions