Class: AWSCDK::CodeBuild::CfnFleet::FleetProxyRuleProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CodeBuild::CfnFleet::FleetProxyRuleProperty
- Defined in:
- code_build/cfn_fleet.rb
Overview
Information about the proxy rule for your reserved capacity instances.
Instance Attribute Summary collapse
-
#effect ⇒ String?
readonly
The behavior of the proxy rule.
-
#entities ⇒ Array<String>?
readonly
The destination of the proxy rule.
-
#type ⇒ String?
readonly
The type of proxy rule.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(effect: nil, entities: nil, type: nil) ⇒ FleetProxyRuleProperty
constructor
A new instance of FleetProxyRuleProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(effect: nil, entities: nil, type: nil) ⇒ FleetProxyRuleProperty
Returns a new instance of FleetProxyRuleProperty.
743 744 745 746 747 748 749 750 |
# File 'code_build/cfn_fleet.rb', line 743 def initialize(effect: nil, entities: nil, type: nil) @effect = effect Jsii::Type.check_type(@effect, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "effect") unless @effect.nil? @entities = entities Jsii::Type.check_type(@entities, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "entities") unless @entities.nil? @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") unless @type.nil? end |
Instance Attribute Details
#effect ⇒ String? (readonly)
The behavior of the proxy rule.
756 757 758 |
# File 'code_build/cfn_fleet.rb', line 756 def effect @effect end |
#entities ⇒ Array<String>? (readonly)
The destination of the proxy rule.
761 762 763 |
# File 'code_build/cfn_fleet.rb', line 761 def entities @entities end |
#type ⇒ String? (readonly)
The type of proxy rule.
766 767 768 |
# File 'code_build/cfn_fleet.rb', line 766 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
768 769 770 771 772 773 774 |
# File 'code_build/cfn_fleet.rb', line 768 def self.jsii_properties { :effect => "effect", :entities => "entities", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
776 777 778 779 780 781 782 783 784 |
# File 'code_build/cfn_fleet.rb', line 776 def to_jsii result = {} result.merge!({ "effect" => @effect, "entities" => @entities, "type" => @type, }) result.compact end |