Grant - IAM Identity Center
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Grant

The Grant union represents the set of possible configuration options for the selected grant type. Exactly one member of the union must be specified, and must match the grant type selected.

Contents

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

AuthorizationCode

Configuration options for the authorization_code grant type.

Type: AuthorizationCodeGrant object

Required: No

JwtBearer

Configuration options for the urn:ietf:params:oauth:grant-type:jwt-bearer grant type.

Type: JwtBearerGrant object

Required: No

RefreshToken

Configuration options for the refresh_token grant type.

Type: RefreshTokenGrant object

Required: No

TokenExchange

Configuration options for the urn:ietf:params:oauth:grant-type:token-exchange grant type.

Type: TokenExchangeGrant object

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: