AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

An AWS Firewall Manager policy.

Inheritance Hierarchy

System.Object
  Amazon.FMS.Model.Policy

Namespace: Amazon.FMS.Model
Assembly: AWSSDK.FMS.dll
Version: 3.x.y.z

Syntax

C#
public class Policy

The Policy type exposes the following members

Constructors

NameDescription
Public Method Policy()

Properties

NameTypeDescription
Public Property ExcludeMap System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<System.String>>

Gets and sets the property ExcludeMap.

Specifies the AWS account IDs to exclude from the policy. The IncludeMap values are evaluated first, with all of 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”]}.

Public Property ExcludeResourceTags System.Boolean

Gets and sets the property ExcludeResourceTags.

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.

Public Property IncludeMap System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<System.String>>

Gets and sets the property IncludeMap.

Specifies the AWS account IDs to include in the policy. If IncludeMap is null, all accounts in the AWS Organization are included in the policy. If IncludeMap is not null, only values listed in IncludeMap will be included in the policy.

The key to the map is ACCOUNT. For example, a valid IncludeMap would be {“ACCOUNT” : [“accountID1”, “accountID2”]}.

Public Property PolicyId System.String

Gets and sets the property PolicyId.

The ID of the AWS Firewall Manager policy.

Public Property PolicyName System.String

Gets and sets the property PolicyName.

The friendly name of the AWS Firewall Manager policy.

Public Property PolicyUpdateToken System.String

Gets and sets the property PolicyUpdateToken.

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.

Public Property RemediationEnabled System.Boolean

Gets and sets the property RemediationEnabled.

Indicates if the policy should be automatically applied to new resources.

Public Property ResourceTags System.Collections.Generic.List<Amazon.FMS.Model.ResourceTag>

Gets and sets the property ResourceTags.

An array of ResourceTag objects.

Public Property ResourceType System.String

Gets and sets the property ResourceType.

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.

Public Property SecurityServicePolicyData Amazon.FMS.Model.SecurityServicePolicyData

Gets and sets the property SecurityServicePolicyData.

Details about the security service that is being used to protect the resources.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms