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

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

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#metadataHash<String,String>

Metadata about the resource that doesn’t comply with the policy scope.

Returns:

  • (Hash<String,String>)


522
523
524
525
526
527
528
529
# File 'lib/aws-sdk-fms/types.rb', line 522

class ComplianceViolator < Struct.new(
  :resource_id,
  :violation_reason,
  :resource_type,
  :metadata)
  SENSITIVE = []
  include Aws::Structure
end

#resource_idString

The resource ID.

Returns:

  • (String)


522
523
524
525
526
527
528
529
# File 'lib/aws-sdk-fms/types.rb', line 522

class ComplianceViolator < Struct.new(
  :resource_id,
  :violation_reason,
  :resource_type,
  :metadata)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

The resource type. This is in the format shown in the [Amazon Web Services Resource Types Reference]. For example: ‘AWS::ElasticLoadBalancingV2::LoadBalancer`, `AWS::CloudFront::Distribution`, or `AWS::NetworkFirewall::FirewallPolicy`.

[1]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html

Returns:

  • (String)


522
523
524
525
526
527
528
529
# File 'lib/aws-sdk-fms/types.rb', line 522

class ComplianceViolator < Struct.new(
  :resource_id,
  :violation_reason,
  :resource_type,
  :metadata)
  SENSITIVE = []
  include Aws::Structure
end

#violation_reasonString

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

Returns:

  • (String)


522
523
524
525
526
527
528
529
# File 'lib/aws-sdk-fms/types.rb', line 522

class ComplianceViolator < Struct.new(
  :resource_id,
  :violation_reason,
  :resource_type,
  :metadata)
  SENSITIVE = []
  include Aws::Structure
end