interface CfnDataAccessorProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.QBusiness.CfnDataAccessorProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsqbusiness#CfnDataAccessorProps |
Java | software.amazon.awscdk.services.qbusiness.CfnDataAccessorProps |
Python | aws_cdk.aws_qbusiness.CfnDataAccessorProps |
TypeScript | aws-cdk-lib » aws_qbusiness » CfnDataAccessorProps |
Properties for defining a CfnDataAccessor.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_qbusiness as qbusiness } from 'aws-cdk-lib';
declare const attributeFilterProperty_: qbusiness.CfnDataAccessor.AttributeFilterProperty;
const cfnDataAccessorProps: qbusiness.CfnDataAccessorProps = {
actionConfigurations: [{
action: 'action',
// the properties below are optional
filterConfiguration: {
documentAttributeFilter: {
andAllFilters: [attributeFilterProperty_],
containsAll: {
name: 'name',
value: {
dateValue: 'dateValue',
longValue: 123,
stringListValue: ['stringListValue'],
stringValue: 'stringValue',
},
},
containsAny: {
name: 'name',
value: {
dateValue: 'dateValue',
longValue: 123,
stringListValue: ['stringListValue'],
stringValue: 'stringValue',
},
},
equalsTo: {
name: 'name',
value: {
dateValue: 'dateValue',
longValue: 123,
stringListValue: ['stringListValue'],
stringValue: 'stringValue',
},
},
greaterThan: {
name: 'name',
value: {
dateValue: 'dateValue',
longValue: 123,
stringListValue: ['stringListValue'],
stringValue: 'stringValue',
},
},
greaterThanOrEquals: {
name: 'name',
value: {
dateValue: 'dateValue',
longValue: 123,
stringListValue: ['stringListValue'],
stringValue: 'stringValue',
},
},
lessThan: {
name: 'name',
value: {
dateValue: 'dateValue',
longValue: 123,
stringListValue: ['stringListValue'],
stringValue: 'stringValue',
},
},
lessThanOrEquals: {
name: 'name',
value: {
dateValue: 'dateValue',
longValue: 123,
stringListValue: ['stringListValue'],
stringValue: 'stringValue',
},
},
notFilter: attributeFilterProperty_,
orAllFilters: [attributeFilterProperty_],
},
},
}],
applicationId: 'applicationId',
displayName: 'displayName',
principal: 'principal',
// the properties below are optional
authenticationDetail: {
authenticationType: 'authenticationType',
// the properties below are optional
authenticationConfiguration: {
idcTrustedTokenIssuerConfiguration: {
idcTrustedTokenIssuerArn: 'idcTrustedTokenIssuerArn',
},
},
externalIds: ['externalIds'],
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| action | IResolvable | (IResolvable | Action)[] | A list of action configurations specifying the allowed actions and any associated filters. |
| application | string | The unique identifier of the Amazon Q Business application. |
| display | string | The friendly name of the data accessor. |
| principal | string | The Amazon Resource Name (ARN) of the IAM role for the ISV associated with this data accessor. |
| authentication | IResolvable | Data | The authentication configuration details for the data accessor. |
| tags? | Cfn[] | The tags to associate with the data accessor. |
actionConfigurations
Type:
IResolvable | (IResolvable | Action)[]
A list of action configurations specifying the allowed actions and any associated filters.
applicationId
Type:
string
The unique identifier of the Amazon Q Business application.
displayName
Type:
string
The friendly name of the data accessor.
principal
Type:
string
The Amazon Resource Name (ARN) of the IAM role for the ISV associated with this data accessor.
authenticationDetail?
Type:
IResolvable | Data
(optional)
The authentication configuration details for the data accessor.
This specifies how the ISV authenticates when accessing data through this data accessor.
tags?
Type:
Cfn[]
(optional)
The tags to associate with the data accessor.

.NET
Go
Java
Python
TypeScript