pub struct CreateWebACLMigrationStack { /* private fields */ }Expand description
Fluent builder constructing a request to CreateWebACLMigrationStack.
Creates an AWS CloudFormation WAFV2 template for the specified web ACL in the specified Amazon S3 bucket. Then, in CloudFormation, you create a stack from the template, to create the web ACL and its resources in AWS WAFV2. Use this to migrate your AWS WAF Classic web ACL to the latest version of AWS WAF.
This is part of a larger migration procedure for web ACLs from AWS WAF Classic to the latest version of AWS WAF. For the full procedure, including caveats and manual steps to complete the migration and switch over to the new web ACL, see Migrating your AWS WAF Classic resources to AWS WAF in the AWS WAF Developer Guide.
Implementations
sourceimpl CreateWebACLMigrationStack
 
impl CreateWebACLMigrationStack
sourcepub async fn send(
    self
) -> Result<CreateWebAclMigrationStackOutput, SdkError<CreateWebACLMigrationStackError>>
 
pub async fn send(
    self
) -> Result<CreateWebAclMigrationStackOutput, SdkError<CreateWebACLMigrationStackError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn web_acl_id(self, input: impl Into<String>) -> Self
 
pub fn web_acl_id(self, input: impl Into<String>) -> Self
The UUID of the WAF Classic web ACL that you want to migrate to WAF v2.
sourcepub fn set_web_acl_id(self, input: Option<String>) -> Self
 
pub fn set_web_acl_id(self, input: Option<String>) -> Self
The UUID of the WAF Classic web ACL that you want to migrate to WAF v2.
sourcepub fn s3_bucket_name(self, input: impl Into<String>) -> Self
 
pub fn s3_bucket_name(self, input: impl Into<String>) -> Self
The name of the Amazon S3 bucket to store the CloudFormation template in. The S3 bucket must be configured as follows for the migration:
-  The bucket name must start with aws-waf-migration-. For example,aws-waf-migration-my-web-acl.
-  The bucket must be in the Region where you are deploying the template. For example, for a web ACL in us-west-2, you must use an Amazon S3 bucket in us-west-2 and you must deploy the template stack to us-west-2. 
-  The bucket policies must permit the migration process to write data. For listings of the bucket policies, see the Examples section. 
sourcepub fn set_s3_bucket_name(self, input: Option<String>) -> Self
 
pub fn set_s3_bucket_name(self, input: Option<String>) -> Self
The name of the Amazon S3 bucket to store the CloudFormation template in. The S3 bucket must be configured as follows for the migration:
-  The bucket name must start with aws-waf-migration-. For example,aws-waf-migration-my-web-acl.
-  The bucket must be in the Region where you are deploying the template. For example, for a web ACL in us-west-2, you must use an Amazon S3 bucket in us-west-2 and you must deploy the template stack to us-west-2. 
-  The bucket policies must permit the migration process to write data. For listings of the bucket policies, see the Examples section. 
sourcepub fn ignore_unsupported_type(self, input: bool) -> Self
 
pub fn ignore_unsupported_type(self, input: bool) -> Self
Indicates whether to exclude entities that can't be migrated or to stop the migration. Set this to true to ignore unsupported entities in the web ACL during the migration. Otherwise, if AWS WAF encounters unsupported entities, it stops the process and throws an exception.
sourcepub fn set_ignore_unsupported_type(self, input: Option<bool>) -> Self
 
pub fn set_ignore_unsupported_type(self, input: Option<bool>) -> Self
Indicates whether to exclude entities that can't be migrated or to stop the migration. Set this to true to ignore unsupported entities in the web ACL during the migration. Otherwise, if AWS WAF encounters unsupported entities, it stops the process and throws an exception.
Trait Implementations
sourceimpl Clone for CreateWebACLMigrationStack
 
impl Clone for CreateWebACLMigrationStack
sourcefn clone(&self) -> CreateWebACLMigrationStack
 
fn clone(&self) -> CreateWebACLMigrationStack
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl !RefUnwindSafe for CreateWebACLMigrationStack
impl Send for CreateWebACLMigrationStack
impl Sync for CreateWebACLMigrationStack
impl Unpin for CreateWebACLMigrationStack
impl !UnwindSafe for CreateWebACLMigrationStack
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
 
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
    T: Clone, 
 
impl<T> ToOwned for T where
    T: Clone, 
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
 
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
 
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
    S: Into<Dispatch>, 
 
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
    S: Into<Dispatch>, 
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
 
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more