pub struct Builder { /* private fields */ }
Expand description
A builder for EnableApplicationLayerAutomaticResponseInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The ARN (Amazon Resource Name) of the protected resource.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The ARN (Amazon Resource Name) of the protected resource.
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
) -> Result<EnableApplicationLayerAutomaticResponseInput, BuildError>
pub fn build(
self
) -> Result<EnableApplicationLayerAutomaticResponseInput, BuildError>
Consumes the builder and constructs a EnableApplicationLayerAutomaticResponseInput
.