@pulumi/aws 6.43.0 → 6.44.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.
Files changed (41) hide show
  1. package/amplify/domainAssociation.d.ts +12 -0
  2. package/amplify/domainAssociation.js +2 -0
  3. package/amplify/domainAssociation.js.map +1 -1
  4. package/appstream/getImage.d.ts +121 -0
  5. package/appstream/getImage.js +30 -0
  6. package/appstream/getImage.js.map +1 -0
  7. package/appstream/index.d.ts +3 -0
  8. package/appstream/index.js +4 -1
  9. package/appstream/index.js.map +1 -1
  10. package/backup/getPlan.d.ts +5 -0
  11. package/backup/getPlan.js.map +1 -1
  12. package/cognito/getUserPool.d.ts +134 -0
  13. package/cognito/getUserPool.js +51 -0
  14. package/cognito/getUserPool.js.map +1 -0
  15. package/cognito/index.d.ts +3 -0
  16. package/cognito/index.js +4 -1
  17. package/cognito/index.js.map +1 -1
  18. package/ec2transitgateway/getPeeringAttachments.d.ts +99 -0
  19. package/ec2transitgateway/getPeeringAttachments.js +82 -0
  20. package/ec2transitgateway/getPeeringAttachments.js.map +1 -0
  21. package/ec2transitgateway/index.d.ts +3 -0
  22. package/ec2transitgateway/index.js +5 -1
  23. package/ec2transitgateway/index.js.map +1 -1
  24. package/ec2transitgateway/peeringAttachment.d.ts +14 -0
  25. package/ec2transitgateway/peeringAttachment.js +2 -0
  26. package/ec2transitgateway/peeringAttachment.js.map +1 -1
  27. package/fsx/getOntapFileSystem.d.ts +1 -1
  28. package/iot/authorizer.d.ts +37 -0
  29. package/iot/authorizer.js +7 -0
  30. package/iot/authorizer.js.map +1 -1
  31. package/package.json +2 -2
  32. package/transfer/getConnector.d.ts +72 -0
  33. package/transfer/getConnector.js +25 -0
  34. package/transfer/getConnector.js.map +1 -0
  35. package/transfer/index.d.ts +3 -0
  36. package/transfer/index.js +4 -1
  37. package/transfer/index.js.map +1 -1
  38. package/types/input.d.ts +57 -1
  39. package/types/input.js.map +1 -1
  40. package/types/output.d.ts +374 -3
  41. package/types/output.js.map +1 -1
@@ -70,6 +70,10 @@ export declare class DomainAssociation extends pulumi.CustomResource {
70
70
  * ARN for the domain association.
71
71
  */
72
72
  readonly arn: pulumi.Output<string>;
73
+ /**
74
+ * The type of SSL/TLS certificate to use for your custom domain. If you don't specify a certificate type, Amplify uses the default certificate that it provisions and manages for you.
75
+ */
76
+ readonly certificateSettings: pulumi.Output<outputs.amplify.DomainAssociationCertificateSettings | undefined>;
73
77
  /**
74
78
  * DNS records for certificate verification in a space-delimited format (`<record> CNAME <target>`).
75
79
  */
@@ -111,6 +115,10 @@ export interface DomainAssociationState {
111
115
  * ARN for the domain association.
112
116
  */
113
117
  arn?: pulumi.Input<string>;
118
+ /**
119
+ * The type of SSL/TLS certificate to use for your custom domain. If you don't specify a certificate type, Amplify uses the default certificate that it provisions and manages for you.
120
+ */
121
+ certificateSettings?: pulumi.Input<inputs.amplify.DomainAssociationCertificateSettings>;
114
122
  /**
115
123
  * DNS records for certificate verification in a space-delimited format (`<record> CNAME <target>`).
116
124
  */
@@ -140,6 +148,10 @@ export interface DomainAssociationArgs {
140
148
  * Unique ID for an Amplify app.
141
149
  */
142
150
  appId: pulumi.Input<string>;
151
+ /**
152
+ * The type of SSL/TLS certificate to use for your custom domain. If you don't specify a certificate type, Amplify uses the default certificate that it provisions and manages for you.
153
+ */
154
+ certificateSettings?: pulumi.Input<inputs.amplify.DomainAssociationCertificateSettings>;
143
155
  /**
144
156
  * Domain name for the domain association.
145
157
  */
@@ -80,6 +80,7 @@ class DomainAssociation extends pulumi.CustomResource {
80
80
  const state = argsOrState;
81
81
  resourceInputs["appId"] = state ? state.appId : undefined;
82
82
  resourceInputs["arn"] = state ? state.arn : undefined;
83
+ resourceInputs["certificateSettings"] = state ? state.certificateSettings : undefined;
83
84
  resourceInputs["certificateVerificationDnsRecord"] = state ? state.certificateVerificationDnsRecord : undefined;
84
85
  resourceInputs["domainName"] = state ? state.domainName : undefined;
85
86
  resourceInputs["enableAutoSubDomain"] = state ? state.enableAutoSubDomain : undefined;
@@ -98,6 +99,7 @@ class DomainAssociation extends pulumi.CustomResource {
98
99
  throw new Error("Missing required property 'subDomains'");
99
100
  }
100
101
  resourceInputs["appId"] = args ? args.appId : undefined;
102
+ resourceInputs["certificateSettings"] = args ? args.certificateSettings : undefined;
101
103
  resourceInputs["domainName"] = args ? args.domainName : undefined;
102
104
  resourceInputs["enableAutoSubDomain"] = args ? args.enableAutoSubDomain : undefined;
103
105
  resourceInputs["subDomains"] = args ? args.subDomains : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"domainAssociation.js","sourceRoot":"","sources":["../../amplify/domainAssociation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAuCD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,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I,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,kCAAkC,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC1E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAxGL,8CAyGC;AA3FG,gBAAgB;AACO,8BAAY,GAAG,iDAAiD,CAAC"}
@@ -0,0 +1,121 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data source for managing an AWS AppStream 2.0 Image.
5
+ */
6
+ export declare function getImage(args?: GetImageArgs, opts?: pulumi.InvokeOptions): Promise<GetImageResult>;
7
+ /**
8
+ * A collection of arguments for invoking getImage.
9
+ */
10
+ export interface GetImageArgs {
11
+ /**
12
+ * Arn of the image being searched for. Cannot be used with nameRegex or name.
13
+ */
14
+ arn?: string;
15
+ /**
16
+ * Boolean that if it is set to true and there are multiple images returned the most recent will be returned. If it is set to false and there are multiple images return the datasource will error.
17
+ */
18
+ mostRecent?: boolean;
19
+ /**
20
+ * Name of the image being searched for. Cannot be used with nameRegex or arn.
21
+ */
22
+ name?: string;
23
+ /**
24
+ * Regular expression name of the image being searched for. Cannot be used with arn or name.
25
+ */
26
+ nameRegex?: string;
27
+ /**
28
+ * The type of image which must be (PUBLIC, PRIVATE, or SHARED).
29
+ */
30
+ type?: string;
31
+ }
32
+ /**
33
+ * A collection of values returned by getImage.
34
+ */
35
+ export interface GetImageResult {
36
+ readonly applications: outputs.appstream.GetImageApplication[];
37
+ /**
38
+ * Version of the AppStream 2.0 agent to use for instances that are launched from this image. Has a maximum length of 100 characters.
39
+ */
40
+ readonly appstreamAgentVersion: string;
41
+ /**
42
+ * ARN of the image.
43
+ */
44
+ readonly arn: string;
45
+ /**
46
+ * ARN of the image from which the image was created.
47
+ */
48
+ readonly baseImageArn: string;
49
+ /**
50
+ * Time at which this image was created.
51
+ */
52
+ readonly createdTime: string;
53
+ /**
54
+ * Description of image.
55
+ */
56
+ readonly description: string;
57
+ /**
58
+ * Image name to display.
59
+ */
60
+ readonly displayName: string;
61
+ /**
62
+ * The provider-assigned unique ID for this managed resource.
63
+ */
64
+ readonly id: string;
65
+ /**
66
+ * The name of the image builder that was used to created the private image. If the image is sharedthen the value is null.
67
+ */
68
+ readonly imageBuilderName: string;
69
+ /**
70
+ * Boolean to indicate whether an image builder can be launched from this image.
71
+ * * `image error` - Resource error object that describes the error containing the following:
72
+ */
73
+ readonly imageBuilderSupported: boolean;
74
+ /**
75
+ * List of strings describing the image permissions containing the following:
76
+ */
77
+ readonly imagePermissions: outputs.appstream.GetImageImagePermission[];
78
+ readonly mostRecent?: boolean;
79
+ readonly name: string;
80
+ readonly nameRegex?: string;
81
+ /**
82
+ * Operating system platform of the image. Values will be from: WINDOWS | WINDOWS_SERVER_2016 | WINDOWS_SERVER_2019 | WINDOWS_SERVER_2022 | AMAZON_LINUX2
83
+ */
84
+ readonly platform: string;
85
+ readonly publicBaseImageReleasedDate: string;
86
+ /**
87
+ * Current state of image. Image starts in PENDING state which changes to AVAILABLE if creation passes and FAILED if it fails. Values will be from: PENDING | AVAILABLE | FAILED | COPYING | DELETING | CREATING | IMPORTING.
88
+ */
89
+ readonly state: string;
90
+ readonly stateChangeReasons: outputs.appstream.GetImageStateChangeReason[];
91
+ readonly type?: string;
92
+ }
93
+ /**
94
+ * Data source for managing an AWS AppStream 2.0 Image.
95
+ */
96
+ export declare function getImageOutput(args?: GetImageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetImageResult>;
97
+ /**
98
+ * A collection of arguments for invoking getImage.
99
+ */
100
+ export interface GetImageOutputArgs {
101
+ /**
102
+ * Arn of the image being searched for. Cannot be used with nameRegex or name.
103
+ */
104
+ arn?: pulumi.Input<string>;
105
+ /**
106
+ * Boolean that if it is set to true and there are multiple images returned the most recent will be returned. If it is set to false and there are multiple images return the datasource will error.
107
+ */
108
+ mostRecent?: pulumi.Input<boolean>;
109
+ /**
110
+ * Name of the image being searched for. Cannot be used with nameRegex or arn.
111
+ */
112
+ name?: pulumi.Input<string>;
113
+ /**
114
+ * Regular expression name of the image being searched for. Cannot be used with arn or name.
115
+ */
116
+ nameRegex?: pulumi.Input<string>;
117
+ /**
118
+ * The type of image which must be (PUBLIC, PRIVATE, or SHARED).
119
+ */
120
+ type?: pulumi.Input<string>;
121
+ }
@@ -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.getImageOutput = exports.getImage = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data source for managing an AWS AppStream 2.0 Image.
10
+ */
11
+ function getImage(args, opts) {
12
+ args = args || {};
13
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
14
+ return pulumi.runtime.invoke("aws:appstream/getImage:getImage", {
15
+ "arn": args.arn,
16
+ "mostRecent": args.mostRecent,
17
+ "name": args.name,
18
+ "nameRegex": args.nameRegex,
19
+ "type": args.type,
20
+ }, opts);
21
+ }
22
+ exports.getImage = getImage;
23
+ /**
24
+ * Data source for managing an AWS AppStream 2.0 Image.
25
+ */
26
+ function getImageOutput(args, opts) {
27
+ return pulumi.output(args).apply((a) => getImage(a, opts));
28
+ }
29
+ exports.getImageOutput = getImageOutput;
30
+ //# sourceMappingURL=getImage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getImage.js","sourceRoot":"","sources":["../../appstream/getImage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4BAWC;AAyFD;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
@@ -7,6 +7,9 @@ export declare const Fleet: typeof import("./fleet").Fleet;
7
7
  export { FleetStackAssociationArgs, FleetStackAssociationState } from "./fleetStackAssociation";
8
8
  export type FleetStackAssociation = import("./fleetStackAssociation").FleetStackAssociation;
9
9
  export declare const FleetStackAssociation: typeof import("./fleetStackAssociation").FleetStackAssociation;
10
+ export { GetImageArgs, GetImageResult, GetImageOutputArgs } from "./getImage";
11
+ export declare const getImage: typeof import("./getImage").getImage;
12
+ export declare const getImageOutput: typeof import("./getImage").getImageOutput;
10
13
  export { ImageBuilderArgs, ImageBuilderState } from "./imageBuilder";
11
14
  export type ImageBuilder = import("./imageBuilder").ImageBuilder;
12
15
  export declare const ImageBuilder: typeof import("./imageBuilder").ImageBuilder;
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.UserStackAssociation = exports.User = exports.Stack = exports.ImageBuilder = exports.FleetStackAssociation = exports.Fleet = exports.DirectoryConfig = void 0;
5
+ exports.UserStackAssociation = exports.User = exports.Stack = exports.ImageBuilder = exports.getImageOutput = exports.getImage = exports.FleetStackAssociation = exports.Fleet = exports.DirectoryConfig = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.DirectoryConfig = null;
@@ -11,6 +11,9 @@ exports.Fleet = null;
11
11
  utilities.lazyLoad(exports, ["Fleet"], () => require("./fleet"));
12
12
  exports.FleetStackAssociation = null;
13
13
  utilities.lazyLoad(exports, ["FleetStackAssociation"], () => require("./fleetStackAssociation"));
14
+ exports.getImage = null;
15
+ exports.getImageOutput = null;
16
+ utilities.lazyLoad(exports, ["getImage", "getImageOutput"], () => require("./getImage"));
14
17
  exports.ImageBuilder = null;
15
18
  utilities.lazyLoad(exports, ["ImageBuilder"], () => require("./imageBuilder"));
16
19
  exports.Stack = null;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../appstream/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,eAAe,GAAuD,IAAW,CAAC;AAC/F,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A;YACnD,KAAK,yBAAyB;gBAC1B,OAAO,IAAI,YAAI,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClD,KAAK,yDAAyD;gBAC1D,OAAO,IAAI,4BAAoB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AAClF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iCAAiC,EAAE,OAAO,CAAC,CAAA;AACxF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AACvE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
2
3
  /**
3
4
  * Use this data source to get information on an existing backup plan.
4
5
  *
@@ -46,6 +47,10 @@ export interface GetPlanResult {
46
47
  */
47
48
  readonly name: string;
48
49
  readonly planId: string;
50
+ /**
51
+ * Rules of a backup plan.
52
+ */
53
+ readonly rules: outputs.backup.GetPlanRule[];
49
54
  /**
50
55
  * Metadata that you can assign to help organize the plans you create.
51
56
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getPlan.js","sourceRoot":"","sources":["../../backup/getPlan.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4BAA4B,EAAE;QACvD,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0BAOC;AA0CD;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
1
+ {"version":3,"file":"getPlan.js","sourceRoot":"","sources":["../../backup/getPlan.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4BAA4B,EAAE;QACvD,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0BAOC;AA8CD;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
@@ -0,0 +1,134 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data source for managing an AWS Cognito User Pool.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ### Basic Usage
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as aws from "@pulumi/aws";
13
+ *
14
+ * const example = aws.cognito.getUserPool({
15
+ * userPoolId: "us-west-2_aaaaaaaaa",
16
+ * });
17
+ * ```
18
+ */
19
+ export declare function getUserPool(args: GetUserPoolArgs, opts?: pulumi.InvokeOptions): Promise<GetUserPoolResult>;
20
+ /**
21
+ * A collection of arguments for invoking getUserPool.
22
+ */
23
+ export interface GetUserPoolArgs {
24
+ /**
25
+ * The cognito pool ID
26
+ */
27
+ userPoolId: string;
28
+ }
29
+ /**
30
+ * A collection of values returned by getUserPool.
31
+ */
32
+ export interface GetUserPoolResult {
33
+ readonly accountRecoverySettings: outputs.cognito.GetUserPoolAccountRecoverySetting[];
34
+ readonly adminCreateUserConfigs: outputs.cognito.GetUserPoolAdminCreateUserConfig[];
35
+ /**
36
+ * ARN of the User Pool.
37
+ * * accountRecoverySetting - The available verified method a user can use to recover their password when they call ForgotPassword. You can use this setting to define a preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through email.
38
+ * * adminCreateUserConfig - The configuration for AdminCreateUser requests.
39
+ */
40
+ readonly arn: string;
41
+ /**
42
+ * The attributes that are auto-verified in a user pool.
43
+ */
44
+ readonly autoVerifiedAttributes: string[];
45
+ /**
46
+ * The date and time, in ISO 8601 format, when the item was created.
47
+ */
48
+ readonly creationDate: string;
49
+ /**
50
+ * A custom domain name that you provide to Amazon Cognito. This parameter applies only if you use a custom domain to host the sign-up and sign-in pages for your application. An example of a custom domain name might be auth.example.com.
51
+ */
52
+ readonly customDomain: string;
53
+ /**
54
+ * When active, DeletionProtection prevents accidental deletion of your user pool. Before you can delete a user pool that you have protected against deletion, you must deactivate this feature.
55
+ * * deviceConfiguration - The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.
56
+ */
57
+ readonly deletionProtection: string;
58
+ readonly deviceConfigurations: outputs.cognito.GetUserPoolDeviceConfiguration[];
59
+ /**
60
+ * The domain prefix, if the user pool has a domain associated with it.
61
+ * * emailConfiguration - The email configuration of your user pool. The email configuration type sets your preferred sending method, AWS Region, and sender for messages from your user pool.
62
+ */
63
+ readonly domain: string;
64
+ readonly emailConfigurations: outputs.cognito.GetUserPoolEmailConfiguration[];
65
+ /**
66
+ * A number estimating the size of the user pool.
67
+ * * lambdaConfig - The AWS Lambda triggers associated with the user pool.
68
+ */
69
+ readonly estimatedNumberOfUsers: number;
70
+ readonly id: string;
71
+ readonly lambdaConfigs: outputs.cognito.GetUserPoolLambdaConfig[];
72
+ /**
73
+ * The date and time, in ISO 8601 format, when the item was modified.
74
+ */
75
+ readonly lastModifiedDate: string;
76
+ /**
77
+ * Can be one of the following values: `OFF` | `ON` | `OPTIONAL`
78
+ */
79
+ readonly mfaConfiguration: string;
80
+ /**
81
+ * - Name of the attribute.
82
+ */
83
+ readonly name: string;
84
+ readonly schemaAttributes: outputs.cognito.GetUserPoolSchemaAttribute[];
85
+ /**
86
+ * The contents of the SMS authentication message.
87
+ */
88
+ readonly smsAuthenticationMessage: string;
89
+ /**
90
+ * The reason why the SMS configuration can't send the messages to your users.
91
+ */
92
+ readonly smsConfigurationFailure: string;
93
+ /**
94
+ * The contents of the SMS authentication message.
95
+ */
96
+ readonly smsVerificationMessage: string;
97
+ readonly userPoolId: string;
98
+ /**
99
+ * The tags that are assigned to the user pool. A tag is a label that you can apply to user pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.
100
+ */
101
+ readonly userPoolTags: {
102
+ [key: string]: string;
103
+ };
104
+ /**
105
+ * Specifies whether a user can use an email address or phone number as a username when they sign up.
106
+ */
107
+ readonly usernameAttributes: string[];
108
+ }
109
+ /**
110
+ * Data source for managing an AWS Cognito User Pool.
111
+ *
112
+ * ## Example Usage
113
+ *
114
+ * ### Basic Usage
115
+ *
116
+ * ```typescript
117
+ * import * as pulumi from "@pulumi/pulumi";
118
+ * import * as aws from "@pulumi/aws";
119
+ *
120
+ * const example = aws.cognito.getUserPool({
121
+ * userPoolId: "us-west-2_aaaaaaaaa",
122
+ * });
123
+ * ```
124
+ */
125
+ export declare function getUserPoolOutput(args: GetUserPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUserPoolResult>;
126
+ /**
127
+ * A collection of arguments for invoking getUserPool.
128
+ */
129
+ export interface GetUserPoolOutputArgs {
130
+ /**
131
+ * The cognito pool ID
132
+ */
133
+ userPoolId: pulumi.Input<string>;
134
+ }
@@ -0,0 +1,51 @@
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.getUserPoolOutput = exports.getUserPool = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data source for managing an AWS Cognito User Pool.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ### Basic Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as aws from "@pulumi/aws";
18
+ *
19
+ * const example = aws.cognito.getUserPool({
20
+ * userPoolId: "us-west-2_aaaaaaaaa",
21
+ * });
22
+ * ```
23
+ */
24
+ function getUserPool(args, opts) {
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
+ return pulumi.runtime.invoke("aws:cognito/getUserPool:getUserPool", {
27
+ "userPoolId": args.userPoolId,
28
+ }, opts);
29
+ }
30
+ exports.getUserPool = getUserPool;
31
+ /**
32
+ * Data source for managing an AWS Cognito User Pool.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ### Basic Usage
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as aws from "@pulumi/aws";
41
+ *
42
+ * const example = aws.cognito.getUserPool({
43
+ * userPoolId: "us-west-2_aaaaaaaaa",
44
+ * });
45
+ * ```
46
+ */
47
+ function getUserPoolOutput(args, opts) {
48
+ return pulumi.output(args).apply((a) => getUserPool(a, opts));
49
+ }
50
+ exports.getUserPoolOutput = getUserPoolOutput;
51
+ //# sourceMappingURL=getUserPool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getUserPool.js","sourceRoot":"","sources":["../../cognito/getUserPool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AA0FD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
@@ -7,6 +7,9 @@ export declare const getUserGroupOutput: typeof import("./getUserGroup").getUser
7
7
  export { GetUserGroupsArgs, GetUserGroupsResult, GetUserGroupsOutputArgs } from "./getUserGroups";
8
8
  export declare const getUserGroups: typeof import("./getUserGroups").getUserGroups;
9
9
  export declare const getUserGroupsOutput: typeof import("./getUserGroups").getUserGroupsOutput;
10
+ export { GetUserPoolArgs, GetUserPoolResult, GetUserPoolOutputArgs } from "./getUserPool";
11
+ export declare const getUserPool: typeof import("./getUserPool").getUserPool;
12
+ export declare const getUserPoolOutput: typeof import("./getUserPool").getUserPoolOutput;
10
13
  export { GetUserPoolClientArgs, GetUserPoolClientResult, GetUserPoolClientOutputArgs } from "./getUserPoolClient";
11
14
  export declare const getUserPoolClient: typeof import("./getUserPoolClient").getUserPoolClient;
12
15
  export declare const getUserPoolClientOutput: typeof import("./getUserPoolClient").getUserPoolClientOutput;
package/cognito/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.UserPoolUICustomization = exports.UserPoolDomain = exports.UserPoolClient = exports.UserPool = exports.UserInGroup = exports.UserGroup = exports.User = exports.RiskConfiguration = exports.ResourceServer = exports.ManagedUserPoolClient = exports.IdentityProvider = exports.IdentityPoolRoleAttachment = exports.IdentityPoolProviderPrincipalTag = exports.IdentityPool = exports.getUserPoolsOutput = exports.getUserPools = exports.getUserPoolSigningCertificateOutput = exports.getUserPoolSigningCertificate = exports.getUserPoolClientsOutput = exports.getUserPoolClients = exports.getUserPoolClientOutput = exports.getUserPoolClient = exports.getUserGroupsOutput = exports.getUserGroups = exports.getUserGroupOutput = exports.getUserGroup = exports.getIdentityPoolOutput = exports.getIdentityPool = void 0;
5
+ exports.UserPoolUICustomization = exports.UserPoolDomain = exports.UserPoolClient = exports.UserPool = exports.UserInGroup = exports.UserGroup = exports.User = exports.RiskConfiguration = exports.ResourceServer = exports.ManagedUserPoolClient = exports.IdentityProvider = exports.IdentityPoolRoleAttachment = exports.IdentityPoolProviderPrincipalTag = exports.IdentityPool = exports.getUserPoolsOutput = exports.getUserPools = exports.getUserPoolSigningCertificateOutput = exports.getUserPoolSigningCertificate = exports.getUserPoolClientsOutput = exports.getUserPoolClients = exports.getUserPoolClientOutput = exports.getUserPoolClient = exports.getUserPoolOutput = exports.getUserPool = exports.getUserGroupsOutput = exports.getUserGroups = exports.getUserGroupOutput = exports.getUserGroup = exports.getIdentityPoolOutput = exports.getIdentityPool = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.getIdentityPool = null;
@@ -14,6 +14,9 @@ utilities.lazyLoad(exports, ["getUserGroup", "getUserGroupOutput"], () => requir
14
14
  exports.getUserGroups = null;
15
15
  exports.getUserGroupsOutput = null;
16
16
  utilities.lazyLoad(exports, ["getUserGroups", "getUserGroupsOutput"], () => require("./getUserGroups"));
17
+ exports.getUserPool = null;
18
+ exports.getUserPoolOutput = null;
19
+ utilities.lazyLoad(exports, ["getUserPool", "getUserPoolOutput"], () => require("./getUserPool"));
17
20
  exports.getUserPoolClient = null;
18
21
  exports.getUserPoolClientOutput = null;
19
22
  utilities.lazyLoad(exports, ["getUserPoolClient", "getUserPoolClientOutput"], () => require("./getUserPoolClient"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../cognito/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,eAAe,GAAuD,IAAW,CAAC;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AsB,CAAC,KAAK,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iCAAiC,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,99 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Get information on EC2 Transit Gateway Peering Attachments.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ### All Resources
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as aws from "@pulumi/aws";
14
+ *
15
+ * const test = aws.ec2transitgateway.getPeeringAttachments({});
16
+ * ```
17
+ *
18
+ * ### By Filter
19
+ *
20
+ * ```typescript
21
+ * import * as pulumi from "@pulumi/pulumi";
22
+ * import * as aws from "@pulumi/aws";
23
+ *
24
+ * const filtered = aws.ec2transitgateway.getPeeringAttachments({
25
+ * filters: [{
26
+ * name: "state",
27
+ * values: ["pendingAcceptance"],
28
+ * }],
29
+ * });
30
+ * const unit = .map(__index => (aws.ec2transitgateway.getPeeringAttachment({
31
+ * id: _arg0_.ids[__index],
32
+ * })));
33
+ * ```
34
+ */
35
+ export declare function getPeeringAttachments(args?: GetPeeringAttachmentsArgs, opts?: pulumi.InvokeOptions): Promise<GetPeeringAttachmentsResult>;
36
+ /**
37
+ * A collection of arguments for invoking getPeeringAttachments.
38
+ */
39
+ export interface GetPeeringAttachmentsArgs {
40
+ /**
41
+ * One or more configuration blocks containing name-values filters. Detailed below.
42
+ */
43
+ filters?: inputs.ec2transitgateway.GetPeeringAttachmentsFilter[];
44
+ }
45
+ /**
46
+ * A collection of values returned by getPeeringAttachments.
47
+ */
48
+ export interface GetPeeringAttachmentsResult {
49
+ readonly filters?: outputs.ec2transitgateway.GetPeeringAttachmentsFilter[];
50
+ /**
51
+ * The provider-assigned unique ID for this managed resource.
52
+ */
53
+ readonly id: string;
54
+ /**
55
+ * A list of all attachments ids matching the filter. You can retrieve more information about the attachment using the [aws.ec2transitgateway.PeeringAttachment][2] data source, searching by identifier.
56
+ */
57
+ readonly ids: string[];
58
+ }
59
+ /**
60
+ * Get information on EC2 Transit Gateway Peering Attachments.
61
+ *
62
+ * ## Example Usage
63
+ *
64
+ * ### All Resources
65
+ *
66
+ * ```typescript
67
+ * import * as pulumi from "@pulumi/pulumi";
68
+ * import * as aws from "@pulumi/aws";
69
+ *
70
+ * const test = aws.ec2transitgateway.getPeeringAttachments({});
71
+ * ```
72
+ *
73
+ * ### By Filter
74
+ *
75
+ * ```typescript
76
+ * import * as pulumi from "@pulumi/pulumi";
77
+ * import * as aws from "@pulumi/aws";
78
+ *
79
+ * const filtered = aws.ec2transitgateway.getPeeringAttachments({
80
+ * filters: [{
81
+ * name: "state",
82
+ * values: ["pendingAcceptance"],
83
+ * }],
84
+ * });
85
+ * const unit = .map(__index => (aws.ec2transitgateway.getPeeringAttachment({
86
+ * id: _arg0_.ids[__index],
87
+ * })));
88
+ * ```
89
+ */
90
+ export declare function getPeeringAttachmentsOutput(args?: GetPeeringAttachmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPeeringAttachmentsResult>;
91
+ /**
92
+ * A collection of arguments for invoking getPeeringAttachments.
93
+ */
94
+ export interface GetPeeringAttachmentsOutputArgs {
95
+ /**
96
+ * One or more configuration blocks containing name-values filters. Detailed below.
97
+ */
98
+ filters?: pulumi.Input<pulumi.Input<inputs.ec2transitgateway.GetPeeringAttachmentsFilterArgs>[]>;
99
+ }