Skip to content
v2.276.0

BotAliasReference Struct ​

A reference to a BotAlias resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lex as interfaces_lex } from 'aws-cdk-lib/interfaces';
const botAliasReference: interfaces_lex.BotAliasReference = {
  botAliasArn: 'botAliasArn',
  botAliasId: 'botAliasId',
  botId: 'botId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_lex as interfaces_lex

bot_alias_reference = interfaces_lex.BotAliasReference(
    bot_alias_arn="botAliasArn",
    bot_alias_id="botAliasId",
    bot_id="botId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.lex.*;

BotAliasReference botAliasReference = BotAliasReference.builder()
        .botAliasArn("botAliasArn")
        .botAliasId("botAliasId")
        .botId("botId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.Lex;

var botAliasReference = new BotAliasReference {
    BotAliasArn = "botAliasArn",
    BotAliasId = "botAliasId",
    BotId = "botId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

botAliasReference := &BotAliasReference{
	BotAliasArn: jsii.String("botAliasArn"),
	BotAliasId: jsii.String("botAliasId"),
	BotId: jsii.String("botId"),
}

Properties ​

botAliasArnstringbot_alias_arnstrbotAliasArnStringBotAliasArnstringBotAliasArn*stringrequired#
The ARN of the BotAlias resource.
botAliasIdstringbot_alias_idstrbotAliasIdStringBotAliasIdstringBotAliasId*stringrequired#
The BotAliasId of the BotAlias resource.
botIdstringbot_idstrbotIdStringBotIdstringBotId*stringrequired#
The BotId of the BotAlias resource.