AWS::QuickSight::DataSourceCreates a data source.
import { CfnDataSource } from 'aws-cdk-lib/aws-quicksight';Or use the module namespace:
import * as quicksight from 'aws-cdk-lib/aws-quicksight';
// quicksight.CfnDataSourceConfiguration passed to the constructor as CfnDataSourceProps.
nameRequiredstringA display name for the data source.
typeRequiredstringThe type of the data source. To return a list of all data sources, use `ListDataSources` . Use `AMAZON_ELASTICSEARCH` for Amazon OpenSearch Service.
alternateDataSourceParametersOptionalIResolvable | IResolvable | DataSourceParametersProperty[]A set of alternate data source parameters that you want to share for the credentials stored with this data source. The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the `DataSourceParameters` structure that's in the request with the structures in the `AlternateDataSourceParameters` allow list. If the structures are an exact match, the request is allowed to use the credentials from this existing data source. If the `AlternateDataSourceParameters` list is null, the `Credentials` originally used with this `DataSourceParameters` are automatically allowed.
awsAccountIdOptionalstringThe AWS account ID.
credentialsOptionalIResolvable | DataSourceCredentialsPropertyThe credentials Amazon Quick Sight that uses to connect to your underlying source. Currently, only credentials based on user name and password are supported.
dataSourceIdOptionalstringAn ID for the data source. This ID is unique per AWS Region for each AWS account.
dataSourceParametersOptionalIResolvable | DataSourceParametersPropertyThe parameters that Amazon Quick Sight uses to connect to your underlying source.
errorInfoOptionalIResolvable | DataSourceErrorInfoPropertyError information from the last update or the creation of the data source.
folderArnsOptionalstring[]permissionsOptionalIResolvable | IResolvable | ResourcePermissionProperty[]A list of resource permissions on the data source.
sslPropertiesOptionalIResolvable | SslPropertiesPropertySecure Socket Layer (SSL) properties that apply when Amazon Quick Sight connects to your underlying source.
tagsOptionalCfnTag[]Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.
vpcConnectionPropertiesOptionalIResolvable | VpcConnectionPropertiesPropertyUse this parameter only when you want Amazon Quick Sight to use a VPC connection when connecting to your underlying source.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-quicksightAWS::QuickSight::DataSource