Struct aws_sdk_waf::input::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
sourceimpl CreateWebAclMigrationStackInput
impl CreateWebAclMigrationStackInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateWebACLMigrationStack, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateWebACLMigrationStack, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateWebACLMigrationStack>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateWebAclMigrationStackInput
sourceimpl 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.
Trait Implementations
sourceimpl Clone for CreateWebAclMigrationStackInput
impl Clone for CreateWebAclMigrationStackInput
sourcefn clone(&self) -> CreateWebAclMigrationStackInput
fn clone(&self) -> CreateWebAclMigrationStackInput
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
sourceimpl PartialEq<CreateWebAclMigrationStackInput> for CreateWebAclMigrationStackInput
impl PartialEq<CreateWebAclMigrationStackInput> for CreateWebAclMigrationStackInput
sourcefn eq(&self, other: &CreateWebAclMigrationStackInput) -> bool
fn eq(&self, other: &CreateWebAclMigrationStackInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CreateWebAclMigrationStackInput) -> bool
fn ne(&self, other: &CreateWebAclMigrationStackInput) -> bool
This method tests for !=.
impl StructuralPartialEq for CreateWebAclMigrationStackInput
Auto Trait Implementations
impl RefUnwindSafe for CreateWebAclMigrationStackInput
impl Send for CreateWebAclMigrationStackInput
impl Sync for CreateWebAclMigrationStackInput
impl Unpin for CreateWebAclMigrationStackInput
impl UnwindSafe for CreateWebAclMigrationStackInput
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