@pulumi/awsx > cognito
accountTakeOverRisk(change?: CognitoMetricChange): Metric
Requests where Amazon Cognito detected account take-over risk.
compromisedCredentialsRisk(change?: CognitoMetricChange): Metric
Requests where Amazon Cognito detected compromised credentials.
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.
noRisk(change?: CognitoMetricChange): Metric
Requests where Amazon Cognito did not identify any risk.
overrideBlock(change?: CognitoMetricChange): Metric
Requests that Amazon Cognito blocked because of the configuration provided by the developer.
type CognitoMetricName = “CompromisedCredentialsRisk” | “AccountTakeOverRisk” | “OverrideBlock” | “Risk” | “NoRisk”;