Class: Aws::Continuum::Types::SupplyChainPolicy

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

Overview

A deny-only policy owned by one account in one Region. A policy holds up to five rules, and each rule is evaluated on its own. A package is denied when an ENFORCE rule matches it and no active policy exception suppresses that rule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#description ⇒ String

A description of the policy.

Returns:

  • (String)


5563
5564
5565
5566
5567
5568
5569
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 5563

class SupplyChainPolicy < Struct.new(
  :name,
  :description,
  :rules)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The display name of the policy.

Returns:

  • (String)


5563
5564
5565
5566
5567
5568
5569
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 5563

class SupplyChainPolicy < Struct.new(
  :name,
  :description,
  :rules)
  SENSITIVE = []
  include Aws::Structure
end

#rules ⇒ Array<Types::Rule>

The deny rules of the policy, from 1 to 5.

Returns:



5563
5564
5565
5566
5567
5568
5569
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 5563

class SupplyChainPolicy < Struct.new(
  :name,
  :description,
  :rules)
  SENSITIVE = []
  include Aws::Structure
end