Skip to main content
IAM Policy Map

AWSWAFConsoleFullAccess

OperatorAWS managedActivePermissions reviewedShow on mapCompare

Summary

Provides full access to AWS WAF via the AWS Management Console. Note that this policy also grants permissions to list and update Amazon CloudFront distributions, permissions to view load balancers on AWS Elastic Load Balancing, permissions to view Amazon API Gateway REST APIs and stages, permissions to list and view Amazon CloudWatch metrics, and permissions to view regions enabled within the account.

Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.

Identity

ARN
arn:aws:iam::aws:policy/AWSWAFConsoleFullAccess
Default version
v22
Created
Last edited
Services
amplify, apigateway, apprunner, appsync, aws-marketplace, bedrock-agentcore, cloudfront, cloudwatch, cognito-idp, ec2, elasticloadbalancing, firehose, logs, pricing, pricingplanmanager, route53, s3, waf, waf-regional, wafv2

Control-plane actions (298)

By access level: 72 List, 16 Permissions management, 82 Read, 6 Tagging, 122 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Amplify5 of 412 List, 1 Read, 2 Write; 3 restricted, 0 conditionalamplify:AssociateWebACL, amplify:DisassociateWebACL, amplify:GetWebACLForResource, amplify:ListApps, amplify:ListResourcesForWebACL
API Gateway2 of 441 Permissions management, 1 Read; 2 restricted, 0 conditionalapigateway:GET, apigateway:SetWebACL
App Runner5 of 422 List, 1 Read, 2 Write; 3 restricted, 0 conditionalapprunner:AssociateWebAcl, apprunner:DescribeWebAclForService, apprunner:DisassociateWebAcl, apprunner:ListAssociatedServicesForWebAcl, apprunner:ListServices
AppSync7 of 873 List, 1 Permissions management, 1 Read, 2 Write; 4 restricted, 0 conditionalappsync:AssociateWebACL, appsync:DisassociateWebACL, appsync:GetWebACLForResource, appsync:ListApis, appsync:ListGraphqlApis, appsync:ListResourcesForWebACL, appsync:SetWebACL
Marketplace1 of 971 List; 0 restricted, 0 conditionalaws-marketplace:ViewSubscriptions
Bedrock-Agentcore6 of 1972 List, 2 Read, 2 Write; 4 restricted, 0 conditionalbedrock-agentcore:GatewayAssociateWebACL, bedrock-agentcore:GatewayDisassociateWebACL, bedrock-agentcore:GatewayGetWebACLForResource, bedrock-agentcore:GatewayListResourcesForWebACL, bedrock-agentcore:GetGateway, bedrock-agentcore:ListGateways
CloudFront12 of 1734 List, 3 Read, 5 Write; 8 restricted, 0 conditionalcloudfront:AssociateDistributionTenantWebACL, cloudfront:AssociateDistributionWebACL, cloudfront:DisassociateDistributionTenantWebACL, cloudfront:DisassociateDistributionWebACL, cloudfront:GetDistribution, cloudfront:GetDistributionConfig, cloudfront:GetDistributionTenant, cloudfront:ListDistributionTenants, cloudfront:ListDistributionTenantsByCustomization, cloudfront:ListDistributions, cloudfront:ListDistributionsByWebACLId, cloudfront:UpdateDistribution
Cognito User Pools5 of 1392 List, 1 Read, 2 Write; 3 restricted, 0 conditionalcognito-idp:AssociateWebACL, cognito-idp:DisassociateWebACL, cognito-idp:GetWebACLForResource, cognito-idp:ListResourcesForWebACL, cognito-idp:ListUserPools
EC26 of 8344 List, 2 Write; 3 restricted, 0 conditionalec2:AssociateVerifiedAccessInstanceWebAcl, ec2:DescribeRegions, ec2:DescribeVerifiedAccessInstanceWebAclAssociations, ec2:DescribeVerifiedAccessInstances, ec2:DisassociateVerifiedAccessInstanceWebAcl, ec2:GetVerifiedAccessInstanceWebAcl
ELB6 of 772 List, 1 Read, 3 Write; 4 restricted, 0 conditionalelasticloadbalancing:CreateWebACLAssociation, elasticloadbalancing:DeleteWebACLAssociation, elasticloadbalancing:DescribeLoadBalancers, elasticloadbalancing:DescribeWebACLAssociation, elasticloadbalancing:GetLoadBalancerWebACL, elasticloadbalancing:SetWebAcl
Firehose1 of 101 List; 0 restricted, 0 conditionalfirehose:ListDeliveryStreams
CloudWatch Logs8 of 1333 List, 1 Permissions management, 2 Read, 2 Write; 4 restricted, 1 conditionallogs:CreateLogDelivery, logs:DeleteLogDelivery, logs:DescribeLogGroups, logs:DescribeQueryDefinitions, logs:DescribeResourcePolicies, logs:GetQueryResults, logs:PutResourcePolicy, logs:StartQuery
Price List2 of 52 Read; 0 restricted, 0 conditionalpricing:GetPriceListFileUrl, pricing:ListPriceLists
PricingPlanManager5 of 92 Read, 3 Write; 4 restricted, 0 conditionalpricingplanmanager:CancelSubscription, pricingplanmanager:CancelSubscriptionChange, pricingplanmanager:GetSubscription, pricingplanmanager:ListSubscriptions, pricingplanmanager:UpdateSubscription
Route 532 of 712 List; 0 restricted, 0 conditionalroute53:GetHostedZone, route53:ListHostedZones
S33 of 1551 List, 1 Permissions management, 1 Read; 2 restricted, 0 conditionals3:GetBucketPolicy, s3:ListAllMyBuckets, s3:PutBucketPolicy
WAFAll 77 actions (see the WAF page)15 List, 5 Permissions management, 19 Read, 2 Tagging, 36 Write; 77 restricted, 0 conditionalwaf:*
WAF RegionalAll 81 actions (see the WAF Regional page)16 List, 5 Permissions management, 20 Read, 2 Tagging, 38 Write; 81 restricted, 0 conditionalwaf-regional:*, waf-regional:GetWebACLForResource
WAF V2All 64 actions (see the WAF V2 page)12 List, 2 Permissions management, 25 Read, 2 Tagging, 23 Write; 63 restricted, 0 conditionalwafv2:*, wafv2:DisassociateWebACL
Amplify: 5 actions
  • amplify:AssociateWebACL (Write)
  • amplify:DisassociateWebACL (Write)
  • amplify:GetWebACLForResource (Read)
  • amplify:ListApps (List)
  • amplify:ListResourcesForWebACL (List)
API Gateway: 2 actions
  • apigateway:GET (Read)
  • apigateway:SetWebACL (Permissions management)
App Runner: 5 actions
  • apprunner:AssociateWebAcl (Write)
  • apprunner:DescribeWebAclForService (Read)
  • apprunner:DisassociateWebAcl (Write)
  • apprunner:ListAssociatedServicesForWebAcl (List)
  • apprunner:ListServices (List)
AppSync: 7 actions
  • appsync:AssociateWebACL (Write)
  • appsync:DisassociateWebACL (Write)
  • appsync:GetWebACLForResource (Read)
  • appsync:ListApis (List)
  • appsync:ListGraphqlApis (List)
  • appsync:ListResourcesForWebACL (List)
  • appsync:SetWebACL (Permissions management)
Marketplace: 1 actions
  • aws-marketplace:ViewSubscriptions (List)
Bedrock-Agentcore: 6 actions
  • bedrock-agentcore:GatewayAssociateWebACL (Write)
  • bedrock-agentcore:GatewayDisassociateWebACL (Write)
  • bedrock-agentcore:GatewayGetWebACLForResource (Read)
  • bedrock-agentcore:GatewayListResourcesForWebACL (List)
  • bedrock-agentcore:GetGateway (Read)
  • bedrock-agentcore:ListGateways (List)
CloudFront: 12 actions
  • cloudfront:AssociateDistributionTenantWebACL (Write)
  • cloudfront:AssociateDistributionWebACL (Write)
  • cloudfront:DisassociateDistributionTenantWebACL (Write)
  • cloudfront:DisassociateDistributionWebACL (Write)
  • cloudfront:GetDistribution (Read)
  • cloudfront:GetDistributionConfig (Read)
  • cloudfront:GetDistributionTenant (Read)
  • cloudfront:ListDistributionTenants (List)
  • cloudfront:ListDistributionTenantsByCustomization (List)
  • cloudfront:ListDistributions (List)
  • cloudfront:ListDistributionsByWebACLId (List)
  • cloudfront:UpdateDistribution (Write)
Cognito User Pools: 5 actions
  • cognito-idp:AssociateWebACL (Write)
  • cognito-idp:DisassociateWebACL (Write)
  • cognito-idp:GetWebACLForResource (Read)
  • cognito-idp:ListResourcesForWebACL (List)
  • cognito-idp:ListUserPools (List)
EC2: 6 actions
  • ec2:AssociateVerifiedAccessInstanceWebAcl (Write)
  • ec2:DescribeRegions (List)
  • ec2:DescribeVerifiedAccessInstanceWebAclAssociations (List)
  • ec2:DescribeVerifiedAccessInstances (List)
  • ec2:DisassociateVerifiedAccessInstanceWebAcl (Write)
  • ec2:GetVerifiedAccessInstanceWebAcl (List)
ELB: 6 actions
  • elasticloadbalancing:CreateWebACLAssociation (Write)
  • elasticloadbalancing:DeleteWebACLAssociation (Write)
  • elasticloadbalancing:DescribeLoadBalancers (List)
  • elasticloadbalancing:DescribeWebACLAssociation (List)
  • elasticloadbalancing:GetLoadBalancerWebACL (Read)
  • elasticloadbalancing:SetWebAcl (Write)
Firehose: 1 actions
  • firehose:ListDeliveryStreams (List)
CloudWatch Logs: 8 actions
  • logs:CreateLogDelivery (Write)
  • logs:DeleteLogDelivery (Write)
  • logs:DescribeLogGroups (List)
  • logs:DescribeQueryDefinitions (List)
  • logs:DescribeResourcePolicies (List)
  • logs:GetQueryResults (Read)
  • logs:PutResourcePolicy (Permissions management)
  • logs:StartQuery (Read)
Price List: 2 actions
  • pricing:GetPriceListFileUrl (Read)
  • pricing:ListPriceLists (Read)
PricingPlanManager: 5 actions
  • pricingplanmanager:CancelSubscription (Write)
  • pricingplanmanager:CancelSubscriptionChange (Write)
  • pricingplanmanager:GetSubscription (Read)
  • pricingplanmanager:ListSubscriptions (Read)
  • pricingplanmanager:UpdateSubscription (Write)
Route 53: 2 actions
  • route53:GetHostedZone (List)
  • route53:ListHostedZones (List)
S3: 3 actions
  • s3:GetBucketPolicy (Read)
  • s3:ListAllMyBuckets (List)
  • s3:PutBucketPolicy (Permissions management)

Data-plane actions (3)

By access level: 1 List, 2 Read.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudWatch3 of 51 List, 2 Read; 0 restricted, 0 conditionalcloudwatch:GetMetricData, cloudwatch:GetMetricStatistics, cloudwatch:ListMetrics
CloudWatch: 3 actions
  • cloudwatch:GetMetricData (Read)
  • cloudwatch:GetMetricStatistics (Read)
  • cloudwatch:ListMetrics (List)

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: mixed.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants 144 write, tagging or permissions-management actions, short of full control of any service.

Guidance

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Same service

Same domain

Frequently asked questions

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowUseOfAWSWAFClassic",
      "Effect": "Allow",
      "Action": [
        "waf:*",
        "waf-regional:*"
      ],
      "Resource": [
        "arn:aws:waf::*:bytematchset/*",
        "arn:aws:waf::*:ipset/*",
        "arn:aws:waf::*:ratebasedrule/*",
        "arn:aws:waf::*:rule/*",
        "arn:aws:waf::*:sizeconstraintset/*",
        "arn:aws:waf::*:sqlinjectionset/*",
        "arn:aws:waf::*:webacl/*",
        "arn:aws:waf::*:xssmatchset/*",
        "arn:aws:waf::*:regexmatch/*",
        "arn:aws:waf::*:regexpatternset/*",
        "arn:aws:waf::*:geomatchset/*",
        "arn:aws:waf::*:rulegroup/*",
        "arn:aws:waf:*:*:changetoken/*",
        "arn:aws:waf-regional:*:*:bytematchset/*",
        "arn:aws:waf-regional:*:*:ipset/*",
        "arn:aws:waf-regional:*:*:ratebasedrule/*",
        "arn:aws:waf-regional:*:*:rule/*",
        "arn:aws:waf-regional:*:*:sizeconstraintset/*",
        "arn:aws:waf-regional:*:*:sqlinjectionset/*",
        "arn:aws:waf-regional:*:*:webacl/*",
        "arn:aws:waf-regional:*:*:xssmatchset/*",
        "arn:aws:waf-regional:*:*:regexmatch/*",
        "arn:aws:waf-regional:*:*:regexpatternset/*",
        "arn:aws:waf-regional:*:*:geomatchset/*",
        "arn:aws:waf-regional:*:*:rulegroup/*",
        "arn:aws:waf-regional:*:*:changetoken/*"
      ]
    },
    {
      "Sid": "AllowWAFClassicGetWebACLForResource",
      "Effect": "Allow",
      "Action": [
        "waf-regional:GetWebACLForResource"
      ],
      "Resource": "arn:aws:waf-regional:*:*:*/*"
    },
    {
      "Sid": "AllowUseOfAWSWAF",
      "Effect": "Allow",
      "Action": [
        "wafv2:*"
      ],
      "Resource": [
        "arn:aws:wafv2:*:*:*/webacl/*/*",
        "arn:aws:wafv2:*:*:*/ipset/*/*",
        "arn:aws:wafv2:*:*:*/managedruleset/*/*",
        "arn:aws:wafv2:*:*:*/rulegroup/*/*",
        "arn:aws:wafv2:*:*:*/regexpatternset/*/*"
      ]
    },
    {
      "Sid": "AllowDisassociateWebACL",
      "Effect": "Allow",
      "Action": [
        "wafv2:DisassociateWebACL"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowS3ListAllMyBuckets",
      "Effect": "Allow",
      "Action": [
        "s3:ListAllMyBuckets"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowEC2DescribeRegions",
      "Effect": "Allow",
      "Action": [
        "ec2:DescribeRegions"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowListActionsForCloudWatch",
      "Effect": "Allow",
      "Action": [
        "cloudwatch:GetMetricData",
        "cloudwatch:GetMetricStatistics",
        "cloudwatch:ListMetrics"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowActionsForCloudFront",
      "Effect": "Allow",
      "Action": [
        "cloudfront:GetDistributionConfig",
        "cloudfront:GetDistribution",
        "cloudfront:UpdateDistribution",
        "cloudfront:AssociateDistributionWebACL",
        "cloudfront:DisassociateDistributionWebACL"
      ],
      "Resource": "arn:aws:cloudfront::*:distribution/*"
    },
    {
      "Sid": "AllowListActionsForCloudFront",
      "Effect": "Allow",
      "Action": [
        "cloudfront:ListDistributions",
        "cloudfront:ListDistributionsByWebACLId"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowActionsForCloudFrontTenant",
      "Effect": "Allow",
      "Action": [
        "cloudfront:GetDistributionTenant",
        "cloudfront:AssociateDistributionTenantWebACL",
        "cloudfront:DisassociateDistributionTenantWebACL"
      ],
      "Resource": "arn:aws:cloudfront::*:distribution-tenant/*"
    },
    {
      "Sid": "AllowListActionsForCloudFrontTenant",
      "Effect": "Allow",
      "Action": [
        "cloudfront:ListDistributionTenants",
        "cloudfront:ListDistributionTenantsByCustomization"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowActionsForALB",
      "Effect": "Allow",
      "Action": [
        "elasticloadbalancing:SetWebAcl",
        "elasticloadbalancing:CreateWebACLAssociation",
        "elasticloadbalancing:DeleteWebACLAssociation",
        "elasticloadbalancing:GetLoadBalancerWebACL"
      ],
      "Resource": "arn:aws:elasticloadbalancing:*:*:loadbalancer/app/*/*"
    },
    {
      "Sid": "AllowListActionsForALB",
      "Effect": "Allow",
      "Action": [
        "elasticloadbalancing:DescribeLoadBalancers",
        "elasticloadbalancing:DescribeWebACLAssociation"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowActionsForAPIGateway",
      "Effect": "Allow",
      "Action": [
        "apigateway:SetWebACL"
      ],
      "Resource": "arn:aws:apigateway:*::/restapis/*/stages/*"
    },
    {
      "Sid": "AllowListActionsForAPIGateway",
      "Effect": "Allow",
      "Action": [
        "apigateway:GET"
      ],
      "Resource": "arn:aws:apigateway:*::/*"
    },
    {
      "Sid": "AllowActionsForAppSync",
      "Effect": "Allow",
      "Action": [
        "appsync:SetWebACL",
        "appsync:AssociateWebACL",
        "appsync:DisassociateWebACL",
        "appsync:GetWebACLForResource"
      ],
      "Resource": "arn:aws:appsync:*:*:apis/*"
    },
    {
      "Sid": "AllowListActionsForAppSync",
      "Effect": "Allow",
      "Action": [
        "appsync:ListGraphqlApis",
        "appsync:ListApis",
        "appsync:ListResourcesForWebACL"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowActionsForCognito",
      "Effect": "Allow",
      "Action": [
        "cognito-idp:AssociateWebACL",
        "cognito-idp:DisassociateWebACL",
        "cognito-idp:GetWebACLForResource"
      ],
      "Resource": "arn:aws:cognito-idp:*:*:userpool/*"
    },
    {
      "Sid": "AllowListActionsForCognito",
      "Effect": "Allow",
      "Action": [
        "cognito-idp:ListUserPools",
        "cognito-idp:ListResourcesForWebACL"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowActionsForAppRunner",
      "Effect": "Allow",
      "Action": [
        "apprunner:AssociateWebAcl",
        "apprunner:DisassociateWebAcl",
        "apprunner:DescribeWebAclForService"
      ],
      "Resource": "arn:aws:apprunner:*:*:service/*/*"
    },
    {
      "Sid": "AllowListActionsForAppRunner",
      "Effect": "Allow",
      "Action": [
        "apprunner:ListServices",
        "apprunner:ListAssociatedServicesForWebAcl"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowActionsForAVA",
      "Effect": "Allow",
      "Action": [
        "ec2:AssociateVerifiedAccessInstanceWebAcl",
        "ec2:DisassociateVerifiedAccessInstanceWebAcl",
        "ec2:GetVerifiedAccessInstanceWebAcl"
      ],
      "Resource": "arn:aws:ec2:*:*:verified-access-instance/*"
    },
    {
      "Sid": "AllowListActionsForAVA",
      "Effect": "Allow",
      "Action": [
        "ec2:DescribeVerifiedAccessInstances",
        "ec2:DescribeVerifiedAccessInstanceWebAclAssociations"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowActionsForAmplify",
      "Effect": "Allow",
      "Action": [
        "amplify:AssociateWebACL",
        "amplify:DisassociateWebACL",
        "amplify:GetWebACLForResource"
      ],
      "Resource": "arn:aws:amplify:*:*:apps/*"
    },
    {
      "Sid": "AllowListActionsForAmplify",
      "Effect": "Allow",
      "Action": [
        "amplify:ListApps",
        "amplify:ListResourcesForWebACL"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowLogQueryActions",
      "Effect": "Allow",
      "Action": [
        "logs:StartQuery",
        "logs:DescribeQueryDefinitions",
        "logs:GetQueryResults"
      ],
      "Resource": "arn:aws:logs:*:*:log-group:aws-waf-logs-*"
    },
    {
      "Sid": "AllowLogGroupDescribeActions",
      "Effect": "Allow",
      "Action": [
        "logs:DescribeResourcePolicies",
        "logs:DescribeLogGroups"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowLogDeliverySubscription",
      "Effect": "Allow",
      "Action": [
        "logs:CreateLogDelivery",
        "logs:DeleteLogDelivery"
      ],
      "Resource": "*"
    },
    {
      "Sid": "GrantLogDeliveryPermissionForS3Bucket",
      "Effect": "Allow",
      "Action": [
        "s3:PutBucketPolicy",
        "s3:GetBucketPolicy"
      ],
      "Resource": [
        "arn:aws:s3:::aws-waf-logs-*"
      ]
    },
    {
      "Sid": "GrantLogDeliveryPermissionForCloudWatchLogGroup",
      "Effect": "Allow",
      "Action": [
        "logs:PutResourcePolicy"
      ],
      "Resource": "*",
      "Condition": {
        "ForAnyValue:StringEquals": {
          "aws:CalledVia": [
            "wafv2.amazonaws.com"
          ]
        }
      }
    },
    {
      "Sid": "AllowListActionForFirehoseStream",
      "Effect": "Allow",
      "Action": [
        "firehose:ListDeliveryStreams"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowActionsForPricing",
      "Effect": "Allow",
      "Action": [
        "pricing:ListPriceLists",
        "pricing:GetPriceListFileUrl"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowMarketplaceViewSubscriptions",
      "Effect": "Allow",
      "Action": [
        "aws-marketplace:ViewSubscriptions"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowActionsForPricingPlanManager",
      "Effect": "Allow",
      "Action": [
        "pricingplanmanager:GetSubscription",
        "pricingplanmanager:UpdateSubscription",
        "pricingplanmanager:CancelSubscription",
        "pricingplanmanager:CancelSubscriptionChange"
      ],
      "Resource": "arn:aws:pricingplanmanager::*:subscription:*"
    },
    {
      "Sid": "AllowListActionsForRoute53",
      "Effect": "Allow",
      "Action": [
        "route53:ListHostedZones",
        "route53:GetHostedZone"
      ],
      "Resource": "*"
    },
    {
      "Sid": "AllowListActionsForPricingPlanManager",
      "Effect": "Allow",
      "Action": "pricingplanmanager:ListSubscriptions",
      "Resource": "*"
    },
    {
      "Sid": "AllowActionsForAgentCoreGateway",
      "Effect": "Allow",
      "Action": [
        "bedrock-agentcore:GatewayAssociateWebACL",
        "bedrock-agentcore:GatewayDisassociateWebACL",
        "bedrock-agentcore:GatewayGetWebACLForResource",
        "bedrock-agentcore:GetGateway"
      ],
      "Resource": "arn:aws:bedrock-agentcore:*:*:gateway/*"
    },
    {
      "Sid": "AllowListActionsForAgentCoreGateway",
      "Effect": "Allow",
      "Action": [
        "bedrock-agentcore:GatewayListResourcesForWebACL",
        "bedrock-agentcore:ListGateways"
      ],
      "Resource": "*"
    }
  ]
}

Version history

Current version v22, edited by AWS on 2026-07-01. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

AWS CLI

aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/AWSWAFConsoleFullAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSWAFConsoleFullAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSWAFConsoleFullAccess

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/AWSWAFConsoleFullAccess

Terraform

resource "aws_iam_role_policy_attachment" "awswafconsolefullaccess" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/AWSWAFConsoleFullAccess"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("AWSWAFConsoleFullAccess"),
);

Sources

Pending editorial review. No editorial sources are listed yet.