Interface CfnDataSource.AthenaParametersProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSource.AthenaParametersProperty.Jsii$Proxy
- Enclosing class:
CfnDataSource
@Stability(Stable)
public static interface CfnDataSource.AthenaParametersProperty
extends software.amazon.jsii.JsiiSerializable
Parameters for Amazon Athena.
Example:
// 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()
.identityCenterConfiguration(IdentityCenterConfigurationProperty.builder()
.enableIdentityPropagation(false)
.build())
.roleArn("roleArn")
.workGroup("workGroup")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataSource.AthenaParametersPropertystatic final classAn implementation forCfnDataSource.AthenaParametersProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectAn optional parameter that configures IAM Identity Center authentication to grant Quick Sight access to your workgroup.default StringUse theRoleArnstructure to override an account-wide role for a specific Athena data source.default StringThe workgroup that Amazon Athena uses.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIdentityCenterConfiguration
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.
Returns union: either
IResolvableorCfnDataSource.IdentityCenterConfigurationProperty- See Also:
-
getRoleArn
Use theRoleArnstructure 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
RoleArnto 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.- See Also:
-
getWorkGroup
The workgroup that Amazon Athena uses.- See Also:
-
builder
-