Class: Aws::FMS::Types::PutPolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::FMS::Types::PutPolicyRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-fms/types.rb
Overview
Note:
When making an API call, you may pass PutPolicyRequest data as a hash:
{
policy: { # required
policy_id: "PolicyId",
policy_name: "ResourceName", # required
policy_update_token: "PolicyUpdateToken",
security_service_policy_data: { # required
type: "WAF", # required, accepts WAF, WAFV2, SHIELD_ADVANCED, SECURITY_GROUPS_COMMON, SECURITY_GROUPS_CONTENT_AUDIT, SECURITY_GROUPS_USAGE_AUDIT, NETWORK_FIREWALL, DNS_FIREWALL
managed_service_data: "ManagedServiceData",
},
resource_type: "ResourceType", # required
resource_type_list: ["ResourceType"],
resource_tags: [
{
key: "ResourceTagKey", # required
value: "ResourceTagValue",
},
],
exclude_resource_tags: false, # required
remediation_enabled: false, # required
include_map: {
"ACCOUNT" => ["CustomerPolicyScopeId"],
},
exclude_map: {
"ACCOUNT" => ["CustomerPolicyScopeId"],
},
},
tag_list: [
{
key: "TagKey", # required
value: "TagValue", # required
},
],
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#policy ⇒ Types::Policy
The details of the AWS Firewall Manager policy to be created.
-
#tag_list ⇒ Array<Types::Tag>
The tags to add to the AWS resource.
Instance Attribute Details
#policy ⇒ Types::Policy
The details of the AWS Firewall Manager policy to be created.
2082 2083 2084 2085 2086 2087 |
# File 'lib/aws-sdk-fms/types.rb', line 2082 class PutPolicyRequest < Struct.new( :policy, :tag_list) SENSITIVE = [] include Aws::Structure end |
#tag_list ⇒ Array<Types::Tag>
The tags to add to the AWS resource.
2082 2083 2084 2085 2086 2087 |
# File 'lib/aws-sdk-fms/types.rb', line 2082 class PutPolicyRequest < Struct.new( :policy, :tag_list) SENSITIVE = [] include Aws::Structure end |