Skip to content

Instantly share code, notes, and snippets.

@thomaspoignant
Last active February 18, 2021 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomaspoignant/bd142942cd5a675cc0ac06e5c0bff030 to your computer and use it in GitHub Desktop.
Save thomaspoignant/bd142942cd5a675cc0ac06e5c0bff030 to your computer and use it in GitHub Desktop.
Create custom resource with CDK
new CfnResource(this, 'datadog_monitor_id',{
type: 'AWS::CloudFormation::ResourceVersion',
properties:{
'TypeName': 'Datadog::Monitors::Monitor',
'SchemaHandlerPackage':
's3://datadog-cloudformation-resources/datadog-monitors-monitor/datadog' +
'-monitors-monitor-2.1.0.zip'
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment