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()
         .roleArn("roleArn")
         .workGroup("workGroup")
         .build();
 
  • Method Details

    • getRoleArn

      @Stability(Stable) @Nullable default String getRoleArn()
      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.

    • getWorkGroup

      @Stability(Stable) @Nullable default String getWorkGroup()
      The workgroup that Amazon Athena uses.
    • builder

      @Stability(Stable) static CfnDataSource.AthenaParametersProperty.Builder builder()
      Returns:
      a CfnDataSource.AthenaParametersProperty.Builder of CfnDataSource.AthenaParametersProperty