Class: AWSCDK::CodeBuild::CfnFleet::ProxyConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
code_build/cfn_fleet.rb

Overview

Information about the proxy configurations that apply network access control to your reserved capacity instances.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(default_behavior: nil, ordered_proxy_rules: nil) ⇒ ProxyConfigurationProperty

Returns a new instance of ProxyConfigurationProperty.

Parameters:



795
796
797
798
799
800
# File 'code_build/cfn_fleet.rb', line 795

def initialize(default_behavior: nil, ordered_proxy_rules: nil)
  @default_behavior = default_behavior
  Jsii::Type.check_type(@default_behavior, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "defaultBehavior") unless @default_behavior.nil?
  @ordered_proxy_rules = ordered_proxy_rules
  Jsii::Type.check_type(@ordered_proxy_rules, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29kZWJ1aWxkLkNmbkZsZWV0LkZsZWV0UHJveHlSdWxlUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "orderedProxyRules") unless @ordered_proxy_rules.nil?
end

Instance Attribute Details

#default_behaviorString? (readonly)

The default behavior of outgoing traffic.



806
807
808
# File 'code_build/cfn_fleet.rb', line 806

def default_behavior
  @default_behavior
end

#ordered_proxy_rulesAWSCDK::IResolvable, ... (readonly)

An array of FleetProxyRule objects that represent the specified destination domains or IPs to allow or deny network access control to.



811
812
813
# File 'code_build/cfn_fleet.rb', line 811

def ordered_proxy_rules
  @ordered_proxy_rules
end

Class Method Details

.jsii_propertiesObject



813
814
815
816
817
818
# File 'code_build/cfn_fleet.rb', line 813

def self.jsii_properties
  {
    :default_behavior => "defaultBehavior",
    :ordered_proxy_rules => "orderedProxyRules",
  }
end

Instance Method Details

#to_jsiiObject



820
821
822
823
824
825
826
827
# File 'code_build/cfn_fleet.rb', line 820

def to_jsii
  result = {}
  result.merge!({
    "defaultBehavior" => @default_behavior,
    "orderedProxyRules" => @ordered_proxy_rules,
  })
  result.compact
end