Use this data source to get the signing certificate for a Cognito IdP user pool.
data "aws_cognito_user_pool_signing_certificate" "sc" {
user_pool_id = aws_cognito_user_pool.my_pool.id
}
user_pool_id
- (Required) Cognito user pool ID.This data source exports the following attributes in addition to the arguments above:
certificate
- Certificate string