Conditions: cloud formation code example
Example: cloudformation conditional property
Properties:
Property:
!If
- YourCondition
- YouProperties # It can be object or array
- !Ref "AWS::NoValue"
Properties:
Property:
!If
- YourCondition
- YouProperties # It can be object or array
- !Ref "AWS::NoValue"