pub struct Builder { /* private fields */ }
Expand description
A builder for ApplicationLayerAutomaticResponseConfiguration
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn status(self, input: ApplicationLayerAutomaticResponseStatus) -> Self
pub fn status(self, input: ApplicationLayerAutomaticResponseStatus) -> Self
Indicates whether automatic application layer DDoS mitigation is enabled for the protection.
sourcepub fn set_status(
self,
input: Option<ApplicationLayerAutomaticResponseStatus>
) -> Self
pub fn set_status(
self,
input: Option<ApplicationLayerAutomaticResponseStatus>
) -> Self
Indicates whether automatic application layer DDoS mitigation is enabled for the protection.
sourcepub fn action(self, input: ResponseAction) -> Self
pub fn action(self, input: ResponseAction) -> Self
Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.
sourcepub fn set_action(self, input: Option<ResponseAction>) -> Self
pub fn set_action(self, input: Option<ResponseAction>) -> Self
Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.
sourcepub fn build(self) -> ApplicationLayerAutomaticResponseConfiguration
pub fn build(self) -> ApplicationLayerAutomaticResponseConfiguration
Consumes the builder and constructs a ApplicationLayerAutomaticResponseConfiguration
.