Class: AWS.FMS
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.FMS
- Identifier:
- fms
- API Version:
- 2018-01-01
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
This is the AWS Firewall Manager API Reference. This guide is for developers who need detailed information about the AWS Firewall Manager API actions, data types, and errors. For detailed information about AWS Firewall Manager features, see the AWS Firewall Manager Developer Guide.
Sending a Request Using FMS
var fms = new AWS.FMS();
fms.associateAdminAccount(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the FMS object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var fms = new AWS.FMS({apiVersion: '2018-01-01'});
You can also set the API version globally in AWS.config.apiVersions
using
the fms service identifier:
AWS.config.apiVersions = {
fms: '2018-01-01',
// other service API versions
};
var fms = new AWS.FMS();
Constructor Summary
-
new AWS.FMS(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary
-
associateAdminAccount(params = {}, callback) ⇒ AWS.Request
Sets the AWS Firewall Manager administrator account.
-
deleteNotificationChannel(params = {}, callback) ⇒ AWS.Request
Deletes an AWS Firewall Manager association with the IAM role and the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall Manager SNS logs.
-
deletePolicy(params = {}, callback) ⇒ AWS.Request
Permanently deletes an AWS Firewall Manager policy.
-
disassociateAdminAccount(params = {}, callback) ⇒ AWS.Request
Disassociates the account that has been set as the AWS Firewall Manager administrator account.
-
getAdminAccount(params = {}, callback) ⇒ AWS.Request
Returns the AWS Organizations master account that is associated with AWS Firewall Manager as the AWS Firewall Manager administrator.
-
getComplianceDetail(params = {}, callback) ⇒ AWS.Request
Returns detailed compliance information about the specified member account.
-
getNotificationChannel(params = {}, callback) ⇒ AWS.Request
Returns information about the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall Manager SNS logs.
-
getPolicy(params = {}, callback) ⇒ AWS.Request
Returns information about the specified AWS Firewall Manager policy.
-
getProtectionStatus(params = {}, callback) ⇒ AWS.Request
If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a potential DDoS attack.
-
listComplianceStatus(params = {}, callback) ⇒ AWS.Request
Returns an array of PolicyComplianceStatus objects in the response.
-
listMemberAccounts(params = {}, callback) ⇒ AWS.Request
Returns a MemberAccounts object that lists the member accounts in the administrator's AWS organization.
-
listPolicies(params = {}, callback) ⇒ AWS.Request
Returns an array of PolicySummary objects in the response.
-
putNotificationChannel(params = {}, callback) ⇒ AWS.Request
Designates the IAM role and Amazon Simple Notification Service (SNS) topic that AWS Firewall Manager uses to record SNS logs.
-
putPolicy(params = {}, callback) ⇒ AWS.Request
Creates an AWS Firewall Manager policy.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
Property Details
Method Details
associateAdminAccount(params = {}, callback) ⇒ AWS.Request
Sets the AWS Firewall Manager administrator account. AWS Firewall Manager must be associated with the master account your AWS organization or associated with a member account that has the appropriate permissions. If the account ID that you submit is not an AWS Organizations master account, AWS Firewall Manager will set the appropriate permissions for the given member account.
The account that you associate with AWS Firewall Manager is called the AWS Firewall Manager administrator account.
deleteNotificationChannel(params = {}, callback) ⇒ AWS.Request
Deletes an AWS Firewall Manager association with the IAM role and the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall Manager SNS logs.
deletePolicy(params = {}, callback) ⇒ AWS.Request
Permanently deletes an AWS Firewall Manager policy.
disassociateAdminAccount(params = {}, callback) ⇒ AWS.Request
Disassociates the account that has been set as the AWS Firewall Manager administrator account. To set a different account as the administrator account, you must submit an AssociateAdminAccount
request .
getAdminAccount(params = {}, callback) ⇒ AWS.Request
Returns the AWS Organizations master account that is associated with AWS Firewall Manager as the AWS Firewall Manager administrator.
getComplianceDetail(params = {}, callback) ⇒ AWS.Request
Returns detailed compliance information about the specified member account. Details include resources that are in and out of compliance with the specified policy. Resources are considered non-compliant if the specified policy has not been applied to them.
getNotificationChannel(params = {}, callback) ⇒ AWS.Request
Returns information about the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall Manager SNS logs.
getPolicy(params = {}, callback) ⇒ AWS.Request
Returns information about the specified AWS Firewall Manager policy.
getProtectionStatus(params = {}, callback) ⇒ AWS.Request
If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a potential DDoS attack.
listComplianceStatus(params = {}, callback) ⇒ AWS.Request
Returns an array of PolicyComplianceStatus
objects in the response. Use PolicyComplianceStatus
to get a summary of which member accounts are protected by the specified policy.
listMemberAccounts(params = {}, callback) ⇒ AWS.Request
Returns a MemberAccounts
object that lists the member accounts in the administrator's AWS organization.
The ListMemberAccounts
must be submitted by the account that is set as the AWS Firewall Manager administrator.
listPolicies(params = {}, callback) ⇒ AWS.Request
Returns an array of PolicySummary
objects in the response.
putNotificationChannel(params = {}, callback) ⇒ AWS.Request
Designates the IAM role and Amazon Simple Notification Service (SNS) topic that AWS Firewall Manager uses to record SNS logs.
putPolicy(params = {}, callback) ⇒ AWS.Request
Creates an AWS Firewall Manager policy.
Firewall Manager provides two types of policies: A Shield Advanced policy, which applies Shield Advanced protection to specified accounts and resources, or a WAF policy, which contains a rule group and defines which resources are to be protected by that rule group. A policy is specific to either WAF or Shield Advanced. If you want to enforce both WAF rules and Shield Advanced protection across accounts, you can create multiple policies. You can create one or more policies for WAF rules, and one or more policies for Shield Advanced.
You must be subscribed to Shield Advanced to create a Shield Advanced policy. For more information on subscribing to Shield Advanced, see CreateSubscription.