BotVersionReference Struct
A reference to a BotVersion resource.
| Source | |
|---|---|
| Type last changed |
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 botVersionReference: interfaces_lex.BotVersionReference = {
botId: 'botId',
botVersion: 'botVersion',
};
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_version_reference = interfaces_lex.BotVersionReference(
bot_id="botId",
bot_version="botVersion"
)
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.*;
BotVersionReference botVersionReference = BotVersionReference.builder()
.botId("botId")
.botVersion("botVersion")
.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 botVersionReference = new BotVersionReference {
BotId = "botId",
BotVersion = "botVersion"
};
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"
botVersionReference := &BotVersionReference{
BotId: jsii.String("botId"),
BotVersion: jsii.String("botVersion"),
}