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 * as cdk from '@aws-cdk/core';
    
    portfolio.constrainCloudFormationParameters(product, {
      rule: {
        ruleName: 'testInstanceType',
        condition: cdk.Fn.conditionEquals(cdk.Fn.ref('Environment'), 'test'),
        assertions: [{
          assert: cdk.Fn.conditionContains(['t2.micro', 't2.small'], cdk.Fn.ref('InstanceType')),
          description: 'For test environment, the instance type should be small',
        }],
      },
    });
    
    Docs
    0
  • import * as cdk from '@aws-cdk/core';
    
    portfolio.constrainCloudFormationParameters(product, {
      rule: {
        ruleName: 'testInstanceType',
        condition: cdk.Fn.conditionEquals(cdk.Fn.ref('Environment'), 'test'),
        assertions: [{
          assert: cdk.Fn.conditionContains(['t2.micro', 't2.small'], cdk.Fn.ref('InstanceType')),
          description: 'For test environment, the instance type should be small',
        }],
      },
    });
    
    Docs
    0
  • import * as cdk from '@aws-cdk/core';
    
    portfolio.constrainCloudFormationParameters(product, {
      rule: {
        ruleName: 'testInstanceType',
        condition: cdk.Fn.conditionEquals(cdk.Fn.ref('Environment'), 'test'),
        assertions: [{
          assert: cdk.Fn.conditionContains(['t2.micro', 't2.small'], cdk.Fn.ref('InstanceType')),
          description: 'For test environment, the instance type should be small',
        }],
      },
    });
    
    Docs
    0
  • // The code below shows an example of how to instantiate this type.
    // The values are placeholders you should change.
    import * as cdk from '@aws-cdk/core';
    
    declare const construct: cdk.Construct;
    
    const constructNode = new cdk.ConstructNode(construct, construct, 'id');
    
    Docs
    0
  • // The code below shows an example of how to instantiate this type.
    // The values are placeholders you should change.
    import * as cdk from '@aws-cdk/core';
    
    declare const validationResults: cdk.ValidationResults;
    
    const validationResult = new cdk.ValidationResult(/* all optional props */ 'errorMessage', /* all optional props */ validationResults);
    
    Docs
    0
  • Powered by Official black Bloop logo with a period
    download the IDE extension

    View other examples