Quick Sight datasource error

0

QSDataSource: Type: AWS::QuickSight::DataSource Properties: AwsAccountId: !Ref 'AWS::AccountId' DataSourceId: '????' Name: '????' SslProperties: DisableSsl: false Type: ATHENA

Hello,

I am trying to create datasource in quicksight as Athena resource type, but not able to understand what to mention at 'DataSourceId' and 'Name'.

If anyone can provide Sample/Example template would be helpful.

질문됨 2년 전356회 조회
1개 답변
0

"DataSourceId" is used for identifying the data source within your AWS account so it should be unique. See resource-id described in Amazon Resource Names (ARNs) documentation for the relevant concept.

"Name" refers to the display name of the data source that can be any string.

Below is an example of CloudFormation template creating the QuickSight data source:

---
AWSTemplateFormatVersion: '2010-09-09'
Description: 'Creating QuickSight data source'

Resources:
  QuickSightDataSource:
    Type: AWS::QuickSight::DataSource
    Properties:
      AwsAccountId: !Ref AWS::AccountId
      Name: Testing Data Source
      Type: ATHENA
      DataSourceId: testing-data-source
      DataSourceParameters:
        AthenaParameters:
          Workgroup: primary
      Permissions:
      - Actions:
          - quicksight:DescribeDataSource
          - quicksight:DescribeDataSourcePermissions
          - quicksight:PassDataSource
        Principal: !Sub
        - 'arn:aws:quicksight:us-east-1:${Account}:user/default/your-user-name'
        - Account: !Ref AWS::AccountId
AWS
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠