class CfnDataSourcePropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.QuickSight.Mixins.CfnDataSourcePropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsquicksight/mixins#CfnDataSourcePropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.quicksight.mixins.CfnDataSourcePropsMixin |
Python | aws_cdk.mixins_preview.aws_quicksight.mixins.CfnDataSourcePropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_quicksight » mixins » CfnDataSourcePropsMixin |
Implements
IMixin
Extends
Mixin
Creates a data source.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as quicksight_mixins } from '@aws-cdk/mixins-preview/aws-quicksight';
const cfnDataSourcePropsMixin = new quicksight_mixins.CfnDataSourcePropsMixin({
alternateDataSourceParameters: [{
amazonElasticsearchParameters: {
domain: 'domain',
},
amazonOpenSearchParameters: {
domain: 'domain',
},
athenaParameters: {
identityCenterConfiguration: {
enableIdentityPropagation: false,
},
roleArn: 'roleArn',
workGroup: 'workGroup',
},
auroraParameters: {
database: 'database',
host: 'host',
port: 123,
},
auroraPostgreSqlParameters: {
database: 'database',
host: 'host',
port: 123,
},
databricksParameters: {
host: 'host',
port: 123,
sqlEndpointPath: 'sqlEndpointPath',
},
mariaDbParameters: {
database: 'database',
host: 'host',
port: 123,
},
mySqlParameters: {
database: 'database',
host: 'host',
port: 123,
},
oracleParameters: {
database: 'database',
host: 'host',
port: 123,
useServiceName: false,
},
postgreSqlParameters: {
database: 'database',
host: 'host',
port: 123,
},
prestoParameters: {
catalog: 'catalog',
host: 'host',
port: 123,
},
rdsParameters: {
database: 'database',
instanceId: 'instanceId',
},
redshiftParameters: {
clusterId: 'clusterId',
database: 'database',
host: 'host',
iamParameters: {
autoCreateDatabaseUser: false,
databaseGroups: ['databaseGroups'],
databaseUser: 'databaseUser',
roleArn: 'roleArn',
},
identityCenterConfiguration: {
enableIdentityPropagation: false,
},
port: 123,
},
s3Parameters: {
manifestFileLocation: {
bucket: 'bucket',
key: 'key',
},
roleArn: 'roleArn',
},
snowflakeParameters: {
authenticationType: 'authenticationType',
database: 'database',
databaseAccessControlRole: 'databaseAccessControlRole',
host: 'host',
oAuthParameters: {
identityProviderResourceUri: 'identityProviderResourceUri',
identityProviderVpcConnectionProperties: {
vpcConnectionArn: 'vpcConnectionArn',
},
oAuthScope: 'oAuthScope',
tokenProviderUrl: 'tokenProviderUrl',
},
warehouse: 'warehouse',
},
sparkParameters: {
host: 'host',
port: 123,
},
sqlServerParameters: {
database: 'database',
host: 'host',
port: 123,
},
starburstParameters: {
authenticationType: 'authenticationType',
catalog: 'catalog',
databaseAccessControlRole: 'databaseAccessControlRole',
host: 'host',
oAuthParameters: {
identityProviderResourceUri: 'identityProviderResourceUri',
identityProviderVpcConnectionProperties: {
vpcConnectionArn: 'vpcConnectionArn',
},
oAuthScope: 'oAuthScope',
tokenProviderUrl: 'tokenProviderUrl',
},
port: 123,
productType: 'productType',
},
teradataParameters: {
database: 'database',
host: 'host',
port: 123,
},
trinoParameters: {
catalog: 'catalog',
host: 'host',
port: 123,
},
}],
awsAccountId: 'awsAccountId',
credentials: {
copySourceArn: 'copySourceArn',
credentialPair: {
alternateDataSourceParameters: [{
amazonElasticsearchParameters: {
domain: 'domain',
},
amazonOpenSearchParameters: {
domain: 'domain',
},
athenaParameters: {
identityCenterConfiguration: {
enableIdentityPropagation: false,
},
roleArn: 'roleArn',
workGroup: 'workGroup',
},
auroraParameters: {
database: 'database',
host: 'host',
port: 123,
},
auroraPostgreSqlParameters: {
database: 'database',
host: 'host',
port: 123,
},
databricksParameters: {
host: 'host',
port: 123,
sqlEndpointPath: 'sqlEndpointPath',
},
mariaDbParameters: {
database: 'database',
host: 'host',
port: 123,
},
mySqlParameters: {
database: 'database',
host: 'host',
port: 123,
},
oracleParameters: {
database: 'database',
host: 'host',
port: 123,
useServiceName: false,
},
postgreSqlParameters: {
database: 'database',
host: 'host',
port: 123,
},
prestoParameters: {
catalog: 'catalog',
host: 'host',
port: 123,
},
rdsParameters: {
database: 'database',
instanceId: 'instanceId',
},
redshiftParameters: {
clusterId: 'clusterId',
database: 'database',
host: 'host',
iamParameters: {
autoCreateDatabaseUser: false,
databaseGroups: ['databaseGroups'],
databaseUser: 'databaseUser',
roleArn: 'roleArn',
},
identityCenterConfiguration: {
enableIdentityPropagation: false,
},
port: 123,
},
s3Parameters: {
manifestFileLocation: {
bucket: 'bucket',
key: 'key',
},
roleArn: 'roleArn',
},
snowflakeParameters: {
authenticationType: 'authenticationType',
database: 'database',
databaseAccessControlRole: 'databaseAccessControlRole',
host: 'host',
oAuthParameters: {
identityProviderResourceUri: 'identityProviderResourceUri',
identityProviderVpcConnectionProperties: {
vpcConnectionArn: 'vpcConnectionArn',
},
oAuthScope: 'oAuthScope',
tokenProviderUrl: 'tokenProviderUrl',
},
warehouse: 'warehouse',
},
sparkParameters: {
host: 'host',
port: 123,
},
sqlServerParameters: {
database: 'database',
host: 'host',
port: 123,
},
starburstParameters: {
authenticationType: 'authenticationType',
catalog: 'catalog',
databaseAccessControlRole: 'databaseAccessControlRole',
host: 'host',
oAuthParameters: {
identityProviderResourceUri: 'identityProviderResourceUri',
identityProviderVpcConnectionProperties: {
vpcConnectionArn: 'vpcConnectionArn',
},
oAuthScope: 'oAuthScope',
tokenProviderUrl: 'tokenProviderUrl',
},
port: 123,
productType: 'productType',
},
teradataParameters: {
database: 'database',
host: 'host',
port: 123,
},
trinoParameters: {
catalog: 'catalog',
host: 'host',
port: 123,
},
}],
password: 'password',
username: 'username',
},
secretArn: 'secretArn',
},
dataSourceId: 'dataSourceId',
dataSourceParameters: {
amazonElasticsearchParameters: {
domain: 'domain',
},
amazonOpenSearchParameters: {
domain: 'domain',
},
athenaParameters: {
identityCenterConfiguration: {
enableIdentityPropagation: false,
},
roleArn: 'roleArn',
workGroup: 'workGroup',
},
auroraParameters: {
database: 'database',
host: 'host',
port: 123,
},
auroraPostgreSqlParameters: {
database: 'database',
host: 'host',
port: 123,
},
databricksParameters: {
host: 'host',
port: 123,
sqlEndpointPath: 'sqlEndpointPath',
},
mariaDbParameters: {
database: 'database',
host: 'host',
port: 123,
},
mySqlParameters: {
database: 'database',
host: 'host',
port: 123,
},
oracleParameters: {
database: 'database',
host: 'host',
port: 123,
useServiceName: false,
},
postgreSqlParameters: {
database: 'database',
host: 'host',
port: 123,
},
prestoParameters: {
catalog: 'catalog',
host: 'host',
port: 123,
},
rdsParameters: {
database: 'database',
instanceId: 'instanceId',
},
redshiftParameters: {
clusterId: 'clusterId',
database: 'database',
host: 'host',
iamParameters: {
autoCreateDatabaseUser: false,
databaseGroups: ['databaseGroups'],
databaseUser: 'databaseUser',
roleArn: 'roleArn',
},
identityCenterConfiguration: {
enableIdentityPropagation: false,
},
port: 123,
},
s3Parameters: {
manifestFileLocation: {
bucket: 'bucket',
key: 'key',
},
roleArn: 'roleArn',
},
snowflakeParameters: {
authenticationType: 'authenticationType',
database: 'database',
databaseAccessControlRole: 'databaseAccessControlRole',
host: 'host',
oAuthParameters: {
identityProviderResourceUri: 'identityProviderResourceUri',
identityProviderVpcConnectionProperties: {
vpcConnectionArn: 'vpcConnectionArn',
},
oAuthScope: 'oAuthScope',
tokenProviderUrl: 'tokenProviderUrl',
},
warehouse: 'warehouse',
},
sparkParameters: {
host: 'host',
port: 123,
},
sqlServerParameters: {
database: 'database',
host: 'host',
port: 123,
},
starburstParameters: {
authenticationType: 'authenticationType',
catalog: 'catalog',
databaseAccessControlRole: 'databaseAccessControlRole',
host: 'host',
oAuthParameters: {
identityProviderResourceUri: 'identityProviderResourceUri',
identityProviderVpcConnectionProperties: {
vpcConnectionArn: 'vpcConnectionArn',
},
oAuthScope: 'oAuthScope',
tokenProviderUrl: 'tokenProviderUrl',
},
port: 123,
productType: 'productType',
},
teradataParameters: {
database: 'database',
host: 'host',
port: 123,
},
trinoParameters: {
catalog: 'catalog',
host: 'host',
port: 123,
},
},
errorInfo: {
message: 'message',
type: 'type',
},
folderArns: ['folderArns'],
name: 'name',
permissions: [{
actions: ['actions'],
principal: 'principal',
resource: 'resource',
}],
sslProperties: {
disableSsl: false,
},
tags: [{
key: 'key',
value: 'value',
}],
type: 'type',
vpcConnectionProperties: {
vpcConnectionArn: 'vpcConnectionArn',
},
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnDataSourcePropsMixin(props: CfnDataSourceMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Data Source Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::QuickSight::DataSource.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript