Class: Aws::FMS::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::FMS::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb
Overview
An API client for FMS. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::FMS::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#associate_admin_account(params = {}) ⇒ Struct
Sets a Firewall Manager default administrator account.
-
#associate_third_party_firewall(params = {}) ⇒ Types::AssociateThirdPartyFirewallResponse
Sets the Firewall Manager policy administrator as a tenant administrator of a third-party firewall service.
-
#batch_associate_resource(params = {}) ⇒ Types::BatchAssociateResourceResponse
Associate resources to a Firewall Manager resource set.
-
#batch_disassociate_resource(params = {}) ⇒ Types::BatchDisassociateResourceResponse
Disassociates resources from a Firewall Manager resource set.
-
#delete_apps_list(params = {}) ⇒ Struct
Permanently deletes an Firewall Manager applications list.
-
#delete_notification_channel(params = {}) ⇒ Struct
Deletes an Firewall Manager association with the IAM role and the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.
-
#delete_policy(params = {}) ⇒ Struct
Permanently deletes an Firewall Manager policy.
-
#delete_protocols_list(params = {}) ⇒ Struct
Permanently deletes an Firewall Manager protocols list.
-
#delete_resource_set(params = {}) ⇒ Struct
Deletes the specified ResourceSet.
-
#disassociate_admin_account(params = {}) ⇒ Struct
Disassociates an Firewall Manager administrator account.
-
#disassociate_third_party_firewall(params = {}) ⇒ Types::DisassociateThirdPartyFirewallResponse
Disassociates a Firewall Manager policy administrator from a third-party firewall tenant.
-
#get_admin_account(params = {}) ⇒ Types::GetAdminAccountResponse
Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager default administrator.
-
#get_admin_scope(params = {}) ⇒ Types::GetAdminScopeResponse
Returns information about the specified account's administrative scope.
-
#get_apps_list(params = {}) ⇒ Types::GetAppsListResponse
Returns information about the specified Firewall Manager applications list.
-
#get_compliance_detail(params = {}) ⇒ Types::GetComplianceDetailResponse
Returns detailed compliance information about the specified member account.
-
#get_notification_channel(params = {}) ⇒ Types::GetNotificationChannelResponse
Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.
-
#get_policy(params = {}) ⇒ Types::GetPolicyResponse
Returns information about the specified Firewall Manager policy.
-
#get_protection_status(params = {}) ⇒ Types::GetProtectionStatusResponse
If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a potential DDoS attack.
-
#get_protocols_list(params = {}) ⇒ Types::GetProtocolsListResponse
Returns information about the specified Firewall Manager protocols list.
-
#get_resource_set(params = {}) ⇒ Types::GetResourceSetResponse
Gets information about a specific resource set.
-
#get_third_party_firewall_association_status(params = {}) ⇒ Types::GetThirdPartyFirewallAssociationStatusResponse
The onboarding status of a Firewall Manager admin account to third-party firewall vendor tenant.
-
#get_violation_details(params = {}) ⇒ Types::GetViolationDetailsResponse
Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.
-
#list_admin_accounts_for_organization(params = {}) ⇒ Types::ListAdminAccountsForOrganizationResponse
Returns a
AdminAccounts
object that lists the Firewall Manager administrators within the organization that are onboarded to Firewall Manager by AssociateAdminAccount. -
#list_admins_managing_account(params = {}) ⇒ Types::ListAdminsManagingAccountResponse
Lists the accounts that are managing the specified Organizations member account.
-
#list_apps_lists(params = {}) ⇒ Types::ListAppsListsResponse
Returns an array of
AppsListDataSummary
objects. -
#list_compliance_status(params = {}) ⇒ Types::ListComplianceStatusResponse
Returns an array of
PolicyComplianceStatus
objects. -
#list_discovered_resources(params = {}) ⇒ Types::ListDiscoveredResourcesResponse
Returns an array of resources in the organization's accounts that are available to be associated with a resource set.
-
#list_member_accounts(params = {}) ⇒ Types::ListMemberAccountsResponse
Returns a
MemberAccounts
object that lists the member accounts in the administrator's Amazon Web Services organization. -
#list_policies(params = {}) ⇒ Types::ListPoliciesResponse
Returns an array of
PolicySummary
objects. -
#list_protocols_lists(params = {}) ⇒ Types::ListProtocolsListsResponse
Returns an array of
ProtocolsListDataSummary
objects. -
#list_resource_set_resources(params = {}) ⇒ Types::ListResourceSetResourcesResponse
Returns an array of resources that are currently associated to a resource set.
-
#list_resource_sets(params = {}) ⇒ Types::ListResourceSetsResponse
Returns an array of
ResourceSetSummary
objects. -
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Retrieves the list of tags for the specified Amazon Web Services resource.
-
#list_third_party_firewall_firewall_policies(params = {}) ⇒ Types::ListThirdPartyFirewallFirewallPoliciesResponse
Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall administrator's account.
-
#put_admin_account(params = {}) ⇒ Struct
Creates or updates an Firewall Manager administrator account.
-
#put_apps_list(params = {}) ⇒ Types::PutAppsListResponse
Creates an Firewall Manager applications list.
-
#put_notification_channel(params = {}) ⇒ Struct
Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall Manager uses to record SNS logs.
-
#put_policy(params = {}) ⇒ Types::PutPolicyResponse
Creates an Firewall Manager policy.
-
#put_protocols_list(params = {}) ⇒ Types::PutProtocolsListResponse
Creates an Firewall Manager protocols list.
-
#put_resource_set(params = {}) ⇒ Types::PutResourceSetResponse
Creates the resource set.
-
#tag_resource(params = {}) ⇒ Struct
Adds one or more tags to an Amazon Web Services resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes one or more tags from an Amazon Web Services resource.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
395 396 397 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 395 def initialize(*args) super end |
Instance Method Details
#associate_admin_account(params = {}) ⇒ Struct
Sets a Firewall Manager default administrator account. The Firewall Manager default administrator account can manage third-party firewalls and has full administrative scope that allows administration of all policy types, accounts, organizational units, and Regions. This account must be a member account of the organization in Organizations whose resources you want to protect.
For information about working with Firewall Manager administrator accounts, see Managing Firewall Manager administrators in the Firewall Manager Developer Guide.
440 441 442 443 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 440 def associate_admin_account(params = {}, = {}) req = build_request(:associate_admin_account, params) req.send_request() end |
#associate_third_party_firewall(params = {}) ⇒ Types::AssociateThirdPartyFirewallResponse
Sets the Firewall Manager policy administrator as a tenant administrator of a third-party firewall service. A tenant is an instance of the third-party firewall service that's associated with your Amazon Web Services customer account.
471 472 473 474 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 471 def associate_third_party_firewall(params = {}, = {}) req = build_request(:associate_third_party_firewall, params) req.send_request() end |
#batch_associate_resource(params = {}) ⇒ Types::BatchAssociateResourceResponse
Associate resources to a Firewall Manager resource set.
510 511 512 513 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 510 def batch_associate_resource(params = {}, = {}) req = build_request(:batch_associate_resource, params) req.send_request() end |
#batch_disassociate_resource(params = {}) ⇒ Types::BatchDisassociateResourceResponse
Disassociates resources from a Firewall Manager resource set.
549 550 551 552 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 549 def batch_disassociate_resource(params = {}, = {}) req = build_request(:batch_disassociate_resource, params) req.send_request() end |
#delete_apps_list(params = {}) ⇒ Struct
Permanently deletes an Firewall Manager applications list.
573 574 575 576 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 573 def delete_apps_list(params = {}, = {}) req = build_request(:delete_apps_list, params) req.send_request() end |
#delete_notification_channel(params = {}) ⇒ Struct
Deletes an Firewall Manager association with the IAM role and the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.
588 589 590 591 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 588 def delete_notification_channel(params = {}, = {}) req = build_request(:delete_notification_channel, params) req.send_request() end |
#delete_policy(params = {}) ⇒ Struct
Permanently deletes an Firewall Manager policy.
647 648 649 650 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 647 def delete_policy(params = {}, = {}) req = build_request(:delete_policy, params) req.send_request() end |
#delete_protocols_list(params = {}) ⇒ Struct
Permanently deletes an Firewall Manager protocols list.
671 672 673 674 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 671 def delete_protocols_list(params = {}, = {}) req = build_request(:delete_protocols_list, params) req.send_request() end |
#delete_resource_set(params = {}) ⇒ Struct
Deletes the specified ResourceSet.
694 695 696 697 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 694 def delete_resource_set(params = {}, = {}) req = build_request(:delete_resource_set, params) req.send_request() end |
#disassociate_admin_account(params = {}) ⇒ Struct
Disassociates an Firewall Manager administrator account. To set a different account as an Firewall Manager administrator, submit a PutAdminAccount request. To set an account as a default administrator account, you must submit an AssociateAdminAccount request.
Disassociation of the default administrator account follows the first in, last out principle. If you are the default administrator, all Firewall Manager administrators within the organization must first disassociate their accounts before you can disassociate your account.
715 716 717 718 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 715 def disassociate_admin_account(params = {}, = {}) req = build_request(:disassociate_admin_account, params) req.send_request() end |
#disassociate_third_party_firewall(params = {}) ⇒ Types::DisassociateThirdPartyFirewallResponse
Disassociates a Firewall Manager policy administrator from a
third-party firewall tenant. When you call
DisassociateThirdPartyFirewall
, the third-party firewall vendor
deletes all of the firewalls that are associated with the account.
746 747 748 749 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 746 def disassociate_third_party_firewall(params = {}, = {}) req = build_request(:disassociate_third_party_firewall, params) req.send_request() end |
#get_admin_account(params = {}) ⇒ Types::GetAdminAccountResponse
Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager default administrator.
768 769 770 771 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 768 def get_admin_account(params = {}, = {}) req = build_request(:get_admin_account, params) req.send_request() end |
#get_admin_scope(params = {}) ⇒ Types::GetAdminScopeResponse
Returns information about the specified account's administrative scope. The admistrative scope defines the resources that an Firewall Manager administrator can manage.
813 814 815 816 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 813 def get_admin_scope(params = {}, = {}) req = build_request(:get_admin_scope, params) req.send_request() end |
#get_apps_list(params = {}) ⇒ Types::GetAppsListResponse
Returns information about the specified Firewall Manager applications list.
863 864 865 866 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 863 def get_apps_list(params = {}, = {}) req = build_request(:get_apps_list, params) req.send_request() end |
#get_compliance_detail(params = {}) ⇒ Types::GetComplianceDetailResponse
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 noncompliant for WAF and Shield Advanced policies if the specified policy has not been applied to them.
Resources are considered noncompliant for security group policies if they are in scope of the policy, they violate one or more of the policy rules, and remediation is disabled or not possible.
Resources are considered noncompliant for Network Firewall policies if a firewall is missing in the VPC, if the firewall endpoint isn't set up in an expected Availability Zone and subnet, if a subnet created by the Firewall Manager doesn't have the expected route table, and for modifications to a firewall policy that violate the Firewall Manager policy's rules.
Resources are considered noncompliant for DNS Firewall policies if a DNS Firewall rule group is missing from the rule group associations for the VPC.
929 930 931 932 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 929 def get_compliance_detail(params = {}, = {}) req = build_request(:get_compliance_detail, params) req.send_request() end |
#get_notification_channel(params = {}) ⇒ Types::GetNotificationChannelResponse
Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.
951 952 953 954 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 951 def get_notification_channel(params = {}, = {}) req = build_request(:get_notification_channel, params) req.send_request() end |
#get_policy(params = {}) ⇒ Types::GetPolicyResponse
Returns information about the specified Firewall Manager policy.
1006 1007 1008 1009 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 1006 def get_policy(params = {}, = {}) req = build_request(:get_policy, params) req.send_request() end |
#get_protection_status(params = {}) ⇒ Types::GetProtectionStatusResponse
If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a potential DDoS attack. Other policy types are currently unsupported.
1078 1079 1080 1081 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 1078 def get_protection_status(params = {}, = {}) req = build_request(:get_protection_status, params) req.send_request() end |
#get_protocols_list(params = {}) ⇒ Types::GetProtocolsListResponse
Returns information about the specified Firewall Manager protocols list.
1124 1125 1126 1127 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 1124 def get_protocols_list(params = {}, = {}) req = build_request(:get_protocols_list, params) req.send_request() end |
#get_resource_set(params = {}) ⇒ Types::GetResourceSetResponse
Gets information about a specific resource set.
1162 1163 1164 1165 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 1162 def get_resource_set(params = {}, = {}) req = build_request(:get_resource_set, params) req.send_request() end |
#get_third_party_firewall_association_status(params = {}) ⇒ Types::GetThirdPartyFirewallAssociationStatusResponse
The onboarding status of a Firewall Manager admin account to third-party firewall vendor tenant.
1193 1194 1195 1196 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 1193 def get_third_party_firewall_association_status(params = {}, = {}) req = build_request(:get_third_party_firewall_association_status, params) req.send_request() end |
#get_violation_details(params = {}) ⇒ Types::GetViolationDetailsResponse
Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.
1568 1569 1570 1571 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 1568 def get_violation_details(params = {}, = {}) req = build_request(:get_violation_details, params) req.send_request() end |
#list_admin_accounts_for_organization(params = {}) ⇒ Types::ListAdminAccountsForOrganizationResponse
Returns a AdminAccounts
object that lists the Firewall Manager
administrators within the organization that are onboarded to Firewall
Manager by AssociateAdminAccount.
This operation can be called only from the organization's management account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1619 1620 1621 1622 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 1619 def list_admin_accounts_for_organization(params = {}, = {}) req = build_request(:list_admin_accounts_for_organization, params) req.send_request() end |
#list_admins_managing_account(params = {}) ⇒ Types::ListAdminsManagingAccountResponse
Lists the accounts that are managing the specified Organizations member account. This is useful for any member account so that they can view the accounts who are managing their account. This operation only returns the managing administrators that have the requested account within their AdminScope.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1667 1668 1669 1670 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 1667 def list_admins_managing_account(params = {}, = {}) req = build_request(:list_admins_managing_account, params) req.send_request() end |
#list_apps_lists(params = {}) ⇒ Types::ListAppsListsResponse
Returns an array of AppsListDataSummary
objects.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1725 1726 1727 1728 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 1725 def list_apps_lists(params = {}, = {}) req = build_request(:list_apps_lists, params) req.send_request() end |
#list_compliance_status(params = {}) ⇒ Types::ListComplianceStatusResponse
Returns an array of PolicyComplianceStatus
objects. Use
PolicyComplianceStatus
to get a summary of which member accounts are
protected by the specified policy.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1789 1790 1791 1792 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 1789 def list_compliance_status(params = {}, = {}) req = build_request(:list_compliance_status, params) req.send_request() end |
#list_discovered_resources(params = {}) ⇒ Types::ListDiscoveredResourcesResponse
Returns an array of resources in the organization's accounts that are available to be associated with a resource set.
1845 1846 1847 1848 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 1845 def list_discovered_resources(params = {}, = {}) req = build_request(:list_discovered_resources, params) req.send_request() end |
#list_member_accounts(params = {}) ⇒ Types::ListMemberAccountsResponse
Returns a MemberAccounts
object that lists the member accounts in
the administrator's Amazon Web Services organization.
Either an Firewall Manager administrator or the organization's management account can make this request.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1896 1897 1898 1899 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 1896 def list_member_accounts(params = {}, = {}) req = build_request(:list_member_accounts, params) req.send_request() end |
#list_policies(params = {}) ⇒ Types::ListPoliciesResponse
Returns an array of PolicySummary
objects.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1950 1951 1952 1953 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 1950 def list_policies(params = {}, = {}) req = build_request(:list_policies, params) req.send_request() end |
#list_protocols_lists(params = {}) ⇒ Types::ListProtocolsListsResponse
Returns an array of ProtocolsListDataSummary
objects.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2006 2007 2008 2009 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 2006 def list_protocols_lists(params = {}, = {}) req = build_request(:list_protocols_lists, params) req.send_request() end |
#list_resource_set_resources(params = {}) ⇒ Types::ListResourceSetResourcesResponse
Returns an array of resources that are currently associated to a resource set.
2055 2056 2057 2058 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 2055 def list_resource_set_resources(params = {}, = {}) req = build_request(:list_resource_set_resources, params) req.send_request() end |
#list_resource_sets(params = {}) ⇒ Types::ListResourceSetsResponse
Returns an array of ResourceSetSummary
objects.
2101 2102 2103 2104 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 2101 def list_resource_sets(params = {}, = {}) req = build_request(:list_resource_sets, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Retrieves the list of tags for the specified Amazon Web Services resource.
2134 2135 2136 2137 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 2134 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_third_party_firewall_firewall_policies(params = {}) ⇒ Types::ListThirdPartyFirewallFirewallPoliciesResponse
Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall administrator's account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2191 2192 2193 2194 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 2191 def list_third_party_firewall_firewall_policies(params = {}, = {}) req = build_request(:list_third_party_firewall_firewall_policies, params) req.send_request() end |
#put_admin_account(params = {}) ⇒ Struct
Creates or updates an Firewall Manager administrator account. The account must be a member of the organization that was onboarded to Firewall Manager by AssociateAdminAccount. Only the organization's management account can create an Firewall Manager administrator account. When you create an Firewall Manager administrator account, the service checks to see if the account is already a delegated administrator within Organizations. If the account isn't a delegated administrator, Firewall Manager calls Organizations to delegate the account within Organizations. For more information about administrator accounts within Organizations, see Managing the Amazon Web Services Accounts in Your Organization.
2262 2263 2264 2265 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 2262 def put_admin_account(params = {}, = {}) req = build_request(:put_admin_account, params) req.send_request() end |
#put_apps_list(params = {}) ⇒ Types::PutAppsListResponse
Creates an Firewall Manager applications list.
2336 2337 2338 2339 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 2336 def put_apps_list(params = {}, = {}) req = build_request(:put_apps_list, params) req.send_request() end |
#put_notification_channel(params = {}) ⇒ Struct
Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall Manager uses to record SNS logs.
To perform this action outside of the console, you must first
configure the SNS topic's access policy to allow the SnsRoleName
to
publish SNS logs. If the SnsRoleName
provided is a role other than
the AWSServiceRoleForFMS
service-linked role, this role must have a
trust relationship configured to allow the Firewall Manager service
principal fms.amazonaws.com
to assume this role. For information
about configuring an SNS access policy, see Service roles for
Firewall Manager in the Firewall Manager Developer Guide.
2378 2379 2380 2381 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 2378 def put_notification_channel(params = {}, = {}) req = build_request(:put_notification_channel, params) req.send_request() end |
#put_policy(params = {}) ⇒ Types::PutPolicyResponse
Creates an Firewall Manager policy.
A Firewall Manager policy is specific to the individual policy type. If you want to enforce multiple policy types across accounts, you can create multiple policies. You can create more than one policy for each type.
If you add a new account to an organization that you created with Organizations, Firewall Manager automatically applies the policy to the resources in that account that are within scope of the policy.
Firewall Manager provides the following types of policies:
Shield Advanced policy - This policy applies Shield Advanced protection to specified accounts and resources.
Security Groups policy - This type of policy gives you control over security groups that are in use throughout your organization in Organizations and lets you enforce a baseline set of rules across your organization.
Network Firewall policy - This policy applies Network Firewall protection to your organization's VPCs.
DNS Firewall policy - This policy applies Amazon Route 53 Resolver DNS Firewall protections to your organization's VPCs.
Third-party firewall policy - This policy applies third-party firewall protections. Third-party firewalls are available by subscription through the Amazon Web Services Marketplace console at Amazon Web Services Marketplace.
Palo Alto Networks Cloud NGFW policy - This policy applies Palo Alto Networks Cloud Next Generation Firewall (NGFW) protections and Palo Alto Networks Cloud NGFW rulestacks to your organization's VPCs.
Fortigate CNF policy - This policy applies Fortigate Cloud Native Firewall (CNF) protections. Fortigate CNF is a cloud-centered solution that blocks Zero-Day threats and secures cloud infrastructures with industry-leading advanced threat prevention, smart web application firewalls (WAF), and API protection.
2524 2525 2526 2527 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 2524 def put_policy(params = {}, = {}) req = build_request(:put_policy, params) req.send_request() end |
#put_protocols_list(params = {}) ⇒ Types::PutProtocolsListResponse
Creates an Firewall Manager protocols list.
2582 2583 2584 2585 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 2582 def put_protocols_list(params = {}, = {}) req = build_request(:put_protocols_list, params) req.send_request() end |
#put_resource_set(params = {}) ⇒ Types::PutResourceSetResponse
Creates the resource set.
An Firewall Manager resource set defines the resources to import into an Firewall Manager policy from another Amazon Web Services service.
2644 2645 2646 2647 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 2644 def put_resource_set(params = {}, = {}) req = build_request(:put_resource_set, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds one or more tags to an Amazon Web Services resource.
2677 2678 2679 2680 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 2677 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes one or more tags from an Amazon Web Services resource.
2705 2706 2707 2708 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb', line 2705 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |