waf

package
v0.0.0-...-0420b53 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWAFRegional

func NewWAFRegional(awsSession *session.Session)

NewWAFRegional returns an WAFRegional based off of the provided aws.Config

Types

type WAFRegional

type WAFRegional struct {
	Svc wafregionaliface.WAFRegionalAPI
}

WAFRegional is our extension to AWS's WAFRegional.wafregional

var WAFRegionalsvc *WAFRegional

WAFRegionalsvc is a pointer to the awsutil WAFRegional service

func (*WAFRegional) Associate

func (a *WAFRegional) Associate(resourceArn *string, wafAclId *string) (*wafregional.AssociateWebACLOutput, error)

Associate WAF ACL to resource.

func (*WAFRegional) Disassociate

func (a *WAFRegional) Disassociate(resourceArn *string) (*wafregional.DisassociateWebACLOutput, error)

Disassociate WAF ACL from resource.

func (*WAFRegional) GetWebACLSummary

func (a *WAFRegional) GetWebACLSummary(resourceArn *string) (*waf.WebACLSummary, error)

GetWebACLSummary return associated summary for resource.

func (*WAFRegional) WafAclExists

func (a *WAFRegional) WafAclExists(web_acl_id *string) (bool, error)

WafAclExists checks whether the provided ID existing in AWS.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL