AthenaParametersProperty Struct
Parameters for Amazon Athena.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const athenaParametersProperty: quicksight.CfnDataSource.AthenaParametersProperty = {
consumerAccountRoleArn: 'consumerAccountRoleArn',
identityCenterConfiguration: {
enableIdentityPropagation: false,
},
roleArn: 'roleArn',
workGroup: 'workGroup',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_quicksight as quicksight
athena_parameters_property = quicksight.CfnDataSource.AthenaParametersProperty(
consumer_account_role_arn="consumerAccountRoleArn",
identity_center_configuration=quicksight.CfnDataSource.IdentityCenterConfigurationProperty(
enable_identity_propagation=False
),
role_arn="roleArn",
work_group="workGroup"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;
AthenaParametersProperty athenaParametersProperty = AthenaParametersProperty.builder()
.consumerAccountRoleArn("consumerAccountRoleArn")
.identityCenterConfiguration(IdentityCenterConfigurationProperty.builder()
.enableIdentityPropagation(false)
.build())
.roleArn("roleArn")
.workGroup("workGroup")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.QuickSight;
var athenaParametersProperty = new AthenaParametersProperty {
ConsumerAccountRoleArn = "consumerAccountRoleArn",
IdentityCenterConfiguration = new IdentityCenterConfigurationProperty {
EnableIdentityPropagation = false
},
RoleArn = "roleArn",
WorkGroup = "workGroup"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
athenaParametersProperty := &AthenaParametersProperty{
ConsumerAccountRoleArn: jsii.String("consumerAccountRoleArn"),
IdentityCenterConfiguration: &IdentityCenterConfigurationProperty{
EnableIdentityPropagation: jsii.Boolean(false),
},
RoleArn: jsii.String("roleArn"),
WorkGroup: jsii.String("workGroup"),
}
Properties
consumerAccountRoleArnoptionalstringconsumer_account_role_arnoptionalstrconsumerAccountRoleArnoptionalStringConsumerAccountRoleArnoptionalstringConsumerAccountRoleArnoptional*string #identityCenterConfigurationoptionalIResolvable | CfnDataSource.identity_center_configurationoptionaltyping.Union[IResolvable, IdentityCenterConfigurationProperty]identityCenterConfigurationoptionalIResolvableIdentityCenterConfigurationoptionalIResolvableIdentityCenterConfigurationoptionalinterface{} #An optional parameter that configures IAM Identity Center authentication to grant Quick Sight access to your workgroup.
This parameter can only be specified if your Quick Sight account is configured with IAM Identity Center.
roleArnoptionalstringrole_arnoptionalstrroleArnoptionalStringRoleArnoptionalstringRoleArnoptional*string #Use the `RoleArn` structure to override an account-wide role for a specific Athena data source.
notes
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.
workGroupoptionalstringwork_groupoptionalstrworkGroupoptionalStringWorkGroupoptionalstringWorkGroupoptional*string #The workgroup that Amazon Athena uses.