@pulumi/aws-native 1.22.0-alpha.1736294920 → 1.22.0-alpha.1736355106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/backup/logicallyAirGappedBackupVault.d.ts +2 -10
- package/backup/logicallyAirGappedBackupVault.js +2 -2
- package/backup/logicallyAirGappedBackupVault.js.map +1 -1
- package/cleanrooms/collaboration.d.ts +8 -0
- package/cleanrooms/collaboration.js +3 -1
- package/cleanrooms/collaboration.js.map +1 -1
- package/cognito/getUserPool.d.ts +9 -11
- package/cognito/getUserPool.js.map +1 -1
- package/cognito/getUserPoolClient.d.ts +25 -19
- package/cognito/getUserPoolClient.js.map +1 -1
- package/cognito/getUserPoolDomain.d.ts +4 -2
- package/cognito/getUserPoolDomain.js.map +1 -1
- package/cognito/getUserPoolRiskConfigurationAttachment.d.ts +2 -2
- package/cognito/getUserPoolUiCustomizationAttachment.d.ts +3 -3
- package/cognito/userPool.d.ts +18 -22
- package/cognito/userPool.js.map +1 -1
- package/cognito/userPoolClient.d.ts +52 -40
- package/cognito/userPoolClient.js.map +1 -1
- package/cognito/userPoolDomain.d.ts +12 -12
- package/cognito/userPoolRiskConfigurationAttachment.d.ts +4 -4
- package/cognito/userPoolUiCustomizationAttachment.d.ts +4 -4
- package/cognito/userPoolUser.d.ts +12 -8
- package/cognito/userPoolUser.js.map +1 -1
- package/customerprofiles/eventTrigger.d.ts +59 -0
- package/customerprofiles/eventTrigger.js +85 -0
- package/customerprofiles/eventTrigger.js.map +1 -0
- package/customerprofiles/getEventTrigger.d.ts +34 -0
- package/customerprofiles/getEventTrigger.js +30 -0
- package/customerprofiles/getEventTrigger.js.map +1 -0
- package/customerprofiles/index.d.ts +6 -0
- package/customerprofiles/index.js +8 -1
- package/customerprofiles/index.js.map +1 -1
- package/lex/bot.d.ts +2 -0
- package/lex/bot.js +2 -0
- package/lex/bot.js.map +1 -1
- package/package.json +3 -3
- package/package.json.dev +2 -2
- package/resiliencehub/app.d.ts +8 -0
- package/resiliencehub/app.js +2 -0
- package/resiliencehub/app.js.map +1 -1
- package/resiliencehub/getApp.d.ts +4 -0
- package/resiliencehub/getApp.js.map +1 -1
- package/rolesanywhere/getProfile.d.ts +0 -4
- package/rolesanywhere/getProfile.js.map +1 -1
- package/rolesanywhere/profile.js +2 -0
- package/rolesanywhere/profile.js.map +1 -1
- package/sso/getPermissionSet.d.ts +1 -1
- package/sso/permissionSet.d.ts +2 -2
- package/types/enums/cleanrooms/index.d.ts +5 -0
- package/types/enums/cleanrooms/index.js +5 -1
- package/types/enums/cleanrooms/index.js.map +1 -1
- package/types/enums/customerprofiles/index.d.ts +40 -0
- package/types/enums/customerprofiles/index.js +29 -1
- package/types/enums/customerprofiles/index.js.map +1 -1
- package/types/enums/efs/index.d.ts +1 -1
- package/types/input.d.ts +149 -17
- package/types/output.d.ts +149 -17
- package/types/output.js.map +1 -1
- package/voiceid/getDomain.d.ts +12 -0
- package/voiceid/getDomain.js.map +1 -1
|
@@ -32,28 +32,28 @@ export declare class UserPoolClient extends pulumi.CustomResource {
|
|
|
32
32
|
*/
|
|
33
33
|
readonly accessTokenValidity: pulumi.Output<number | undefined>;
|
|
34
34
|
/**
|
|
35
|
-
* The OAuth grant types that you want your app client to generate. To create an app client that generates client credentials grants, you must add `client_credentials` as the only allowed OAuth flow.
|
|
35
|
+
* The OAuth grant types that you want your app client to generate for clients in managed login authentication. To create an app client that generates client credentials grants, you must add `client_credentials` as the only allowed OAuth flow.
|
|
36
36
|
*
|
|
37
37
|
* - **code** - Use a code grant flow, which provides an authorization code as the response. This code can be exchanged for access tokens with the `/oauth2/token` endpoint.
|
|
38
|
-
* - **implicit** - Issue the access token
|
|
39
|
-
* - **client_credentials** - Issue the access token from the `/oauth2/token` endpoint directly to a non-person user
|
|
38
|
+
* - **implicit** - Issue the access token, and the ID token when scopes like `openid` and `profile` are requested, directly to your user.
|
|
39
|
+
* - **client_credentials** - Issue the access token from the `/oauth2/token` endpoint directly to a non-person user, authorized by a combination of the client ID and client secret.
|
|
40
40
|
*/
|
|
41
41
|
readonly allowedOAuthFlows: pulumi.Output<string[] | undefined>;
|
|
42
42
|
/**
|
|
43
|
-
* Set to `true` to use OAuth 2.0 features in your
|
|
43
|
+
* Set to `true` to use OAuth 2.0 authorization server features in your app client.
|
|
44
44
|
*
|
|
45
|
-
*
|
|
45
|
+
* This parameter must have a value of `true` before you can configure the following features in your app client.
|
|
46
46
|
*
|
|
47
47
|
* - `CallBackURLs` : Callback URLs.
|
|
48
48
|
* - `LogoutURLs` : Sign-out redirect URLs.
|
|
49
49
|
* - `AllowedOAuthScopes` : OAuth 2.0 scopes.
|
|
50
50
|
* - `AllowedOAuthFlows` : Support for authorization code, implicit, and client credentials OAuth 2.0 grants.
|
|
51
51
|
*
|
|
52
|
-
* To use
|
|
52
|
+
* To use authorization server features, configure one of these features in the Amazon Cognito console or set `AllowedOAuthFlowsUserPoolClient` to `true` in a `CreateUserPoolClient` or `UpdateUserPoolClient` API request. If you don't set a value for `AllowedOAuthFlowsUserPoolClient` in a request with the AWS CLI or SDKs, it defaults to `false` . When `false` , only SDK-based API sign-in is permitted.
|
|
53
53
|
*/
|
|
54
54
|
readonly allowedOAuthFlowsUserPoolClient: pulumi.Output<boolean | undefined>;
|
|
55
55
|
/**
|
|
56
|
-
* The OAuth
|
|
56
|
+
* The OAuth, OpenID Connect (OIDC), and custom scopes that you want to permit your app client to authorize access with. Scopes govern access control to user pool self-service API operations, user data from the `userInfo` endpoint, and third-party APIs. Scope values include `phone` , `email` , `openid` , and `profile` . The `aws.cognito.signin.user.admin` scope authorizes user self-service operations. Custom scopes with resource servers authorize access to external APIs.
|
|
57
57
|
*/
|
|
58
58
|
readonly allowedOAuthScopes: pulumi.Output<string[] | undefined>;
|
|
59
59
|
/**
|
|
@@ -67,9 +67,9 @@ export declare class UserPoolClient extends pulumi.CustomResource {
|
|
|
67
67
|
*/
|
|
68
68
|
readonly authSessionValidity: pulumi.Output<number | undefined>;
|
|
69
69
|
/**
|
|
70
|
-
* A list of allowed redirect
|
|
70
|
+
* A list of allowed redirect, or callback, URLs for managed login authentication. These URLs are the paths where you want to send your users' browsers after they complete authentication with managed login or a third-party IdP. Typically, callback URLs are the home of an application that uses OAuth or OIDC libraries to process authentication outcomes.
|
|
71
71
|
*
|
|
72
|
-
* A redirect URI must:
|
|
72
|
+
* A redirect URI must meet the following requirements:
|
|
73
73
|
*
|
|
74
74
|
* - Be an absolute URI.
|
|
75
75
|
* - Be registered with the authorization server. Amazon Cognito doesn't accept authorization requests with `redirect_uri` values that aren't in the list of `CallbackURLs` that you provide in this parameter.
|
|
@@ -96,21 +96,23 @@ export declare class UserPoolClient extends pulumi.CustomResource {
|
|
|
96
96
|
*/
|
|
97
97
|
readonly defaultRedirectUri: pulumi.Output<string | undefined>;
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
99
|
+
* When `true` , your application can include additional `UserContextData` in authentication requests. This data includes the IP address, and contributes to analysis by threat protection features. For more information about propagation of user context data, see [Adding session data to API requests](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-adaptive-authentication.html#user-pool-settings-adaptive-authentication-device-fingerprint) . If you don’t include this parameter, you can't send the source IP address to Amazon Cognito threat protection features. You can only activate `EnablePropagateAdditionalUserContextData` in an app client that has a client secret.
|
|
100
100
|
*/
|
|
101
101
|
readonly enablePropagateAdditionalUserContextData: pulumi.Output<boolean | undefined>;
|
|
102
102
|
/**
|
|
103
|
-
* Activates or deactivates token revocation
|
|
103
|
+
* Activates or deactivates [token revocation](https://docs.aws.amazon.com/cognito/latest/developerguide/token-revocation.html) in the target app client.
|
|
104
|
+
*
|
|
105
|
+
* Revoke tokens with `API_RevokeToken` .
|
|
104
106
|
*
|
|
105
107
|
* If you don't include this parameter, token revocation is automatically activated for the new user pool client.
|
|
106
108
|
*/
|
|
107
109
|
readonly enableTokenRevocation: pulumi.Output<boolean | undefined>;
|
|
108
110
|
/**
|
|
109
|
-
* The authentication flows that you want your user pool client to support. For each app client in your user pool, you can sign in your users with any combination of one or more flows, including with a user name and Secure Remote Password (SRP), a user name and password, or a custom authentication process that you define with Lambda functions.
|
|
111
|
+
* The [authentication flows](https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-authentication-flow-methods.html) that you want your user pool client to support. For each app client in your user pool, you can sign in your users with any combination of one or more flows, including with a user name and Secure Remote Password (SRP), a user name and password, or a custom authentication process that you define with Lambda functions.
|
|
110
112
|
*
|
|
111
|
-
* > If you don't specify a value for `ExplicitAuthFlows` , your
|
|
113
|
+
* > If you don't specify a value for `ExplicitAuthFlows` , your app client supports `ALLOW_REFRESH_TOKEN_AUTH` , `ALLOW_USER_SRP_AUTH` , and `ALLOW_CUSTOM_AUTH` .
|
|
112
114
|
*
|
|
113
|
-
*
|
|
115
|
+
* The values for authentication flow options include the following.
|
|
114
116
|
*
|
|
115
117
|
* - `ALLOW_USER_AUTH` : Enable selection-based sign-in with `USER_AUTH` . This setting covers username-password, secure remote password (SRP), passwordless, and passkey authentication. This authentiation flow can do username-password and SRP authentication without other `ExplicitAuthFlows` permitting them. For example users can complete an SRP challenge through `USER_AUTH` without the flow `USER_SRP_AUTH` being active for the app client. This flow doesn't include `CUSTOM_AUTH` .
|
|
116
118
|
*
|
|
@@ -126,7 +128,7 @@ export declare class UserPoolClient extends pulumi.CustomResource {
|
|
|
126
128
|
*/
|
|
127
129
|
readonly explicitAuthFlows: pulumi.Output<string[] | undefined>;
|
|
128
130
|
/**
|
|
129
|
-
* When `true` , generates a client secret for the app client. Client secrets are used with server-side and machine-to-machine applications. For more information, see [App client types](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-client-apps.html#user-pool-settings-client-app-client-types) .
|
|
131
|
+
* When `true` , generates a client secret for the app client. Client secrets are used with server-side and machine-to-machine applications. Client secrets are automatically generated; you can't specify a secret value. For more information, see [App client types](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-client-apps.html#user-pool-settings-client-app-client-types) .
|
|
130
132
|
*/
|
|
131
133
|
readonly generateSecret: pulumi.Output<boolean | undefined>;
|
|
132
134
|
/**
|
|
@@ -141,7 +143,7 @@ export declare class UserPoolClient extends pulumi.CustomResource {
|
|
|
141
143
|
*/
|
|
142
144
|
readonly idTokenValidity: pulumi.Output<number | undefined>;
|
|
143
145
|
/**
|
|
144
|
-
* A list of allowed logout URLs for managed login authentication. For more information, see [Logout endpoint](https://docs.aws.amazon.com/cognito/latest/developerguide/logout-endpoint.html) .
|
|
146
|
+
* A list of allowed logout URLs for managed login authentication. When you pass `logout_uri` and `client_id` parameters to `/logout` , Amazon Cognito signs out your user and redirects them to the logout URL. This parameter describes the URLs that you want to be the permitted targets of `logout_uri` . A typical use of these URLs is when a user selects "Sign out" and you redirect them to your public homepage. For more information, see [Logout endpoint](https://docs.aws.amazon.com/cognito/latest/developerguide/logout-endpoint.html) .
|
|
145
147
|
*/
|
|
146
148
|
readonly logoutUrls: pulumi.Output<string[] | undefined>;
|
|
147
149
|
readonly name: pulumi.Output<string>;
|
|
@@ -157,9 +159,11 @@ export declare class UserPoolClient extends pulumi.CustomResource {
|
|
|
157
159
|
*/
|
|
158
160
|
readonly preventUserExistenceErrors: pulumi.Output<string | undefined>;
|
|
159
161
|
/**
|
|
160
|
-
* The list of user attributes that you want your app client to have read access to. After your user authenticates in your app, their access token authorizes them to read their own attribute value for any attribute in this list.
|
|
162
|
+
* The list of user attributes that you want your app client to have read access to. After your user authenticates in your app, their access token authorizes them to read their own attribute value for any attribute in this list.
|
|
161
163
|
*
|
|
162
|
-
*
|
|
164
|
+
* An example of this kind of activity is when your user selects a link to view their profile information. Your app makes a `API_GetUser` API request to retrieve and display your user's profile data.
|
|
165
|
+
*
|
|
166
|
+
* When you don't specify the `ReadAttributes` for your app client, your app can read the values of `email_verified` , `phone_number_verified` , and the standard attributes of your user pool. When your user pool app client has read access to these default attributes, `ReadAttributes` doesn't return any information. Amazon Cognito only populates `ReadAttributes` in the API response if you have specified your own custom set of read attributes.
|
|
163
167
|
*/
|
|
164
168
|
readonly readAttributes: pulumi.Output<string[] | undefined>;
|
|
165
169
|
/**
|
|
@@ -177,7 +181,7 @@ export declare class UserPoolClient extends pulumi.CustomResource {
|
|
|
177
181
|
/**
|
|
178
182
|
* A list of provider names for the identity providers (IdPs) that are supported on this client. The following are supported: `COGNITO` , `Facebook` , `Google` , `SignInWithApple` , and `LoginWithAmazon` . You can also specify the names that you configured for the SAML and OIDC IdPs in your user pool, for example `MySAMLIdP` or `MyOIDCIdP` .
|
|
179
183
|
*
|
|
180
|
-
* This
|
|
184
|
+
* This parameter sets the IdPs that [managed login](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-managed-login.html) will display on the login page for your app client. The removal of `COGNITO` from this list doesn't prevent authentication operations for local users with the user pools API in an AWS SDK. The only way to prevent SDK-based authentication is to block access with a [AWS WAF rule](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-waf.html) .
|
|
181
185
|
*/
|
|
182
186
|
readonly supportedIdentityProviders: pulumi.Output<string[] | undefined>;
|
|
183
187
|
/**
|
|
@@ -189,7 +193,9 @@ export declare class UserPoolClient extends pulumi.CustomResource {
|
|
|
189
193
|
*/
|
|
190
194
|
readonly userPoolId: pulumi.Output<string>;
|
|
191
195
|
/**
|
|
192
|
-
* The list of user attributes that you want your app client to have write access to. After your user authenticates in your app, their access token authorizes them to set or modify their own attribute value for any attribute in this list.
|
|
196
|
+
* The list of user attributes that you want your app client to have write access to. After your user authenticates in your app, their access token authorizes them to set or modify their own attribute value for any attribute in this list.
|
|
197
|
+
*
|
|
198
|
+
* An example of this kind of activity is when you present your user with a form to update their profile information and they change their last name. Your app then makes an `API_UpdateUserAttributes` API request and sets `family_name` to the new value.
|
|
193
199
|
*
|
|
194
200
|
* When you don't specify the `WriteAttributes` for your app client, your app can write the values of the Standard attributes of your user pool. When your user pool has write access to these default attributes, `WriteAttributes` doesn't return any information. Amazon Cognito only populates `WriteAttributes` in the API response if you have specified your own custom set of write attributes.
|
|
195
201
|
*
|
|
@@ -222,28 +228,28 @@ export interface UserPoolClientArgs {
|
|
|
222
228
|
*/
|
|
223
229
|
accessTokenValidity?: pulumi.Input<number>;
|
|
224
230
|
/**
|
|
225
|
-
* The OAuth grant types that you want your app client to generate. To create an app client that generates client credentials grants, you must add `client_credentials` as the only allowed OAuth flow.
|
|
231
|
+
* The OAuth grant types that you want your app client to generate for clients in managed login authentication. To create an app client that generates client credentials grants, you must add `client_credentials` as the only allowed OAuth flow.
|
|
226
232
|
*
|
|
227
233
|
* - **code** - Use a code grant flow, which provides an authorization code as the response. This code can be exchanged for access tokens with the `/oauth2/token` endpoint.
|
|
228
|
-
* - **implicit** - Issue the access token
|
|
229
|
-
* - **client_credentials** - Issue the access token from the `/oauth2/token` endpoint directly to a non-person user
|
|
234
|
+
* - **implicit** - Issue the access token, and the ID token when scopes like `openid` and `profile` are requested, directly to your user.
|
|
235
|
+
* - **client_credentials** - Issue the access token from the `/oauth2/token` endpoint directly to a non-person user, authorized by a combination of the client ID and client secret.
|
|
230
236
|
*/
|
|
231
237
|
allowedOAuthFlows?: pulumi.Input<pulumi.Input<string>[]>;
|
|
232
238
|
/**
|
|
233
|
-
* Set to `true` to use OAuth 2.0 features in your
|
|
239
|
+
* Set to `true` to use OAuth 2.0 authorization server features in your app client.
|
|
234
240
|
*
|
|
235
|
-
*
|
|
241
|
+
* This parameter must have a value of `true` before you can configure the following features in your app client.
|
|
236
242
|
*
|
|
237
243
|
* - `CallBackURLs` : Callback URLs.
|
|
238
244
|
* - `LogoutURLs` : Sign-out redirect URLs.
|
|
239
245
|
* - `AllowedOAuthScopes` : OAuth 2.0 scopes.
|
|
240
246
|
* - `AllowedOAuthFlows` : Support for authorization code, implicit, and client credentials OAuth 2.0 grants.
|
|
241
247
|
*
|
|
242
|
-
* To use
|
|
248
|
+
* To use authorization server features, configure one of these features in the Amazon Cognito console or set `AllowedOAuthFlowsUserPoolClient` to `true` in a `CreateUserPoolClient` or `UpdateUserPoolClient` API request. If you don't set a value for `AllowedOAuthFlowsUserPoolClient` in a request with the AWS CLI or SDKs, it defaults to `false` . When `false` , only SDK-based API sign-in is permitted.
|
|
243
249
|
*/
|
|
244
250
|
allowedOAuthFlowsUserPoolClient?: pulumi.Input<boolean>;
|
|
245
251
|
/**
|
|
246
|
-
* The OAuth
|
|
252
|
+
* The OAuth, OpenID Connect (OIDC), and custom scopes that you want to permit your app client to authorize access with. Scopes govern access control to user pool self-service API operations, user data from the `userInfo` endpoint, and third-party APIs. Scope values include `phone` , `email` , `openid` , and `profile` . The `aws.cognito.signin.user.admin` scope authorizes user self-service operations. Custom scopes with resource servers authorize access to external APIs.
|
|
247
253
|
*/
|
|
248
254
|
allowedOAuthScopes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
249
255
|
/**
|
|
@@ -257,9 +263,9 @@ export interface UserPoolClientArgs {
|
|
|
257
263
|
*/
|
|
258
264
|
authSessionValidity?: pulumi.Input<number>;
|
|
259
265
|
/**
|
|
260
|
-
* A list of allowed redirect
|
|
266
|
+
* A list of allowed redirect, or callback, URLs for managed login authentication. These URLs are the paths where you want to send your users' browsers after they complete authentication with managed login or a third-party IdP. Typically, callback URLs are the home of an application that uses OAuth or OIDC libraries to process authentication outcomes.
|
|
261
267
|
*
|
|
262
|
-
* A redirect URI must:
|
|
268
|
+
* A redirect URI must meet the following requirements:
|
|
263
269
|
*
|
|
264
270
|
* - Be an absolute URI.
|
|
265
271
|
* - Be registered with the authorization server. Amazon Cognito doesn't accept authorization requests with `redirect_uri` values that aren't in the list of `CallbackURLs` that you provide in this parameter.
|
|
@@ -281,21 +287,23 @@ export interface UserPoolClientArgs {
|
|
|
281
287
|
*/
|
|
282
288
|
defaultRedirectUri?: pulumi.Input<string>;
|
|
283
289
|
/**
|
|
284
|
-
*
|
|
290
|
+
* When `true` , your application can include additional `UserContextData` in authentication requests. This data includes the IP address, and contributes to analysis by threat protection features. For more information about propagation of user context data, see [Adding session data to API requests](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-adaptive-authentication.html#user-pool-settings-adaptive-authentication-device-fingerprint) . If you don’t include this parameter, you can't send the source IP address to Amazon Cognito threat protection features. You can only activate `EnablePropagateAdditionalUserContextData` in an app client that has a client secret.
|
|
285
291
|
*/
|
|
286
292
|
enablePropagateAdditionalUserContextData?: pulumi.Input<boolean>;
|
|
287
293
|
/**
|
|
288
|
-
* Activates or deactivates token revocation
|
|
294
|
+
* Activates or deactivates [token revocation](https://docs.aws.amazon.com/cognito/latest/developerguide/token-revocation.html) in the target app client.
|
|
295
|
+
*
|
|
296
|
+
* Revoke tokens with `API_RevokeToken` .
|
|
289
297
|
*
|
|
290
298
|
* If you don't include this parameter, token revocation is automatically activated for the new user pool client.
|
|
291
299
|
*/
|
|
292
300
|
enableTokenRevocation?: pulumi.Input<boolean>;
|
|
293
301
|
/**
|
|
294
|
-
* The authentication flows that you want your user pool client to support. For each app client in your user pool, you can sign in your users with any combination of one or more flows, including with a user name and Secure Remote Password (SRP), a user name and password, or a custom authentication process that you define with Lambda functions.
|
|
302
|
+
* The [authentication flows](https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-authentication-flow-methods.html) that you want your user pool client to support. For each app client in your user pool, you can sign in your users with any combination of one or more flows, including with a user name and Secure Remote Password (SRP), a user name and password, or a custom authentication process that you define with Lambda functions.
|
|
295
303
|
*
|
|
296
|
-
* > If you don't specify a value for `ExplicitAuthFlows` , your
|
|
304
|
+
* > If you don't specify a value for `ExplicitAuthFlows` , your app client supports `ALLOW_REFRESH_TOKEN_AUTH` , `ALLOW_USER_SRP_AUTH` , and `ALLOW_CUSTOM_AUTH` .
|
|
297
305
|
*
|
|
298
|
-
*
|
|
306
|
+
* The values for authentication flow options include the following.
|
|
299
307
|
*
|
|
300
308
|
* - `ALLOW_USER_AUTH` : Enable selection-based sign-in with `USER_AUTH` . This setting covers username-password, secure remote password (SRP), passwordless, and passkey authentication. This authentiation flow can do username-password and SRP authentication without other `ExplicitAuthFlows` permitting them. For example users can complete an SRP challenge through `USER_AUTH` without the flow `USER_SRP_AUTH` being active for the app client. This flow doesn't include `CUSTOM_AUTH` .
|
|
301
309
|
*
|
|
@@ -311,7 +319,7 @@ export interface UserPoolClientArgs {
|
|
|
311
319
|
*/
|
|
312
320
|
explicitAuthFlows?: pulumi.Input<pulumi.Input<string>[]>;
|
|
313
321
|
/**
|
|
314
|
-
* When `true` , generates a client secret for the app client. Client secrets are used with server-side and machine-to-machine applications. For more information, see [App client types](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-client-apps.html#user-pool-settings-client-app-client-types) .
|
|
322
|
+
* When `true` , generates a client secret for the app client. Client secrets are used with server-side and machine-to-machine applications. Client secrets are automatically generated; you can't specify a secret value. For more information, see [App client types](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-client-apps.html#user-pool-settings-client-app-client-types) .
|
|
315
323
|
*/
|
|
316
324
|
generateSecret?: pulumi.Input<boolean>;
|
|
317
325
|
/**
|
|
@@ -326,7 +334,7 @@ export interface UserPoolClientArgs {
|
|
|
326
334
|
*/
|
|
327
335
|
idTokenValidity?: pulumi.Input<number>;
|
|
328
336
|
/**
|
|
329
|
-
* A list of allowed logout URLs for managed login authentication. For more information, see [Logout endpoint](https://docs.aws.amazon.com/cognito/latest/developerguide/logout-endpoint.html) .
|
|
337
|
+
* A list of allowed logout URLs for managed login authentication. When you pass `logout_uri` and `client_id` parameters to `/logout` , Amazon Cognito signs out your user and redirects them to the logout URL. This parameter describes the URLs that you want to be the permitted targets of `logout_uri` . A typical use of these URLs is when a user selects "Sign out" and you redirect them to your public homepage. For more information, see [Logout endpoint](https://docs.aws.amazon.com/cognito/latest/developerguide/logout-endpoint.html) .
|
|
330
338
|
*/
|
|
331
339
|
logoutUrls?: pulumi.Input<pulumi.Input<string>[]>;
|
|
332
340
|
/**
|
|
@@ -341,9 +349,11 @@ export interface UserPoolClientArgs {
|
|
|
341
349
|
*/
|
|
342
350
|
preventUserExistenceErrors?: pulumi.Input<string>;
|
|
343
351
|
/**
|
|
344
|
-
* The list of user attributes that you want your app client to have read access to. After your user authenticates in your app, their access token authorizes them to read their own attribute value for any attribute in this list.
|
|
352
|
+
* The list of user attributes that you want your app client to have read access to. After your user authenticates in your app, their access token authorizes them to read their own attribute value for any attribute in this list.
|
|
345
353
|
*
|
|
346
|
-
*
|
|
354
|
+
* An example of this kind of activity is when your user selects a link to view their profile information. Your app makes a `API_GetUser` API request to retrieve and display your user's profile data.
|
|
355
|
+
*
|
|
356
|
+
* When you don't specify the `ReadAttributes` for your app client, your app can read the values of `email_verified` , `phone_number_verified` , and the standard attributes of your user pool. When your user pool app client has read access to these default attributes, `ReadAttributes` doesn't return any information. Amazon Cognito only populates `ReadAttributes` in the API response if you have specified your own custom set of read attributes.
|
|
347
357
|
*/
|
|
348
358
|
readAttributes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
349
359
|
/**
|
|
@@ -361,7 +371,7 @@ export interface UserPoolClientArgs {
|
|
|
361
371
|
/**
|
|
362
372
|
* A list of provider names for the identity providers (IdPs) that are supported on this client. The following are supported: `COGNITO` , `Facebook` , `Google` , `SignInWithApple` , and `LoginWithAmazon` . You can also specify the names that you configured for the SAML and OIDC IdPs in your user pool, for example `MySAMLIdP` or `MyOIDCIdP` .
|
|
363
373
|
*
|
|
364
|
-
* This
|
|
374
|
+
* This parameter sets the IdPs that [managed login](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-managed-login.html) will display on the login page for your app client. The removal of `COGNITO` from this list doesn't prevent authentication operations for local users with the user pools API in an AWS SDK. The only way to prevent SDK-based authentication is to block access with a [AWS WAF rule](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-waf.html) .
|
|
365
375
|
*/
|
|
366
376
|
supportedIdentityProviders?: pulumi.Input<pulumi.Input<string>[]>;
|
|
367
377
|
/**
|
|
@@ -373,7 +383,9 @@ export interface UserPoolClientArgs {
|
|
|
373
383
|
*/
|
|
374
384
|
userPoolId: pulumi.Input<string>;
|
|
375
385
|
/**
|
|
376
|
-
* The list of user attributes that you want your app client to have write access to. After your user authenticates in your app, their access token authorizes them to set or modify their own attribute value for any attribute in this list.
|
|
386
|
+
* The list of user attributes that you want your app client to have write access to. After your user authenticates in your app, their access token authorizes them to set or modify their own attribute value for any attribute in this list.
|
|
387
|
+
*
|
|
388
|
+
* An example of this kind of activity is when you present your user with a form to update their profile information and they change their last name. Your app then makes an `API_UpdateUserAttributes` API request and sets `family_name` to the new value.
|
|
377
389
|
*
|
|
378
390
|
* When you don't specify the `WriteAttributes` for your app client, your app can write the values of the Standard attributes of your user pool. When your user pool has write access to these default attributes, `WriteAttributes` doesn't return any information. Amazon Cognito only populates `WriteAttributes` in the API response if you have specified your own custom set of write attributes.
|
|
379
391
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userPoolClient.js","sourceRoot":"","sources":["../../cognito/userPoolClient.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,cAAc,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;
|
|
1
|
+
{"version":3,"file":"userPoolClient.js","sourceRoot":"","sources":["../../cognito/userPoolClient.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACt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,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,gBAAgB,EAAE,YAAY,CAAC,EAAE,CAAC;QAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAzRL,wCA0RC;AA7QG,gBAAgB;AACO,2BAAY,GAAG,mCAAmC,CAAC"}
|
|
@@ -28,15 +28,15 @@ export declare class UserPoolDomain extends pulumi.CustomResource {
|
|
|
28
28
|
*/
|
|
29
29
|
readonly cloudFrontDistribution: pulumi.Output<string>;
|
|
30
30
|
/**
|
|
31
|
-
* The configuration for a custom domain that hosts
|
|
31
|
+
* The configuration for a custom domain that hosts managed login for your application. In an `UpdateUserPoolDomain` request, this parameter specifies an SSL certificate for the managed login hosted webserver. The certificate must be an ACM ARN in `us-east-1` .
|
|
32
32
|
*
|
|
33
|
-
* When you create a custom domain, the passkey RP ID defaults to the custom domain. If you had a prefix domain active, this will cause passkey integration for your prefix domain to stop working due to a mismatch in RP ID. To keep the prefix domain passkey integration working, you can explicitly set RP ID to the prefix domain.
|
|
33
|
+
* When you create a custom domain, the passkey RP ID defaults to the custom domain. If you had a prefix domain active, this will cause passkey integration for your prefix domain to stop working due to a mismatch in RP ID. To keep the prefix domain passkey integration working, you can explicitly set RP ID to the prefix domain.
|
|
34
|
+
*
|
|
35
|
+
* Update the RP ID in a `API_SetUserPoolMfaConfig` request.
|
|
34
36
|
*/
|
|
35
37
|
readonly customDomainConfig: pulumi.Output<outputs.cognito.UserPoolDomainCustomDomainConfigType | undefined>;
|
|
36
38
|
/**
|
|
37
|
-
* The
|
|
38
|
-
*
|
|
39
|
-
* This string can include only lowercase letters, numbers, and hyphens. Don't use a hyphen for the first or last character. Use periods to separate subdomain names.
|
|
39
|
+
* The name of the domain that you want to update. For custom domains, this is the fully-qualified domain name, for example `auth.example.com` . For prefix domains, this is the prefix alone, such as `myprefix` .
|
|
40
40
|
*/
|
|
41
41
|
readonly domain: pulumi.Output<string>;
|
|
42
42
|
/**
|
|
@@ -44,7 +44,7 @@ export declare class UserPoolDomain extends pulumi.CustomResource {
|
|
|
44
44
|
*/
|
|
45
45
|
readonly managedLoginVersion: pulumi.Output<number | undefined>;
|
|
46
46
|
/**
|
|
47
|
-
* The ID of the user pool that is associated with the
|
|
47
|
+
* The ID of the user pool that is associated with the domain you're updating.
|
|
48
48
|
*/
|
|
49
49
|
readonly userPoolId: pulumi.Output<string>;
|
|
50
50
|
/**
|
|
@@ -61,15 +61,15 @@ export declare class UserPoolDomain extends pulumi.CustomResource {
|
|
|
61
61
|
*/
|
|
62
62
|
export interface UserPoolDomainArgs {
|
|
63
63
|
/**
|
|
64
|
-
* The configuration for a custom domain that hosts
|
|
64
|
+
* The configuration for a custom domain that hosts managed login for your application. In an `UpdateUserPoolDomain` request, this parameter specifies an SSL certificate for the managed login hosted webserver. The certificate must be an ACM ARN in `us-east-1` .
|
|
65
65
|
*
|
|
66
|
-
* When you create a custom domain, the passkey RP ID defaults to the custom domain. If you had a prefix domain active, this will cause passkey integration for your prefix domain to stop working due to a mismatch in RP ID. To keep the prefix domain passkey integration working, you can explicitly set RP ID to the prefix domain.
|
|
66
|
+
* When you create a custom domain, the passkey RP ID defaults to the custom domain. If you had a prefix domain active, this will cause passkey integration for your prefix domain to stop working due to a mismatch in RP ID. To keep the prefix domain passkey integration working, you can explicitly set RP ID to the prefix domain.
|
|
67
|
+
*
|
|
68
|
+
* Update the RP ID in a `API_SetUserPoolMfaConfig` request.
|
|
67
69
|
*/
|
|
68
70
|
customDomainConfig?: pulumi.Input<inputs.cognito.UserPoolDomainCustomDomainConfigTypeArgs>;
|
|
69
71
|
/**
|
|
70
|
-
* The
|
|
71
|
-
*
|
|
72
|
-
* This string can include only lowercase letters, numbers, and hyphens. Don't use a hyphen for the first or last character. Use periods to separate subdomain names.
|
|
72
|
+
* The name of the domain that you want to update. For custom domains, this is the fully-qualified domain name, for example `auth.example.com` . For prefix domains, this is the prefix alone, such as `myprefix` .
|
|
73
73
|
*/
|
|
74
74
|
domain: pulumi.Input<string>;
|
|
75
75
|
/**
|
|
@@ -77,7 +77,7 @@ export interface UserPoolDomainArgs {
|
|
|
77
77
|
*/
|
|
78
78
|
managedLoginVersion?: pulumi.Input<number>;
|
|
79
79
|
/**
|
|
80
|
-
* The ID of the user pool that is associated with the
|
|
80
|
+
* The ID of the user pool that is associated with the domain you're updating.
|
|
81
81
|
*/
|
|
82
82
|
userPoolId: pulumi.Input<string>;
|
|
83
83
|
}
|
|
@@ -20,7 +20,7 @@ export declare class UserPoolRiskConfigurationAttachment extends pulumi.CustomRe
|
|
|
20
20
|
*/
|
|
21
21
|
static isInstance(obj: any): obj is UserPoolRiskConfigurationAttachment;
|
|
22
22
|
/**
|
|
23
|
-
* The settings for automated responses and notification templates for adaptive authentication with
|
|
23
|
+
* The settings for automated responses and notification templates for adaptive authentication with threat protection.
|
|
24
24
|
*/
|
|
25
25
|
readonly accountTakeoverRiskConfiguration: pulumi.Output<outputs.cognito.UserPoolRiskConfigurationAttachmentAccountTakeoverRiskConfigurationType | undefined>;
|
|
26
26
|
/**
|
|
@@ -28,7 +28,7 @@ export declare class UserPoolRiskConfigurationAttachment extends pulumi.CustomRe
|
|
|
28
28
|
*/
|
|
29
29
|
readonly clientId: pulumi.Output<string>;
|
|
30
30
|
/**
|
|
31
|
-
* Settings for compromised-credentials actions and authentication types with
|
|
31
|
+
* Settings for compromised-credentials actions and authentication types with threat protection in full-function `ENFORCED` mode.
|
|
32
32
|
*/
|
|
33
33
|
readonly compromisedCredentialsRiskConfiguration: pulumi.Output<outputs.cognito.UserPoolRiskConfigurationAttachmentCompromisedCredentialsRiskConfigurationType | undefined>;
|
|
34
34
|
/**
|
|
@@ -53,7 +53,7 @@ export declare class UserPoolRiskConfigurationAttachment extends pulumi.CustomRe
|
|
|
53
53
|
*/
|
|
54
54
|
export interface UserPoolRiskConfigurationAttachmentArgs {
|
|
55
55
|
/**
|
|
56
|
-
* The settings for automated responses and notification templates for adaptive authentication with
|
|
56
|
+
* The settings for automated responses and notification templates for adaptive authentication with threat protection.
|
|
57
57
|
*/
|
|
58
58
|
accountTakeoverRiskConfiguration?: pulumi.Input<inputs.cognito.UserPoolRiskConfigurationAttachmentAccountTakeoverRiskConfigurationTypeArgs>;
|
|
59
59
|
/**
|
|
@@ -61,7 +61,7 @@ export interface UserPoolRiskConfigurationAttachmentArgs {
|
|
|
61
61
|
*/
|
|
62
62
|
clientId: pulumi.Input<string>;
|
|
63
63
|
/**
|
|
64
|
-
* Settings for compromised-credentials actions and authentication types with
|
|
64
|
+
* Settings for compromised-credentials actions and authentication types with threat protection in full-function `ENFORCED` mode.
|
|
65
65
|
*/
|
|
66
66
|
compromisedCredentialsRiskConfiguration?: pulumi.Input<inputs.cognito.UserPoolRiskConfigurationAttachmentCompromisedCredentialsRiskConfigurationTypeArgs>;
|
|
67
67
|
/**
|
|
@@ -22,11 +22,11 @@ export declare class UserPoolUiCustomizationAttachment extends pulumi.CustomReso
|
|
|
22
22
|
*/
|
|
23
23
|
readonly clientId: pulumi.Output<string>;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* A plaintext CSS file that contains the custom fields that you want to apply to your user pool or app client. To download a template, go to the Amazon Cognito console. Navigate to your user pool *App clients* tab, select *Login pages* , edit *Hosted UI (classic) style* , and select the link to `CSS template.css` .
|
|
26
26
|
*/
|
|
27
27
|
readonly css: pulumi.Output<string | undefined>;
|
|
28
28
|
/**
|
|
29
|
-
* The ID of the user pool.
|
|
29
|
+
* The ID of the user pool where you want to apply branding to the classic hosted UI.
|
|
30
30
|
*/
|
|
31
31
|
readonly userPoolId: pulumi.Output<string>;
|
|
32
32
|
/**
|
|
@@ -47,11 +47,11 @@ export interface UserPoolUiCustomizationAttachmentArgs {
|
|
|
47
47
|
*/
|
|
48
48
|
clientId: pulumi.Input<string>;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* A plaintext CSS file that contains the custom fields that you want to apply to your user pool or app client. To download a template, go to the Amazon Cognito console. Navigate to your user pool *App clients* tab, select *Login pages* , edit *Hosted UI (classic) style* , and select the link to `CSS template.css` .
|
|
51
51
|
*/
|
|
52
52
|
css?: pulumi.Input<string>;
|
|
53
53
|
/**
|
|
54
|
-
* The ID of the user pool.
|
|
54
|
+
* The ID of the user pool where you want to apply branding to the classic hosted UI.
|
|
55
55
|
*/
|
|
56
56
|
userPoolId: pulumi.Input<string>;
|
|
57
57
|
}
|
|
@@ -60,10 +60,12 @@ export declare class UserPoolUser extends pulumi.CustomResource {
|
|
|
60
60
|
*
|
|
61
61
|
* You must also provide an email address or phone number when you expect the user to do passwordless sign-in with an email or SMS OTP. These attributes must be provided when passwordless options are the only available, or when you don't submit a `TemporaryPassword` .
|
|
62
62
|
*
|
|
63
|
-
* In your
|
|
63
|
+
* In your `AdminCreateUser` request, you can set the `email_verified` and `phone_number_verified` attributes to `true` . The following conditions apply:
|
|
64
64
|
*
|
|
65
|
-
* -
|
|
66
|
-
* -
|
|
65
|
+
* - **email** - The email address where you want the user to receive their confirmation code and username. You must provide a value for the `email` when you want to set `email_verified` to `true` , or if you set `EMAIL` in the `DesiredDeliveryMediums` parameter.
|
|
66
|
+
* - **phone_number** - The phone number where you want the user to receive their confirmation code and username. You must provide a value for the `email` when you want to set `phone_number` to `true` , or if you set `SMS` in the `DesiredDeliveryMediums` parameter.
|
|
67
|
+
*
|
|
68
|
+
* You can also set attributes verified with `API_AdminUpdateUserAttributes` .
|
|
67
69
|
*/
|
|
68
70
|
readonly userAttributes: pulumi.Output<outputs.cognito.UserPoolUserAttributeType[] | undefined>;
|
|
69
71
|
/**
|
|
@@ -81,7 +83,7 @@ export declare class UserPoolUser extends pulumi.CustomResource {
|
|
|
81
83
|
/**
|
|
82
84
|
* Temporary user attributes that contribute to the outcomes of your pre sign-up Lambda trigger. This set of key-value pairs are for custom validation of information that you collect from your users but don't need to retain.
|
|
83
85
|
*
|
|
84
|
-
* Your Lambda function can analyze this additional data and act on it. Your function
|
|
86
|
+
* Your Lambda function can analyze this additional data and act on it. Your function can automatically confirm and verify select users or perform external API operations like logging user attributes and validation data to Amazon CloudWatch Logs.
|
|
85
87
|
*
|
|
86
88
|
* For more information about the pre sign-up Lambda trigger, see [Pre sign-up Lambda trigger](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-sign-up.html) .
|
|
87
89
|
*/
|
|
@@ -140,10 +142,12 @@ export interface UserPoolUserArgs {
|
|
|
140
142
|
*
|
|
141
143
|
* You must also provide an email address or phone number when you expect the user to do passwordless sign-in with an email or SMS OTP. These attributes must be provided when passwordless options are the only available, or when you don't submit a `TemporaryPassword` .
|
|
142
144
|
*
|
|
143
|
-
* In your
|
|
145
|
+
* In your `AdminCreateUser` request, you can set the `email_verified` and `phone_number_verified` attributes to `true` . The following conditions apply:
|
|
146
|
+
*
|
|
147
|
+
* - **email** - The email address where you want the user to receive their confirmation code and username. You must provide a value for the `email` when you want to set `email_verified` to `true` , or if you set `EMAIL` in the `DesiredDeliveryMediums` parameter.
|
|
148
|
+
* - **phone_number** - The phone number where you want the user to receive their confirmation code and username. You must provide a value for the `email` when you want to set `phone_number` to `true` , or if you set `SMS` in the `DesiredDeliveryMediums` parameter.
|
|
144
149
|
*
|
|
145
|
-
*
|
|
146
|
-
* - *phone_number* : The phone number of the user to whom the message that contains the code and username will be sent. Required if the `phone_number_verified` attribute is set to `True` , or if `"SMS"` is specified in the `DesiredDeliveryMediums` parameter.
|
|
150
|
+
* You can also set attributes verified with `API_AdminUpdateUserAttributes` .
|
|
147
151
|
*/
|
|
148
152
|
userAttributes?: pulumi.Input<pulumi.Input<inputs.cognito.UserPoolUserAttributeTypeArgs>[]>;
|
|
149
153
|
/**
|
|
@@ -161,7 +165,7 @@ export interface UserPoolUserArgs {
|
|
|
161
165
|
/**
|
|
162
166
|
* Temporary user attributes that contribute to the outcomes of your pre sign-up Lambda trigger. This set of key-value pairs are for custom validation of information that you collect from your users but don't need to retain.
|
|
163
167
|
*
|
|
164
|
-
* Your Lambda function can analyze this additional data and act on it. Your function
|
|
168
|
+
* Your Lambda function can analyze this additional data and act on it. Your function can automatically confirm and verify select users or perform external API operations like logging user attributes and validation data to Amazon CloudWatch Logs.
|
|
165
169
|
*
|
|
166
170
|
* For more information about the pre sign-up Lambda trigger, see [Pre sign-up Lambda trigger](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-sign-up.html) .
|
|
167
171
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userPoolUser.js","sourceRoot":"","sources":["../../cognito/userPoolUser.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,YAAY,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YA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IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,kBAAkB,EAAE,2BAA2B,EAAE,oBAAoB,EAAE,eAAe,EAAE,mBAAmB,EAAE,YAAY,EAAE,UAAU,EAAE,mBAAmB,CAAC,EAAE,CAAC;QAC5M,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAnIL,oCAoIC;AAvHG,gBAAgB;AACO,yBAAY,GAAG,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* An event trigger resource of Amazon Connect Customer Profiles
|
|
6
|
+
*/
|
|
7
|
+
export declare class EventTrigger extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing EventTrigger resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
15
|
+
*/
|
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): EventTrigger;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of EventTrigger. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is EventTrigger;
|
|
22
|
+
/**
|
|
23
|
+
* The timestamp of when the event trigger was created.
|
|
24
|
+
*/
|
|
25
|
+
readonly createdAt: pulumi.Output<string>;
|
|
26
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
27
|
+
readonly domainName: pulumi.Output<string>;
|
|
28
|
+
readonly eventTriggerConditions: pulumi.Output<outputs.customerprofiles.EventTriggerCondition[]>;
|
|
29
|
+
readonly eventTriggerLimits: pulumi.Output<outputs.customerprofiles.EventTriggerLimits | undefined>;
|
|
30
|
+
readonly eventTriggerName: pulumi.Output<string>;
|
|
31
|
+
/**
|
|
32
|
+
* The timestamp of when the event trigger was most recently updated.
|
|
33
|
+
*/
|
|
34
|
+
readonly lastUpdatedAt: pulumi.Output<string>;
|
|
35
|
+
readonly objectTypeName: pulumi.Output<string>;
|
|
36
|
+
readonly segmentFilter: pulumi.Output<string | undefined>;
|
|
37
|
+
readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* Create a EventTrigger resource with the given unique name, arguments, and options.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resource.
|
|
42
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
43
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
44
|
+
*/
|
|
45
|
+
constructor(name: string, args: EventTriggerArgs, opts?: pulumi.CustomResourceOptions);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* The set of arguments for constructing a EventTrigger resource.
|
|
49
|
+
*/
|
|
50
|
+
export interface EventTriggerArgs {
|
|
51
|
+
description?: pulumi.Input<string>;
|
|
52
|
+
domainName: pulumi.Input<string>;
|
|
53
|
+
eventTriggerConditions: pulumi.Input<pulumi.Input<inputs.customerprofiles.EventTriggerConditionArgs>[]>;
|
|
54
|
+
eventTriggerLimits?: pulumi.Input<inputs.customerprofiles.EventTriggerLimitsArgs>;
|
|
55
|
+
eventTriggerName?: pulumi.Input<string>;
|
|
56
|
+
objectTypeName: pulumi.Input<string>;
|
|
57
|
+
segmentFilter?: pulumi.Input<string>;
|
|
58
|
+
tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
|
|
59
|
+
}
|