CloudFront / Client / associate_distribution_tenant_web_acl
associate_distribution_tenant_web_acl¶
- CloudFront.Client.associate_distribution_tenant_web_acl(**kwargs)¶
Associates the WAF web ACL with a distribution tenant.
See also: AWS API Documentation
Request Syntax
response = client.associate_distribution_tenant_web_acl( Id='string', WebACLArn='string', IfMatch='string' )
- Parameters:
Id (string) –
[REQUIRED]
The ID of the distribution tenant.
WebACLArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the WAF web ACL to associate.
IfMatch (string) – The current
ETag
of the distribution tenant. This value is returned in the response of theGetDistributionTenant
API operation.
- Return type:
dict
- Returns:
Response Syntax
{ 'Id': 'string', 'WebACLArn': 'string', 'ETag': 'string' }
Response Structure
(dict) –
Id (string) –
The ID of the distribution tenant.
WebACLArn (string) –
The ARN of the WAF web ACL that you associated with the distribution tenant.
ETag (string) –
The current version of the distribution tenant.
Exceptions