Module cognito

@pulumi/awsx > cognito

module metrics

function accountTakeOverRisk

accountTakeOverRisk(change?: CognitoMetricChange): Metric

Requests where Amazon Cognito detected account take-over risk.

function compromisedCredentialsRisk

compromisedCredentialsRisk(change?: CognitoMetricChange): Metric

Requests where Amazon Cognito detected compromised credentials.

function metric

metric(metricName: CognitoMetricName, change: CognitoMetricChange): Metric

Creates an AWS/Cognito metric with the requested [metricName]. See https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-viewing-advanced-security-metrics.html for list of all metric-names.

Note, individual metrics can easily be obtained without supplying the name using the other [metricXXX] functions.

Amazon Cognito publishes metrics for advanced security features to your account in Amazon CloudWatch. The advanced security metrics are grouped together by risk level and also by request level.

function noRisk

noRisk(change?: CognitoMetricChange): Metric

Requests where Amazon Cognito did not identify any risk.

function overrideBlock

overrideBlock(change?: CognitoMetricChange): Metric

Requests that Amazon Cognito blocked because of the configuration provided by the developer.

function risk

risk(change?: CognitoMetricChange): Metric

Requests that Amazon Cognito marked as risky.

interface CognitoMetricChange

type CognitoMetricName

type CognitoMetricName = “CompromisedCredentialsRisk” | “AccountTakeOverRisk” | “OverrideBlock” | “Risk” | “NoRisk”;