ServiceNow CMDB CI relationship sync: faster, more complete →
Mods
AWS

Policy: AWS > Shield > Tags Template [Default]

A template used to generate the keys and values for AWS Shield resources.

By default, all Shield resource Tags > Template policies will use this value.

Resource Types

This policy targets the following resource types:

Policy Specification

Default template
{%- if $.defaultTags.value | length == 0 %} [] {%- elif $.defaultTags.value != undefined %}{{ $.defaultTags.value | dump | safe }}{%- else %}{% for item in $.defaultTags.value %}- {{ item }}{% endfor %}{% endif %}
Default template input
|
{
defaultTags: policyValue(uri:"tmod:@turbot/aws#/policy/types/defaultTagsTemplate") {
value
}
}
Examples [YAML]
  • foo: bar
    environment: prod
    
  • - foo123: bar
    - environment: dev
    
  • - cost-center: zz123
    - delete-me: undefined
    

Category

In Your Workspace

Developers