[−][src]Struct rusoto_fms::Policy
An AWS Firewall Manager policy.
Fields
exclude_map: Option<HashMap<String, Vec<String>>>
Specifies the AWS account IDs to exclude from the policy. The IncludeMap
values are evaluated first, with all the appropriate account IDs added to the policy. Then the accounts listed in ExcludeMap
are removed, resulting in the final list of accounts to add to the policy.
The key to the map is ACCOUNT
. For example, a valid ExcludeMap
would be {“ACCOUNT” : [“accountID1”, “accountID2”]}
.
If set to True
, resources with the tags that are specified in the ResourceTag
array are not protected by the policy. If set to False
, and the ResourceTag
array is not null, only resources with the specified tags are associated with the policy.
include_map: Option<HashMap<String, Vec<String>>>
Specifies the AWS account IDs to include in the policy. If IncludeMap
is null, all accounts in the organization in AWS Organizations are included in the policy. If IncludeMap
is not null, only values listed in IncludeMap
are included in the policy.
The key to the map is ACCOUNT
. For example, a valid IncludeMap
would be {“ACCOUNT” : [“accountID1”, “accountID2”]}
.
policy_id: Option<String>
The ID of the AWS Firewall Manager policy.
policy_name: String
The friendly name of the AWS Firewall Manager policy.
policy_update_token: Option<String>
A unique identifier for each update to the policy. When issuing a PutPolicy
request, the PolicyUpdateToken
in the request must match the PolicyUpdateToken
of the current policy version. To get the PolicyUpdateToken
of the current policy version, use a GetPolicy
request.
remediation_enabled: bool
Indicates if the policy should be automatically applied to new resources.
An array of ResourceTag
objects.
resource_type: String
The type of resource to protect with the policy, either an Application Load Balancer or a CloudFront distribution. This is in the format shown in AWS Resource Types Reference. Valid values are AWS::ElasticLoadBalancingV2::LoadBalancer
or AWS::CloudFront::Distribution
.
security_service_policy_data: SecurityServicePolicyData
Details about the security service that is being used to protect the resources.
Trait Implementations
impl Default for Policy
[src]
impl Clone for Policy
[src]
fn clone(&self) -> Policy
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<Policy> for Policy
[src]
impl Debug for Policy
[src]
impl<'de> Deserialize<'de> for Policy
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for Policy
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T> Same<T> for T
type Output = T
Should always be Self