KendraSourceDetailProperty Struct
The source details for the Kendra dataset source.
| 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_iotsitewise as iotsitewise } from 'aws-cdk-lib';
const kendraSourceDetailProperty: iotsitewise.CfnDataset.KendraSourceDetailProperty = {
knowledgeBaseArn: 'knowledgeBaseArn',
roleArn: 'roleArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotsitewise as iotsitewise
kendra_source_detail_property = iotsitewise.CfnDataset.KendraSourceDetailProperty(
knowledge_base_arn="knowledgeBaseArn",
role_arn="roleArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotsitewise.*;
KendraSourceDetailProperty kendraSourceDetailProperty = KendraSourceDetailProperty.builder()
.knowledgeBaseArn("knowledgeBaseArn")
.roleArn("roleArn")
.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.AWS.IoTSiteWise;
var kendraSourceDetailProperty = new KendraSourceDetailProperty {
KnowledgeBaseArn = "knowledgeBaseArn",
RoleArn = "roleArn"
};
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"
kendraSourceDetailProperty := &KendraSourceDetailProperty{
KnowledgeBaseArn: jsii.String("knowledgeBaseArn"),
RoleArn: jsii.String("roleArn"),
}
Properties
knowledgeBaseArnstringknowledge_base_arnstrknowledgeBaseArnStringKnowledgeBaseArnstringKnowledgeBaseArn*string required #The `knowledgeBaseArn` details for the Kendra dataset source.
The `roleARN` details for the Kendra dataset source.