Struct aws_sdk_waf::operation::create_web_acl_migration_stack::CreateWebAclMigrationStackInput
source · #[non_exhaustive]pub struct CreateWebAclMigrationStackInput {
pub web_acl_id: Option<String>,
pub s3_bucket_name: Option<String>,
pub ignore_unsupported_type: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.web_acl_id: Option<String>
The UUID of the WAF Classic web ACL that you want to migrate to WAF v2.
s3_bucket_name: Option<String>
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.
ignore_unsupported_type: Option<bool>
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.
Implementations§
source§impl CreateWebAclMigrationStackInput
impl CreateWebAclMigrationStackInput
sourcepub fn web_acl_id(&self) -> Option<&str>
pub fn web_acl_id(&self) -> Option<&str>
The UUID of the WAF Classic web ACL that you want to migrate to WAF v2.
sourcepub fn s3_bucket_name(&self) -> Option<&str>
pub fn s3_bucket_name(&self) -> Option<&str>
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) -> Option<bool>
pub fn ignore_unsupported_type(&self) -> Option<bool>
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.
source§impl CreateWebAclMigrationStackInput
impl CreateWebAclMigrationStackInput
sourcepub fn builder() -> CreateWebAclMigrationStackInputBuilder
pub fn builder() -> CreateWebAclMigrationStackInputBuilder
Creates a new builder-style object to manufacture CreateWebAclMigrationStackInput
.
Trait Implementations§
source§impl Clone for CreateWebAclMigrationStackInput
impl Clone for CreateWebAclMigrationStackInput
source§fn clone(&self) -> CreateWebAclMigrationStackInput
fn clone(&self) -> CreateWebAclMigrationStackInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateWebAclMigrationStackInput
impl PartialEq for CreateWebAclMigrationStackInput
source§fn eq(&self, other: &CreateWebAclMigrationStackInput) -> bool
fn eq(&self, other: &CreateWebAclMigrationStackInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateWebAclMigrationStackInput
Auto Trait Implementations§
impl Freeze for CreateWebAclMigrationStackInput
impl RefUnwindSafe for CreateWebAclMigrationStackInput
impl Send for CreateWebAclMigrationStackInput
impl Sync for CreateWebAclMigrationStackInput
impl Unpin for CreateWebAclMigrationStackInput
impl UnwindSafe for CreateWebAclMigrationStackInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more