Class AdvancedMatcher

Matchers to use to assert CloudFormation template.

Hierarchy

  • AdvancedMatcher

Constructors

Methods

  • Matches with the ARN of the test construct.

    Returns

    Parameters

    • resource: Resource

      The test construct

    • Optional attribute: string

      The attribute parsed for the ARN defaults to "Arn".

    Returns Matcher

  • Matches the Fn function with the name and the passed values.

    Returns

    Parameters

    • name: string

      The name of Fn function

    • Rest ...pattern: any[]

      The values matched with Match.arrayWith()

    Returns Matcher

  • Matches a Fn::Equals with the passed values.

    Returns

    Parameters

    • Rest ...pattern: any[]

      The values to match with, in order.

    Returns Matcher

  • Matches a Fn::GetAtt with the passed values.

    Returns

    Parameters

    • Rest ...pattern: any[]

      The values to match with, in order.

    Returns Matcher

  • Matches a Fn::Join with the passed value.

    Returns

    Parameters

    • pattern: any

      The value to match with.

    Returns Matcher

  • Matches a Fn::Select with the passed value.

    Returns

    Parameters

    • pattern: any

      The value to match with.

    Returns Matcher

  • Matches a Fn::Split with the passed value.

    Returns

    Parameters

    • pattern: any

      The value to match with.

    Returns Matcher

Generated using TypeDoc