Class: Aws::FMS::Types::GetViolationDetailsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::FMS::Types::GetViolationDetailsRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-fms/types.rb
Overview
When making an API call, you may pass GetViolationDetailsRequest data as a hash:
{
policy_id: "PolicyId", # required
member_account: "AWSAccountId", # required
resource_id: "ResourceId", # required
resource_type: "ResourceType", # required
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#member_account ⇒ String
The AWS account ID that you want the details for.
-
#policy_id ⇒ String
The ID of the AWS Firewall Manager policy that you want the details for.
-
#resource_id ⇒ String
The ID of the resource that has violations.
-
#resource_type ⇒ String
The resource type.
Instance Attribute Details
#member_account ⇒ String
The AWS account ID that you want the details for.
890 891 892 893 894 895 896 897 |
# File 'lib/aws-sdk-fms/types.rb', line 890 class GetViolationDetailsRequest < Struct.new( :policy_id, :member_account, :resource_id, :resource_type) SENSITIVE = [] include Aws::Structure end |
#policy_id ⇒ String
The ID of the AWS Firewall Manager policy that you want the details for. This currently only supports security group content audit policies.
890 891 892 893 894 895 896 897 |
# File 'lib/aws-sdk-fms/types.rb', line 890 class GetViolationDetailsRequest < Struct.new( :policy_id, :member_account, :resource_id, :resource_type) SENSITIVE = [] include Aws::Structure end |
#resource_id ⇒ String
The ID of the resource that has violations.
890 891 892 893 894 895 896 897 |
# File 'lib/aws-sdk-fms/types.rb', line 890 class GetViolationDetailsRequest < Struct.new( :policy_id, :member_account, :resource_id, :resource_type) SENSITIVE = [] include Aws::Structure end |
#resource_type ⇒ String
The resource type. This is in the format shown in the [AWS Resource Types Reference]. Supported resource types are: ‘AWS::EC2::Instance`, `AWS::EC2::NetworkInterface`, `AWS::EC2::SecurityGroup`, `AWS::NetworkFirewall::FirewallPolicy`, and `AWS::EC2::Subnet`.
[1]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html
890 891 892 893 894 895 896 897 |
# File 'lib/aws-sdk-fms/types.rb', line 890 class GetViolationDetailsRequest < Struct.new( :policy_id, :member_account, :resource_id, :resource_type) SENSITIVE = [] include Aws::Structure end |