cloudformation how to conditionally set properties value 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"