AssistantReference Struct
A reference to a Assistant 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_wisdom as interfaces_wisdom } from 'aws-cdk-lib/interfaces';
const assistantReference: interfaces_wisdom.AssistantReference = {
assistantArn: 'assistantArn',
assistantId: 'assistantId',
};
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_wisdom as interfaces_wisdom
assistant_reference = interfaces_wisdom.AssistantReference(
assistant_arn="assistantArn",
assistant_id="assistantId"
)
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.wisdom.*;
AssistantReference assistantReference = AssistantReference.builder()
.assistantArn("assistantArn")
.assistantId("assistantId")
.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.Wisdom;
var assistantReference = new AssistantReference {
AssistantArn = "assistantArn",
AssistantId = "assistantId"
};
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"
assistantReference := &AssistantReference{
AssistantArn: jsii.String("assistantArn"),
AssistantId: jsii.String("assistantId"),
}