Class: AWSCDK::BedrockAgentCore::CfnGatewayTarget::SchemaDefinitionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnGatewayTarget::SchemaDefinitionProperty
- Defined in:
- bedrock_agent_core/cfn_gateway_target.rb
Overview
The schema definition for the gateway target.
Instance Attribute Summary collapse
-
#description ⇒ String?
readonly
The workload identity details for the gateway.
- #items ⇒ AWSCDK::IResolvable, ... readonly
-
#properties ⇒ AWSCDK::IResolvable, ...
readonly
The schema definition properties for the gateway target.
-
#required ⇒ Array<String>?
readonly
The schema definition.
-
#type ⇒ String
readonly
The scheme definition type for the gateway target.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type:, description: nil, items: nil, properties: nil, required: nil) ⇒ SchemaDefinitionProperty
constructor
A new instance of SchemaDefinitionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type:, description: nil, items: nil, properties: nil, required: nil) ⇒ SchemaDefinitionProperty
Returns a new instance of SchemaDefinitionProperty.
1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1968 def initialize(type:, description: nil, items: nil, properties: nil, required: nil) @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @items = items.is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnGatewayTarget::SchemaDefinitionProperty.new(**items.transform_keys(&:to_sym)) : items Jsii::Type.check_type(@items, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmbkdhdGV3YXlUYXJnZXQuU2NoZW1hRGVmaW5pdGlvblByb3BlcnR5In1dfX0=")), "items") unless @items.nil? @properties = properties Jsii::Type.check_type(@properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYmVkcm9ja2FnZW50Y29yZS5DZm5HYXRld2F5VGFyZ2V0LlNjaGVtYURlZmluaXRpb25Qcm9wZXJ0eSJ9XX19LCJraW5kIjoibWFwIn19XX19")), "properties") unless @properties.nil? @required = required Jsii::Type.check_type(@required, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "required") unless @required.nil? end |
Instance Attribute Details
#description ⇒ String? (readonly)
The workload identity details for the gateway.
1990 1991 1992 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1990 def description @description end |
#items ⇒ AWSCDK::IResolvable, ... (readonly)
1993 1994 1995 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1993 def items @items end |
#properties ⇒ AWSCDK::IResolvable, ... (readonly)
The schema definition properties for the gateway target.
1998 1999 2000 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1998 def properties @properties end |
#required ⇒ Array<String>? (readonly)
The schema definition.
2003 2004 2005 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 2003 def required @required end |
#type ⇒ String (readonly)
The scheme definition type for the gateway target.
1985 1986 1987 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1985 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
2005 2006 2007 2008 2009 2010 2011 2012 2013 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 2005 def self.jsii_properties { :type => "type", :description => "description", :items => "items", :properties => "properties", :required => "required", } end |
Instance Method Details
#to_jsii ⇒ Object
2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 2015 def to_jsii result = {} result.merge!({ "type" => @type, "description" => @description, "items" => @items, "properties" => @properties, "required" => @required, }) result.compact end |