Class: AWSCDK::Interfaces::AWSLex::BotAliasReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_lex/bot_alias_reference.rb

Overview

A reference to a BotAlias resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bot_alias_arn:, bot_alias_id:, bot_id:) ⇒ BotAliasReference

Returns a new instance of BotAliasReference.

Parameters:

  • bot_alias_arn (String)

    The ARN of the BotAlias resource.

  • bot_alias_id (String)

    The BotAliasId of the BotAlias resource.

  • bot_id (String)

    The BotId of the BotAlias resource.



10
11
12
13
14
15
16
17
# File 'interfaces/aws_lex/bot_alias_reference.rb', line 10

def initialize(bot_alias_arn:, bot_alias_id:, bot_id:)
  @bot_alias_arn = bot_alias_arn
  Jsii::Type.check_type(@bot_alias_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "botAliasArn")
  @bot_alias_id = bot_alias_id
  Jsii::Type.check_type(@bot_alias_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "botAliasId")
  @bot_id = bot_id
  Jsii::Type.check_type(@bot_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "botId")
end

Instance Attribute Details

#bot_alias_arnString (readonly)

The ARN of the BotAlias resource.

Returns:

  • (String)


22
23
24
# File 'interfaces/aws_lex/bot_alias_reference.rb', line 22

def bot_alias_arn
  @bot_alias_arn
end

#bot_alias_idString (readonly)

The BotAliasId of the BotAlias resource.

Returns:

  • (String)


26
27
28
# File 'interfaces/aws_lex/bot_alias_reference.rb', line 26

def bot_alias_id
  @bot_alias_id
end

#bot_idString (readonly)

The BotId of the BotAlias resource.

Returns:

  • (String)


30
31
32
# File 'interfaces/aws_lex/bot_alias_reference.rb', line 30

def bot_id
  @bot_id
end

Class Method Details

.jsii_propertiesObject



32
33
34
35
36
37
38
# File 'interfaces/aws_lex/bot_alias_reference.rb', line 32

def self.jsii_properties
  {
    :bot_alias_arn => "botAliasArn",
    :bot_alias_id => "botAliasId",
    :bot_id => "botId",
  }
end

Instance Method Details

#to_jsiiObject



40
41
42
43
44
45
46
47
48
# File 'interfaces/aws_lex/bot_alias_reference.rb', line 40

def to_jsii
  result = {}
  result.merge!({
    "botAliasArn" => @bot_alias_arn,
    "botAliasId" => @bot_alias_id,
    "botId" => @bot_id,
  })
  result.compact
end