Sha256: aab4686ef412834119138bacab7a530f886fb790f4b2f4cda413c0a5e63047a8

Contents?: true

Size: 484 Bytes

Versions: 26

Compression:

Stored size: 484 Bytes

Contents

# https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webaclassociation.html
class Ufo::Cfn::Stack::Builder::Resources
  class WafAssociation < Base
    def build
      web_acl_arn = Ufo.config.waf.web_acl_arn
      return if web_acl_arn.blank?

      {
        Type: "AWS::WAFv2::WebACLAssociation",
        Properties: {
          ResourceArn: {Ref: "Elb"},  # String,
          WebACLArn:   web_acl_arn,   # String
        }
      }
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
ufo-6.3.13 lib/ufo/cfn/stack/builder/resources/waf_association.rb
ufo-6.3.12 lib/ufo/cfn/stack/builder/resources/waf_association.rb
ufo-6.3.11 lib/ufo/cfn/stack/builder/resources/waf_association.rb
ufo-6.3.10 lib/ufo/cfn/stack/builder/resources/waf_association.rb
ufo-6.3.9 lib/ufo/cfn/stack/builder/resources/waf_association.rb
ufo-6.3.8 lib/ufo/cfn/stack/builder/resources/waf_association.rb
ufo-6.3.7 lib/ufo/cfn/stack/builder/resources/waf_association.rb
ufo-6.3.6 lib/ufo/cfn/stack/builder/resources/waf_association.rb
ufo-6.3.5 lib/ufo/cfn/stack/builder/resources/waf_association.rb
ufo-6.3.4 lib/ufo/cfn/stack/builder/resources/waf_association.rb
ufo-6.3.3 lib/ufo/cfn/stack/builder/resources/waf_association.rb
ufo-6.3.2 lib/ufo/cfn/stack/builder/resources/waf_association.rb
ufo-6.3.1 lib/ufo/cfn/stack/builder/resources/waf_association.rb
ufo-6.3.0 lib/ufo/cfn/stack/builder/resources/waf_association.rb
ufo-6.2.5 lib/ufo/cfn/stack/builder/resources/waf_association.rb
ufo-6.2.4 lib/ufo/cfn/stack/builder/resources/waf_association.rb
ufo-6.2.3 lib/ufo/cfn/stack/builder/resources/waf_association.rb
ufo-6.2.2 lib/ufo/cfn/stack/builder/resources/waf_association.rb
ufo-6.2.1 lib/ufo/cfn/stack/builder/resources/waf_association.rb
ufo-6.2.0 lib/ufo/cfn/stack/builder/resources/waf_association.rb