View a markdown version of this page

SageMaker 浏览器 IDC - Amazon Athena
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

SageMaker 浏览器 IDC

通过 SageMaker Unified Studio 连接到 Amazon Athena 的身份验证插件。该插件使用具有 PKCE 的 OAuth 2.0 授权码流,打开浏览器以用于 Amazon Identity and Access Management 身份中心登录,然后将生成的令牌交换为限定在 SageMaker Unified Studio 域和 Athena 项目环境范围内的临时凭证。

身份验证类型

连接字符串名称 参数类型 默认值 连接字符串示例
AuthenticationType 必填 none AuthenticationType=SageMakerBrowserIdc;

SageMaker 域 ID

要使用的 SageMaker 域的标识符。

连接字符串名称 参数类型 默认值 连接字符串示例
SageMakerDomainId 必填 none SageMakerDomainId=d-abcdef1234;

SageMaker 项目 ID

要使用的 SageMaker 项目的标识符。

连接字符串名称 参数类型 默认值 连接字符串示例
SageMakerProjectId 必填 none SageMakerProjectId=p-abcdef1234;

SageMaker 域区域

预置您的 SageMaker 域的 Amazon Web Services 区域。

连接字符串名称 参数类型 默认值 连接字符串示例
SageMakerDomainRegion 必填 none SageMakerDomainRegion=us-east-1;

SSO OIDC 启动 URL

SageMaker 域使用的 Amazon Identity and Access Management Identity Center 实例的发布者 URL。

连接字符串名称 参数类型 默认值 连接字符串示例
sso_oidc_start_url 必填 none sso_oidc_start_url=https://d-1234567890.awsapps.com/start;

SSO OIDC 区域

Amazon Identity and Access Management Identity Center 实例所预配置的 Amazon Web Services 区域。

连接字符串名称 参数类型 默认值 连接字符串示例
sso_oidc_region 必填 none sso_oidc_region=us-east-1;

SSO OIDC 缓存

启用后,允许将相同的 Amazon Identity and Access Management Identity Center 访问令牌缓存到磁盘,并在多个驱动程序连接之间重复使用。这可以防止创建多个驱动程序连接的 SQL 工具启动多个浏览器窗口。

连接字符串名称 参数类型 默认值 连接字符串示例
sso_oidc_cache 可选 false sso_oidc_cache=true;