@pulumi/aws 4.34.0-alpha.1641572025 → 4.35.0
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/account/alternativeContact.d.ts +7 -1
- package/account/alternativeContact.js +7 -1
- package/account/alternativeContact.js.map +1 -1
- package/appsync/dataSource.d.ts +15 -3
- package/appsync/dataSource.js +2 -0
- package/appsync/dataSource.js.map +1 -1
- package/appsync/function.d.ts +25 -0
- package/appsync/function.js +4 -0
- package/appsync/function.js.map +1 -1
- package/appsync/resolver.d.ts +24 -0
- package/appsync/resolver.js +4 -0
- package/appsync/resolver.js.map +1 -1
- package/backup/selection.d.ts +72 -3
- package/backup/selection.js +49 -0
- package/backup/selection.js.map +1 -1
- package/cloudfront/getDistribution.d.ts +4 -0
- package/cloudfront/getDistribution.js.map +1 -1
- package/cloudwatch/logDestinationPolicy.d.ts +12 -0
- package/cloudwatch/logDestinationPolicy.js +2 -0
- package/cloudwatch/logDestinationPolicy.js.map +1 -1
- package/cognito/getUserPoolClient.d.ts +120 -0
- package/cognito/getUserPoolClient.js +30 -0
- package/cognito/getUserPoolClient.js.map +1 -0
- package/cognito/identityPoolProviderPrincipalTag.d.ts +89 -0
- package/cognito/identityPoolProviderPrincipalTag.js +74 -0
- package/cognito/identityPoolProviderPrincipalTag.js.map +1 -0
- package/cognito/index.d.ts +2 -0
- package/cognito/index.js +6 -0
- package/cognito/index.js.map +1 -1
- package/connect/contactFlow.d.ts +0 -2
- package/connect/contactFlow.js +0 -2
- package/connect/contactFlow.js.map +1 -1
- package/connect/contactFlowModule.d.ts +228 -0
- package/connect/contactFlowModule.js +149 -0
- package/connect/contactFlowModule.js.map +1 -0
- package/connect/index.d.ts +2 -0
- package/connect/index.js +10 -0
- package/connect/index.js.map +1 -1
- package/connect/quickConnect.d.ts +170 -0
- package/connect/quickConnect.js +104 -0
- package/connect/quickConnect.js.map +1 -0
- package/devicefarm/index.d.ts +1 -0
- package/devicefarm/index.js +5 -0
- package/devicefarm/index.js.map +1 -1
- package/devicefarm/instanceProfile.d.ts +162 -0
- package/devicefarm/instanceProfile.js +87 -0
- package/devicefarm/instanceProfile.js.map +1 -0
- package/devicefarm/networkProfile.d.ts +1 -1
- package/devicefarm/networkProfile.js +1 -1
- package/ebs/getSnapshot.d.ts +8 -0
- package/ebs/getSnapshot.js.map +1 -1
- package/ebs/snapshot.d.ts +48 -0
- package/ebs/snapshot.js +8 -0
- package/ebs/snapshot.js.map +1 -1
- package/ebs/snapshotCopy.d.ts +32 -7
- package/ebs/snapshotCopy.js +8 -0
- package/ebs/snapshotCopy.js.map +1 -1
- package/ebs/snapshotImport.d.ts +40 -0
- package/ebs/snapshotImport.js +10 -0
- package/ebs/snapshotImport.js.map +1 -1
- package/ec2/customerGateway.d.ts +12 -0
- package/ec2/customerGateway.js +2 -0
- package/ec2/customerGateway.js.map +1 -1
- package/ec2/defaultVpc.d.ts +3 -0
- package/ec2/defaultVpc.js +2 -0
- package/ec2/defaultVpc.js.map +1 -1
- package/ec2/getCustomerGateway.d.ts +8 -4
- package/ec2/getCustomerGateway.js.map +1 -1
- package/ec2/getPrefixList.d.ts +0 -48
- package/ec2/getPrefixList.js +0 -48
- package/ec2/getPrefixList.js.map +1 -1
- package/ec2/getSubnet.d.ts +2 -2
- package/ec2/getVpcIamPool.d.ts +1 -1
- package/ec2/launchTemplate.d.ts +1 -0
- package/ec2/launchTemplate.js +1 -0
- package/ec2/launchTemplate.js.map +1 -1
- package/ec2/spotFleetRequest.d.ts +0 -142
- package/ec2/spotFleetRequest.js +0 -142
- package/ec2/spotFleetRequest.js.map +1 -1
- package/ec2/subnet.d.ts +6 -6
- package/ec2/vpc.d.ts +14 -0
- package/ec2/vpc.js +2 -0
- package/ec2/vpc.js.map +1 -1
- package/ec2/vpcIpamPoolCidrAllocation.d.ts +40 -0
- package/ec2/vpcIpamPoolCidrAllocation.js +30 -0
- package/ec2/vpcIpamPoolCidrAllocation.js.map +1 -1
- package/ec2/vpcIpamPreviewNextCidr.d.ts +13 -0
- package/ec2/vpcIpamPreviewNextCidr.js +3 -0
- package/ec2/vpcIpamPreviewNextCidr.js.map +1 -1
- package/ec2/vpnConnection.d.ts +14 -1
- package/ec2/vpnConnection.js +2 -1
- package/ec2/vpnConnection.js.map +1 -1
- package/ec2clientvpn/endpoint.d.ts +3 -3
- package/ecs/taskDefinition.d.ts +3 -0
- package/ecs/taskDefinition.js +2 -0
- package/ecs/taskDefinition.js.map +1 -1
- package/getPrefixList.d.ts +0 -48
- package/getPrefixList.js +0 -48
- package/getPrefixList.js.map +1 -1
- package/glue/crawler.d.ts +3 -0
- package/glue/crawler.js +2 -0
- package/glue/crawler.js.map +1 -1
- package/memorydb/index.d.ts +1 -0
- package/memorydb/index.js +5 -0
- package/memorydb/index.js.map +1 -1
- package/memorydb/snapshot.d.ts +167 -0
- package/memorydb/snapshot.js +92 -0
- package/memorydb/snapshot.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/secretsmanager/getSecretVersion.d.ts +1 -1
- package/secretsmanager/getSecretVersion.js +1 -1
- package/secretsmanager/secretPolicy.d.ts +2 -2
- package/secretsmanager/secretPolicy.js +2 -2
- package/shield/index.d.ts +1 -0
- package/shield/index.js +5 -0
- package/shield/index.js.map +1 -1
- package/shield/protectionHealthCheckAssociation.d.ts +108 -0
- package/shield/protectionHealthCheckAssociation.js +107 -0
- package/shield/protectionHealthCheckAssociation.js.map +1 -0
- package/types/input.d.ts +324 -19
- package/types/output.d.ts +353 -5
|
@@ -61,6 +61,10 @@ export declare class LogDestinationPolicy extends pulumi.CustomResource {
|
|
|
61
61
|
* A name for the subscription filter
|
|
62
62
|
*/
|
|
63
63
|
readonly destinationName: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* Specify true if you are updating an existing destination policy to grant permission to an organization ID instead of granting permission to individual AWS accounts.
|
|
66
|
+
*/
|
|
67
|
+
readonly forceUpdate: pulumi.Output<boolean | undefined>;
|
|
64
68
|
/**
|
|
65
69
|
* Create a LogDestinationPolicy resource with the given unique name, arguments, and options.
|
|
66
70
|
*
|
|
@@ -82,6 +86,10 @@ export interface LogDestinationPolicyState {
|
|
|
82
86
|
* A name for the subscription filter
|
|
83
87
|
*/
|
|
84
88
|
destinationName?: pulumi.Input<string>;
|
|
89
|
+
/**
|
|
90
|
+
* Specify true if you are updating an existing destination policy to grant permission to an organization ID instead of granting permission to individual AWS accounts.
|
|
91
|
+
*/
|
|
92
|
+
forceUpdate?: pulumi.Input<boolean>;
|
|
85
93
|
}
|
|
86
94
|
/**
|
|
87
95
|
* The set of arguments for constructing a LogDestinationPolicy resource.
|
|
@@ -95,4 +103,8 @@ export interface LogDestinationPolicyArgs {
|
|
|
95
103
|
* A name for the subscription filter
|
|
96
104
|
*/
|
|
97
105
|
destinationName: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Specify true if you are updating an existing destination policy to grant permission to an organization ID instead of granting permission to individual AWS accounts.
|
|
108
|
+
*/
|
|
109
|
+
forceUpdate?: pulumi.Input<boolean>;
|
|
98
110
|
}
|
|
@@ -51,6 +51,7 @@ class LogDestinationPolicy extends pulumi.CustomResource {
|
|
|
51
51
|
const state = argsOrState;
|
|
52
52
|
inputs["accessPolicy"] = state ? state.accessPolicy : undefined;
|
|
53
53
|
inputs["destinationName"] = state ? state.destinationName : undefined;
|
|
54
|
+
inputs["forceUpdate"] = state ? state.forceUpdate : undefined;
|
|
54
55
|
}
|
|
55
56
|
else {
|
|
56
57
|
const args = argsOrState;
|
|
@@ -62,6 +63,7 @@ class LogDestinationPolicy extends pulumi.CustomResource {
|
|
|
62
63
|
}
|
|
63
64
|
inputs["accessPolicy"] = args ? args.accessPolicy : undefined;
|
|
64
65
|
inputs["destinationName"] = args ? args.destinationName : undefined;
|
|
66
|
+
inputs["forceUpdate"] = args ? args.forceUpdate : undefined;
|
|
65
67
|
}
|
|
66
68
|
if (!opts.version) {
|
|
67
69
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logDestinationPolicy.js","sourceRoot":"","sources":["../../cloudwatch/logDestinationPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"logDestinationPolicy.js","sourceRoot":"","sources":["../../cloudwatch/logDestinationPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAiD3D,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoD,CAAC;YACnE,MAAM,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,MAAM,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;aAAM;YACH,MAAM,IAAI,GAAG,WAAmD,CAAC;YACjE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,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AY,CAAC;IACrE,CAAC;;AA1BL,oDA0EC;AA5DG,gBAAgB;AACO,iCAAY,GAAG,0DAA0D,CAAC"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Provides a Cognito User Pool Client resource.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*/
|
|
8
|
+
export declare function getUserPoolClient(args: GetUserPoolClientArgs, opts?: pulumi.InvokeOptions): Promise<GetUserPoolClientResult>;
|
|
9
|
+
/**
|
|
10
|
+
* A collection of arguments for invoking getUserPoolClient.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetUserPoolClientArgs {
|
|
13
|
+
/**
|
|
14
|
+
* Client Id of the user pool.
|
|
15
|
+
*/
|
|
16
|
+
clientId: string;
|
|
17
|
+
/**
|
|
18
|
+
* User pool the client belongs to.
|
|
19
|
+
*/
|
|
20
|
+
userPoolId: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* A collection of values returned by getUserPoolClient.
|
|
24
|
+
*/
|
|
25
|
+
export interface GetUserPoolClientResult {
|
|
26
|
+
/**
|
|
27
|
+
* (Optional) Time limit, between 5 minutes and 1 day, after which the access token is no longer valid and cannot be used. This value will be overridden if you have entered a value in `tokenValidityUnits`.
|
|
28
|
+
*/
|
|
29
|
+
readonly accessTokenValidity: number;
|
|
30
|
+
/**
|
|
31
|
+
* (Optional) List of allowed OAuth flows (code, implicit, client_credentials).
|
|
32
|
+
*/
|
|
33
|
+
readonly allowedOauthFlows: string[];
|
|
34
|
+
/**
|
|
35
|
+
* (Optional) Whether the client is allowed to follow the OAuth protocol when interacting with Cognito user pools.
|
|
36
|
+
*/
|
|
37
|
+
readonly allowedOauthFlowsUserPoolClient: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* (Optional) List of allowed OAuth scopes (phone, email, openid, profile, and aws.cognito.signin.user.admin).
|
|
40
|
+
*/
|
|
41
|
+
readonly allowedOauthScopes: string[];
|
|
42
|
+
/**
|
|
43
|
+
* (Optional) Configuration block for Amazon Pinpoint analytics for collecting metrics for this user pool. Detailed below.
|
|
44
|
+
*/
|
|
45
|
+
readonly analyticsConfigurations: outputs.cognito.GetUserPoolClientAnalyticsConfiguration[];
|
|
46
|
+
/**
|
|
47
|
+
* (Optional) List of allowed callback URLs for the identity providers.
|
|
48
|
+
*/
|
|
49
|
+
readonly callbackUrls: string[];
|
|
50
|
+
readonly clientId: string;
|
|
51
|
+
readonly clientSecret: string;
|
|
52
|
+
/**
|
|
53
|
+
* (Optional) Default redirect URI. Must be in the list of callback URLs.
|
|
54
|
+
*/
|
|
55
|
+
readonly defaultRedirectUri: string;
|
|
56
|
+
/**
|
|
57
|
+
* (Optional) Enables or disables token revocation.
|
|
58
|
+
*/
|
|
59
|
+
readonly enableTokenRevocation: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* (Optional) List of authentication flows (ADMIN_NO_SRP_AUTH, CUSTOM_AUTH_FLOW_ONLY, USER_PASSWORD_AUTH, ALLOW_ADMIN_USER_PASSWORD_AUTH, ALLOW_CUSTOM_AUTH, ALLOW_USER_PASSWORD_AUTH, ALLOW_USER_SRP_AUTH, ALLOW_REFRESH_TOKEN_AUTH).
|
|
62
|
+
*/
|
|
63
|
+
readonly explicitAuthFlows: string[];
|
|
64
|
+
/**
|
|
65
|
+
* (Optional) Should an application secret be generated.
|
|
66
|
+
*/
|
|
67
|
+
readonly generateSecret: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* The provider-assigned unique ID for this managed resource.
|
|
70
|
+
*/
|
|
71
|
+
readonly id: string;
|
|
72
|
+
/**
|
|
73
|
+
* (Optional) Time limit, between 5 minutes and 1 day, after which the ID token is no longer valid and cannot be used. This value will be overridden if you have entered a value in `tokenValidityUnits`.
|
|
74
|
+
*/
|
|
75
|
+
readonly idTokenValidity: number;
|
|
76
|
+
/**
|
|
77
|
+
* (Optional) List of allowed logout URLs for the identity providers.
|
|
78
|
+
*/
|
|
79
|
+
readonly logoutUrls: string[];
|
|
80
|
+
readonly name: string;
|
|
81
|
+
/**
|
|
82
|
+
* (Optional) Choose which errors and responses are returned by Cognito APIs during authentication, account confirmation, and password recovery when the user does not exist in the user pool. When set to `ENABLED` and the user does not exist, authentication returns an error indicating either the username or password was incorrect, and account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to `LEGACY`, those APIs will return a `UserNotFoundException` exception if the user does not exist in the user pool.
|
|
83
|
+
*/
|
|
84
|
+
readonly preventUserExistenceErrors: string;
|
|
85
|
+
/**
|
|
86
|
+
* (Optional) List of user pool attributes the application client can read from.
|
|
87
|
+
*/
|
|
88
|
+
readonly readAttributes: string[];
|
|
89
|
+
/**
|
|
90
|
+
* (Optional) Time limit in days refresh tokens are valid for.
|
|
91
|
+
*/
|
|
92
|
+
readonly refreshTokenValidity: number;
|
|
93
|
+
/**
|
|
94
|
+
* (Optional) List of provider names for the identity providers that are supported on this client. Uses the `providerName` attribute of `aws.cognito.IdentityProvider` resource(s), or the equivalent string(s).
|
|
95
|
+
*/
|
|
96
|
+
readonly supportedIdentityProviders: string[];
|
|
97
|
+
/**
|
|
98
|
+
* (Optional) Configuration block for units in which the validity times are represented in. Detailed below.
|
|
99
|
+
*/
|
|
100
|
+
readonly tokenValidityUnits: outputs.cognito.GetUserPoolClientTokenValidityUnit[];
|
|
101
|
+
readonly userPoolId: string;
|
|
102
|
+
/**
|
|
103
|
+
* (Optional) List of user pool attributes the application client can write to.
|
|
104
|
+
*/
|
|
105
|
+
readonly writeAttributes: string[];
|
|
106
|
+
}
|
|
107
|
+
export declare function getUserPoolClientOutput(args: GetUserPoolClientOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUserPoolClientResult>;
|
|
108
|
+
/**
|
|
109
|
+
* A collection of arguments for invoking getUserPoolClient.
|
|
110
|
+
*/
|
|
111
|
+
export interface GetUserPoolClientOutputArgs {
|
|
112
|
+
/**
|
|
113
|
+
* Client Id of the user pool.
|
|
114
|
+
*/
|
|
115
|
+
clientId: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* User pool the client belongs to.
|
|
118
|
+
*/
|
|
119
|
+
userPoolId: pulumi.Input<string>;
|
|
120
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getUserPoolClientOutput = exports.getUserPoolClient = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a Cognito User Pool Client resource.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*/
|
|
13
|
+
function getUserPoolClient(args, opts) {
|
|
14
|
+
if (!opts) {
|
|
15
|
+
opts = {};
|
|
16
|
+
}
|
|
17
|
+
if (!opts.version) {
|
|
18
|
+
opts.version = utilities.getVersion();
|
|
19
|
+
}
|
|
20
|
+
return pulumi.runtime.invoke("aws:cognito/getUserPoolClient:getUserPoolClient", {
|
|
21
|
+
"clientId": args.clientId,
|
|
22
|
+
"userPoolId": args.userPoolId,
|
|
23
|
+
}, opts);
|
|
24
|
+
}
|
|
25
|
+
exports.getUserPoolClient = getUserPoolClient;
|
|
26
|
+
function getUserPoolClientOutput(args, opts) {
|
|
27
|
+
return pulumi.output(args).apply(a => getUserPoolClient(a, opts));
|
|
28
|
+
}
|
|
29
|
+
exports.getUserPoolClientOutput = getUserPoolClientOutput;
|
|
30
|
+
//# sourceMappingURL=getUserPoolClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserPoolClient.js","sourceRoot":"","sources":["../../cognito/getUserPoolClient.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;GAIG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,8CAYC;AAsGD,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,0DAEC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides an AWS Cognito Identity Principal Mapping.
|
|
4
|
+
*
|
|
5
|
+
* ## Import
|
|
6
|
+
*
|
|
7
|
+
* Cognito Identity Pool Roles Attachment can be imported using the Identity Pool id, e.g.,
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import aws:cognito/identityPoolProviderPrincipalTag:IdentityPoolProviderPrincipalTag example <identity-pool-id>:<identity_provider_name>
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class IdentityPoolProviderPrincipalTag extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing IdentityPoolProviderPrincipalTag resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IdentityPoolProviderPrincipalTagState, opts?: pulumi.CustomResourceOptions): IdentityPoolProviderPrincipalTag;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of IdentityPoolProviderPrincipalTag. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is IdentityPoolProviderPrincipalTag;
|
|
29
|
+
/**
|
|
30
|
+
* An identity pool ID in the format REGION:GUID.
|
|
31
|
+
*/
|
|
32
|
+
readonly identityPoolId: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* The name of the identity provider
|
|
35
|
+
* * `principalTags`: (Optional: []) - String to string map of variables
|
|
36
|
+
* * `useDefaults`: (Optional: true) use default (username and clientID) attribute mappings.
|
|
37
|
+
*/
|
|
38
|
+
readonly identityProviderName: pulumi.Output<string>;
|
|
39
|
+
readonly principalTags: pulumi.Output<{
|
|
40
|
+
[key: string]: string;
|
|
41
|
+
} | undefined>;
|
|
42
|
+
readonly useDefaults: pulumi.Output<boolean | undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* Create a IdentityPoolProviderPrincipalTag resource with the given unique name, arguments, and options.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resource.
|
|
47
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
48
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
49
|
+
*/
|
|
50
|
+
constructor(name: string, args: IdentityPoolProviderPrincipalTagArgs, opts?: pulumi.CustomResourceOptions);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Input properties used for looking up and filtering IdentityPoolProviderPrincipalTag resources.
|
|
54
|
+
*/
|
|
55
|
+
export interface IdentityPoolProviderPrincipalTagState {
|
|
56
|
+
/**
|
|
57
|
+
* An identity pool ID in the format REGION:GUID.
|
|
58
|
+
*/
|
|
59
|
+
identityPoolId?: pulumi.Input<string>;
|
|
60
|
+
/**
|
|
61
|
+
* The name of the identity provider
|
|
62
|
+
* * `principalTags`: (Optional: []) - String to string map of variables
|
|
63
|
+
* * `useDefaults`: (Optional: true) use default (username and clientID) attribute mappings.
|
|
64
|
+
*/
|
|
65
|
+
identityProviderName?: pulumi.Input<string>;
|
|
66
|
+
principalTags?: pulumi.Input<{
|
|
67
|
+
[key: string]: pulumi.Input<string>;
|
|
68
|
+
}>;
|
|
69
|
+
useDefaults?: pulumi.Input<boolean>;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* The set of arguments for constructing a IdentityPoolProviderPrincipalTag resource.
|
|
73
|
+
*/
|
|
74
|
+
export interface IdentityPoolProviderPrincipalTagArgs {
|
|
75
|
+
/**
|
|
76
|
+
* An identity pool ID in the format REGION:GUID.
|
|
77
|
+
*/
|
|
78
|
+
identityPoolId: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The name of the identity provider
|
|
81
|
+
* * `principalTags`: (Optional: []) - String to string map of variables
|
|
82
|
+
* * `useDefaults`: (Optional: true) use default (username and clientID) attribute mappings.
|
|
83
|
+
*/
|
|
84
|
+
identityProviderName: pulumi.Input<string>;
|
|
85
|
+
principalTags?: pulumi.Input<{
|
|
86
|
+
[key: string]: pulumi.Input<string>;
|
|
87
|
+
}>;
|
|
88
|
+
useDefaults?: pulumi.Input<boolean>;
|
|
89
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.IdentityPoolProviderPrincipalTag = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides an AWS Cognito Identity Principal Mapping.
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* Cognito Identity Pool Roles Attachment can be imported using the Identity Pool id, e.g.,
|
|
14
|
+
*
|
|
15
|
+
* ```sh
|
|
16
|
+
* $ pulumi import aws:cognito/identityPoolProviderPrincipalTag:IdentityPoolProviderPrincipalTag example <identity-pool-id>:<identity_provider_name>
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
class IdentityPoolProviderPrincipalTag extends pulumi.CustomResource {
|
|
20
|
+
constructor(name, argsOrState, opts) {
|
|
21
|
+
let inputs = {};
|
|
22
|
+
opts = opts || {};
|
|
23
|
+
if (opts.id) {
|
|
24
|
+
const state = argsOrState;
|
|
25
|
+
inputs["identityPoolId"] = state ? state.identityPoolId : undefined;
|
|
26
|
+
inputs["identityProviderName"] = state ? state.identityProviderName : undefined;
|
|
27
|
+
inputs["principalTags"] = state ? state.principalTags : undefined;
|
|
28
|
+
inputs["useDefaults"] = state ? state.useDefaults : undefined;
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
const args = argsOrState;
|
|
32
|
+
if ((!args || args.identityPoolId === undefined) && !opts.urn) {
|
|
33
|
+
throw new Error("Missing required property 'identityPoolId'");
|
|
34
|
+
}
|
|
35
|
+
if ((!args || args.identityProviderName === undefined) && !opts.urn) {
|
|
36
|
+
throw new Error("Missing required property 'identityProviderName'");
|
|
37
|
+
}
|
|
38
|
+
inputs["identityPoolId"] = args ? args.identityPoolId : undefined;
|
|
39
|
+
inputs["identityProviderName"] = args ? args.identityProviderName : undefined;
|
|
40
|
+
inputs["principalTags"] = args ? args.principalTags : undefined;
|
|
41
|
+
inputs["useDefaults"] = args ? args.useDefaults : undefined;
|
|
42
|
+
}
|
|
43
|
+
if (!opts.version) {
|
|
44
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
45
|
+
}
|
|
46
|
+
super(IdentityPoolProviderPrincipalTag.__pulumiType, name, inputs, opts);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Get an existing IdentityPoolProviderPrincipalTag resource's state with the given name, ID, and optional extra
|
|
50
|
+
* properties used to qualify the lookup.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resulting resource.
|
|
53
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
54
|
+
* @param state Any extra arguments used during the lookup.
|
|
55
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
56
|
+
*/
|
|
57
|
+
static get(name, id, state, opts) {
|
|
58
|
+
return new IdentityPoolProviderPrincipalTag(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Returns true if the given object is an instance of IdentityPoolProviderPrincipalTag. This is designed to work even
|
|
62
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
63
|
+
*/
|
|
64
|
+
static isInstance(obj) {
|
|
65
|
+
if (obj === undefined || obj === null) {
|
|
66
|
+
return false;
|
|
67
|
+
}
|
|
68
|
+
return obj['__pulumiType'] === IdentityPoolProviderPrincipalTag.__pulumiType;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.IdentityPoolProviderPrincipalTag = IdentityPoolProviderPrincipalTag;
|
|
72
|
+
/** @internal */
|
|
73
|
+
IdentityPoolProviderPrincipalTag.__pulumiType = 'aws:cognito/identityPoolProviderPrincipalTag:IdentityPoolProviderPrincipalTag';
|
|
74
|
+
//# sourceMappingURL=identityPoolProviderPrincipalTag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identityPoolProviderPr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,7 +1,9 @@
|
|
|
1
|
+
export * from "./getUserPoolClient";
|
|
1
2
|
export * from "./getUserPoolClients";
|
|
2
3
|
export * from "./getUserPoolSigningCertificate";
|
|
3
4
|
export * from "./getUserPools";
|
|
4
5
|
export * from "./identityPool";
|
|
6
|
+
export * from "./identityPoolProviderPrincipalTag";
|
|
5
7
|
export * from "./identityPoolRoleAttachment";
|
|
6
8
|
export * from "./identityProvider";
|
|
7
9
|
export * from "./resourceServer";
|
package/cognito/index.js
CHANGED
|
@@ -15,10 +15,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
15
15
|
const pulumi = require("@pulumi/pulumi");
|
|
16
16
|
const utilities = require("../utilities");
|
|
17
17
|
// Export members:
|
|
18
|
+
__exportStar(require("./getUserPoolClient"), exports);
|
|
18
19
|
__exportStar(require("./getUserPoolClients"), exports);
|
|
19
20
|
__exportStar(require("./getUserPoolSigningCertificate"), exports);
|
|
20
21
|
__exportStar(require("./getUserPools"), exports);
|
|
21
22
|
__exportStar(require("./identityPool"), exports);
|
|
23
|
+
__exportStar(require("./identityPoolProviderPrincipalTag"), exports);
|
|
22
24
|
__exportStar(require("./identityPoolRoleAttachment"), exports);
|
|
23
25
|
__exportStar(require("./identityProvider"), exports);
|
|
24
26
|
__exportStar(require("./resourceServer"), exports);
|
|
@@ -29,6 +31,7 @@ __exportStar(require("./userPoolDomain"), exports);
|
|
|
29
31
|
__exportStar(require("./userPoolUICustomization"), exports);
|
|
30
32
|
// Import resources to register:
|
|
31
33
|
const identityPool_1 = require("./identityPool");
|
|
34
|
+
const identityPoolProviderPrincipalTag_1 = require("./identityPoolProviderPrincipalTag");
|
|
32
35
|
const identityPoolRoleAttachment_1 = require("./identityPoolRoleAttachment");
|
|
33
36
|
const identityProvider_1 = require("./identityProvider");
|
|
34
37
|
const resourceServer_1 = require("./resourceServer");
|
|
@@ -43,6 +46,8 @@ const _module = {
|
|
|
43
46
|
switch (type) {
|
|
44
47
|
case "aws:cognito/identityPool:IdentityPool":
|
|
45
48
|
return new identityPool_1.IdentityPool(name, undefined, { urn });
|
|
49
|
+
case "aws:cognito/identityPoolProviderPrincipalTag:IdentityPoolProviderPrincipalTag":
|
|
50
|
+
return new identityPoolProviderPrincipalTag_1.IdentityPoolProviderPrincipalTag(name, undefined, { urn });
|
|
46
51
|
case "aws:cognito/identityPoolRoleAttachment:IdentityPoolRoleAttachment":
|
|
47
52
|
return new identityPoolRoleAttachment_1.IdentityPoolRoleAttachment(name, undefined, { urn });
|
|
48
53
|
case "aws:cognito/identityProvider:IdentityProvider":
|
|
@@ -65,6 +70,7 @@ const _module = {
|
|
|
65
70
|
},
|
|
66
71
|
};
|
|
67
72
|
pulumi.runtime.registerResourceModule("aws", "cognito/identityPool", _module);
|
|
73
|
+
pulumi.runtime.registerResourceModule("aws", "cognito/identityPoolProviderPrincipalTag", _module);
|
|
68
74
|
pulumi.runtime.registerResourceModule("aws", "cognito/identityPoolRoleAttachment", _module);
|
|
69
75
|
pulumi.runtime.registerResourceModule("aws", "cognito/identityProvider", _module);
|
|
70
76
|
pulumi.runtime.registerResourceModule("aws", "cognito/resourceServer", _module);
|
package/cognito/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../cognito/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,uDAAqC;AACrC,kEAAgD;AAChD,iDAA+B;AAC/B,iDAA+B;AAC/B,+DAA6C;AAC7C,qDAAmC;AACnC,mDAAiC;AACjC,8CAA4B;AAC5B,6CAA2B;AAC3B,mDAAiC;AACjC,mDAAiC;AACjC,4DAA0C;AAE1C,gCAAgC;AAChC,iDAA8C;AAC9C,6EAA0E;AAC1E,yDAAsD;AACtD,qDAAkD;AAClD,2CAAwC;AACxC,yCAAsC;AACtC,qDAAkD;AAClD,qDAAkD;AAClD,uEAAoE;A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ows exported from the Console [Contact Flow import/export](https://docs.aws.amazon.com/connect/latest/adminguide/contact-flow-import-export.html) are not in the Amazon Connect Contact Flow Language and can not be used with this resource. Instead, the recommendation is to use the AWS CLI [`describe-contact-flow`](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/connect/describe-contact-flow.html).
|
|
10
10
|
* See example below which uses `jq` to extract the `Content` attribute and saves it to a local file.
|
|
11
11
|
*
|
|
12
|
-
* > **NOTE:** Due to The behaviour of Amazon Connect you cannot delete contact flows. The [recommendation](https://docs.aws.amazon.com/connect/latest/adminguide/create-contact-flow.html#before-create-contact-flow) is to prefix the Contact Flow with `zzTrash_` to get obsolete contact flows out of the way.
|
|
13
|
-
*
|
|
14
12
|
* ## Example Usage
|
|
15
13
|
* ### Basic
|
|
16
14
|
*
|
package/connect/contactFlow.js
CHANGED
|
@@ -15,8 +15,6 @@ const utilities = require("../utilities");
|
|
|
15
15
|
* !> **WARN:** Contact Flows exported from the Console [Contact Flow import/export](https://docs.aws.amazon.com/connect/latest/adminguide/contact-flow-import-export.html) are not in the Amazon Connect Contact Flow Language and can not be used with this resource. Instead, the recommendation is to use the AWS CLI [`describe-contact-flow`](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/connect/describe-contact-flow.html).
|
|
16
16
|
* See example below which uses `jq` to extract the `Content` attribute and saves it to a local file.
|
|
17
17
|
*
|
|
18
|
-
* > **NOTE:** Due to The behaviour of Amazon Connect you cannot delete contact flows. The [recommendation](https://docs.aws.amazon.com/connect/latest/adminguide/create-contact-flow.html#before-create-contact-flow) is to prefix the Contact Flow with `zzTrash_` to get obsolete contact flows out of the way.
|
|
19
|
-
*
|
|
20
18
|
* ## Example Usage
|
|
21
19
|
* ### Basic
|
|
22
20
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contactFlow.js","sourceRoot":"","sources":["../../connect/contactFlow.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0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