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.
Example
The following reference example uses placeholder values for all input properties.
Coming soon!
Coming soon!
Coming soon!
Coming soon!
const userPoolRiskConfigurationAttachmentResource = new aws_native.cognito.UserPoolRiskConfigurationAttachment("userPoolRiskConfigurationAttachmentResource", {
clientId: "string",
userPoolId: "string",
accountTakeoverRiskConfiguration: {
actions: {
highAction: {
eventAction: "string",
notify: false,
},
lowAction: {
eventAction: "string",
notify: false,
},
mediumAction: {
eventAction: "string",
notify: false,
},
},
notifyConfiguration: {
sourceArn: "string",
blockEmail: {
subject: "string",
htmlBody: "string",
textBody: "string",
},
from: "string",
mfaEmail: {
subject: "string",
htmlBody: "string",
textBody: "string",
},
noActionEmail: {
subject: "string",
htmlBody: "string",
textBody: "string",
},
replyTo: "string",
},
},
compromisedCredentialsRiskConfiguration: {
actions: {
eventAction: "string",
},
eventFilter: ["string"],
},
riskExceptionConfiguration: {
blockedIpRangeList: ["string"],
skippedIpRangeList: ["string"],
},
});
Coming soon!
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 - User
Pool stringId - Account
Takeover Pulumi.Risk Configuration Aws Native. Cognito. Inputs. User Pool Risk Configuration Attachment Account Takeover Risk Configuration Type - Compromised
Credentials Pulumi.Risk Configuration Aws Native. Cognito. Inputs. User Pool Risk Configuration Attachment Compromised Credentials Risk Configuration Type - Risk
Exception Pulumi.Configuration Aws Native. Cognito. Inputs. User Pool Risk Configuration Attachment Risk Exception Configuration Type
- Client
Id string - User
Pool stringId - Account
Takeover UserRisk Configuration Pool Risk Configuration Attachment Account Takeover Risk Configuration Type Args - Compromised
Credentials UserRisk Configuration Pool Risk Configuration Attachment Compromised Credentials Risk Configuration Type Args - Risk
Exception UserConfiguration Pool Risk Configuration Attachment Risk Exception Configuration Type Args
- client
Id String - user
Pool StringId - account
Takeover UserRisk Configuration Pool Risk Configuration Attachment Account Takeover Risk Configuration Type - compromised
Credentials UserRisk Configuration Pool Risk Configuration Attachment Compromised Credentials Risk Configuration Type - risk
Exception UserConfiguration Pool Risk Configuration Attachment Risk Exception Configuration Type
- client
Id string - user
Pool stringId - account
Takeover UserRisk Configuration Pool Risk Configuration Attachment Account Takeover Risk Configuration Type - compromised
Credentials UserRisk Configuration Pool Risk Configuration Attachment Compromised Credentials Risk Configuration Type - risk
Exception UserConfiguration Pool Risk Configuration Attachment Risk Exception Configuration Type
- client_
id str - user_
pool_ strid - account_
takeover_ Userrisk_ configuration Pool Risk Configuration Attachment Account Takeover Risk Configuration Type Args - compromised_
credentials_ Userrisk_ configuration Pool Risk Configuration Attachment Compromised Credentials Risk Configuration Type Args - risk_
exception_ Userconfiguration Pool Risk Configuration Attachment Risk Exception Configuration Type Args
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 - Notify bool
- Event
Action string - Notify bool
- event
Action String - notify_ Boolean
- event
Action string - notify boolean
- event_
action str - notify bool
- event
Action String - notify Boolean
UserPoolRiskConfigurationAttachmentAccountTakeoverActionsType, UserPoolRiskConfigurationAttachmentAccountTakeoverActionsTypeArgs
- High
Action Pulumi.Aws Native. Cognito. Inputs. User Pool Risk Configuration Attachment Account Takeover Action Type - Low
Action Pulumi.Aws Native. Cognito. Inputs. User Pool Risk Configuration Attachment Account Takeover Action Type - Medium
Action Pulumi.Aws Native. Cognito. Inputs. User Pool Risk Configuration Attachment Account Takeover Action Type
UserPoolRiskConfigurationAttachmentAccountTakeoverRiskConfigurationType, UserPoolRiskConfigurationAttachmentAccountTakeoverRiskConfigurationTypeArgs
UserPoolRiskConfigurationAttachmentCompromisedCredentialsActionsType, UserPoolRiskConfigurationAttachmentCompromisedCredentialsActionsTypeArgs
- Event
Action string
- Event
Action string
- event
Action String
- event
Action string
- event_
action str
- event
Action String
UserPoolRiskConfigurationAttachmentCompromisedCredentialsRiskConfigurationType, UserPoolRiskConfigurationAttachmentCompromisedCredentialsRiskConfigurationTypeArgs
- actions Property Map
- event
Filter List<String>
UserPoolRiskConfigurationAttachmentNotifyConfigurationType, UserPoolRiskConfigurationAttachmentNotifyConfigurationTypeArgs
- Source
Arn string - Block
Email Pulumi.Aws Native. Cognito. Inputs. User Pool Risk Configuration Attachment Notify Email Type - From string
- Mfa
Email Pulumi.Aws Native. Cognito. Inputs. User Pool Risk Configuration Attachment Notify Email Type - No
Action Pulumi.Email Aws Native. Cognito. Inputs. User Pool Risk Configuration Attachment Notify Email Type - Reply
To string
- source
Arn String - block
Email Property Map - from String
- mfa
Email Property Map - no
Action Property MapEmail - reply
To String
UserPoolRiskConfigurationAttachmentNotifyEmailType, UserPoolRiskConfigurationAttachmentNotifyEmailTypeArgs
UserPoolRiskConfigurationAttachmentRiskExceptionConfigurationType, UserPoolRiskConfigurationAttachmentRiskExceptionConfigurationTypeArgs
- Blocked
Ip List<string>Range List - Skipped
Ip List<string>Range List
- Blocked
Ip []stringRange List - Skipped
Ip []stringRange List
- blocked
Ip List<String>Range List - skipped
Ip List<String>Range List
- blocked
Ip string[]Range List - skipped
Ip string[]Range List
- blocked_
ip_ Sequence[str]range_ list - skipped_
ip_ Sequence[str]range_ list
- blocked
Ip List<String>Range List - skipped
Ip List<String>Range List
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.