@@ -86,6 +86,13 @@ export interface WafConfig {
8686 * Replace web ACLs that are currently associated with in-scope resources with the web ACLs created by this policy - Default is False
8787 */
8888 readonly OverrideCustomerWebACLAssociation ?: boolean ;
89+
90+ /**
91+ * Automatically remove protections from resources that leave the policy scope and clean up resources that
92+ * Firewall Manager is managing for accounts when those accounts leave policy scope - Default is False
93+ */
94+ readonly OptimizeUnassociatedWebACL ?: boolean ;
95+
8996 /**
9097 * Specifies whether this is for an Amazon CloudFront distribution or for a regional application.
9198 * A regional application can be
@@ -162,15 +169,15 @@ export type CustomResponseBodies = {
162169 /**
163170 * @TJS -pattern [\s\S]*
164171 */
165- Content : string ;
172+ content : string ;
166173 /**
167174 * AWS WAF Content Type
168175 *
169176 * The type of content in the payload that you are defining in the Content string.
170177 *
171178 * @see https://docs.aws.amazon.com/waf/latest/APIReference/API_CustomResponseBody.html
172179 */
173- ContentType : CustomResponseBodiesContentType ;
180+ contentType : CustomResponseBodiesContentType ;
174181 } ;
175182 } ;
176183
@@ -392,6 +399,7 @@ export interface ManagedServiceData {
392399 preProcessRuleGroups : any ,
393400 postProcessRuleGroups : any ,
394401 overrideCustomerWebACLAssociation : boolean ,
402+ optimizeUnassociatedWebACL ?: boolean ,
395403 loggingConfiguration : {
396404 logDestinationConfigs : string [ ]
397405 }
@@ -446,4 +454,4 @@ export interface NotStatementProperty {
446454 */
447455export interface SubVariables {
448456 [ key : string ] : string ;
449- }
457+ }
0 commit comments