You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::FMS::Types::ComplianceViolator

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

Overview

Details of the resource that is not protected by the policy.

Instance Attribute Summary collapse

Instance Attribute Details

#resource_idString

The resource ID.

Returns:

  • (String)


60
61
62
63
64
65
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/types.rb', line 60

class ComplianceViolator < Struct.new(
  :resource_id,
  :violation_reason,
  :resource_type)
  include Aws::Structure
end

#resource_typeString

The resource type. This is in the format shown in AWS Resource Types Reference. For example: AWS::ElasticLoadBalancingV2::LoadBalancer or AWS::CloudFront::Distribution.

Returns:

  • (String)


60
61
62
63
64
65
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/types.rb', line 60

class ComplianceViolator < Struct.new(
  :resource_id,
  :violation_reason,
  :resource_type)
  include Aws::Structure
end

#violation_reasonString

The reason that the resource is not protected by the policy.

Returns:

  • (String)


60
61
62
63
64
65
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/types.rb', line 60

class ComplianceViolator < Struct.new(
  :resource_id,
  :violation_reason,
  :resource_type)
  include Aws::Structure
end