AWS Native is in preview. AWS Classic is fully supported.
aws-native.cognito.UserPoolRiskConfigurationAttachment
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource Type definition for AWS::Cognito::UserPoolRiskConfigurationAttachment
Create UserPoolRiskConfigurationAttachment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new UserPoolRiskConfigurationAttachment(name: string, args: UserPoolRiskConfigurationAttachmentArgs, opts?: CustomResourceOptions);
@overload
def UserPoolRiskConfigurationAttachment(resource_name: str,
args: UserPoolRiskConfigurationAttachmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def UserPoolRiskConfigurationAttachment(resource_name: str,
opts: Optional[ResourceOptions] = None,
client_id: Optional[str] = None,
user_pool_id: Optional[str] = None,
account_takeover_risk_configuration: Optional[UserPoolRiskConfigurationAttachmentAccountTakeoverRiskConfigurationTypeArgs] = None,
compromised_credentials_risk_configuration: Optional[UserPoolRiskConfigurationAttachmentCompromisedCredentialsRiskConfigurationTypeArgs] = None,
risk_exception_configuration: Optional[UserPoolRiskConfigurationAttachmentRiskExceptionConfigurationTypeArgs] = None)
func NewUserPoolRiskConfigurationAttachment(ctx *Context, name string, args UserPoolRiskConfigurationAttachmentArgs, opts ...ResourceOption) (*UserPoolRiskConfigurationAttachment, error)
public UserPoolRiskConfigurationAttachment(string name, UserPoolRiskConfigurationAttachmentArgs args, CustomResourceOptions? opts = null)
public UserPoolRiskConfigurationAttachment(String name, UserPoolRiskConfigurationAttachmentArgs args)
public UserPoolRiskConfigurationAttachment(String name, UserPoolRiskConfigurationAttachmentArgs args, CustomResourceOptions options)
type: aws-native:cognito:UserPoolRiskConfigurationAttachment
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 UserPoolRiskConfigurationAttachmentArgs
- 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 UserPoolRiskConfigurationAttachmentArgs
- 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 UserPoolRiskConfigurationAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UserPoolRiskConfigurationAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UserPoolRiskConfigurationAttachmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
UserPoolRiskConfigurationAttachment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The UserPoolRiskConfigurationAttachment resource accepts the following input properties:
- Client
Id string - The app client ID. You can specify the risk configuration for a single client (with a specific ClientId) or for all clients (by setting the ClientId to
ALL
). - User
Pool stringId - The user pool ID.
- Account
Takeover Pulumi.Risk Configuration Aws Native. Cognito. Inputs. User Pool Risk Configuration Attachment Account Takeover Risk Configuration Type - The account takeover risk configuration object, including the
NotifyConfiguration
object andActions
to take if there is an account takeover. - Compromised
Credentials Pulumi.Risk Configuration Aws Native. Cognito. Inputs. User Pool Risk Configuration Attachment Compromised Credentials Risk Configuration Type - The compromised credentials risk configuration object, including the
EventFilter
and theEventAction
. - Risk
Exception Pulumi.Configuration Aws Native. Cognito. Inputs. User Pool Risk Configuration Attachment Risk Exception Configuration Type - The configuration to override the risk decision.
- Client
Id string - The app client ID. You can specify the risk configuration for a single client (with a specific ClientId) or for all clients (by setting the ClientId to
ALL
). - User
Pool stringId - The user pool ID.
- Account
Takeover UserRisk Configuration Pool Risk Configuration Attachment Account Takeover Risk Configuration Type Args - The account takeover risk configuration object, including the
NotifyConfiguration
object andActions
to take if there is an account takeover. - Compromised
Credentials UserRisk Configuration Pool Risk Configuration Attachment Compromised Credentials Risk Configuration Type Args - The compromised credentials risk configuration object, including the
EventFilter
and theEventAction
. - Risk
Exception UserConfiguration Pool Risk Configuration Attachment Risk Exception Configuration Type Args - The configuration to override the risk decision.
- client
Id String - The app client ID. You can specify the risk configuration for a single client (with a specific ClientId) or for all clients (by setting the ClientId to
ALL
). - user
Pool StringId - The user pool ID.
- account
Takeover UserRisk Configuration Pool Risk Configuration Attachment Account Takeover Risk Configuration Type - The account takeover risk configuration object, including the
NotifyConfiguration
object andActions
to take if there is an account takeover. - compromised
Credentials UserRisk Configuration Pool Risk Configuration Attachment Compromised Credentials Risk Configuration Type - The compromised credentials risk configuration object, including the
EventFilter
and theEventAction
. - risk
Exception UserConfiguration Pool Risk Configuration Attachment Risk Exception Configuration Type - The configuration to override the risk decision.
- client
Id string - The app client ID. You can specify the risk configuration for a single client (with a specific ClientId) or for all clients (by setting the ClientId to
ALL
). - user
Pool stringId - The user pool ID.
- account
Takeover UserRisk Configuration Pool Risk Configuration Attachment Account Takeover Risk Configuration Type - The account takeover risk configuration object, including the
NotifyConfiguration
object andActions
to take if there is an account takeover. - compromised
Credentials UserRisk Configuration Pool Risk Configuration Attachment Compromised Credentials Risk Configuration Type - The compromised credentials risk configuration object, including the
EventFilter
and theEventAction
. - risk
Exception UserConfiguration Pool Risk Configuration Attachment Risk Exception Configuration Type - The configuration to override the risk decision.
- client_
id str - The app client ID. You can specify the risk configuration for a single client (with a specific ClientId) or for all clients (by setting the ClientId to
ALL
). - user_
pool_ strid - The user pool ID.
- account_
takeover_ Userrisk_ configuration Pool Risk Configuration Attachment Account Takeover Risk Configuration Type Args - The account takeover risk configuration object, including the
NotifyConfiguration
object andActions
to take if there is an account takeover. - compromised_
credentials_ Userrisk_ configuration Pool Risk Configuration Attachment Compromised Credentials Risk Configuration Type Args - The compromised credentials risk configuration object, including the
EventFilter
and theEventAction
. - risk_
exception_ Userconfiguration Pool Risk Configuration Attachment Risk Exception Configuration Type Args - The configuration to override the risk decision.
- client
Id String - The app client ID. You can specify the risk configuration for a single client (with a specific ClientId) or for all clients (by setting the ClientId to
ALL
). - user
Pool StringId - The user pool ID.
- account
Takeover Property MapRisk Configuration - The account takeover risk configuration object, including the
NotifyConfiguration
object andActions
to take if there is an account takeover. - compromised
Credentials Property MapRisk Configuration - The compromised credentials risk configuration object, including the
EventFilter
and theEventAction
. - risk
Exception Property MapConfiguration - The configuration to override the risk decision.
Outputs
All input properties are implicitly available as output properties. Additionally, the UserPoolRiskConfigurationAttachment 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.
Supporting Types
UserPoolRiskConfigurationAttachmentAccountTakeoverActionType, UserPoolRiskConfigurationAttachmentAccountTakeoverActionTypeArgs
- Event
Action string - The action to take in response to the account takeover action. Valid values are as follows:
BLOCK
Choosing this action will block the request.MFA_IF_CONFIGURED
Present an MFA challenge if user has configured it, else allow the request.MFA_REQUIRED
Present an MFA challenge if user has configured it, else block the request.NO_ACTION
Allow the user to sign in.
- Notify bool
- Flag specifying whether to send a notification.
- Event
Action string - The action to take in response to the account takeover action. Valid values are as follows:
BLOCK
Choosing this action will block the request.MFA_IF_CONFIGURED
Present an MFA challenge if user has configured it, else allow the request.MFA_REQUIRED
Present an MFA challenge if user has configured it, else block the request.NO_ACTION
Allow the user to sign in.
- Notify bool
- Flag specifying whether to send a notification.
- event
Action String - The action to take in response to the account takeover action. Valid values are as follows:
BLOCK
Choosing this action will block the request.MFA_IF_CONFIGURED
Present an MFA challenge if user has configured it, else allow the request.MFA_REQUIRED
Present an MFA challenge if user has configured it, else block the request.NO_ACTION
Allow the user to sign in.
- notify_ Boolean
- Flag specifying whether to send a notification.
- event
Action string - The action to take in response to the account takeover action. Valid values are as follows:
BLOCK
Choosing this action will block the request.MFA_IF_CONFIGURED
Present an MFA challenge if user has configured it, else allow the request.MFA_REQUIRED
Present an MFA challenge if user has configured it, else block the request.NO_ACTION
Allow the user to sign in.
- notify boolean
- Flag specifying whether to send a notification.
- event_
action str - The action to take in response to the account takeover action. Valid values are as follows:
BLOCK
Choosing this action will block the request.MFA_IF_CONFIGURED
Present an MFA challenge if user has configured it, else allow the request.MFA_REQUIRED
Present an MFA challenge if user has configured it, else block the request.NO_ACTION
Allow the user to sign in.
- notify bool
- Flag specifying whether to send a notification.
- event
Action String - The action to take in response to the account takeover action. Valid values are as follows:
BLOCK
Choosing this action will block the request.MFA_IF_CONFIGURED
Present an MFA challenge if user has configured it, else allow the request.MFA_REQUIRED
Present an MFA challenge if user has configured it, else block the request.NO_ACTION
Allow the user to sign in.
- notify Boolean
- Flag specifying whether to send a notification.
UserPoolRiskConfigurationAttachmentAccountTakeoverActionsType, UserPoolRiskConfigurationAttachmentAccountTakeoverActionsTypeArgs
- High
Action Pulumi.Aws Native. Cognito. Inputs. User Pool Risk Configuration Attachment Account Takeover Action Type - Action to take for a high risk.
- Low
Action Pulumi.Aws Native. Cognito. Inputs. User Pool Risk Configuration Attachment Account Takeover Action Type - Action to take for a low risk.
- Medium
Action Pulumi.Aws Native. Cognito. Inputs. User Pool Risk Configuration Attachment Account Takeover Action Type - Action to take for a medium risk.
- High
Action UserPool Risk Configuration Attachment Account Takeover Action Type - Action to take for a high risk.
- Low
Action UserPool Risk Configuration Attachment Account Takeover Action Type - Action to take for a low risk.
- Medium
Action UserPool Risk Configuration Attachment Account Takeover Action Type - Action to take for a medium risk.
- high
Action UserPool Risk Configuration Attachment Account Takeover Action Type - Action to take for a high risk.
- low
Action UserPool Risk Configuration Attachment Account Takeover Action Type - Action to take for a low risk.
- medium
Action UserPool Risk Configuration Attachment Account Takeover Action Type - Action to take for a medium risk.
- high
Action UserPool Risk Configuration Attachment Account Takeover Action Type - Action to take for a high risk.
- low
Action UserPool Risk Configuration Attachment Account Takeover Action Type - Action to take for a low risk.
- medium
Action UserPool Risk Configuration Attachment Account Takeover Action Type - Action to take for a medium risk.
- high_
action UserPool Risk Configuration Attachment Account Takeover Action Type - Action to take for a high risk.
- low_
action UserPool Risk Configuration Attachment Account Takeover Action Type - Action to take for a low risk.
- medium_
action UserPool Risk Configuration Attachment Account Takeover Action Type - Action to take for a medium risk.
- high
Action Property Map - Action to take for a high risk.
- low
Action Property Map - Action to take for a low risk.
- medium
Action Property Map - Action to take for a medium risk.
UserPoolRiskConfigurationAttachmentAccountTakeoverRiskConfigurationType, UserPoolRiskConfigurationAttachmentAccountTakeoverRiskConfigurationTypeArgs
- Actions
Pulumi.
Aws Native. Cognito. Inputs. User Pool Risk Configuration Attachment Account Takeover Actions Type - Account takeover risk configuration actions.
- Notify
Configuration Pulumi.Aws Native. Cognito. Inputs. User Pool Risk Configuration Attachment Notify Configuration Type - The notify configuration used to construct email notifications.
- Actions
User
Pool Risk Configuration Attachment Account Takeover Actions Type - Account takeover risk configuration actions.
- Notify
Configuration UserPool Risk Configuration Attachment Notify Configuration Type - The notify configuration used to construct email notifications.
- actions
User
Pool Risk Configuration Attachment Account Takeover Actions Type - Account takeover risk configuration actions.
- notify
Configuration UserPool Risk Configuration Attachment Notify Configuration Type - The notify configuration used to construct email notifications.
- actions
User
Pool Risk Configuration Attachment Account Takeover Actions Type - Account takeover risk configuration actions.
- notify
Configuration UserPool Risk Configuration Attachment Notify Configuration Type - The notify configuration used to construct email notifications.
- actions
User
Pool Risk Configuration Attachment Account Takeover Actions Type - Account takeover risk configuration actions.
- notify_
configuration UserPool Risk Configuration Attachment Notify Configuration Type - The notify configuration used to construct email notifications.
- actions Property Map
- Account takeover risk configuration actions.
- notify
Configuration Property Map - The notify configuration used to construct email notifications.
UserPoolRiskConfigurationAttachmentCompromisedCredentialsActionsType, UserPoolRiskConfigurationAttachmentCompromisedCredentialsActionsTypeArgs
- Event
Action string - The event action.
- Event
Action string - The event action.
- event
Action String - The event action.
- event
Action string - The event action.
- event_
action str - The event action.
- event
Action String - The event action.
UserPoolRiskConfigurationAttachmentCompromisedCredentialsRiskConfigurationType, UserPoolRiskConfigurationAttachmentCompromisedCredentialsRiskConfigurationTypeArgs
- Actions
Pulumi.
Aws Native. Cognito. Inputs. User Pool Risk Configuration Attachment Compromised Credentials Actions Type - The compromised credentials risk configuration actions.
- Event
Filter List<string> - Perform the action for these events. The default is to perform all events if no event filter is specified.
- Actions
User
Pool Risk Configuration Attachment Compromised Credentials Actions Type - The compromised credentials risk configuration actions.
- Event
Filter []string - Perform the action for these events. The default is to perform all events if no event filter is specified.
- actions
User
Pool Risk Configuration Attachment Compromised Credentials Actions Type - The compromised credentials risk configuration actions.
- event
Filter List<String> - Perform the action for these events. The default is to perform all events if no event filter is specified.
- actions
User
Pool Risk Configuration Attachment Compromised Credentials Actions Type - The compromised credentials risk configuration actions.
- event
Filter string[] - Perform the action for these events. The default is to perform all events if no event filter is specified.
- actions
User
Pool Risk Configuration Attachment Compromised Credentials Actions Type - The compromised credentials risk configuration actions.
- event_
filter Sequence[str] - Perform the action for these events. The default is to perform all events if no event filter is specified.
- actions Property Map
- The compromised credentials risk configuration actions.
- event
Filter List<String> - Perform the action for these events. The default is to perform all events if no event filter is specified.
UserPoolRiskConfigurationAttachmentNotifyConfigurationType, UserPoolRiskConfigurationAttachmentNotifyConfigurationTypeArgs
- 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 Pulumi.Aws Native. Cognito. Inputs. User Pool Risk Configuration Attachment Notify Email Type - Email template used when a detected risk event is blocked.
- 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 Pulumi.Aws Native. Cognito. Inputs. User Pool Risk Configuration Attachment Notify Email Type - The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.
- No
Action Pulumi.Email Aws Native. Cognito. Inputs. User Pool Risk Configuration Attachment Notify Email Type - The email template used when a detected risk event is allowed.
- 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 UserPool Risk Configuration Attachment Notify Email Type - Email template used when a detected risk event is blocked.
- 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 UserPool Risk Configuration Attachment Notify Email Type - The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.
- No
Action UserEmail Pool Risk Configuration Attachment Notify Email Type - The email template used when a detected risk event is allowed.
- 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 UserPool Risk Configuration Attachment Notify Email Type - Email template used when a detected risk event is blocked.
- 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 UserPool Risk Configuration Attachment Notify Email Type - The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.
- no
Action UserEmail Pool Risk Configuration Attachment Notify Email Type - The email template used when a detected risk event is allowed.
- 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 UserPool Risk Configuration Attachment Notify Email Type - Email template used when a detected risk event is blocked.
- 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 UserPool Risk Configuration Attachment Notify Email Type - The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.
- no
Action UserEmail Pool Risk Configuration Attachment Notify Email Type - The email template used when a detected risk event is allowed.
- 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 UserPool Risk Configuration Attachment Notify Email Type - Email template used when a detected risk event is blocked.
- 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 UserPool Risk Configuration Attachment Notify Email Type - The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.
- no_
action_ Useremail Pool Risk Configuration Attachment Notify Email Type - The email template used when a detected risk event is allowed.
- 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.
- 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.
- no
Action Property MapEmail - The email template used when a detected risk event is allowed.
- reply
To String - The destination to which the receiver of an email should reply to.
UserPoolRiskConfigurationAttachmentNotifyEmailType, UserPoolRiskConfigurationAttachmentNotifyEmailTypeArgs
UserPoolRiskConfigurationAttachmentRiskExceptionConfigurationType, UserPoolRiskConfigurationAttachmentRiskExceptionConfigurationTypeArgs
- Blocked
Ip List<string>Range List - 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.
- Skipped
Ip List<string>Range List - Risk detection isn't performed on the IP addresses in this range list. The IP range is in CIDR notation.
- Blocked
Ip []stringRange List - 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.
- Skipped
Ip []stringRange List - Risk detection isn't performed on the IP addresses in this range list. The IP range is in CIDR notation.
- blocked
Ip List<String>Range List - 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.
- skipped
Ip List<String>Range List - Risk detection isn't performed on the IP addresses in this range list. The IP range is in CIDR notation.
- blocked
Ip string[]Range List - 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.
- skipped
Ip string[]Range List - Risk detection isn't performed on the IP addresses in this range list. The IP range is in CIDR notation.
- blocked_
ip_ Sequence[str]range_ list - 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.
- skipped_
ip_ Sequence[str]range_ list - Risk detection isn't performed on the IP addresses in this range list. The IP range is in CIDR notation.
- blocked
Ip List<String>Range List - 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.
- skipped
Ip List<String>Range List - Risk detection isn't performed on the IP addresses in this range list. The IP range is in CIDR notation.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.