[−][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. This is in the format shown in AWS Resource Types Reference. For example: AWS::ElasticLoadBalancingV2::LoadBalancer
or AWS::CloudFront::Distribution
.
resource_type_list: Option<Vec<String>>
An array of ResourceType
.
security_service_policy_data: SecurityServicePolicyData
Details about the security service that is being used to protect the resources.
Trait Implementations
impl PartialEq<Policy> for Policy
[src]
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 Debug for Policy
[src]
impl Serialize for Policy
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Policy
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
T: From<U>,
type Error = !
try_from
)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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self