You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"aws_cognito_user_pool_client" {
source="./modules/aws/r/aws_cognito_user_pool_client"# access_token_validity - (optional) is a type of numberaccess_token_validity=null# allowed_oauth_flows - (optional) is a type of set of stringallowed_oauth_flows=[]
# allowed_oauth_flows_user_pool_client - (optional) is a type of boolallowed_oauth_flows_user_pool_client=null# allowed_oauth_scopes - (optional) is a type of set of stringallowed_oauth_scopes=[]
# callback_urls - (optional) is a type of set of stringcallback_urls=[]
# default_redirect_uri - (optional) is a type of stringdefault_redirect_uri=null# explicit_auth_flows - (optional) is a type of set of stringexplicit_auth_flows=[]
# generate_secret - (optional) is a type of boolgenerate_secret=null# id_token_validity - (optional) is a type of numberid_token_validity=null# logout_urls - (optional) is a type of set of stringlogout_urls=[]
# name - (required) is a type of stringname=null# prevent_user_existence_errors - (optional) is a type of stringprevent_user_existence_errors=null# read_attributes - (optional) is a type of set of stringread_attributes=[]
# refresh_token_validity - (optional) is a type of numberrefresh_token_validity=null# supported_identity_providers - (optional) is a type of set of stringsupported_identity_providers=[]
# user_pool_id - (required) is a type of stringuser_pool_id=null# write_attributes - (optional) is a type of set of stringwrite_attributes=[]
analytics_configuration=[{
application_arn =null
application_id =null
external_id =null
role_arn =null
user_data_shared =null
}]
token_validity_units=[{
access_token =null
id_token =null
refresh_token =null
}]
}
resource"aws_cognito_user_pool_client""this" {
# access_token_validity - (optional) is a type of numberaccess_token_validity=var.access_token_validity# allowed_oauth_flows - (optional) is a type of set of stringallowed_oauth_flows=var.allowed_oauth_flows# allowed_oauth_flows_user_pool_client - (optional) is a type of boolallowed_oauth_flows_user_pool_client=var.allowed_oauth_flows_user_pool_client# allowed_oauth_scopes - (optional) is a type of set of stringallowed_oauth_scopes=var.allowed_oauth_scopes# callback_urls - (optional) is a type of set of stringcallback_urls=var.callback_urls# default_redirect_uri - (optional) is a type of stringdefault_redirect_uri=var.default_redirect_uri# explicit_auth_flows - (optional) is a type of set of stringexplicit_auth_flows=var.explicit_auth_flows# generate_secret - (optional) is a type of boolgenerate_secret=var.generate_secret# id_token_validity - (optional) is a type of numberid_token_validity=var.id_token_validity# logout_urls - (optional) is a type of set of stringlogout_urls=var.logout_urls# name - (required) is a type of stringname=var.name# prevent_user_existence_errors - (optional) is a type of stringprevent_user_existence_errors=var.prevent_user_existence_errors# read_attributes - (optional) is a type of set of stringread_attributes=var.read_attributes# refresh_token_validity - (optional) is a type of numberrefresh_token_validity=var.refresh_token_validity# supported_identity_providers - (optional) is a type of set of stringsupported_identity_providers=var.supported_identity_providers# user_pool_id - (required) is a type of stringuser_pool_id=var.user_pool_id# write_attributes - (optional) is a type of set of stringwrite_attributes=var.write_attributesdynamic"analytics_configuration" {
for_each=var.analytics_configurationcontent {
# application_arn - (optional) is a type of stringapplication_arn=analytics_configuration.value["application_arn"]
# application_id - (optional) is a type of stringapplication_id=analytics_configuration.value["application_id"]
# external_id - (optional) is a type of stringexternal_id=analytics_configuration.value["external_id"]
# role_arn - (optional) is a type of stringrole_arn=analytics_configuration.value["role_arn"]
# user_data_shared - (optional) is a type of booluser_data_shared=analytics_configuration.value["user_data_shared"]
}
}
dynamic"token_validity_units" {
for_each=var.token_validity_unitscontent {
# access_token - (optional) is a type of stringaccess_token=token_validity_units.value["access_token"]
# id_token - (optional) is a type of stringid_token=token_validity_units.value["id_token"]
# refresh_token - (optional) is a type of stringrefresh_token=token_validity_units.value["refresh_token"]
}
}
}