-
Notifications
You must be signed in to change notification settings - Fork 17
/
awscognito_CfnUserPoolRiskConfigurationAttachmentProps.go
96 lines (93 loc) · 3.83 KB
/
awscognito_CfnUserPoolRiskConfigurationAttachmentProps.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
package awscognito
// Properties for defining a `CfnUserPoolRiskConfigurationAttachment`.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// cfnUserPoolRiskConfigurationAttachmentProps := &cfnUserPoolRiskConfigurationAttachmentProps{
// clientId: jsii.String("clientId"),
// userPoolId: jsii.String("userPoolId"),
//
// // the properties below are optional
// accountTakeoverRiskConfiguration: &accountTakeoverRiskConfigurationTypeProperty{
// actions: &accountTakeoverActionsTypeProperty{
// highAction: &accountTakeoverActionTypeProperty{
// eventAction: jsii.String("eventAction"),
// notify: jsii.Boolean(false),
// },
// lowAction: &accountTakeoverActionTypeProperty{
// eventAction: jsii.String("eventAction"),
// notify: jsii.Boolean(false),
// },
// mediumAction: &accountTakeoverActionTypeProperty{
// eventAction: jsii.String("eventAction"),
// notify: jsii.Boolean(false),
// },
// },
//
// // the properties below are optional
// notifyConfiguration: ¬ifyConfigurationTypeProperty{
// sourceArn: jsii.String("sourceArn"),
//
// // the properties below are optional
// blockEmail: ¬ifyEmailTypeProperty{
// subject: jsii.String("subject"),
//
// // the properties below are optional
// htmlBody: jsii.String("htmlBody"),
// textBody: jsii.String("textBody"),
// },
// from: jsii.String("from"),
// mfaEmail: ¬ifyEmailTypeProperty{
// subject: jsii.String("subject"),
//
// // the properties below are optional
// htmlBody: jsii.String("htmlBody"),
// textBody: jsii.String("textBody"),
// },
// noActionEmail: ¬ifyEmailTypeProperty{
// subject: jsii.String("subject"),
//
// // the properties below are optional
// htmlBody: jsii.String("htmlBody"),
// textBody: jsii.String("textBody"),
// },
// replyTo: jsii.String("replyTo"),
// },
// },
// compromisedCredentialsRiskConfiguration: &compromisedCredentialsRiskConfigurationTypeProperty{
// actions: &compromisedCredentialsActionsTypeProperty{
// eventAction: jsii.String("eventAction"),
// },
//
// // the properties below are optional
// eventFilter: []*string{
// jsii.String("eventFilter"),
// },
// },
// riskExceptionConfiguration: &riskExceptionConfigurationTypeProperty{
// blockedIpRangeList: []*string{
// jsii.String("blockedIpRangeList"),
// },
// skippedIpRangeList: []*string{
// jsii.String("skippedIpRangeList"),
// },
// },
// }
//
type CfnUserPoolRiskConfigurationAttachmentProps struct {
// 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` ).
ClientId *string `field:"required" json:"clientId" yaml:"clientId"`
// The user pool ID.
UserPoolId *string `field:"required" json:"userPoolId" yaml:"userPoolId"`
// The account takeover risk configuration object, including the `NotifyConfiguration` object and `Actions` to take if there is an account takeover.
AccountTakeoverRiskConfiguration interface{} `field:"optional" json:"accountTakeoverRiskConfiguration" yaml:"accountTakeoverRiskConfiguration"`
// The compromised credentials risk configuration object, including the `EventFilter` and the `EventAction` .
CompromisedCredentialsRiskConfiguration interface{} `field:"optional" json:"compromisedCredentialsRiskConfiguration" yaml:"compromisedCredentialsRiskConfiguration"`
// The configuration to override the risk decision.
RiskExceptionConfiguration interface{} `field:"optional" json:"riskExceptionConfiguration" yaml:"riskExceptionConfiguration"`
}