Documentation ¶
Index ¶
- func NewWAFRegional(awsSession *session.Session)
- type WAFRegional
- func (a *WAFRegional) Associate(resourceArn *string, wafAclId *string) (*wafregional.AssociateWebACLOutput, error)
- func (a *WAFRegional) Disassociate(resourceArn *string) (*wafregional.DisassociateWebACLOutput, error)
- func (a *WAFRegional) GetWebACLSummary(resourceArn *string) (*waf.WebACLSummary, error)
- func (a *WAFRegional) WafAclExists(web_acl_id *string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWAFRegional ¶
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.
Click to show internal directories.
Click to hide internal directories.