by shigemk2

当面は技術的なことしか書かない

AWS WAF IPSets

AWS WAFのIP SetsにはIPv6が設定できる。

IPv6 アドレス 0:0:0:0:0:ffff:c000:22c を指定するには、「0:0:0:0:0:ffff:c000:22c/128」と入力します。

CloudFormationでの書き方。IPAddressVersionはIPv4かIPv6のいずれかなので、両方を同じIP Setsに書くことはできない。

Type: AWS::WAFv2::IPSet
Properties: 
  Addresses: 
    - String
  Description: String
  IPAddressVersion: String
  Name: String
  Scope: String
  Tags: 
    - Tag

docs.aws.amazon.com

docs.aws.amazon.com