Struct rusoto_fms::PolicySummary
source · [−]pub struct PolicySummary {
pub policy_arn: Option<String>,
pub policy_id: Option<String>,
pub policy_name: Option<String>,
pub remediation_enabled: Option<bool>,
pub resource_type: Option<String>,
pub security_service_type: Option<String>,
}
Expand description
Details of the AWS Firewall Manager policy.
Fields
policy_arn: Option<String>
The Amazon Resource Name (ARN) of the specified policy.
policy_id: Option<String>
The ID of the specified policy.
policy_name: Option<String>
The name of the specified policy.
remediation_enabled: Option<bool>
Indicates if the policy should be automatically applied to new resources.
resource_type: Option<String>
The type of resource protected by or in scope of the policy. This is in the format shown in the AWS Resource Types Reference. For AWS WAF and Shield Advanced, examples include AWS::ElasticLoadBalancingV2::LoadBalancer
and AWS::CloudFront::Distribution
. For a security group common policy, valid values are AWS::EC2::NetworkInterface
and AWS::EC2::Instance
. For a security group content audit policy, valid values are AWS::EC2::SecurityGroup
, AWS::EC2::NetworkInterface
, and AWS::EC2::Instance
. For a security group usage audit policy, the value is AWS::EC2::SecurityGroup
. For an AWS Network Firewall policy, the value is AWS::EC2::VPC
.
security_service_type: Option<String>
The service that the policy is using to protect the resources. This specifies the type of policy that is created, either an AWS WAF policy, a Shield Advanced policy, or a security group policy.
Trait Implementations
sourceimpl Clone for PolicySummary
impl Clone for PolicySummary
sourcefn clone(&self) -> PolicySummary
fn clone(&self) -> PolicySummary
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 Debug for PolicySummary
impl Debug for PolicySummary
sourceimpl Default for PolicySummary
impl Default for PolicySummary
sourcefn default() -> PolicySummary
fn default() -> PolicySummary
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PolicySummary
impl<'de> Deserialize<'de> for PolicySummary
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<PolicySummary> for PolicySummary
impl PartialEq<PolicySummary> for PolicySummary
sourcefn eq(&self, other: &PolicySummary) -> bool
fn eq(&self, other: &PolicySummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PolicySummary) -> bool
fn ne(&self, other: &PolicySummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for PolicySummary
Auto Trait Implementations
impl RefUnwindSafe for PolicySummary
impl Send for PolicySummary
impl Sync for PolicySummary
impl Unpin for PolicySummary
impl UnwindSafe for PolicySummary
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