Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultWebACLAssociationManager ¶
func NewDefaultWebACLAssociationManager(wafRegionalClient services.WAFRegional, logger logr.Logger) *defaultWebACLAssociationManager
NewDefaultWebACLAssociationManager constructs new defaultWebACLAssociationManager.
func NewWebACLAssociationSynthesizer ¶
func NewWebACLAssociationSynthesizer(associationManager WebACLAssociationManager, logger logr.Logger, stack core.Stack) *webACLAssociationSynthesizer
NewWebACLAssociationSynthesizer constructs new webACLAssociationSynthesizer.
Types ¶
type WebACLAssociationManager ¶
type WebACLAssociationManager interface { // AssociateWebACL associate webACL to resources. AssociateWebACL(ctx context.Context, resourceARN string, webACLID string) error // DisassociateWebACL disassociate webACL from resources. DisassociateWebACL(ctx context.Context, resourceARN string) error // GetAssociatedWebACL returns the associated webACL for resource, returns empty if no webACL is associated. GetAssociatedWebACL(ctx context.Context, resourceARN string) (string, error) }
WebACLAssociationManager is responsible for manage WAFRegion webACL associations.
Click to show internal directories.
Click to hide internal directories.