Struct aws_sdk_wafv2::types::VersionToPublish
source · #[non_exhaustive]pub struct VersionToPublish {
pub associated_rule_group_arn: Option<String>,
pub forecasted_lifetime: Option<i32>,
}
Expand description
A version of the named managed rule group, that the rule group's vendor publishes for use by customers.
This is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers.
Vendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are ListManagedRuleSets
, GetManagedRuleSet
, PutManagedRuleSetVersions
, and UpdateManagedRuleSetVersionExpiryDate
.
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.associated_rule_group_arn: Option<String>
The Amazon Resource Name (ARN) of the vendor's rule group that's used in the published managed rule group version.
forecasted_lifetime: Option<i32>
The amount of time the vendor expects this version of the managed rule group to last, in days.
Implementations§
source§impl VersionToPublish
impl VersionToPublish
sourcepub fn associated_rule_group_arn(&self) -> Option<&str>
pub fn associated_rule_group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the vendor's rule group that's used in the published managed rule group version.
sourcepub fn forecasted_lifetime(&self) -> Option<i32>
pub fn forecasted_lifetime(&self) -> Option<i32>
The amount of time the vendor expects this version of the managed rule group to last, in days.
source§impl VersionToPublish
impl VersionToPublish
sourcepub fn builder() -> VersionToPublishBuilder
pub fn builder() -> VersionToPublishBuilder
Creates a new builder-style object to manufacture VersionToPublish
.
Trait Implementations§
source§impl Clone for VersionToPublish
impl Clone for VersionToPublish
source§fn clone(&self) -> VersionToPublish
fn clone(&self) -> VersionToPublish
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VersionToPublish
impl Debug for VersionToPublish
source§impl PartialEq for VersionToPublish
impl PartialEq for VersionToPublish
source§fn eq(&self, other: &VersionToPublish) -> bool
fn eq(&self, other: &VersionToPublish) -> bool
self
and other
values to be equal, and is used
by ==
.