Skip to content

aws.chatbot.describe_slack_user_identities

Example SQL Queries

SELECT * FROM
aws.chatbot.describe_slack_user_identities;

Description

Lists all Slack user identities with a mapped role.

Table Definition

Column NameColumn Data Type
chat_configuration_arn Input Column

The ARN of the SlackChannelConfiguration associated with the user identities to describe.

VARCHAR
max_results Input Column

The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

BIGINT
next_token Input Column

An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

slack_user_identities

A list of Slack User Identities.

STRUCT(
"iam_role_arn" VARCHAR,
"chat_configuration_arn" VARCHAR,
"slack_team_id" VARCHAR,
"slack_user_id" VARCHAR,
"aws_user_identity" VARCHAR
)[]
Show child fields
slack_user_identities[]
Show child fields
slack_user_identities[].aws_user_identity

The AWS user identity ARN used to associate a Slack User Identity with an IAM Role.

slack_user_identities[].chat_configuration_arn

The ARN of the SlackChannelConfiguration associated with the user identity.

slack_user_identities[].iam_role_arn

The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS Chatbot.

slack_user_identities[].slack_team_id

The ID of the Slack workspace authorized with AWS Chatbot.

slack_user_identities[].slack_user_id

The ID of the user in Slack.