Skip to content

Commit 257f54c

Browse files
author
AWS
committed
Firewall Management Service Update: AWS Firewall Manager now lets you combine multiple resource tags using the logical AND operator or the logical OR operator.
1 parent 36509a2 commit 257f54c

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Firewall Management Service",
4+
"contributor": "",
5+
"description": "AWS Firewall Manager now lets you combine multiple resource tags using the logical AND operator or the logical OR operator."
6+
}

services/fms/src/main/resources/codegen-resources/service-2.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3211,6 +3211,10 @@
32113211
"PolicyStatus":{
32123212
"shape":"CustomerPolicyStatus",
32133213
"documentation":"<p>Indicates whether the policy is in or out of an admin's policy or Region scope.</p> <ul> <li> <p> <code>ACTIVE</code> - The administrator can manage and delete the policy.</p> </li> <li> <p> <code>OUT_OF_ADMIN_SCOPE</code> - The administrator can view the policy, but they can't edit or delete the policy. Existing policy protections stay in place. Any new resources that come into scope of the policy won't be protected.</p> </li> </ul>"
3214+
},
3215+
"ResourceTagLogicalOperator":{
3216+
"shape":"ResourceTagLogicalOperator",
3217+
"documentation":"<p>Specifies whether to combine multiple resource tags with AND, so that a resource must have all tags to be included or excluded, or OR, so that a resource must have at least one tag.</p> <p>Default: <code>AND</code> </p>"
32143218
}
32153219
},
32163220
"documentation":"<p>An Firewall Manager policy.</p>"
@@ -3925,18 +3929,25 @@
39253929
"documentation":"<p>The resource tag value. To specify an empty string value, either don't provide this or specify it as \"\". </p>"
39263930
}
39273931
},
3928-
"documentation":"<p>The resource tags that Firewall Manager uses to determine if a particular resource should be included or excluded from the Firewall Manager policy. Tags enable you to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value. Firewall Manager combines the tags with \"AND\" so that, if you add more than one tag to a policy scope, a resource must have all the specified tags to be included or excluded. For more information, see <a href=\"https://docs.aws.amazon.com/awsconsolehelpdocs/latest/gsg/tag-editor.html\">Working with Tag Editor</a>.</p> <p>Every resource tag must have a string value, either a non-empty string or an empty string. If you don't provide a value for a resource tag, Firewall Manager saves the value as an empty string: \"\". When Firewall Manager compares tags, it only matches two tags if they have the same key and the same value. A tag with an empty string value only matches with tags that also have an empty string value. </p>"
3932+
"documentation":"<p>The resource tags that Firewall Manager uses to determine if a particular resource should be included or excluded from the Firewall Manager policy. Tags enable you to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value. If you add more than one tag to a policy, you can specify whether to combine them using the logical AND operator or the logical OR operator. For more information, see <a href=\"https://docs.aws.amazon.com/awsconsolehelpdocs/latest/gsg/tag-editor.html\">Working with Tag Editor</a>.</p> <p>Every resource tag must have a string value, either a non-empty string or an empty string. If you don't provide a value for a resource tag, Firewall Manager saves the value as an empty string: \"\". When Firewall Manager compares tags, it only matches two tags if they have the same key and the same value. A tag with an empty string value only matches with tags that also have an empty string value. </p>"
39293933
},
39303934
"ResourceTagKey":{
39313935
"type":"string",
39323936
"max":128,
39333937
"min":1,
3934-
"pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
3938+
"pattern":"^([\\p{L}\\p{Z}\\p{N}_.:\\/=+\\-@*\\\\]*)$"
3939+
},
3940+
"ResourceTagLogicalOperator":{
3941+
"type":"string",
3942+
"enum":[
3943+
"AND",
3944+
"OR"
3945+
]
39353946
},
39363947
"ResourceTagValue":{
39373948
"type":"string",
39383949
"max":256,
3939-
"pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
3950+
"pattern":"^([\\p{L}\\p{Z}\\p{N}_.:\\/=+\\-@*\\\\]*)$"
39403951
},
39413952
"ResourceTags":{
39423953
"type":"list",

0 commit comments

Comments
 (0)