AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws-native.cognito.getUserPoolRiskConfigurationAttachment
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
Resource Type definition for AWS::Cognito::UserPoolRiskConfigurationAttachment
Using getUserPoolRiskConfigurationAttachment
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getUserPoolRiskConfigurationAttachment(args: GetUserPoolRiskConfigurationAttachmentArgs, opts?: InvokeOptions): Promise<GetUserPoolRiskConfigurationAttachmentResult>
function getUserPoolRiskConfigurationAttachmentOutput(args: GetUserPoolRiskConfigurationAttachmentOutputArgs, opts?: InvokeOptions): Output<GetUserPoolRiskConfigurationAttachmentResult>
def get_user_pool_risk_configuration_attachment(client_id: Optional[str] = None,
user_pool_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUserPoolRiskConfigurationAttachmentResult
def get_user_pool_risk_configuration_attachment_output(client_id: Optional[pulumi.Input[str]] = None,
user_pool_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUserPoolRiskConfigurationAttachmentResult]
func LookupUserPoolRiskConfigurationAttachment(ctx *Context, args *LookupUserPoolRiskConfigurationAttachmentArgs, opts ...InvokeOption) (*LookupUserPoolRiskConfigurationAttachmentResult, error)
func LookupUserPoolRiskConfigurationAttachmentOutput(ctx *Context, args *LookupUserPoolRiskConfigurationAttachmentOutputArgs, opts ...InvokeOption) LookupUserPoolRiskConfigurationAttachmentResultOutput
> Note: This function is named LookupUserPoolRiskConfigurationAttachment
in the Go SDK.
public static class GetUserPoolRiskConfigurationAttachment
{
public static Task<GetUserPoolRiskConfigurationAttachmentResult> InvokeAsync(GetUserPoolRiskConfigurationAttachmentArgs args, InvokeOptions? opts = null)
public static Output<GetUserPoolRiskConfigurationAttachmentResult> Invoke(GetUserPoolRiskConfigurationAttachmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetUserPoolRiskConfigurationAttachmentResult> getUserPoolRiskConfigurationAttachment(GetUserPoolRiskConfigurationAttachmentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:cognito:getUserPoolRiskConfigurationAttachment
arguments:
# arguments dictionary
The following arguments are supported:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
getUserPoolRiskConfigurationAttachment Result
The following output properties are available:
- Account
Takeover Pulumi.Risk Configuration Aws Native. Cognito. Outputs. 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. Outputs. 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. Outputs. User Pool Risk Configuration Attachment Risk Exception Configuration Type - The configuration to override the risk decision.
- 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.
- 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.
- 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.
- 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.
- 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.
Supporting Types
UserPoolRiskConfigurationAttachmentAccountTakeoverActionType
- 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
- 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
- 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
- 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
- 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
- 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
UserPoolRiskConfigurationAttachmentRiskExceptionConfigurationType
- 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.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi