Class: Aws::FMS::Types::GetViolationDetailsRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-fms/types.rb

Overview

Note:

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

Instance Attribute Details

#member_accountString

The AWS account ID that you want the details for.

Returns:

  • (String)


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_idString

The ID of the AWS Firewall Manager policy that you want the details for. This currently only supports security group content audit policies.

Returns:

  • (String)


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_idString

The ID of the resource that has violations.

Returns:

  • (String)


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_typeString

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

Returns:

  • (String)


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