How to use where clause in Knex
Create refunds with Stripe
Load HTML with Cheerio
How to send POST request with Axios
Find intersection of array in Lodash
Powered by Official white Bloop logo with a period

Terms / Privacy / Search / Support

  • import { Construct } from 'constructs';
    import * as cfn_inc from '@aws-cdk/cloudformation-include';
    import * as path from 'path';
    
    export class MyConstruct extends Construct {
      constructor(scope: Construct, id: string) {
        super(scope, id);
    
        // include a template inside the Construct
        new cfn_inc.CfnInclude(this, 'MyConstruct', {
          templateFile: path.join(__dirname, 'my-template.json'),
          preserveLogicalIds: false, // <--- !!!
        });
      }
    }
    
    Docs
  • // The code below shows an example of how to instantiate this type.
    // The values are placeholders you should change.
    import * as cloudwatch from '@aws-cdk/aws-cloudwatch';
    const cfnMetricStream = new cloudwatch.CfnMetricStream(this, 'MyCfnMetricStream', {
      firehoseArn: 'firehoseArn',
      outputFormat: 'outputFormat',
      roleArn: 'roleArn',
    
      // the properties below are optional
      excludeFilters: [{
        namespace: 'namespace',
      }],
      includeFilters: [{
        namespace: 'namespace',
      }],
      name: 'name',
      tags: [{
        key: 'key',
        value: 'value',
      }],
    });
    
    Docs
  • // The code below shows an example of how to instantiate this type.
    // The values are placeholders you should change.
    import * as cloudformation from '@aws-cdk/aws-cloudformation';
    const cfnResourceVersion = new cloudformation.CfnResourceVersion(this, 'MyCfnResourceVersion', {
      schemaHandlerPackage: 'schemaHandlerPackage',
      typeName: 'typeName',
    
      // the properties below are optional
      executionRoleArn: 'executionRoleArn',
      loggingConfig: {
        logGroupName: 'logGroupName',
        logRoleArn: 'logRoleArn',
      },
    });
    
    Docs
  • // The code below shows an example of how to instantiate this type.
    // The values are placeholders you should change.
    import * as cloudformation from '@aws-cdk/aws-cloudformation';
    const cfnWaitCondition = new cloudformation.CfnWaitCondition(this, 'MyCfnWaitCondition', /* all optional props */ {
      count: 123,
      handle: 'handle',
      timeout: 'timeout',
    });
    
    Docs
  • // The code below shows an example of how to instantiate this type.
    // The values are placeholders you should change.
    import * as cloudformation from '@aws-cdk/aws-cloudformation';
    const cfnPublicTypeVersion = new cloudformation.CfnPublicTypeVersion(this, 'MyCfnPublicTypeVersion', /* all optional props */ {
      arn: 'arn',
      logDeliveryBucket: 'logDeliveryBucket',
      publicVersionNumber: 'publicVersionNumber',
      type: 'type',
      typeName: 'typeName',
    });
    
    Docs
  • Powered by Official black Bloop logo with a period
    download the IDE extension

    View other examples