aws.cognito.RiskConfiguration
Explore with Pulumi AI
Provides a Cognito Risk Configuration resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.cognito.RiskConfiguration("example", {
userPoolId: exampleAwsCognitoUserPool.id,
riskExceptionConfiguration: {
blockedIpRangeLists: ["10.10.10.10/32"],
},
});
import pulumi
import pulumi_aws as aws
example = aws.cognito.RiskConfiguration("example",
user_pool_id=example_aws_cognito_user_pool["id"],
risk_exception_configuration={
"blocked_ip_range_lists": ["10.10.10.10/32"],
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cognito"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cognito.NewRiskConfiguration(ctx, "example", &cognito.RiskConfigurationArgs{
UserPoolId: pulumi.Any(exampleAwsCognitoUserPool.Id),
RiskExceptionConfiguration: &cognito.RiskConfigurationRiskExceptionConfigurationArgs{
BlockedIpRangeLists: pulumi.StringArray{
pulumi.String("10.10.10.10/32"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Cognito.RiskConfiguration("example", new()
{
UserPoolId = exampleAwsCognitoUserPool.Id,
RiskExceptionConfiguration = new Aws.Cognito.Inputs.RiskConfigurationRiskExceptionConfigurationArgs
{
BlockedIpRangeLists = new[]
{
"10.10.10.10/32",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.cognito.RiskConfiguration;
import com.pulumi.aws.cognito.RiskConfigurationArgs;
import com.pulumi.aws.cognito.inputs.RiskConfigurationRiskExceptionConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new RiskConfiguration("example", RiskConfigurationArgs.builder()
.userPoolId(exampleAwsCognitoUserPool.id())
.riskExceptionConfiguration(RiskConfigurationRiskExceptionConfigurationArgs.builder()
.blockedIpRangeLists("10.10.10.10/32")
.build())
.build());
}
}
resources:
example:
type: aws:cognito:RiskConfiguration
properties:
userPoolId: ${exampleAwsCognitoUserPool.id}
riskExceptionConfiguration:
blockedIpRangeLists:
- 10.10.10.10/32
Create RiskConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RiskConfiguration(name: string, args: RiskConfigurationArgs, opts?: CustomResourceOptions);
@overload
def RiskConfiguration(resource_name: str,
args: RiskConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RiskConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
user_pool_id: Optional[str] = None,
account_takeover_risk_configuration: Optional[RiskConfigurationAccountTakeoverRiskConfigurationArgs] = None,
client_id: Optional[str] = None,
compromised_credentials_risk_configuration: Optional[RiskConfigurationCompromisedCredentialsRiskConfigurationArgs] = None,
risk_exception_configuration: Optional[RiskConfigurationRiskExceptionConfigurationArgs] = None)
func NewRiskConfiguration(ctx *Context, name string, args RiskConfigurationArgs, opts ...ResourceOption) (*RiskConfiguration, error)
public RiskConfiguration(string name, RiskConfigurationArgs args, CustomResourceOptions? opts = null)
public RiskConfiguration(String name, RiskConfigurationArgs args)
public RiskConfiguration(String name, RiskConfigurationArgs args, CustomResourceOptions options)
type: aws:cognito:RiskConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RiskConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RiskConfigurationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RiskConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RiskConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RiskConfigurationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var riskConfigurationResource = new Aws.Cognito.RiskConfiguration("riskConfigurationResource", new()
{
UserPoolId = "string",
AccountTakeoverRiskConfiguration = new Aws.Cognito.Inputs.RiskConfigurationAccountTakeoverRiskConfigurationArgs
{
Actions = new Aws.Cognito.Inputs.RiskConfigurationAccountTakeoverRiskConfigurationActionsArgs
{
HighAction = new Aws.Cognito.Inputs.RiskConfigurationAccountTakeoverRiskConfigurationActionsHighActionArgs
{
EventAction = "string",
Notify = false,
},
LowAction = new Aws.Cognito.Inputs.RiskConfigurationAccountTakeoverRiskConfigurationActionsLowActionArgs
{
EventAction = "string",
Notify = false,
},
MediumAction = new Aws.Cognito.Inputs.RiskConfigurationAccountTakeoverRiskConfigurationActionsMediumActionArgs
{
EventAction = "string",
Notify = false,
},
},
NotifyConfiguration = new Aws.Cognito.Inputs.RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationArgs
{
SourceArn = "string",
BlockEmail = new Aws.Cognito.Inputs.RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs
{
HtmlBody = "string",
Subject = "string",
TextBody = "string",
},
From = "string",
MfaEmail = new Aws.Cognito.Inputs.RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationMfaEmailArgs
{
HtmlBody = "string",
Subject = "string",
TextBody = "string",
},
NoActionEmail = new Aws.Cognito.Inputs.RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationNoActionEmailArgs
{
HtmlBody = "string",
Subject = "string",
TextBody = "string",
},
ReplyTo = "string",
},
},
ClientId = "string",
CompromisedCredentialsRiskConfiguration = new Aws.Cognito.Inputs.RiskConfigurationCompromisedCredentialsRiskConfigurationArgs
{
Actions = new Aws.Cognito.Inputs.RiskConfigurationCompromisedCredentialsRiskConfigurationActionsArgs
{
EventAction = "string",
},
EventFilters = new[]
{
"string",
},
},
RiskExceptionConfiguration = new Aws.Cognito.Inputs.RiskConfigurationRiskExceptionConfigurationArgs
{
BlockedIpRangeLists = new[]
{
"string",
},
SkippedIpRangeLists = new[]
{
"string",
},
},
});
example, err := cognito.NewRiskConfiguration(ctx, "riskConfigurationResource", &cognito.RiskConfigurationArgs{
UserPoolId: pulumi.String("string"),
AccountTakeoverRiskConfiguration: &cognito.RiskConfigurationAccountTakeoverRiskConfigurationArgs{
Actions: &cognito.RiskConfigurationAccountTakeoverRiskConfigurationActionsArgs{
HighAction: &cognito.RiskConfigurationAccountTakeoverRiskConfigurationActionsHighActionArgs{
EventAction: pulumi.String("string"),
Notify: pulumi.Bool(false),
},
LowAction: &cognito.RiskConfigurationAccountTakeoverRiskConfigurationActionsLowActionArgs{
EventAction: pulumi.String("string"),
Notify: pulumi.Bool(false),
},
MediumAction: &cognito.RiskConfigurationAccountTakeoverRiskConfigurationActionsMediumActionArgs{
EventAction: pulumi.String("string"),
Notify: pulumi.Bool(false),
},
},
NotifyConfiguration: &cognito.RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationArgs{
SourceArn: pulumi.String("string"),
BlockEmail: &cognito.RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs{
HtmlBody: pulumi.String("string"),
Subject: pulumi.String("string"),
TextBody: pulumi.String("string"),
},
From: pulumi.String("string"),
MfaEmail: &cognito.RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationMfaEmailArgs{
HtmlBody: pulumi.String("string"),
Subject: pulumi.String("string"),
TextBody: pulumi.String("string"),
},
NoActionEmail: &cognito.RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationNoActionEmailArgs{
HtmlBody: pulumi.String("string"),
Subject: pulumi.String("string"),
TextBody: pulumi.String("string"),
},
ReplyTo: pulumi.String("string"),
},
},
ClientId: pulumi.String("string"),
CompromisedCredentialsRiskConfiguration: &cognito.RiskConfigurationCompromisedCredentialsRiskConfigurationArgs{
Actions: &cognito.RiskConfigurationCompromisedCredentialsRiskConfigurationActionsArgs{
EventAction: pulumi.String("string"),
},
EventFilters: pulumi.StringArray{
pulumi.String("string"),
},
},
RiskExceptionConfiguration: &cognito.RiskConfigurationRiskExceptionConfigurationArgs{
BlockedIpRangeLists: pulumi.StringArray{
pulumi.String("string"),
},
SkippedIpRangeLists: pulumi.StringArray{
pulumi.String("string"),
},
},
})
var riskConfigurationResource = new RiskConfiguration("riskConfigurationResource", RiskConfigurationArgs.builder()
.userPoolId("string")
.accountTakeoverRiskConfiguration(RiskConfigurationAccountTakeoverRiskConfigurationArgs.builder()
.actions(RiskConfigurationAccountTakeoverRiskConfigurationActionsArgs.builder()
.highAction(RiskConfigurationAccountTakeoverRiskConfigurationActionsHighActionArgs.builder()
.eventAction("string")
.notify(false)
.build())
.lowAction(RiskConfigurationAccountTakeoverRiskConfigurationActionsLowActionArgs.builder()
.eventAction("string")
.notify(false)
.build())
.mediumAction(RiskConfigurationAccountTakeoverRiskConfigurationActionsMediumActionArgs.builder()
.eventAction("string")
.notify(false)
.build())
.build())
.notifyConfiguration(RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationArgs.builder()
.sourceArn("string")
.blockEmail(RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs.builder()
.htmlBody("string")
.subject("string")
.textBody("string")
.build())
.from("string")
.mfaEmail(RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationMfaEmailArgs.builder()
.htmlBody("string")
.subject("string")
.textBody("string")
.build())
.noActionEmail(RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationNoActionEmailArgs.builder()
.htmlBody("string")
.subject("string")
.textBody("string")
.build())
.replyTo("string")
.build())
.build())
.clientId("string")
.compromisedCredentialsRiskConfiguration(RiskConfigurationCompromisedCredentialsRiskConfigurationArgs.builder()
.actions(RiskConfigurationCompromisedCredentialsRiskConfigurationActionsArgs.builder()
.eventAction("string")
.build())
.eventFilters("string")
.build())
.riskExceptionConfiguration(RiskConfigurationRiskExceptionConfigurationArgs.builder()
.blockedIpRangeLists("string")
.skippedIpRangeLists("string")
.build())
.build());
risk_configuration_resource = aws.cognito.RiskConfiguration("riskConfigurationResource",
user_pool_id="string",
account_takeover_risk_configuration={
"actions": {
"high_action": {
"event_action": "string",
"notify": False,
},
"low_action": {
"event_action": "string",
"notify": False,
},
"medium_action": {
"event_action": "string",
"notify": False,
},
},
"notify_configuration": {
"source_arn": "string",
"block_email": {
"html_body": "string",
"subject": "string",
"text_body": "string",
},
"from_": "string",
"mfa_email": {
"html_body": "string",
"subject": "string",
"text_body": "string",
},
"no_action_email": {
"html_body": "string",
"subject": "string",
"text_body": "string",
},
"reply_to": "string",
},
},
client_id="string",
compromised_credentials_risk_configuration={
"actions": {
"event_action": "string",
},
"event_filters": ["string"],
},
risk_exception_configuration={
"blocked_ip_range_lists": ["string"],
"skipped_ip_range_lists": ["string"],
})
const riskConfigurationResource = new aws.cognito.RiskConfiguration("riskConfigurationResource", {
userPoolId: "string",
accountTakeoverRiskConfiguration: {
actions: {
highAction: {
eventAction: "string",
notify: false,
},
lowAction: {
eventAction: "string",
notify: false,
},
mediumAction: {
eventAction: "string",
notify: false,
},
},
notifyConfiguration: {
sourceArn: "string",
blockEmail: {
htmlBody: "string",
subject: "string",
textBody: "string",
},
from: "string",
mfaEmail: {
htmlBody: "string",
subject: "string",
textBody: "string",
},
noActionEmail: {
htmlBody: "string",
subject: "string",
textBody: "string",
},
replyTo: "string",
},
},
clientId: "string",
compromisedCredentialsRiskConfiguration: {
actions: {
eventAction: "string",
},
eventFilters: ["string"],
},
riskExceptionConfiguration: {
blockedIpRangeLists: ["string"],
skippedIpRangeLists: ["string"],
},
});
type: aws:cognito:RiskConfiguration
properties:
accountTakeoverRiskConfiguration:
actions:
highAction:
eventAction: string
notify: false
lowAction:
eventAction: string
notify: false
mediumAction:
eventAction: string
notify: false
notifyConfiguration:
blockEmail:
htmlBody: string
subject: string
textBody: string
from: string
mfaEmail:
htmlBody: string
subject: string
textBody: string
noActionEmail:
htmlBody: string
subject: string
textBody: string
replyTo: string
sourceArn: string
clientId: string
compromisedCredentialsRiskConfiguration:
actions:
eventAction: string
eventFilters:
- string
riskExceptionConfiguration:
blockedIpRangeLists:
- string
skippedIpRangeLists:
- string
userPoolId: string
RiskConfiguration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RiskConfiguration resource accepts the following input properties:
- User
Pool stringId - The user pool ID.
- Account
Takeover RiskRisk Configuration Configuration Account Takeover Risk Configuration - The account takeover risk configuration. See details below.
- Client
Id string - The app client ID. When the client ID is not provided, the same risk configuration is applied to all the clients in the User Pool.
- Compromised
Credentials RiskRisk Configuration Configuration Compromised Credentials Risk Configuration - The compromised credentials risk configuration. See details below.
- Risk
Exception RiskConfiguration Configuration Risk Exception Configuration - The configuration to override the risk decision. See details below.
- User
Pool stringId - The user pool ID.
- Account
Takeover RiskRisk Configuration Configuration Account Takeover Risk Configuration Args - The account takeover risk configuration. See details below.
- Client
Id string - The app client ID. When the client ID is not provided, the same risk configuration is applied to all the clients in the User Pool.
- Compromised
Credentials RiskRisk Configuration Configuration Compromised Credentials Risk Configuration Args - The compromised credentials risk configuration. See details below.
- Risk
Exception RiskConfiguration Configuration Risk Exception Configuration Args - The configuration to override the risk decision. See details below.
- user
Pool StringId - The user pool ID.
- account
Takeover RiskRisk Configuration Configuration Account Takeover Risk Configuration - The account takeover risk configuration. See details below.
- client
Id String - The app client ID. When the client ID is not provided, the same risk configuration is applied to all the clients in the User Pool.
- compromised
Credentials RiskRisk Configuration Configuration Compromised Credentials Risk Configuration - The compromised credentials risk configuration. See details below.
- risk
Exception RiskConfiguration Configuration Risk Exception Configuration - The configuration to override the risk decision. See details below.
- user
Pool stringId - The user pool ID.
- account
Takeover RiskRisk Configuration Configuration Account Takeover Risk Configuration - The account takeover risk configuration. See details below.
- client
Id string - The app client ID. When the client ID is not provided, the same risk configuration is applied to all the clients in the User Pool.
- compromised
Credentials RiskRisk Configuration Configuration Compromised Credentials Risk Configuration - The compromised credentials risk configuration. See details below.
- risk
Exception RiskConfiguration Configuration Risk Exception Configuration - The configuration to override the risk decision. See details below.
- user_
pool_ strid - The user pool ID.
- account_
takeover_ Riskrisk_ configuration Configuration Account Takeover Risk Configuration Args - The account takeover risk configuration. See details below.
- client_
id str - The app client ID. When the client ID is not provided, the same risk configuration is applied to all the clients in the User Pool.
- compromised_
credentials_ Riskrisk_ configuration Configuration Compromised Credentials Risk Configuration Args - The compromised credentials risk configuration. See details below.
- risk_
exception_ Riskconfiguration Configuration Risk Exception Configuration Args - The configuration to override the risk decision. See details below.
- user
Pool StringId - The user pool ID.
- account
Takeover Property MapRisk Configuration - The account takeover risk configuration. See details below.
- client
Id String - The app client ID. When the client ID is not provided, the same risk configuration is applied to all the clients in the User Pool.
- compromised
Credentials Property MapRisk Configuration - The compromised credentials risk configuration. See details below.
- risk
Exception Property MapConfiguration - The configuration to override the risk decision. See details below.
Outputs
All input properties are implicitly available as output properties. Additionally, the RiskConfiguration resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing RiskConfiguration Resource
Get an existing RiskConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RiskConfigurationState, opts?: CustomResourceOptions): RiskConfiguration
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_takeover_risk_configuration: Optional[RiskConfigurationAccountTakeoverRiskConfigurationArgs] = None,
client_id: Optional[str] = None,
compromised_credentials_risk_configuration: Optional[RiskConfigurationCompromisedCredentialsRiskConfigurationArgs] = None,
risk_exception_configuration: Optional[RiskConfigurationRiskExceptionConfigurationArgs] = None,
user_pool_id: Optional[str] = None) -> RiskConfiguration
func GetRiskConfiguration(ctx *Context, name string, id IDInput, state *RiskConfigurationState, opts ...ResourceOption) (*RiskConfiguration, error)
public static RiskConfiguration Get(string name, Input<string> id, RiskConfigurationState? state, CustomResourceOptions? opts = null)
public static RiskConfiguration get(String name, Output<String> id, RiskConfigurationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Takeover RiskRisk Configuration Configuration Account Takeover Risk Configuration - The account takeover risk configuration. See details below.
- Client
Id string - The app client ID. When the client ID is not provided, the same risk configuration is applied to all the clients in the User Pool.
- Compromised
Credentials RiskRisk Configuration Configuration Compromised Credentials Risk Configuration - The compromised credentials risk configuration. See details below.
- Risk
Exception RiskConfiguration Configuration Risk Exception Configuration - The configuration to override the risk decision. See details below.
- User
Pool stringId - The user pool ID.
- Account
Takeover RiskRisk Configuration Configuration Account Takeover Risk Configuration Args - The account takeover risk configuration. See details below.
- Client
Id string - The app client ID. When the client ID is not provided, the same risk configuration is applied to all the clients in the User Pool.
- Compromised
Credentials RiskRisk Configuration Configuration Compromised Credentials Risk Configuration Args - The compromised credentials risk configuration. See details below.
- Risk
Exception RiskConfiguration Configuration Risk Exception Configuration Args - The configuration to override the risk decision. See details below.
- User
Pool stringId - The user pool ID.
- account
Takeover RiskRisk Configuration Configuration Account Takeover Risk Configuration - The account takeover risk configuration. See details below.
- client
Id String - The app client ID. When the client ID is not provided, the same risk configuration is applied to all the clients in the User Pool.
- compromised
Credentials RiskRisk Configuration Configuration Compromised Credentials Risk Configuration - The compromised credentials risk configuration. See details below.
- risk
Exception RiskConfiguration Configuration Risk Exception Configuration - The configuration to override the risk decision. See details below.
- user
Pool StringId - The user pool ID.
- account
Takeover RiskRisk Configuration Configuration Account Takeover Risk Configuration - The account takeover risk configuration. See details below.
- client
Id string - The app client ID. When the client ID is not provided, the same risk configuration is applied to all the clients in the User Pool.
- compromised
Credentials RiskRisk Configuration Configuration Compromised Credentials Risk Configuration - The compromised credentials risk configuration. See details below.
- risk
Exception RiskConfiguration Configuration Risk Exception Configuration - The configuration to override the risk decision. See details below.
- user
Pool stringId - The user pool ID.
- account_
takeover_ Riskrisk_ configuration Configuration Account Takeover Risk Configuration Args - The account takeover risk configuration. See details below.
- client_
id str - The app client ID. When the client ID is not provided, the same risk configuration is applied to all the clients in the User Pool.
- compromised_
credentials_ Riskrisk_ configuration Configuration Compromised Credentials Risk Configuration Args - The compromised credentials risk configuration. See details below.
- risk_
exception_ Riskconfiguration Configuration Risk Exception Configuration Args - The configuration to override the risk decision. See details below.
- user_
pool_ strid - The user pool ID.
- account
Takeover Property MapRisk Configuration - The account takeover risk configuration. See details below.
- client
Id String - The app client ID. When the client ID is not provided, the same risk configuration is applied to all the clients in the User Pool.
- compromised
Credentials Property MapRisk Configuration - The compromised credentials risk configuration. See details below.
- risk
Exception Property MapConfiguration - The configuration to override the risk decision. See details below.
- user
Pool StringId - The user pool ID.
Supporting Types
RiskConfigurationAccountTakeoverRiskConfiguration, RiskConfigurationAccountTakeoverRiskConfigurationArgs
- Actions
Risk
Configuration Account Takeover Risk Configuration Actions - Account takeover risk configuration actions. See details below.
- Notify
Configuration RiskConfiguration Account Takeover Risk Configuration Notify Configuration - The notify configuration used to construct email notifications. See details below.
- Actions
Risk
Configuration Account Takeover Risk Configuration Actions - Account takeover risk configuration actions. See details below.
- Notify
Configuration RiskConfiguration Account Takeover Risk Configuration Notify Configuration - The notify configuration used to construct email notifications. See details below.
- actions
Risk
Configuration Account Takeover Risk Configuration Actions - Account takeover risk configuration actions. See details below.
- notify
Configuration RiskConfiguration Account Takeover Risk Configuration Notify Configuration - The notify configuration used to construct email notifications. See details below.
- actions
Risk
Configuration Account Takeover Risk Configuration Actions - Account takeover risk configuration actions. See details below.
- notify
Configuration RiskConfiguration Account Takeover Risk Configuration Notify Configuration - The notify configuration used to construct email notifications. See details below.
- actions
Risk
Configuration Account Takeover Risk Configuration Actions - Account takeover risk configuration actions. See details below.
- notify_
configuration RiskConfiguration Account Takeover Risk Configuration Notify Configuration - The notify configuration used to construct email notifications. See details below.
- actions Property Map
- Account takeover risk configuration actions. See details below.
- notify
Configuration Property Map - The notify configuration used to construct email notifications. See details below.
RiskConfigurationAccountTakeoverRiskConfigurationActions, RiskConfigurationAccountTakeoverRiskConfigurationActionsArgs
- High
Action RiskConfiguration Account Takeover Risk Configuration Actions High Action - Action to take for a high risk. See action block below.
- Low
Action RiskConfiguration Account Takeover Risk Configuration Actions Low Action - Action to take for a low risk. See action block below.
- Medium
Action RiskConfiguration Account Takeover Risk Configuration Actions Medium Action - Action to take for a medium risk. See action block below.
- High
Action RiskConfiguration Account Takeover Risk Configuration Actions High Action - Action to take for a high risk. See action block below.
- Low
Action RiskConfiguration Account Takeover Risk Configuration Actions Low Action - Action to take for a low risk. See action block below.
- Medium
Action RiskConfiguration Account Takeover Risk Configuration Actions Medium Action - Action to take for a medium risk. See action block below.
- high
Action RiskConfiguration Account Takeover Risk Configuration Actions High Action - Action to take for a high risk. See action block below.
- low
Action RiskConfiguration Account Takeover Risk Configuration Actions Low Action - Action to take for a low risk. See action block below.
- medium
Action RiskConfiguration Account Takeover Risk Configuration Actions Medium Action - Action to take for a medium risk. See action block below.
- high
Action RiskConfiguration Account Takeover Risk Configuration Actions High Action - Action to take for a high risk. See action block below.
- low
Action RiskConfiguration Account Takeover Risk Configuration Actions Low Action - Action to take for a low risk. See action block below.
- medium
Action RiskConfiguration Account Takeover Risk Configuration Actions Medium Action - Action to take for a medium risk. See action block below.
- high_
action RiskConfiguration Account Takeover Risk Configuration Actions High Action - Action to take for a high risk. See action block below.
- low_
action RiskConfiguration Account Takeover Risk Configuration Actions Low Action - Action to take for a low risk. See action block below.
- medium_
action RiskConfiguration Account Takeover Risk Configuration Actions Medium Action - Action to take for a medium risk. See action block below.
- high
Action Property Map - Action to take for a high risk. See action block below.
- low
Action Property Map - Action to take for a low risk. See action block below.
- medium
Action Property Map - Action to take for a medium risk. See action block below.
RiskConfigurationAccountTakeoverRiskConfigurationActionsHighAction, RiskConfigurationAccountTakeoverRiskConfigurationActionsHighActionArgs
- Event
Action string - Notify bool
- Whether to send a notification.
- Event
Action string - Notify bool
- Whether to send a notification.
- event
Action String - notify_ Boolean
- Whether to send a notification.
- event
Action string - notify boolean
- Whether to send a notification.
- event_
action str - notify bool
- Whether to send a notification.
- event
Action String - notify Boolean
- Whether to send a notification.
RiskConfigurationAccountTakeoverRiskConfigurationActionsLowAction, RiskConfigurationAccountTakeoverRiskConfigurationActionsLowActionArgs
- Event
Action string - Notify bool
- Whether to send a notification.
- Event
Action string - Notify bool
- Whether to send a notification.
- event
Action String - notify_ Boolean
- Whether to send a notification.
- event
Action string - notify boolean
- Whether to send a notification.
- event_
action str - notify bool
- Whether to send a notification.
- event
Action String - notify Boolean
- Whether to send a notification.
RiskConfigurationAccountTakeoverRiskConfigurationActionsMediumAction, RiskConfigurationAccountTakeoverRiskConfigurationActionsMediumActionArgs
- Event
Action string - Notify bool
- Whether to send a notification.
- Event
Action string - Notify bool
- Whether to send a notification.
- event
Action String - notify_ Boolean
- Whether to send a notification.
- event
Action string - notify boolean
- Whether to send a notification.
- event_
action str - notify bool
- Whether to send a notification.
- event
Action String - notify Boolean
- Whether to send a notification.
RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfiguration, RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationArgs
- Source
Arn string - The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy. This identity permits Amazon Cognito to send for the email address specified in the From parameter.
- Block
Email RiskConfiguration Account Takeover Risk Configuration Notify Configuration Block Email - Email template used when a detected risk event is blocked. See notify email type below.
- From string
- The email address that is sending the email. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.
- Mfa
Email RiskConfiguration Account Takeover Risk Configuration Notify Configuration Mfa Email - The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk. See notify email type below.
- No
Action RiskEmail Configuration Account Takeover Risk Configuration Notify Configuration No Action Email - The email template used when a detected risk event is allowed. See notify email type below.
- Reply
To string - The destination to which the receiver of an email should reply to.
- Source
Arn string - The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy. This identity permits Amazon Cognito to send for the email address specified in the From parameter.
- Block
Email RiskConfiguration Account Takeover Risk Configuration Notify Configuration Block Email - Email template used when a detected risk event is blocked. See notify email type below.
- From string
- The email address that is sending the email. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.
- Mfa
Email RiskConfiguration Account Takeover Risk Configuration Notify Configuration Mfa Email - The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk. See notify email type below.
- No
Action RiskEmail Configuration Account Takeover Risk Configuration Notify Configuration No Action Email - The email template used when a detected risk event is allowed. See notify email type below.
- Reply
To string - The destination to which the receiver of an email should reply to.
- source
Arn String - The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy. This identity permits Amazon Cognito to send for the email address specified in the From parameter.
- block
Email RiskConfiguration Account Takeover Risk Configuration Notify Configuration Block Email - Email template used when a detected risk event is blocked. See notify email type below.
- from String
- The email address that is sending the email. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.
- mfa
Email RiskConfiguration Account Takeover Risk Configuration Notify Configuration Mfa Email - The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk. See notify email type below.
- no
Action RiskEmail Configuration Account Takeover Risk Configuration Notify Configuration No Action Email - The email template used when a detected risk event is allowed. See notify email type below.
- reply
To String - The destination to which the receiver of an email should reply to.
- source
Arn string - The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy. This identity permits Amazon Cognito to send for the email address specified in the From parameter.
- block
Email RiskConfiguration Account Takeover Risk Configuration Notify Configuration Block Email - Email template used when a detected risk event is blocked. See notify email type below.
- from string
- The email address that is sending the email. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.
- mfa
Email RiskConfiguration Account Takeover Risk Configuration Notify Configuration Mfa Email - The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk. See notify email type below.
- no
Action RiskEmail Configuration Account Takeover Risk Configuration Notify Configuration No Action Email - The email template used when a detected risk event is allowed. See notify email type below.
- reply
To string - The destination to which the receiver of an email should reply to.
- source_
arn str - The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy. This identity permits Amazon Cognito to send for the email address specified in the From parameter.
- block_
email RiskConfiguration Account Takeover Risk Configuration Notify Configuration Block Email - Email template used when a detected risk event is blocked. See notify email type below.
- from_ str
- The email address that is sending the email. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.
- mfa_
email RiskConfiguration Account Takeover Risk Configuration Notify Configuration Mfa Email - The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk. See notify email type below.
- no_
action_ Riskemail Configuration Account Takeover Risk Configuration Notify Configuration No Action Email - The email template used when a detected risk event is allowed. See notify email type below.
- reply_
to str - The destination to which the receiver of an email should reply to.
- source
Arn String - The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy. This identity permits Amazon Cognito to send for the email address specified in the From parameter.
- block
Email Property Map - Email template used when a detected risk event is blocked. See notify email type below.
- from String
- The email address that is sending the email. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.
- mfa
Email Property Map - The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk. See notify email type below.
- no
Action Property MapEmail - The email template used when a detected risk event is allowed. See notify email type below.
- reply
To String - The destination to which the receiver of an email should reply to.
RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmail, RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs
RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationMfaEmail, RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationMfaEmailArgs
RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationNoActionEmail, RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationNoActionEmailArgs
RiskConfigurationCompromisedCredentialsRiskConfiguration, RiskConfigurationCompromisedCredentialsRiskConfigurationArgs
- Actions
Risk
Configuration Compromised Credentials Risk Configuration Actions - The compromised credentials risk configuration actions. See details below.
- Event
Filters List<string> - Perform the action for these events. The default is to perform all events if no event filter is specified. Valid values are
SIGN_IN
,PASSWORD_CHANGE
, andSIGN_UP
.
- Actions
Risk
Configuration Compromised Credentials Risk Configuration Actions - The compromised credentials risk configuration actions. See details below.
- Event
Filters []string - Perform the action for these events. The default is to perform all events if no event filter is specified. Valid values are
SIGN_IN
,PASSWORD_CHANGE
, andSIGN_UP
.
- actions
Risk
Configuration Compromised Credentials Risk Configuration Actions - The compromised credentials risk configuration actions. See details below.
- event
Filters List<String> - Perform the action for these events. The default is to perform all events if no event filter is specified. Valid values are
SIGN_IN
,PASSWORD_CHANGE
, andSIGN_UP
.
- actions
Risk
Configuration Compromised Credentials Risk Configuration Actions - The compromised credentials risk configuration actions. See details below.
- event
Filters string[] - Perform the action for these events. The default is to perform all events if no event filter is specified. Valid values are
SIGN_IN
,PASSWORD_CHANGE
, andSIGN_UP
.
- actions
Risk
Configuration Compromised Credentials Risk Configuration Actions - The compromised credentials risk configuration actions. See details below.
- event_
filters Sequence[str] - Perform the action for these events. The default is to perform all events if no event filter is specified. Valid values are
SIGN_IN
,PASSWORD_CHANGE
, andSIGN_UP
.
- actions Property Map
- The compromised credentials risk configuration actions. See details below.
- event
Filters List<String> - Perform the action for these events. The default is to perform all events if no event filter is specified. Valid values are
SIGN_IN
,PASSWORD_CHANGE
, andSIGN_UP
.
RiskConfigurationCompromisedCredentialsRiskConfigurationActions, RiskConfigurationCompromisedCredentialsRiskConfigurationActionsArgs
- Event
Action string - The event action. Valid values are
BLOCK
orNO_ACTION
.
- Event
Action string - The event action. Valid values are
BLOCK
orNO_ACTION
.
- event
Action String - The event action. Valid values are
BLOCK
orNO_ACTION
.
- event
Action string - The event action. Valid values are
BLOCK
orNO_ACTION
.
- event_
action str - The event action. Valid values are
BLOCK
orNO_ACTION
.
- event
Action String - The event action. Valid values are
BLOCK
orNO_ACTION
.
RiskConfigurationRiskExceptionConfiguration, RiskConfigurationRiskExceptionConfigurationArgs
- Blocked
Ip List<string>Range Lists - Overrides the risk decision to always block the pre-authentication requests. The IP range is in CIDR notation, a compact representation of an IP address and its routing prefix. Can contain a maximum of 200 items.
- Skipped
Ip List<string>Range Lists - Risk detection isn't performed on the IP addresses in this range list. The IP range is in CIDR notation. Can contain a maximum of 200 items.
- Blocked
Ip []stringRange Lists - Overrides the risk decision to always block the pre-authentication requests. The IP range is in CIDR notation, a compact representation of an IP address and its routing prefix. Can contain a maximum of 200 items.
- Skipped
Ip []stringRange Lists - Risk detection isn't performed on the IP addresses in this range list. The IP range is in CIDR notation. Can contain a maximum of 200 items.
- blocked
Ip List<String>Range Lists - Overrides the risk decision to always block the pre-authentication requests. The IP range is in CIDR notation, a compact representation of an IP address and its routing prefix. Can contain a maximum of 200 items.
- skipped
Ip List<String>Range Lists - Risk detection isn't performed on the IP addresses in this range list. The IP range is in CIDR notation. Can contain a maximum of 200 items.
- blocked
Ip string[]Range Lists - Overrides the risk decision to always block the pre-authentication requests. The IP range is in CIDR notation, a compact representation of an IP address and its routing prefix. Can contain a maximum of 200 items.
- skipped
Ip string[]Range Lists - Risk detection isn't performed on the IP addresses in this range list. The IP range is in CIDR notation. Can contain a maximum of 200 items.
- blocked_
ip_ Sequence[str]range_ lists - Overrides the risk decision to always block the pre-authentication requests. The IP range is in CIDR notation, a compact representation of an IP address and its routing prefix. Can contain a maximum of 200 items.
- skipped_
ip_ Sequence[str]range_ lists - Risk detection isn't performed on the IP addresses in this range list. The IP range is in CIDR notation. Can contain a maximum of 200 items.
- blocked
Ip List<String>Range Lists - Overrides the risk decision to always block the pre-authentication requests. The IP range is in CIDR notation, a compact representation of an IP address and its routing prefix. Can contain a maximum of 200 items.
- skipped
Ip List<String>Range Lists - Risk detection isn't performed on the IP addresses in this range list. The IP range is in CIDR notation. Can contain a maximum of 200 items.
Import
Import using the user pool ID and Client ID separated by a :
:
Using pulumi import
to import Cognito Risk Configurations using the user pool ID or the user pool ID and Client Id separated by a :
. For example:
Import using the user pool ID:
$ pulumi import aws:cognito/riskConfiguration:RiskConfiguration main example
Import using the user pool ID and Client ID separated by a :
:
$ pulumi import aws:cognito/riskConfiguration:RiskConfiguration main example:example
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.