Conditions Declaration
- Last Updated: April 14, 2026
- 1 minute read
- MarkLogic Server
- Version 11.0
- Documentation
The Conditions Declaration specifies the conditions under which portions of the template are used. For example, if NumberOfZones is not set to 1, the MultiZone condition enables the template to create three Availability Zones.
Conditions:
UseLogSNS:
- !Not [!Equals [!Ref LogSNS, "none"]]
UseSpot: !Not
- !Equals
- !Ref SpotPrice
- 0
MultiZone: !Not [!Equals [!Ref NumberOfZones, 1]]
EssentialEnterprise:
!And [!Equals [!Ref LicenseKey, ''], !Equals [!Ref Licensee, '']]
UseVolumeEncryption: !Equals [!Ref VolumeEncryption, 'enable']
HasCustomEBSKey: !Not [!Equals [!Ref VolumeEncryptionKey, '']]