Class: AWSCDK::CfnGuardHook::OptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
cfn_guard_hook.rb

Overview

Specifies the input parameters for a Guard Hook.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(input_params: nil) ⇒ OptionsProperty

Returns a new instance of OptionsProperty.

Parameters:



682
683
684
685
# File 'cfn_guard_hook.rb', line 682

def initialize(input_params: nil)
  @input_params = input_params.is_a?(Hash) ? ::AWSCDK::CfnGuardHook::S3LocationProperty.new(**input_params.transform_keys(&:to_sym)) : input_params
  Jsii::Type.check_type(@input_params, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLkNmbkd1YXJkSG9vay5TM0xvY2F0aW9uUHJvcGVydHkifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5DZm5HdWFyZEhvb2suUzNMb2NhdGlvblByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "inputParams") unless @input_params.nil?
end

Instance Attribute Details

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

Specifies the S3 location where your input parameters are located.



691
692
693
# File 'cfn_guard_hook.rb', line 691

def input_params
  @input_params
end

Class Method Details

.jsii_propertiesObject



693
694
695
696
697
# File 'cfn_guard_hook.rb', line 693

def self.jsii_properties
  {
    :input_params => "inputParams",
  }
end

Instance Method Details

#to_jsiiObject



699
700
701
702
703
704
705
# File 'cfn_guard_hook.rb', line 699

def to_jsii
  result = {}
  result.merge!({
    "inputParams" => @input_params,
  })
  result.compact
end