CfnDataSource
- class aws_cdk.aws_quicksight.CfnDataSource(scope, id, *, name, type, alternate_data_source_parameters=None, aws_account_id=None, credentials=None, data_source_id=None, data_source_parameters=None, error_info=None, folder_arns=None, permissions=None, ssl_properties=None, tags=None, vpc_connection_properties=None)
Bases:
CfnResource
Creates a data source.
- See:
- CloudformationResource:
AWS::QuickSight::DataSource
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight cfn_data_source = quicksight.CfnDataSource(self, "MyCfnDataSource", name="name", type="type", # the properties below are optional alternate_data_source_parameters=[quicksight.CfnDataSource.DataSourceParametersProperty( amazon_elasticsearch_parameters=quicksight.CfnDataSource.AmazonElasticsearchParametersProperty( domain="domain" ), amazon_open_search_parameters=quicksight.CfnDataSource.AmazonOpenSearchParametersProperty( domain="domain" ), athena_parameters=quicksight.CfnDataSource.AthenaParametersProperty( role_arn="roleArn", work_group="workGroup" ), aurora_parameters=quicksight.CfnDataSource.AuroraParametersProperty( database="database", host="host", port=123 ), aurora_postgre_sql_parameters=quicksight.CfnDataSource.AuroraPostgreSqlParametersProperty( database="database", host="host", port=123 ), databricks_parameters=quicksight.CfnDataSource.DatabricksParametersProperty( host="host", port=123, sql_endpoint_path="sqlEndpointPath" ), maria_db_parameters=quicksight.CfnDataSource.MariaDbParametersProperty( database="database", host="host", port=123 ), my_sql_parameters=quicksight.CfnDataSource.MySqlParametersProperty( database="database", host="host", port=123 ), oracle_parameters=quicksight.CfnDataSource.OracleParametersProperty( database="database", host="host", port=123 ), postgre_sql_parameters=quicksight.CfnDataSource.PostgreSqlParametersProperty( database="database", host="host", port=123 ), presto_parameters=quicksight.CfnDataSource.PrestoParametersProperty( catalog="catalog", host="host", port=123 ), rds_parameters=quicksight.CfnDataSource.RdsParametersProperty( database="database", instance_id="instanceId" ), redshift_parameters=quicksight.CfnDataSource.RedshiftParametersProperty( database="database", # the properties below are optional cluster_id="clusterId", host="host", iam_parameters=quicksight.CfnDataSource.RedshiftIAMParametersProperty( role_arn="roleArn", # the properties below are optional auto_create_database_user=False, database_groups=["databaseGroups"], database_user="databaseUser" ), identity_center_configuration=quicksight.CfnDataSource.IdentityCenterConfigurationProperty( enable_identity_propagation=False ), port=123 ), s3_parameters=quicksight.CfnDataSource.S3ParametersProperty( manifest_file_location=quicksight.CfnDataSource.ManifestFileLocationProperty( bucket="bucket", key="key" ), # the properties below are optional role_arn="roleArn" ), snowflake_parameters=quicksight.CfnDataSource.SnowflakeParametersProperty( database="database", host="host", warehouse="warehouse", # the properties below are optional authentication_type="authenticationType", database_access_control_role="databaseAccessControlRole", o_auth_parameters=quicksight.CfnDataSource.OAuthParametersProperty( token_provider_url="tokenProviderUrl", # the properties below are optional identity_provider_resource_uri="identityProviderResourceUri", identity_provider_vpc_connection_properties=quicksight.CfnDataSource.VpcConnectionPropertiesProperty( vpc_connection_arn="vpcConnectionArn" ), o_auth_scope="oAuthScope" ) ), spark_parameters=quicksight.CfnDataSource.SparkParametersProperty( host="host", port=123 ), sql_server_parameters=quicksight.CfnDataSource.SqlServerParametersProperty( database="database", host="host", port=123 ), starburst_parameters=quicksight.CfnDataSource.StarburstParametersProperty( catalog="catalog", host="host", port=123, # the properties below are optional authentication_type="authenticationType", database_access_control_role="databaseAccessControlRole", o_auth_parameters=quicksight.CfnDataSource.OAuthParametersProperty( token_provider_url="tokenProviderUrl", # the properties below are optional identity_provider_resource_uri="identityProviderResourceUri", identity_provider_vpc_connection_properties=quicksight.CfnDataSource.VpcConnectionPropertiesProperty( vpc_connection_arn="vpcConnectionArn" ), o_auth_scope="oAuthScope" ), product_type="productType" ), teradata_parameters=quicksight.CfnDataSource.TeradataParametersProperty( database="database", host="host", port=123 ), trino_parameters=quicksight.CfnDataSource.TrinoParametersProperty( catalog="catalog", host="host", port=123 ) )], aws_account_id="awsAccountId", credentials=quicksight.CfnDataSource.DataSourceCredentialsProperty( copy_source_arn="copySourceArn", credential_pair=quicksight.CfnDataSource.CredentialPairProperty( password="password", username="username", # the properties below are optional alternate_data_source_parameters=[quicksight.CfnDataSource.DataSourceParametersProperty( amazon_elasticsearch_parameters=quicksight.CfnDataSource.AmazonElasticsearchParametersProperty( domain="domain" ), amazon_open_search_parameters=quicksight.CfnDataSource.AmazonOpenSearchParametersProperty( domain="domain" ), athena_parameters=quicksight.CfnDataSource.AthenaParametersProperty( role_arn="roleArn", work_group="workGroup" ), aurora_parameters=quicksight.CfnDataSource.AuroraParametersProperty( database="database", host="host", port=123 ), aurora_postgre_sql_parameters=quicksight.CfnDataSource.AuroraPostgreSqlParametersProperty( database="database", host="host", port=123 ), databricks_parameters=quicksight.CfnDataSource.DatabricksParametersProperty( host="host", port=123, sql_endpoint_path="sqlEndpointPath" ), maria_db_parameters=quicksight.CfnDataSource.MariaDbParametersProperty( database="database", host="host", port=123 ), my_sql_parameters=quicksight.CfnDataSource.MySqlParametersProperty( database="database", host="host", port=123 ), oracle_parameters=quicksight.CfnDataSource.OracleParametersProperty( database="database", host="host", port=123 ), postgre_sql_parameters=quicksight.CfnDataSource.PostgreSqlParametersProperty( database="database", host="host", port=123 ), presto_parameters=quicksight.CfnDataSource.PrestoParametersProperty( catalog="catalog", host="host", port=123 ), rds_parameters=quicksight.CfnDataSource.RdsParametersProperty( database="database", instance_id="instanceId" ), redshift_parameters=quicksight.CfnDataSource.RedshiftParametersProperty( database="database", # the properties below are optional cluster_id="clusterId", host="host", iam_parameters=quicksight.CfnDataSource.RedshiftIAMParametersProperty( role_arn="roleArn", # the properties below are optional auto_create_database_user=False, database_groups=["databaseGroups"], database_user="databaseUser" ), identity_center_configuration=quicksight.CfnDataSource.IdentityCenterConfigurationProperty( enable_identity_propagation=False ), port=123 ), s3_parameters=quicksight.CfnDataSource.S3ParametersProperty( manifest_file_location=quicksight.CfnDataSource.ManifestFileLocationProperty( bucket="bucket", key="key" ), # the properties below are optional role_arn="roleArn" ), snowflake_parameters=quicksight.CfnDataSource.SnowflakeParametersProperty( database="database", host="host", warehouse="warehouse", # the properties below are optional authentication_type="authenticationType", database_access_control_role="databaseAccessControlRole", o_auth_parameters=quicksight.CfnDataSource.OAuthParametersProperty( token_provider_url="tokenProviderUrl", # the properties below are optional identity_provider_resource_uri="identityProviderResourceUri", identity_provider_vpc_connection_properties=quicksight.CfnDataSource.VpcConnectionPropertiesProperty( vpc_connection_arn="vpcConnectionArn" ), o_auth_scope="oAuthScope" ) ), spark_parameters=quicksight.CfnDataSource.SparkParametersProperty( host="host", port=123 ), sql_server_parameters=quicksight.CfnDataSource.SqlServerParametersProperty( database="database", host="host", port=123 ), starburst_parameters=quicksight.CfnDataSource.StarburstParametersProperty( catalog="catalog", host="host", port=123, # the properties below are optional authentication_type="authenticationType", database_access_control_role="databaseAccessControlRole", o_auth_parameters=quicksight.CfnDataSource.OAuthParametersProperty( token_provider_url="tokenProviderUrl", # the properties below are optional identity_provider_resource_uri="identityProviderResourceUri", identity_provider_vpc_connection_properties=quicksight.CfnDataSource.VpcConnectionPropertiesProperty( vpc_connection_arn="vpcConnectionArn" ), o_auth_scope="oAuthScope" ), product_type="productType" ), teradata_parameters=quicksight.CfnDataSource.TeradataParametersProperty( database="database", host="host", port=123 ), trino_parameters=quicksight.CfnDataSource.TrinoParametersProperty( catalog="catalog", host="host", port=123 ) )] ), secret_arn="secretArn" ), data_source_id="dataSourceId", data_source_parameters=quicksight.CfnDataSource.DataSourceParametersProperty( amazon_elasticsearch_parameters=quicksight.CfnDataSource.AmazonElasticsearchParametersProperty( domain="domain" ), amazon_open_search_parameters=quicksight.CfnDataSource.AmazonOpenSearchParametersProperty( domain="domain" ), athena_parameters=quicksight.CfnDataSource.AthenaParametersProperty( role_arn="roleArn", work_group="workGroup" ), aurora_parameters=quicksight.CfnDataSource.AuroraParametersProperty( database="database", host="host", port=123 ), aurora_postgre_sql_parameters=quicksight.CfnDataSource.AuroraPostgreSqlParametersProperty( database="database", host="host", port=123 ), databricks_parameters=quicksight.CfnDataSource.DatabricksParametersProperty( host="host", port=123, sql_endpoint_path="sqlEndpointPath" ), maria_db_parameters=quicksight.CfnDataSource.MariaDbParametersProperty( database="database", host="host", port=123 ), my_sql_parameters=quicksight.CfnDataSource.MySqlParametersProperty( database="database", host="host", port=123 ), oracle_parameters=quicksight.CfnDataSource.OracleParametersProperty( database="database", host="host", port=123 ), postgre_sql_parameters=quicksight.CfnDataSource.PostgreSqlParametersProperty( database="database", host="host", port=123 ), presto_parameters=quicksight.CfnDataSource.PrestoParametersProperty( catalog="catalog", host="host", port=123 ), rds_parameters=quicksight.CfnDataSource.RdsParametersProperty( database="database", instance_id="instanceId" ), redshift_parameters=quicksight.CfnDataSource.RedshiftParametersProperty( database="database", # the properties below are optional cluster_id="clusterId", host="host", iam_parameters=quicksight.CfnDataSource.RedshiftIAMParametersProperty( role_arn="roleArn", # the properties below are optional auto_create_database_user=False, database_groups=["databaseGroups"], database_user="databaseUser" ), identity_center_configuration=quicksight.CfnDataSource.IdentityCenterConfigurationProperty( enable_identity_propagation=False ), port=123 ), s3_parameters=quicksight.CfnDataSource.S3ParametersProperty( manifest_file_location=quicksight.CfnDataSource.ManifestFileLocationProperty( bucket="bucket", key="key" ), # the properties below are optional role_arn="roleArn" ), snowflake_parameters=quicksight.CfnDataSource.SnowflakeParametersProperty( database="database", host="host", warehouse="warehouse", # the properties below are optional authentication_type="authenticationType", database_access_control_role="databaseAccessControlRole", o_auth_parameters=quicksight.CfnDataSource.OAuthParametersProperty( token_provider_url="tokenProviderUrl", # the properties below are optional identity_provider_resource_uri="identityProviderResourceUri", identity_provider_vpc_connection_properties=quicksight.CfnDataSource.VpcConnectionPropertiesProperty( vpc_connection_arn="vpcConnectionArn" ), o_auth_scope="oAuthScope" ) ), spark_parameters=quicksight.CfnDataSource.SparkParametersProperty( host="host", port=123 ), sql_server_parameters=quicksight.CfnDataSource.SqlServerParametersProperty( database="database", host="host", port=123 ), starburst_parameters=quicksight.CfnDataSource.StarburstParametersProperty( catalog="catalog", host="host", port=123, # the properties below are optional authentication_type="authenticationType", database_access_control_role="databaseAccessControlRole", o_auth_parameters=quicksight.CfnDataSource.OAuthParametersProperty( token_provider_url="tokenProviderUrl", # the properties below are optional identity_provider_resource_uri="identityProviderResourceUri", identity_provider_vpc_connection_properties=quicksight.CfnDataSource.VpcConnectionPropertiesProperty( vpc_connection_arn="vpcConnectionArn" ), o_auth_scope="oAuthScope" ), product_type="productType" ), teradata_parameters=quicksight.CfnDataSource.TeradataParametersProperty( database="database", host="host", port=123 ), trino_parameters=quicksight.CfnDataSource.TrinoParametersProperty( catalog="catalog", host="host", port=123 ) ), error_info=quicksight.CfnDataSource.DataSourceErrorInfoProperty( message="message", type="type" ), folder_arns=["folderArns"], permissions=[quicksight.CfnDataSource.ResourcePermissionProperty( actions=["actions"], principal="principal", # the properties below are optional resource="resource" )], ssl_properties=quicksight.CfnDataSource.SslPropertiesProperty( disable_ssl=False ), tags=[CfnTag( key="key", value="value" )], vpc_connection_properties=quicksight.CfnDataSource.VpcConnectionPropertiesProperty( vpc_connection_arn="vpcConnectionArn" ) )
- Parameters:
scope (
Construct
) – Scope in which this resource is defined.id (
str
) – Construct identifier for this resource (unique in its scope).name (
str
) – A display name for the data source.type (
str
) – The type of the data source. To return a list of all data sources, useListDataSources
. UseAMAZON_ELASTICSEARCH
for Amazon OpenSearch Service.alternate_data_source_parameters (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,DataSourceParametersProperty
,Dict
[str
,Any
]]],None
]) – 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 theDataSourceParameters
structure that’s in the request with the structures in theAlternateDataSourceParameters
allow list. If the structures are an exact match, the request is allowed to use the credentials from this existing data source. If theAlternateDataSourceParameters
list is null, theCredentials
originally used with thisDataSourceParameters
are automatically allowed.aws_account_id (
Optional
[str
]) – The AWS account ID.credentials (
Union
[IResolvable
,DataSourceCredentialsProperty
,Dict
[str
,Any
],None
]) – The credentials Amazon QuickSight that uses to connect to your underlying source. Currently, only credentials based on user name and password are supported.data_source_id (
Optional
[str
]) – An ID for the data source. This ID is unique per AWS Region for each AWS account.data_source_parameters (
Union
[IResolvable
,DataSourceParametersProperty
,Dict
[str
,Any
],None
]) – The parameters that Amazon QuickSight uses to connect to your underlying source.error_info (
Union
[IResolvable
,DataSourceErrorInfoProperty
,Dict
[str
,Any
],None
]) – Error information from the last update or the creation of the data source.folder_arns (
Optional
[Sequence
[str
]]) –permissions (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,ResourcePermissionProperty
,Dict
[str
,Any
]]],None
]) – A list of resource permissions on the data source.ssl_properties (
Union
[IResolvable
,SslPropertiesProperty
,Dict
[str
,Any
],None
]) – Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.vpc_connection_properties (
Union
[IResolvable
,VpcConnectionPropertiesProperty
,Dict
[str
,Any
],None
]) – Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.
Methods
- add_deletion_override(path)
Syntactic sugar for
addOverride(path, undefined)
.- Parameters:
path (
str
) – The path of the value to delete.- Return type:
None
- add_dependency(target)
Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope.
- Parameters:
target (
CfnResource
) –- Return type:
None
- add_depends_on(target)
(deprecated) Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
- Parameters:
target (
CfnResource
) –- Deprecated:
use addDependency
- Stability:
deprecated
- Return type:
None
- add_metadata(key, value)
Add a value to the CloudFormation Resource Metadata.
- Parameters:
key (
str
) –value (
Any
) –
- See:
- Return type:
None
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.
- add_override(path, value)
Adds an override to the synthesized CloudFormation resource.
To add a property override, either use
addPropertyOverride
or prefixpath
with “Properties.” (i.e.Properties.TopicName
).If the override is nested, separate each nested level using a dot (.) in the path parameter. If there is an array as part of the nesting, specify the index in the path.
To include a literal
.
in the property name, prefix with a\
. In most programming languages you will need to write this as"\\."
because the\
itself will need to be escaped.For example:
cfn_resource.add_override("Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes", ["myattribute"]) cfn_resource.add_override("Properties.GlobalSecondaryIndexes.1.ProjectionType", "INCLUDE")
would add the overrides Example:
"Properties": { "GlobalSecondaryIndexes": [ { "Projection": { "NonKeyAttributes": [ "myattribute" ] ... } ... }, { "ProjectionType": "INCLUDE" ... }, ] ... }
The
value
argument toaddOverride
will not be processed or translated in any way. Pass raw JSON values in here with the correct capitalization for CloudFormation. If you pass CDK classes or structs, they will be rendered with lowercased key names, and CloudFormation will reject the template.- Parameters:
path (
str
) –The path of the property, you can use dot notation to override values in complex types. Any intermediate keys will be created as needed.
value (
Any
) –The value. Could be primitive or complex.
- Return type:
None
- add_property_deletion_override(property_path)
Adds an override that deletes the value of a property from the resource definition.
- Parameters:
property_path (
str
) – The path to the property.- Return type:
None
- add_property_override(property_path, value)
Adds an override to a resource property.
Syntactic sugar for
addOverride("Properties.<...>", value)
.- Parameters:
property_path (
str
) – The path of the property.value (
Any
) – The value.
- Return type:
None
- apply_removal_policy(policy=None, *, apply_to_update_replace_policy=None, default=None)
Sets the deletion policy of the resource based on the removal policy specified.
The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you’ve removed it from the CDK application or because you’ve made a change that requires the resource to be replaced.
The resource can be deleted (
RemovalPolicy.DESTROY
), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN
). In some cases, a snapshot can be taken of the resource prior to deletion (RemovalPolicy.SNAPSHOT
). A list of resources that support this policy can be found in the following link:- Parameters:
policy (
Optional
[RemovalPolicy
]) –apply_to_update_replace_policy (
Optional
[bool
]) – Apply the same deletion policy to the resource’s “UpdateReplacePolicy”. Default: truedefault (
Optional
[RemovalPolicy
]) – The default policy to apply in case the removal policy is not defined. Default: - Default value is resource specific. To determine the default value for a resource, please consult that specific resource’s documentation.
- See:
- Return type:
None
- get_att(attribute_name, type_hint=None)
Returns a token for an runtime attribute of this resource.
Ideally, use generated attribute accessors (e.g.
resource.arn
), but this can be used for future compatibility in case there is no generated attribute.- Parameters:
attribute_name (
str
) – The name of the attribute.type_hint (
Optional
[ResolutionTypeHint
]) –
- Return type:
- get_metadata(key)
Retrieve a value value from the CloudFormation Resource Metadata.
- Parameters:
key (
str
) –- See:
- Return type:
Any
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.
- inspect(inspector)
Examines the CloudFormation resource and discloses attributes.
- Parameters:
inspector (
TreeInspector
) – tree inspector to collect and process attributes.- Return type:
None
- obtain_dependencies()
Retrieves an array of resources this resource depends on.
This assembles dependencies on resources across stacks (including nested stacks) automatically.
- Return type:
List
[Union
[Stack
,CfnResource
]]
- obtain_resource_dependencies()
Get a shallow copy of dependencies between this resource and other resources in the same stack.
- Return type:
List
[CfnResource
]
- override_logical_id(new_logical_id)
Overrides the auto-generated logical ID with a specific ID.
- Parameters:
new_logical_id (
str
) – The new logical ID to use for this stack element.- Return type:
None
- remove_dependency(target)
Indicates that this resource no longer depends on another resource.
This can be used for resources across stacks (including nested stacks) and the dependency will automatically be removed from the relevant scope.
- Parameters:
target (
CfnResource
) –- Return type:
None
- replace_dependency(target, new_target)
Replaces one dependency with another.
- Parameters:
target (
CfnResource
) – The dependency to replace.new_target (
CfnResource
) – The new dependency to add.
- Return type:
None
- to_string()
Returns a string representation of this construct.
- Return type:
str
- Returns:
a string representation of this resource
Attributes
- CFN_RESOURCE_TYPE_NAME = 'AWS::QuickSight::DataSource'
- alternate_data_source_parameters
A set of alternate data source parameters that you want to share for the credentials stored with this data source.
- attr_arn
The Amazon Resource Name (ARN) of the dataset.
- CloudformationAttribute:
Arn
- attr_created_time
The time that this data source was created.
- CloudformationAttribute:
CreatedTime
- attr_last_updated_time
The last time that this data source was updated.
- CloudformationAttribute:
LastUpdatedTime
- attr_status
The HTTP status of the request.
- CloudformationAttribute:
Status
- aws_account_id
The AWS account ID.
- cfn_options
Options for this resource, such as condition, update policy etc.
- cfn_resource_type
AWS resource type.
- creation_stack
return:
the stack trace of the point where this Resource was created from, sourced from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most node +internal+ entries filtered.
- credentials
The credentials Amazon QuickSight that uses to connect to your underlying source.
- data_source_id
An ID for the data source.
- data_source_parameters
The parameters that Amazon QuickSight uses to connect to your underlying source.
- error_info
Error information from the last update or the creation of the data source.
- folder_arns
- logical_id
The logical ID for this CloudFormation stack element.
The logical ID of the element is calculated from the path of the resource node in the construct tree.
To override this value, use
overrideLogicalId(newLogicalId)
.- Returns:
the logical ID as a stringified token. This value will only get resolved during synthesis.
- name
A display name for the data source.
- node
The tree node.
- permissions
A list of resource permissions on the data source.
- ref
Return a string that will be resolved to a CloudFormation
{ Ref }
for this element.If, by any chance, the intrinsic reference of a resource is not a string, you could coerce it to an IResolvable through
Lazy.any({ produce: resource.ref })
.
- ssl_properties
Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.
- stack
The stack in which this element is defined.
CfnElements must be defined within a stack scope (directly or indirectly).
- tags
Tag Manager which manages the tags for this resource.
- tags_raw
Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.
- type
The type of the data source.
To return a list of all data sources, use
ListDataSources
.
- vpc_connection_properties
Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.
Static Methods
- classmethod is_cfn_element(x)
Returns
true
if a construct is a stack element (i.e. part of the synthesized cloudformation template).Uses duck-typing instead of
instanceof
to allow stack elements from different versions of this library to be included in the same stack.- Parameters:
x (
Any
) –- Return type:
bool
- Returns:
The construct as a stack element or undefined if it is not a stack element.
- classmethod is_cfn_resource(x)
Check whether the given object is a CfnResource.
- Parameters:
x (
Any
) –- Return type:
bool
- classmethod is_construct(x)
Checks if
x
is a construct.Use this method instead of
instanceof
to properly detectConstruct
instances, even when the construct library is symlinked.Explanation: in JavaScript, multiple copies of the
constructs
library on disk are seen as independent, completely different libraries. As a consequence, the classConstruct
in each copy of theconstructs
library is seen as a different class, and an instance of one class will not test asinstanceof
the other class.npm install
will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of theconstructs
library can be accidentally installed, andinstanceof
will behave unpredictably. It is safest to avoid usinginstanceof
, and using this type-testing method instead.- Parameters:
x (
Any
) – Any object.- Return type:
bool
- Returns:
true if
x
is an object created from a class which extendsConstruct
.
AmazonElasticsearchParametersProperty
- class CfnDataSource.AmazonElasticsearchParametersProperty(*, domain)
Bases:
object
The parameters for OpenSearch.
- Parameters:
domain (
str
) – The OpenSearch domain.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight amazon_elasticsearch_parameters_property = quicksight.CfnDataSource.AmazonElasticsearchParametersProperty( domain="domain" )
Attributes
AmazonOpenSearchParametersProperty
- class CfnDataSource.AmazonOpenSearchParametersProperty(*, domain)
Bases:
object
The parameters for OpenSearch.
- Parameters:
domain (
str
) – The OpenSearch domain.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight amazon_open_search_parameters_property = quicksight.CfnDataSource.AmazonOpenSearchParametersProperty( domain="domain" )
Attributes
AthenaParametersProperty
- class CfnDataSource.AthenaParametersProperty(*, role_arn=None, work_group=None)
Bases:
object
Parameters for Amazon Athena.
- Parameters:
role_arn (
Optional
[str
]) – Use theRoleArn
structure to override an account-wide role for a specific Athena data source. For example, say an account administrator has turned off all Athena access with an account-wide role. The administrator can then useRoleArn
to bypass the account-wide role and allow Athena access for the single Athena data source that is specified in the structure, even if the account-wide role forbidding Athena access is still active.work_group (
Optional
[str
]) – The workgroup that Amazon Athena uses.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight athena_parameters_property = quicksight.CfnDataSource.AthenaParametersProperty( role_arn="roleArn", work_group="workGroup" )
Attributes
- role_arn
Use the
RoleArn
structure to override an account-wide role for a specific Athena data source.For example, say an account administrator has turned off all Athena access with an account-wide role. The administrator can then use
RoleArn
to bypass the account-wide role and allow Athena access for the single Athena data source that is specified in the structure, even if the account-wide role forbidding Athena access is still active.
- work_group
The workgroup that Amazon Athena uses.
AuroraParametersProperty
- class CfnDataSource.AuroraParametersProperty(*, database, host, port)
Bases:
object
Parameters for Amazon Aurora.
- Parameters:
database (
str
) – Database.host (
str
) – Host.port (
Union
[int
,float
]) – Port. Default: - 0
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight aurora_parameters_property = quicksight.CfnDataSource.AuroraParametersProperty( database="database", host="host", port=123 )
Attributes
- database
Database.
- host
Host.
AuroraPostgreSqlParametersProperty
- class CfnDataSource.AuroraPostgreSqlParametersProperty(*, database, host, port)
Bases:
object
Parameters for Amazon Aurora PostgreSQL-Compatible Edition.
- Parameters:
database (
str
) – The Amazon Aurora PostgreSQL database to connect to.host (
str
) – The Amazon Aurora PostgreSQL-Compatible host to connect to.port (
Union
[int
,float
]) – The port that Amazon Aurora PostgreSQL is listening on. Default: - 0
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight aurora_postgre_sql_parameters_property = quicksight.CfnDataSource.AuroraPostgreSqlParametersProperty( database="database", host="host", port=123 )
Attributes
- database
The Amazon Aurora PostgreSQL database to connect to.
- host
The Amazon Aurora PostgreSQL-Compatible host to connect to.
- port
The port that Amazon Aurora PostgreSQL is listening on.
CredentialPairProperty
- class CfnDataSource.CredentialPairProperty(*, password, username, alternate_data_source_parameters=None)
Bases:
object
The combination of user name and password that are used as credentials.
- Parameters:
password (
str
) – Password.username (
str
) – User name.alternate_data_source_parameters (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,DataSourceParametersProperty
,Dict
[str
,Any
]]],None
]) – A set of alternate data source parameters that you want to share for these credentials. 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 theDataSourceParameters
structure that’s in the request with the structures in theAlternateDataSourceParameters
allow list. If the structures are an exact match, the request is allowed to use the new data source with the existing credentials. If theAlternateDataSourceParameters
list is null, theDataSourceParameters
originally used with theseCredentials
is automatically allowed.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight credential_pair_property = quicksight.CfnDataSource.CredentialPairProperty( password="password", username="username", # the properties below are optional alternate_data_source_parameters=[quicksight.CfnDataSource.DataSourceParametersProperty( amazon_elasticsearch_parameters=quicksight.CfnDataSource.AmazonElasticsearchParametersProperty( domain="domain" ), amazon_open_search_parameters=quicksight.CfnDataSource.AmazonOpenSearchParametersProperty( domain="domain" ), athena_parameters=quicksight.CfnDataSource.AthenaParametersProperty( role_arn="roleArn", work_group="workGroup" ), aurora_parameters=quicksight.CfnDataSource.AuroraParametersProperty( database="database", host="host", port=123 ), aurora_postgre_sql_parameters=quicksight.CfnDataSource.AuroraPostgreSqlParametersProperty( database="database", host="host", port=123 ), databricks_parameters=quicksight.CfnDataSource.DatabricksParametersProperty( host="host", port=123, sql_endpoint_path="sqlEndpointPath" ), maria_db_parameters=quicksight.CfnDataSource.MariaDbParametersProperty( database="database", host="host", port=123 ), my_sql_parameters=quicksight.CfnDataSource.MySqlParametersProperty( database="database", host="host", port=123 ), oracle_parameters=quicksight.CfnDataSource.OracleParametersProperty( database="database", host="host", port=123 ), postgre_sql_parameters=quicksight.CfnDataSource.PostgreSqlParametersProperty( database="database", host="host", port=123 ), presto_parameters=quicksight.CfnDataSource.PrestoParametersProperty( catalog="catalog", host="host", port=123 ), rds_parameters=quicksight.CfnDataSource.RdsParametersProperty( database="database", instance_id="instanceId" ), redshift_parameters=quicksight.CfnDataSource.RedshiftParametersProperty( database="database", # the properties below are optional cluster_id="clusterId", host="host", iam_parameters=quicksight.CfnDataSource.RedshiftIAMParametersProperty( role_arn="roleArn", # the properties below are optional auto_create_database_user=False, database_groups=["databaseGroups"], database_user="databaseUser" ), identity_center_configuration=quicksight.CfnDataSource.IdentityCenterConfigurationProperty( enable_identity_propagation=False ), port=123 ), s3_parameters=quicksight.CfnDataSource.S3ParametersProperty( manifest_file_location=quicksight.CfnDataSource.ManifestFileLocationProperty( bucket="bucket", key="key" ), # the properties below are optional role_arn="roleArn" ), snowflake_parameters=quicksight.CfnDataSource.SnowflakeParametersProperty( database="database", host="host", warehouse="warehouse", # the properties below are optional authentication_type="authenticationType", database_access_control_role="databaseAccessControlRole", o_auth_parameters=quicksight.CfnDataSource.OAuthParametersProperty( token_provider_url="tokenProviderUrl", # the properties below are optional identity_provider_resource_uri="identityProviderResourceUri", identity_provider_vpc_connection_properties=quicksight.CfnDataSource.VpcConnectionPropertiesProperty( vpc_connection_arn="vpcConnectionArn" ), o_auth_scope="oAuthScope" ) ), spark_parameters=quicksight.CfnDataSource.SparkParametersProperty( host="host", port=123 ), sql_server_parameters=quicksight.CfnDataSource.SqlServerParametersProperty( database="database", host="host", port=123 ), starburst_parameters=quicksight.CfnDataSource.StarburstParametersProperty( catalog="catalog", host="host", port=123, # the properties below are optional authentication_type="authenticationType", database_access_control_role="databaseAccessControlRole", o_auth_parameters=quicksight.CfnDataSource.OAuthParametersProperty( token_provider_url="tokenProviderUrl", # the properties below are optional identity_provider_resource_uri="identityProviderResourceUri", identity_provider_vpc_connection_properties=quicksight.CfnDataSource.VpcConnectionPropertiesProperty( vpc_connection_arn="vpcConnectionArn" ), o_auth_scope="oAuthScope" ), product_type="productType" ), teradata_parameters=quicksight.CfnDataSource.TeradataParametersProperty( database="database", host="host", port=123 ), trino_parameters=quicksight.CfnDataSource.TrinoParametersProperty( catalog="catalog", host="host", port=123 ) )] )
Attributes
- alternate_data_source_parameters
A set of alternate data source parameters that you want to share for these credentials.
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 theAlternateDataSourceParameters
allow list. If the structures are an exact match, the request is allowed to use the new data source with the existing credentials. If theAlternateDataSourceParameters
list is null, theDataSourceParameters
originally used with theseCredentials
is automatically allowed.
- password
Password.
DataSourceCredentialsProperty
- class CfnDataSource.DataSourceCredentialsProperty(*, copy_source_arn=None, credential_pair=None, secret_arn=None)
Bases:
object
Data source credentials.
This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
- Parameters:
copy_source_arn (
Optional
[str
]) – The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. WhenCopySourceArn
is not null, the credential pair from the data source in the ARN is used as the credentials for theDataSourceCredentials
structure.credential_pair (
Union
[IResolvable
,CredentialPairProperty
,Dict
[str
,Any
],None
]) – Credential pair. For more information, see[CredentialPair](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_CredentialPair.html)
.secret_arn (
Optional
[str
]) – The Amazon Resource Name (ARN) of the secret associated with the data source in AWS Secrets Manager .
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight data_source_credentials_property = quicksight.CfnDataSource.DataSourceCredentialsProperty( copy_source_arn="copySourceArn", credential_pair=quicksight.CfnDataSource.CredentialPairProperty( password="password", username="username", # the properties below are optional alternate_data_source_parameters=[quicksight.CfnDataSource.DataSourceParametersProperty( amazon_elasticsearch_parameters=quicksight.CfnDataSource.AmazonElasticsearchParametersProperty( domain="domain" ), amazon_open_search_parameters=quicksight.CfnDataSource.AmazonOpenSearchParametersProperty( domain="domain" ), athena_parameters=quicksight.CfnDataSource.AthenaParametersProperty( role_arn="roleArn", work_group="workGroup" ), aurora_parameters=quicksight.CfnDataSource.AuroraParametersProperty( database="database", host="host", port=123 ), aurora_postgre_sql_parameters=quicksight.CfnDataSource.AuroraPostgreSqlParametersProperty( database="database", host="host", port=123 ), databricks_parameters=quicksight.CfnDataSource.DatabricksParametersProperty( host="host", port=123, sql_endpoint_path="sqlEndpointPath" ), maria_db_parameters=quicksight.CfnDataSource.MariaDbParametersProperty( database="database", host="host", port=123 ), my_sql_parameters=quicksight.CfnDataSource.MySqlParametersProperty( database="database", host="host", port=123 ), oracle_parameters=quicksight.CfnDataSource.OracleParametersProperty( database="database", host="host", port=123 ), postgre_sql_parameters=quicksight.CfnDataSource.PostgreSqlParametersProperty( database="database", host="host", port=123 ), presto_parameters=quicksight.CfnDataSource.PrestoParametersProperty( catalog="catalog", host="host", port=123 ), rds_parameters=quicksight.CfnDataSource.RdsParametersProperty( database="database", instance_id="instanceId" ), redshift_parameters=quicksight.CfnDataSource.RedshiftParametersProperty( database="database", # the properties below are optional cluster_id="clusterId", host="host", iam_parameters=quicksight.CfnDataSource.RedshiftIAMParametersProperty( role_arn="roleArn", # the properties below are optional auto_create_database_user=False, database_groups=["databaseGroups"], database_user="databaseUser" ), identity_center_configuration=quicksight.CfnDataSource.IdentityCenterConfigurationProperty( enable_identity_propagation=False ), port=123 ), s3_parameters=quicksight.CfnDataSource.S3ParametersProperty( manifest_file_location=quicksight.CfnDataSource.ManifestFileLocationProperty( bucket="bucket", key="key" ), # the properties below are optional role_arn="roleArn" ), snowflake_parameters=quicksight.CfnDataSource.SnowflakeParametersProperty( database="database", host="host", warehouse="warehouse", # the properties below are optional authentication_type="authenticationType", database_access_control_role="databaseAccessControlRole", o_auth_parameters=quicksight.CfnDataSource.OAuthParametersProperty( token_provider_url="tokenProviderUrl", # the properties below are optional identity_provider_resource_uri="identityProviderResourceUri", identity_provider_vpc_connection_properties=quicksight.CfnDataSource.VpcConnectionPropertiesProperty( vpc_connection_arn="vpcConnectionArn" ), o_auth_scope="oAuthScope" ) ), spark_parameters=quicksight.CfnDataSource.SparkParametersProperty( host="host", port=123 ), sql_server_parameters=quicksight.CfnDataSource.SqlServerParametersProperty( database="database", host="host", port=123 ), starburst_parameters=quicksight.CfnDataSource.StarburstParametersProperty( catalog="catalog", host="host", port=123, # the properties below are optional authentication_type="authenticationType", database_access_control_role="databaseAccessControlRole", o_auth_parameters=quicksight.CfnDataSource.OAuthParametersProperty( token_provider_url="tokenProviderUrl", # the properties below are optional identity_provider_resource_uri="identityProviderResourceUri", identity_provider_vpc_connection_properties=quicksight.CfnDataSource.VpcConnectionPropertiesProperty( vpc_connection_arn="vpcConnectionArn" ), o_auth_scope="oAuthScope" ), product_type="productType" ), teradata_parameters=quicksight.CfnDataSource.TeradataParametersProperty( database="database", host="host", port=123 ), trino_parameters=quicksight.CfnDataSource.TrinoParametersProperty( catalog="catalog", host="host", port=123 ) )] ), secret_arn="secretArn" )
Attributes
- copy_source_arn
The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use.
When
CopySourceArn
is not null, the credential pair from the data source in the ARN is used as the credentials for theDataSourceCredentials
structure.
- credential_pair
Credential pair.
For more information, see
[CredentialPair](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_CredentialPair.html)
.
- secret_arn
The Amazon Resource Name (ARN) of the secret associated with the data source in AWS Secrets Manager .
DataSourceErrorInfoProperty
- class CfnDataSource.DataSourceErrorInfoProperty(*, message=None, type=None)
Bases:
object
Error information for the data source creation or update.
- Parameters:
message (
Optional
[str
]) – Error message.type (
Optional
[str
]) – Error type.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight data_source_error_info_property = quicksight.CfnDataSource.DataSourceErrorInfoProperty( message="message", type="type" )
Attributes
- message
Error message.
DataSourceParametersProperty
- class CfnDataSource.DataSourceParametersProperty(*, amazon_elasticsearch_parameters=None, amazon_open_search_parameters=None, athena_parameters=None, aurora_parameters=None, aurora_postgre_sql_parameters=None, databricks_parameters=None, maria_db_parameters=None, my_sql_parameters=None, oracle_parameters=None, postgre_sql_parameters=None, presto_parameters=None, rds_parameters=None, redshift_parameters=None, s3_parameters=None, snowflake_parameters=None, spark_parameters=None, sql_server_parameters=None, starburst_parameters=None, teradata_parameters=None, trino_parameters=None)
Bases:
object
The parameters that Amazon QuickSight uses to connect to your underlying data source.
This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
- Parameters:
amazon_elasticsearch_parameters (
Union
[IResolvable
,AmazonElasticsearchParametersProperty
,Dict
[str
,Any
],None
]) – The parameters for OpenSearch.amazon_open_search_parameters (
Union
[IResolvable
,AmazonOpenSearchParametersProperty
,Dict
[str
,Any
],None
]) – The parameters for OpenSearch.athena_parameters (
Union
[IResolvable
,AthenaParametersProperty
,Dict
[str
,Any
],None
]) – The parameters for Amazon Athena.aurora_parameters (
Union
[IResolvable
,AuroraParametersProperty
,Dict
[str
,Any
],None
]) – The parameters for Amazon Aurora MySQL.aurora_postgre_sql_parameters (
Union
[IResolvable
,AuroraPostgreSqlParametersProperty
,Dict
[str
,Any
],None
]) – The parameters for Amazon Aurora.databricks_parameters (
Union
[IResolvable
,DatabricksParametersProperty
,Dict
[str
,Any
],None
]) – The required parameters that are needed to connect to a Databricks data source.maria_db_parameters (
Union
[IResolvable
,MariaDbParametersProperty
,Dict
[str
,Any
],None
]) – The parameters for MariaDB.my_sql_parameters (
Union
[IResolvable
,MySqlParametersProperty
,Dict
[str
,Any
],None
]) – The parameters for MySQL.oracle_parameters (
Union
[IResolvable
,OracleParametersProperty
,Dict
[str
,Any
],None
]) – Oracle parameters.postgre_sql_parameters (
Union
[IResolvable
,PostgreSqlParametersProperty
,Dict
[str
,Any
],None
]) – The parameters for PostgreSQL.presto_parameters (
Union
[IResolvable
,PrestoParametersProperty
,Dict
[str
,Any
],None
]) – The parameters for Presto.rds_parameters (
Union
[IResolvable
,RdsParametersProperty
,Dict
[str
,Any
],None
]) – The parameters for Amazon RDS.redshift_parameters (
Union
[IResolvable
,RedshiftParametersProperty
,Dict
[str
,Any
],None
]) – The parameters for Amazon Redshift.s3_parameters (
Union
[IResolvable
,S3ParametersProperty
,Dict
[str
,Any
],None
]) – The parameters for S3.snowflake_parameters (
Union
[IResolvable
,SnowflakeParametersProperty
,Dict
[str
,Any
],None
]) – The parameters for Snowflake.spark_parameters (
Union
[IResolvable
,SparkParametersProperty
,Dict
[str
,Any
],None
]) – The parameters for Spark.sql_server_parameters (
Union
[IResolvable
,SqlServerParametersProperty
,Dict
[str
,Any
],None
]) – The parameters for SQL Server.starburst_parameters (
Union
[IResolvable
,StarburstParametersProperty
,Dict
[str
,Any
],None
]) – The parameters that are required to connect to a Starburst data source.teradata_parameters (
Union
[IResolvable
,TeradataParametersProperty
,Dict
[str
,Any
],None
]) – The parameters for Teradata.trino_parameters (
Union
[IResolvable
,TrinoParametersProperty
,Dict
[str
,Any
],None
]) – The parameters that are required to connect to a Trino data source.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight data_source_parameters_property = quicksight.CfnDataSource.DataSourceParametersProperty( amazon_elasticsearch_parameters=quicksight.CfnDataSource.AmazonElasticsearchParametersProperty( domain="domain" ), amazon_open_search_parameters=quicksight.CfnDataSource.AmazonOpenSearchParametersProperty( domain="domain" ), athena_parameters=quicksight.CfnDataSource.AthenaParametersProperty( role_arn="roleArn", work_group="workGroup" ), aurora_parameters=quicksight.CfnDataSource.AuroraParametersProperty( database="database", host="host", port=123 ), aurora_postgre_sql_parameters=quicksight.CfnDataSource.AuroraPostgreSqlParametersProperty( database="database", host="host", port=123 ), databricks_parameters=quicksight.CfnDataSource.DatabricksParametersProperty( host="host", port=123, sql_endpoint_path="sqlEndpointPath" ), maria_db_parameters=quicksight.CfnDataSource.MariaDbParametersProperty( database="database", host="host", port=123 ), my_sql_parameters=quicksight.CfnDataSource.MySqlParametersProperty( database="database", host="host", port=123 ), oracle_parameters=quicksight.CfnDataSource.OracleParametersProperty( database="database", host="host", port=123 ), postgre_sql_parameters=quicksight.CfnDataSource.PostgreSqlParametersProperty( database="database", host="host", port=123 ), presto_parameters=quicksight.CfnDataSource.PrestoParametersProperty( catalog="catalog", host="host", port=123 ), rds_parameters=quicksight.CfnDataSource.RdsParametersProperty( database="database", instance_id="instanceId" ), redshift_parameters=quicksight.CfnDataSource.RedshiftParametersProperty( database="database", # the properties below are optional cluster_id="clusterId", host="host", iam_parameters=quicksight.CfnDataSource.RedshiftIAMParametersProperty( role_arn="roleArn", # the properties below are optional auto_create_database_user=False, database_groups=["databaseGroups"], database_user="databaseUser" ), identity_center_configuration=quicksight.CfnDataSource.IdentityCenterConfigurationProperty( enable_identity_propagation=False ), port=123 ), s3_parameters=quicksight.CfnDataSource.S3ParametersProperty( manifest_file_location=quicksight.CfnDataSource.ManifestFileLocationProperty( bucket="bucket", key="key" ), # the properties below are optional role_arn="roleArn" ), snowflake_parameters=quicksight.CfnDataSource.SnowflakeParametersProperty( database="database", host="host", warehouse="warehouse", # the properties below are optional authentication_type="authenticationType", database_access_control_role="databaseAccessControlRole", o_auth_parameters=quicksight.CfnDataSource.OAuthParametersProperty( token_provider_url="tokenProviderUrl", # the properties below are optional identity_provider_resource_uri="identityProviderResourceUri", identity_provider_vpc_connection_properties=quicksight.CfnDataSource.VpcConnectionPropertiesProperty( vpc_connection_arn="vpcConnectionArn" ), o_auth_scope="oAuthScope" ) ), spark_parameters=quicksight.CfnDataSource.SparkParametersProperty( host="host", port=123 ), sql_server_parameters=quicksight.CfnDataSource.SqlServerParametersProperty( database="database", host="host", port=123 ), starburst_parameters=quicksight.CfnDataSource.StarburstParametersProperty( catalog="catalog", host="host", port=123, # the properties below are optional authentication_type="authenticationType", database_access_control_role="databaseAccessControlRole", o_auth_parameters=quicksight.CfnDataSource.OAuthParametersProperty( token_provider_url="tokenProviderUrl", # the properties below are optional identity_provider_resource_uri="identityProviderResourceUri", identity_provider_vpc_connection_properties=quicksight.CfnDataSource.VpcConnectionPropertiesProperty( vpc_connection_arn="vpcConnectionArn" ), o_auth_scope="oAuthScope" ), product_type="productType" ), teradata_parameters=quicksight.CfnDataSource.TeradataParametersProperty( database="database", host="host", port=123 ), trino_parameters=quicksight.CfnDataSource.TrinoParametersProperty( catalog="catalog", host="host", port=123 ) )
Attributes
- amazon_elasticsearch_parameters
The parameters for OpenSearch.
- amazon_open_search_parameters
The parameters for OpenSearch.
- athena_parameters
The parameters for Amazon Athena.
- aurora_parameters
The parameters for Amazon Aurora MySQL.
- aurora_postgre_sql_parameters
The parameters for Amazon Aurora.
- databricks_parameters
The required parameters that are needed to connect to a Databricks data source.
- maria_db_parameters
The parameters for MariaDB.
- my_sql_parameters
The parameters for MySQL.
- oracle_parameters
Oracle parameters.
- postgre_sql_parameters
The parameters for PostgreSQL.
- presto_parameters
The parameters for Presto.
- rds_parameters
The parameters for Amazon RDS.
- redshift_parameters
The parameters for Amazon Redshift.
- s3_parameters
The parameters for S3.
- snowflake_parameters
The parameters for Snowflake.
- spark_parameters
The parameters for Spark.
- sql_server_parameters
The parameters for SQL Server.
- starburst_parameters
The parameters that are required to connect to a Starburst data source.
- teradata_parameters
The parameters for Teradata.
- trino_parameters
The parameters that are required to connect to a Trino data source.
DatabricksParametersProperty
- class CfnDataSource.DatabricksParametersProperty(*, host, port, sql_endpoint_path)
Bases:
object
The required parameters that are needed to connect to a Databricks data source.
- Parameters:
host (
str
) – The host name of the Databricks data source.port (
Union
[int
,float
]) – The port for the Databricks data source. Default: - 0sql_endpoint_path (
str
) – The HTTP path of the Databricks data source.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight databricks_parameters_property = quicksight.CfnDataSource.DatabricksParametersProperty( host="host", port=123, sql_endpoint_path="sqlEndpointPath" )
Attributes
- host
The host name of the Databricks data source.
- port
The port for the Databricks data source.
- sql_endpoint_path
The HTTP path of the Databricks data source.
IdentityCenterConfigurationProperty
- class CfnDataSource.IdentityCenterConfigurationProperty(*, enable_identity_propagation=None)
Bases:
object
The parameters for an IAM Identity Center configuration.
- Parameters:
enable_identity_propagation (
Union
[bool
,IResolvable
,None
]) – A Boolean option that controls whether Trusted Identity Propagation should be used.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight identity_center_configuration_property = quicksight.CfnDataSource.IdentityCenterConfigurationProperty( enable_identity_propagation=False )
Attributes
- enable_identity_propagation
A Boolean option that controls whether Trusted Identity Propagation should be used.
ManifestFileLocationProperty
- class CfnDataSource.ManifestFileLocationProperty(*, bucket, key)
Bases:
object
Amazon S3 manifest file location.
- Parameters:
bucket (
str
) – Amazon S3 bucket.key (
str
) – Amazon S3 key that identifies an object.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight manifest_file_location_property = quicksight.CfnDataSource.ManifestFileLocationProperty( bucket="bucket", key="key" )
Attributes
- bucket
Amazon S3 bucket.
- key
Amazon S3 key that identifies an object.
MariaDbParametersProperty
- class CfnDataSource.MariaDbParametersProperty(*, database, host, port)
Bases:
object
The parameters for MariaDB.
- Parameters:
database (
str
) – Database.host (
str
) – Host.port (
Union
[int
,float
]) – Port. Default: - 0
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight maria_db_parameters_property = quicksight.CfnDataSource.MariaDbParametersProperty( database="database", host="host", port=123 )
Attributes
- database
Database.
- host
Host.
MySqlParametersProperty
- class CfnDataSource.MySqlParametersProperty(*, database, host, port)
Bases:
object
The parameters for MySQL.
- Parameters:
database (
str
) – Database.host (
str
) – Host.port (
Union
[int
,float
]) – Port. Default: - 0
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight my_sql_parameters_property = quicksight.CfnDataSource.MySqlParametersProperty( database="database", host="host", port=123 )
Attributes
- database
Database.
- host
Host.
OAuthParametersProperty
- class CfnDataSource.OAuthParametersProperty(*, token_provider_url, identity_provider_resource_uri=None, identity_provider_vpc_connection_properties=None, o_auth_scope=None)
Bases:
object
An object that contains information needed to create a data source connection that uses OAuth client credentials.
This option is available for data source connections that are made with Snowflake and Starburst.
- Parameters:
token_provider_url (
str
) – The token endpoint URL of the identity provider.identity_provider_resource_uri (
Optional
[str
]) – The resource uri of the identity provider.identity_provider_vpc_connection_properties (
Union
[IResolvable
,VpcConnectionPropertiesProperty
,Dict
[str
,Any
],None
]) –o_auth_scope (
Optional
[str
]) – The OAuth scope.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight o_auth_parameters_property = quicksight.CfnDataSource.OAuthParametersProperty( token_provider_url="tokenProviderUrl", # the properties below are optional identity_provider_resource_uri="identityProviderResourceUri", identity_provider_vpc_connection_properties=quicksight.CfnDataSource.VpcConnectionPropertiesProperty( vpc_connection_arn="vpcConnectionArn" ), o_auth_scope="oAuthScope" )
Attributes
- identity_provider_resource_uri
The resource uri of the identity provider.
- identity_provider_vpc_connection_properties
-
- Type:
see
- o_auth_scope
The OAuth scope.
- token_provider_url
The token endpoint URL of the identity provider.
OracleParametersProperty
- class CfnDataSource.OracleParametersProperty(*, database, host, port)
Bases:
object
Oracle parameters.
- Parameters:
database (
str
) – Database.host (
str
) – Host.port (
Union
[int
,float
]) – Port. Default: - 0
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight oracle_parameters_property = quicksight.CfnDataSource.OracleParametersProperty( database="database", host="host", port=123 )
Attributes
- database
Database.
- host
Host.
PostgreSqlParametersProperty
- class CfnDataSource.PostgreSqlParametersProperty(*, database, host, port)
Bases:
object
The parameters for PostgreSQL.
- Parameters:
database (
str
) – Database.host (
str
) – Host.port (
Union
[int
,float
]) – Port. Default: - 0
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight postgre_sql_parameters_property = quicksight.CfnDataSource.PostgreSqlParametersProperty( database="database", host="host", port=123 )
Attributes
- database
Database.
- host
Host.
PrestoParametersProperty
- class CfnDataSource.PrestoParametersProperty(*, catalog, host, port)
Bases:
object
The parameters for Presto.
- Parameters:
catalog (
str
) – Catalog.host (
str
) – Host.port (
Union
[int
,float
]) – Port. Default: - 0
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight presto_parameters_property = quicksight.CfnDataSource.PrestoParametersProperty( catalog="catalog", host="host", port=123 )
Attributes
- catalog
Catalog.
- host
Host.
RdsParametersProperty
- class CfnDataSource.RdsParametersProperty(*, database, instance_id)
Bases:
object
The parameters for Amazon RDS.
- Parameters:
database (
str
) – Database.instance_id (
str
) – Instance ID.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight rds_parameters_property = quicksight.CfnDataSource.RdsParametersProperty( database="database", instance_id="instanceId" )
Attributes
- database
Database.
RedshiftIAMParametersProperty
- class CfnDataSource.RedshiftIAMParametersProperty(*, role_arn, auto_create_database_user=None, database_groups=None, database_user=None)
Bases:
object
A structure that grants Amazon QuickSight access to your cluster and make a call to the
redshift:GetClusterCredentials
API.For more information on the
redshift:GetClusterCredentials
API, see`GetClusterCredentials
<https://docs.aws.amazon.com/redshift/latest/APIReference/API_GetClusterCredentials.html>`_ .- Parameters:
role_arn (
str
) – Use theRoleArn
structure to allow Amazon QuickSight to callredshift:GetClusterCredentials
on your cluster. The calling principal must haveiam:PassRole
access to pass the role to Amazon QuickSight. The role’s trust policy must allow the Amazon QuickSight service principal to assume the role.auto_create_database_user (
Union
[bool
,IResolvable
,None
]) – Automatically creates a database user. If your database doesn’t have aDatabaseUser
, set this parameter toTrue
. If there is noDatabaseUser
, Amazon QuickSight can’t connect to your cluster. TheRoleArn
that you use for this operation must grant access toredshift:CreateClusterUser
to successfully create the user. Default: - falsedatabase_groups (
Optional
[Sequence
[str
]]) – A list of groups whose permissions will be granted to Amazon QuickSight to access the cluster. These permissions are combined with the permissions granted to Amazon QuickSight by theDatabaseUser
. If you choose to include this parameter, theRoleArn
must grant access toredshift:JoinGroup
.database_user (
Optional
[str
]) – The user whose permissions and group memberships will be used by Amazon QuickSight to access the cluster. If this user already exists in your database, Amazon QuickSight is granted the same permissions that the user has. If the user doesn’t exist, set the value ofAutoCreateDatabaseUser
toTrue
to create a new user with PUBLIC permissions.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight redshift_iAMParameters_property = quicksight.CfnDataSource.RedshiftIAMParametersProperty( role_arn="roleArn", # the properties below are optional auto_create_database_user=False, database_groups=["databaseGroups"], database_user="databaseUser" )
Attributes
- auto_create_database_user
Automatically creates a database user.
If your database doesn’t have a
DatabaseUser
, set this parameter toTrue
. If there is noDatabaseUser
, Amazon QuickSight can’t connect to your cluster. TheRoleArn
that you use for this operation must grant access toredshift:CreateClusterUser
to successfully create the user.
- database_groups
A list of groups whose permissions will be granted to Amazon QuickSight to access the cluster.
These permissions are combined with the permissions granted to Amazon QuickSight by the
DatabaseUser
. If you choose to include this parameter, theRoleArn
must grant access toredshift:JoinGroup
.
- database_user
The user whose permissions and group memberships will be used by Amazon QuickSight to access the cluster.
If this user already exists in your database, Amazon QuickSight is granted the same permissions that the user has. If the user doesn’t exist, set the value of
AutoCreateDatabaseUser
toTrue
to create a new user with PUBLIC permissions.
- role_arn
Use the
RoleArn
structure to allow Amazon QuickSight to callredshift:GetClusterCredentials
on your cluster.The calling principal must have
iam:PassRole
access to pass the role to Amazon QuickSight. The role’s trust policy must allow the Amazon QuickSight service principal to assume the role.
RedshiftParametersProperty
- class CfnDataSource.RedshiftParametersProperty(*, database, cluster_id=None, host=None, iam_parameters=None, identity_center_configuration=None, port=None)
Bases:
object
The parameters for Amazon Redshift.
The
ClusterId
field can be blank ifHost
andPort
are both set. TheHost
andPort
fields can be blank if theClusterId
field is set.- Parameters:
database (
str
) – Database.cluster_id (
Optional
[str
]) – Cluster ID. This field can be blank if theHost
andPort
are provided.host (
Optional
[str
]) – Host. This field can be blank ifClusterId
is provided.iam_parameters (
Union
[IResolvable
,RedshiftIAMParametersProperty
,Dict
[str
,Any
],None
]) – An optional parameter that uses IAM authentication to grant Amazon QuickSight access to your cluster. This parameter can be used instead of DataSourceCredentials .identity_center_configuration (
Union
[IResolvable
,IdentityCenterConfigurationProperty
,Dict
[str
,Any
],None
]) – An optional parameter that configures IAM Identity Center authentication to grant Amazon QuickSight access to your cluster. This parameter can only be specified if your Amazon QuickSight account is configured with IAM Identity Center.port (
Union
[int
,float
,None
]) – Port. This field can be blank if theClusterId
is provided. Default: - 0
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight redshift_parameters_property = quicksight.CfnDataSource.RedshiftParametersProperty( database="database", # the properties below are optional cluster_id="clusterId", host="host", iam_parameters=quicksight.CfnDataSource.RedshiftIAMParametersProperty( role_arn="roleArn", # the properties below are optional auto_create_database_user=False, database_groups=["databaseGroups"], database_user="databaseUser" ), identity_center_configuration=quicksight.CfnDataSource.IdentityCenterConfigurationProperty( enable_identity_propagation=False ), port=123 )
Attributes
- cluster_id
Cluster ID.
This field can be blank if the
Host
andPort
are provided.
- database
Database.
- host
Host.
This field can be blank if
ClusterId
is provided.
- iam_parameters
An optional parameter that uses IAM authentication to grant Amazon QuickSight access to your cluster.
This parameter can be used instead of DataSourceCredentials .
- identity_center_configuration
An optional parameter that configures IAM Identity Center authentication to grant Amazon QuickSight access to your cluster.
This parameter can only be specified if your Amazon QuickSight account is configured with IAM Identity Center.
- port
Port.
This field can be blank if the
ClusterId
is provided.
ResourcePermissionProperty
- class CfnDataSource.ResourcePermissionProperty(*, actions, principal, resource=None)
Bases:
object
Permission for the resource.
- Parameters:
actions (
Sequence
[str
]) – The IAM action to grant or revoke permissions on.principal (
str
) – The Amazon Resource Name (ARN) of the principal. This can be one of the following:. - The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.) - The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.) - The ARN of an AWS account root: This is an IAM ARN rather than a Amazon QuickSight ARN. Use this option only to share resources (templates) across AWS accounts . (This is less common.)resource (
Optional
[str
]) –
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight resource_permission_property = quicksight.CfnDataSource.ResourcePermissionProperty( actions=["actions"], principal="principal", # the properties below are optional resource="resource" )
Attributes
- actions
The IAM action to grant or revoke permissions on.
- principal
.
The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)
The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)
The ARN of an AWS account root: This is an IAM ARN rather than a Amazon QuickSight ARN. Use this option only to share resources (templates) across AWS accounts . (This is less common.)
- See:
- Type:
The Amazon Resource Name (ARN) of the principal. This can be one of the following
S3ParametersProperty
- class CfnDataSource.S3ParametersProperty(*, manifest_file_location, role_arn=None)
Bases:
object
The parameters for S3.
- Parameters:
manifest_file_location (
Union
[IResolvable
,ManifestFileLocationProperty
,Dict
[str
,Any
]]) – Location of the Amazon S3 manifest file. This is NULL if the manifest file was uploaded into Amazon QuickSight.role_arn (
Optional
[str
]) – Use theRoleArn
structure to override an account-wide role for a specific S3 data source. For example, say an account administrator has turned off all S3 access with an account-wide role. The administrator can then useRoleArn
to bypass the account-wide role and allow S3 access for the single S3 data source that is specified in the structure, even if the account-wide role forbidding S3 access is still active.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight s3_parameters_property = quicksight.CfnDataSource.S3ParametersProperty( manifest_file_location=quicksight.CfnDataSource.ManifestFileLocationProperty( bucket="bucket", key="key" ), # the properties below are optional role_arn="roleArn" )
Attributes
- manifest_file_location
Location of the Amazon S3 manifest file.
This is NULL if the manifest file was uploaded into Amazon QuickSight.
- role_arn
Use the
RoleArn
structure to override an account-wide role for a specific S3 data source.For example, say an account administrator has turned off all S3 access with an account-wide role. The administrator can then use
RoleArn
to bypass the account-wide role and allow S3 access for the single S3 data source that is specified in the structure, even if the account-wide role forbidding S3 access is still active.
SnowflakeParametersProperty
- class CfnDataSource.SnowflakeParametersProperty(*, database, host, warehouse, authentication_type=None, database_access_control_role=None, o_auth_parameters=None)
Bases:
object
The parameters for Snowflake.
- Parameters:
database (
str
) – Database.host (
str
) – Host.warehouse (
str
) – Warehouse.authentication_type (
Optional
[str
]) – The authentication type that you want to use for your connection. This parameter accepts OAuth and non-OAuth authentication types.database_access_control_role (
Optional
[str
]) – The database access control role.o_auth_parameters (
Union
[IResolvable
,OAuthParametersProperty
,Dict
[str
,Any
],None
]) – An object that contains information needed to create a data source connection between an Amazon QuickSight account and Snowflake.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight snowflake_parameters_property = quicksight.CfnDataSource.SnowflakeParametersProperty( database="database", host="host", warehouse="warehouse", # the properties below are optional authentication_type="authenticationType", database_access_control_role="databaseAccessControlRole", o_auth_parameters=quicksight.CfnDataSource.OAuthParametersProperty( token_provider_url="tokenProviderUrl", # the properties below are optional identity_provider_resource_uri="identityProviderResourceUri", identity_provider_vpc_connection_properties=quicksight.CfnDataSource.VpcConnectionPropertiesProperty( vpc_connection_arn="vpcConnectionArn" ), o_auth_scope="oAuthScope" ) )
Attributes
- authentication_type
The authentication type that you want to use for your connection.
This parameter accepts OAuth and non-OAuth authentication types.
- database
Database.
- database_access_control_role
The database access control role.
- host
Host.
- o_auth_parameters
An object that contains information needed to create a data source connection between an Amazon QuickSight account and Snowflake.
SparkParametersProperty
- class CfnDataSource.SparkParametersProperty(*, host, port)
Bases:
object
The parameters for Spark.
- Parameters:
host (
str
) – Host.port (
Union
[int
,float
]) – Port. Default: - 0
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight spark_parameters_property = quicksight.CfnDataSource.SparkParametersProperty( host="host", port=123 )
Attributes
- host
Host.
SqlServerParametersProperty
- class CfnDataSource.SqlServerParametersProperty(*, database, host, port)
Bases:
object
The parameters for SQL Server.
- Parameters:
database (
str
) – Database.host (
str
) – Host.port (
Union
[int
,float
]) – Port. Default: - 0
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight sql_server_parameters_property = quicksight.CfnDataSource.SqlServerParametersProperty( database="database", host="host", port=123 )
Attributes
- database
Database.
- host
Host.
SslPropertiesProperty
- class CfnDataSource.SslPropertiesProperty(*, disable_ssl=None)
Bases:
object
Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying data source.
- Parameters:
disable_ssl (
Union
[bool
,IResolvable
,None
]) – A Boolean option to control whether SSL should be disabled. Default: - false- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight ssl_properties_property = quicksight.CfnDataSource.SslPropertiesProperty( disable_ssl=False )
Attributes
- disable_ssl
A Boolean option to control whether SSL should be disabled.
StarburstParametersProperty
- class CfnDataSource.StarburstParametersProperty(*, catalog, host, port, authentication_type=None, database_access_control_role=None, o_auth_parameters=None, product_type=None)
Bases:
object
The parameters that are required to connect to a Starburst data source.
- Parameters:
catalog (
str
) – The catalog name for the Starburst data source.host (
str
) – The host name of the Starburst data source.port (
Union
[int
,float
]) – The port for the Starburst data source. Default: - 0authentication_type (
Optional
[str
]) – The authentication type that you want to use for your connection. This parameter accepts OAuth and non-OAuth authentication types.database_access_control_role (
Optional
[str
]) – The database access control role.o_auth_parameters (
Union
[IResolvable
,OAuthParametersProperty
,Dict
[str
,Any
],None
]) – An object that contains information needed to create a data source connection between an Amazon QuickSight account and Starburst.product_type (
Optional
[str
]) – The product type for the Starburst data source.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight starburst_parameters_property = quicksight.CfnDataSource.StarburstParametersProperty( catalog="catalog", host="host", port=123, # the properties below are optional authentication_type="authenticationType", database_access_control_role="databaseAccessControlRole", o_auth_parameters=quicksight.CfnDataSource.OAuthParametersProperty( token_provider_url="tokenProviderUrl", # the properties below are optional identity_provider_resource_uri="identityProviderResourceUri", identity_provider_vpc_connection_properties=quicksight.CfnDataSource.VpcConnectionPropertiesProperty( vpc_connection_arn="vpcConnectionArn" ), o_auth_scope="oAuthScope" ), product_type="productType" )
Attributes
- authentication_type
The authentication type that you want to use for your connection.
This parameter accepts OAuth and non-OAuth authentication types.
- catalog
The catalog name for the Starburst data source.
- database_access_control_role
The database access control role.
- host
The host name of the Starburst data source.
- o_auth_parameters
An object that contains information needed to create a data source connection between an Amazon QuickSight account and Starburst.
- port
The port for the Starburst data source.
- product_type
The product type for the Starburst data source.
TeradataParametersProperty
- class CfnDataSource.TeradataParametersProperty(*, database, host, port)
Bases:
object
The parameters for Teradata.
- Parameters:
database (
str
) – Database.host (
str
) – Host.port (
Union
[int
,float
]) – Port. Default: - 0
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight teradata_parameters_property = quicksight.CfnDataSource.TeradataParametersProperty( database="database", host="host", port=123 )
Attributes
- database
Database.
- host
Host.
TrinoParametersProperty
- class CfnDataSource.TrinoParametersProperty(*, catalog, host, port)
Bases:
object
The parameters that are required to connect to a Trino data source.
- Parameters:
catalog (
str
) – The catalog name for the Trino data source.host (
str
) – The host name of the Trino data source.port (
Union
[int
,float
]) – The port for the Trino data source. Default: - 0
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight trino_parameters_property = quicksight.CfnDataSource.TrinoParametersProperty( catalog="catalog", host="host", port=123 )
Attributes
- catalog
The catalog name for the Trino data source.
- host
The host name of the Trino data source.
- port
The port for the Trino data source.
VpcConnectionPropertiesProperty
- class CfnDataSource.VpcConnectionPropertiesProperty(*, vpc_connection_arn)
Bases:
object
VPC connection properties.
- Parameters:
vpc_connection_arn (
str
) – The Amazon Resource Name (ARN) for the VPC connection.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_quicksight as quicksight vpc_connection_properties_property = quicksight.CfnDataSource.VpcConnectionPropertiesProperty( vpc_connection_arn="vpcConnectionArn" )
Attributes
- vpc_connection_arn
The Amazon Resource Name (ARN) for the VPC connection.