Class: Ufo::Cfn::Stack::Builder::Resources::WafAssociation
- Inherits:
-
Base
- Object
- Ufo::CLI::Base
- Base
- Base
- Base
- Ufo::Cfn::Stack::Builder::Resources::WafAssociation
- Defined in:
- lib/ufo/cfn/stack/builder/resources/waf_association.rb
Instance Attribute Summary
Attributes inherited from Base
Attributes inherited from Ufo::CLI::Base
Instance Method Summary collapse
Methods inherited from Base
build, #initialize, #manage_ecs_security_group?, #managed_security_group, #security_groups
Methods included from Ufo::Concerns
Methods included from Ufo::Concerns::Names
Methods included from AwsServices
#acm, #applicationautoscaling, #aws_options, #cfn, #cloudwatchlogs, #ec2, #ecr, #ecs, #elb, #s3, #ssm_client, #waf_client
Methods included from AwsServices::Concerns
#find_stack, #find_stack_resources, #stack_resources, #status, #task_definition_arns
Methods inherited from Ufo::CLI::Base
Methods included from Utils::Sure
Methods included from Utils::Pretty
#pretty_home, #pretty_path, #pretty_time
Methods included from Utils::Logging
Constructor Details
This class inherits a constructor from Ufo::Cfn::Stack::Builder::Base
Instance Method Details
#build ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/ufo/cfn/stack/builder/resources/waf_association.rb', line 4 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 |