Class: AWSCDK::RTBFabric::CfnLink::ActionProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
rtb_fabric/cfn_link.rb

Overview

Describes a bid action.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(header_tag:, no_bid:) ⇒ ActionProperty

Returns a new instance of ActionProperty.

Parameters:



628
629
630
631
632
633
# File 'rtb_fabric/cfn_link.rb', line 628

def initialize(header_tag:, no_bid:)
  @header_tag = header_tag.is_a?(Hash) ? ::AWSCDK::RTBFabric::CfnLink::HeaderTagActionProperty.new(**header_tag.transform_keys(&:to_sym)) : header_tag
  Jsii::Type.check_type(@header_tag, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19ydGJmYWJyaWMuQ2ZuTGluay5IZWFkZXJUYWdBY3Rpb25Qcm9wZXJ0eSJ9XX19")), "headerTag")
  @no_bid = no_bid.is_a?(Hash) ? ::AWSCDK::RTBFabric::CfnLink::NoBidActionProperty.new(**no_bid.transform_keys(&:to_sym)) : no_bid
  Jsii::Type.check_type(@no_bid, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19ydGJmYWJyaWMuQ2ZuTGluay5Ob0JpZEFjdGlvblByb3BlcnR5In1dfX0=")), "noBid")
end

Instance Attribute Details

Class Method Details

.jsii_propertiesObject



646
647
648
649
650
651
# File 'rtb_fabric/cfn_link.rb', line 646

def self.jsii_properties
  {
    :header_tag => "headerTag",
    :no_bid => "noBid",
  }
end

Instance Method Details

#to_jsiiObject



653
654
655
656
657
658
659
660
# File 'rtb_fabric/cfn_link.rb', line 653

def to_jsii
  result = {}
  result.merge!({
    "headerTag" => @header_tag,
    "noBid" => @no_bid,
  })
  result.compact
end