Skip to main content

Initializer

import { TerraformCondition } from 'cdktn'

const terraformCondition: TerraformCondition = { ... }

Properties

NameTypeDescription
conditionanyThis is a boolean expression that should return true if the intended assumption or guarantee is fulfilled or false if it does not.
errorMessagestringThis contains the text that Terraform will include as part of error messages when it detects an unmet condition.

conditionRequired

public readonly condition: any;
  • Type: any
This is a boolean expression that should return true if the intended assumption or guarantee is fulfilled or false if it does not.

errorMessageRequired

public readonly errorMessage: string;
  • Type: string
This contains the text that Terraform will include as part of error messages when it detects an unmet condition.