I am creating an SSM Parameter via Cloudformation (AWS::SSM::Parameter). From the docs there is a "Policies" property:
Policies
Information about the policies assigned to a parameter.
Working with Parameter Policies in the AWS Systems Manager User Guide.
Required: No
Type: String
Update requires: No interruption
Nowhere in the documentation is there an example or guide to how the String should be formatted. My current CFN template is as follows:
Conditions:
IsAdvancedParameter: !Equals [!Ref ParamTier, "Advanced"]
Resources:
ParamOne:
Type: AWS::SSM::Parameter
Properties:
Name: !Ref ParamName
Policies:
Fn::If:
- IsAdvancedParameter
- # What should go here???
- !Ref AWS::NoValue
Tier: !Ref ParamTier
Type: SecureString
Value: !Ref ParamVal
Has anyone ever figured this out?