Class: AWSCDK::Chime::CfnAppInstanceBotProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Chime::CfnAppInstanceBotProps
- Defined in:
- chime/cfn_app_instance_bot_props.rb
Overview
Properties for defining a CfnAppInstanceBot.
Instance Attribute Summary collapse
-
#app_instance_arn ⇒ String
readonly
The ARN of the AppInstance.
-
#configuration ⇒ AWSCDK::IResolvable, AWSCDK::Chime::CfnAppInstanceBot::ConfigurationProperty
readonly
A structure that contains configuration data.
-
#metadata ⇒ String?
readonly
The metadata of the AppInstanceBot.
-
#name ⇒ String?
readonly
The name of the AppInstanceBot.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
The tags assigned to the AppInstanceBot.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(app_instance_arn:, configuration:, metadata: nil, name: nil, tags: nil) ⇒ CfnAppInstanceBotProps
constructor
A new instance of CfnAppInstanceBotProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(app_instance_arn:, configuration:, metadata: nil, name: nil, tags: nil) ⇒ CfnAppInstanceBotProps
Returns a new instance of CfnAppInstanceBotProps.
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'chime/cfn_app_instance_bot_props.rb', line 14 def initialize(app_instance_arn:, configuration:, metadata: nil, name: nil, tags: nil) @app_instance_arn = app_instance_arn Jsii::Type.check_type(@app_instance_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "appInstanceArn") @configuration = configuration.is_a?(Hash) ? ::AWSCDK::Chime::CfnAppInstanceBot::ConfigurationProperty.new(**configuration.transform_keys(&:to_sym)) : configuration Jsii::Type.check_type(@configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jaGltZS5DZm5BcHBJbnN0YW5jZUJvdC5Db25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "configuration") @metadata = Jsii::Type.check_type(@metadata, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "metadata") unless @metadata.nil? @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#app_instance_arn ⇒ String (readonly)
The ARN of the AppInstance.
31 32 33 |
# File 'chime/cfn_app_instance_bot_props.rb', line 31 def app_instance_arn @app_instance_arn end |
#configuration ⇒ AWSCDK::IResolvable, AWSCDK::Chime::CfnAppInstanceBot::ConfigurationProperty (readonly)
A structure that contains configuration data.
36 37 38 |
# File 'chime/cfn_app_instance_bot_props.rb', line 36 def configuration @configuration end |
#metadata ⇒ String? (readonly)
The metadata of the AppInstanceBot.
41 42 43 |
# File 'chime/cfn_app_instance_bot_props.rb', line 41 def @metadata end |
#name ⇒ String? (readonly)
The name of the AppInstanceBot.
46 47 48 |
# File 'chime/cfn_app_instance_bot_props.rb', line 46 def name @name end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
The tags assigned to the AppInstanceBot.
51 52 53 |
# File 'chime/cfn_app_instance_bot_props.rb', line 51 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
53 54 55 56 57 58 59 60 61 |
# File 'chime/cfn_app_instance_bot_props.rb', line 53 def self.jsii_properties { :app_instance_arn => "appInstanceArn", :configuration => "configuration", :metadata => "metadata", :name => "name", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
63 64 65 66 67 68 69 70 71 72 73 |
# File 'chime/cfn_app_instance_bot_props.rb', line 63 def to_jsii result = {} result.merge!({ "appInstanceArn" => @app_instance_arn, "configuration" => @configuration, "metadata" => @metadata, "name" => @name, "tags" => @tags, }) result.compact end |