Class AdvancedTemplate

CloudFormation/CDK template assertion class, based on CDK Assertions Template

Hierarchy

  • AdvancedTemplate

Constructors

Properties

region: string

Member

The region of the stack

template: Template

Member

The parsed template

Methods

  • Creates a DynamoDB Table test construct with the passed Properties.

    Returns

    Parameters

    • Optional props: any

      The Properties of the expected test construct.

    Returns DynamoDBTable

  • Creates an IAM Policy test construct with the passed Properties.

    Returns

    Parameters

    • Optional props: any

      The Properties of the expected test construct.

    Returns IAMPolicy

  • Creates an IAM Role test construct with the passed Properties.

    Returns

    Parameters

    • Optional props: any

      The Properties of the expected test construct.

    Returns IAMRole

  • Creates a LogGroup test construct with the passed Properties.

    Returns

    Parameters

    • Optional props: any

      The Properties of the expected test construct.

    Returns LogGroup

  • Creates a general RemovableResource test construct with the passed type and properties.

    Returns

    Parameters

    • type: string

      The CloudFormation resource type

    • Optional props: any

      The properties of the expected test construct

    Returns RemovableResource

  • Creates a general Resource test construct with the passed type and properties.

    Returns

    Parameters

    • type: string

      The CloudFormation resource type

    • Optional props: any

      The properties of the expected test construct

    Returns Resource

  • Creates an S3 Bucket test construct with the passed Properties.

    Returns

    Parameters

    • Optional props: any

      The Properties of the expected test construct.

    Returns S3Bucket

  • Creates an S3 Bucket Policy test construct with the passed Properties.

    Returns

    Parameters

    • Optional props: any

      The Properties of the expected test construct.

    Returns S3BucketPolicy

  • Creates a SecretsManager Secret test construct with the passed Properties.

    Returns

    Parameters

    • Optional props: any

      The Properties of the expected test construct.

    Returns Secret

  • Creates an SSM Parameter test construct with the passed Properties.

    Returns

    Parameters

    • Optional props: any

      The Properties of the expected test construct.

    Returns SSMParameter

  • Creates a WAF v2 WebACL test construct with the passed Properties.

    Returns

    Parameters

    • Optional props: any

      The Properties of the expected test construct.

    Returns WafV2WebACL

Generated using TypeDoc