@pulumi/aws 5.17.0-alpha.1665590627 → 5.17.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 (124) hide show
  1. package/acm/certificate.d.ts +97 -11
  2. package/acm/certificate.js +37 -4
  3. package/acm/certificate.js.map +1 -1
  4. package/acmpca/certificate.d.ts +14 -6
  5. package/acmpca/certificate.js +5 -0
  6. package/acmpca/certificate.js.map +1 -1
  7. package/alb/targetGroup.d.ts +3 -3
  8. package/apigatewayv2/deployment.d.ts +1 -1
  9. package/apigatewayv2/deployment.js +1 -1
  10. package/apigatewayv2/integration.d.ts +1 -1
  11. package/apigatewayv2/integration.js +1 -1
  12. package/appautoscaling/policy.d.ts +8 -0
  13. package/appautoscaling/policy.js +2 -0
  14. package/appautoscaling/policy.js.map +1 -1
  15. package/appconfig/environment.d.ts +8 -0
  16. package/appconfig/environment.js.map +1 -1
  17. package/appconfig/getConfigurationProfile.d.ts +103 -0
  18. package/appconfig/getConfigurationProfile.js +40 -0
  19. package/appconfig/getConfigurationProfile.js.map +1 -0
  20. package/appconfig/getConfigurationProfiles.d.ts +41 -0
  21. package/appconfig/getConfigurationProfiles.js +28 -0
  22. package/appconfig/getConfigurationProfiles.js.map +1 -0
  23. package/appconfig/getEnvironment.d.ts +96 -0
  24. package/appconfig/getEnvironment.js +40 -0
  25. package/appconfig/getEnvironment.js.map +1 -0
  26. package/appconfig/getEnvironments.d.ts +51 -0
  27. package/appconfig/getEnvironments.js +38 -0
  28. package/appconfig/getEnvironments.js.map +1 -0
  29. package/appconfig/index.d.ts +12 -0
  30. package/appconfig/index.js +13 -1
  31. package/appconfig/index.js.map +1 -1
  32. package/applicationloadbalancing/targetGroup.d.ts +3 -3
  33. package/cloudfront/originRequestPolicy.d.ts +8 -0
  34. package/cloudfront/originRequestPolicy.js +8 -0
  35. package/cloudfront/originRequestPolicy.js.map +1 -1
  36. package/cloudwatch/metricStream.d.ts +1 -1
  37. package/cloudwatch/metricStream.js +1 -1
  38. package/ec2/ami.d.ts +13 -0
  39. package/ec2/ami.js +3 -0
  40. package/ec2/ami.js.map +1 -1
  41. package/ec2/getAmi.d.ts +4 -0
  42. package/ec2/getAmi.js.map +1 -1
  43. package/ec2/getVpcIamPoolCidrs.d.ts +51 -0
  44. package/ec2/getVpcIamPoolCidrs.js +28 -0
  45. package/ec2/getVpcIamPoolCidrs.js.map +1 -0
  46. package/ec2/index.d.ts +3 -0
  47. package/ec2/index.js +6 -3
  48. package/ec2/index.js.map +1 -1
  49. package/ec2/trafficMirrorTarget.d.ts +16 -0
  50. package/ec2/trafficMirrorTarget.js +6 -0
  51. package/ec2/trafficMirrorTarget.js.map +1 -1
  52. package/efs/fileSystemPolicy.d.ts +2 -2
  53. package/efs/fileSystemPolicy.js +2 -2
  54. package/eks/addon.d.ts +20 -3
  55. package/eks/addon.js +17 -0
  56. package/eks/addon.js.map +1 -1
  57. package/eks/cluster.d.ts +2 -0
  58. package/eks/cluster.js.map +1 -1
  59. package/elasticloadbalancingv2/targetGroup.d.ts +3 -3
  60. package/evidently/index.d.ts +3 -0
  61. package/evidently/index.js +22 -0
  62. package/evidently/index.js.map +1 -0
  63. package/evidently/project.d.ts +245 -0
  64. package/evidently/project.js +138 -0
  65. package/evidently/project.js.map +1 -0
  66. package/getAmi.d.ts +4 -0
  67. package/getAmi.js.map +1 -1
  68. package/iam/accessKey.d.ts +3 -3
  69. package/identitystore/getUser.d.ts +73 -5
  70. package/identitystore/getUser.js +2 -1
  71. package/identitystore/getUser.js.map +1 -1
  72. package/identitystore/group.d.ts +101 -0
  73. package/identitystore/group.js +74 -0
  74. package/identitystore/group.js.map +1 -0
  75. package/identitystore/groupMembership.d.ts +89 -0
  76. package/identitystore/groupMembership.js +73 -0
  77. package/identitystore/groupMembership.js.map +1 -0
  78. package/identitystore/index.d.ts +9 -0
  79. package/identitystore/index.js +26 -1
  80. package/identitystore/index.js.map +1 -1
  81. package/identitystore/user.d.ts +240 -0
  82. package/identitystore/user.js +106 -0
  83. package/identitystore/user.js.map +1 -0
  84. package/index.d.ts +3 -1
  85. package/index.js +7 -3
  86. package/index.js.map +1 -1
  87. package/inspector2/index.d.ts +3 -0
  88. package/inspector2/index.js +22 -0
  89. package/inspector2/index.js.map +1 -0
  90. package/inspector2/organizationConfiguration.d.ts +74 -0
  91. package/inspector2/organizationConfiguration.js +70 -0
  92. package/inspector2/organizationConfiguration.js.map +1 -0
  93. package/kinesis/firehoseDeliveryStream.d.ts +1 -1
  94. package/kinesis/firehoseDeliveryStream.js +1 -1
  95. package/kms/customKeyStore.d.ts +109 -0
  96. package/kms/customKeyStore.js +92 -0
  97. package/kms/customKeyStore.js.map +1 -0
  98. package/kms/getCustomKeyStore.d.ts +69 -0
  99. package/kms/getCustomKeyStore.js +40 -0
  100. package/kms/getCustomKeyStore.js.map +1 -0
  101. package/kms/index.d.ts +6 -0
  102. package/kms/index.js +9 -1
  103. package/kms/index.js.map +1 -1
  104. package/kms/key.d.ts +15 -3
  105. package/kms/key.js +2 -0
  106. package/kms/key.js.map +1 -1
  107. package/lambda/function.d.ts +1 -1
  108. package/lambda/function.js +1 -1
  109. package/lambda/layerVersion.d.ts +1 -1
  110. package/lambda/layerVersion.js +1 -1
  111. package/lambda/permission.d.ts +1 -1
  112. package/lambda/permission.js +1 -1
  113. package/lb/targetGroup.d.ts +3 -3
  114. package/package.json +2 -2
  115. package/package.json.dev +2 -2
  116. package/ssm/parameter.d.ts +0 -2
  117. package/ssm/parameter.js +0 -2
  118. package/ssm/parameter.js.map +1 -1
  119. package/types/input.d.ts +36046 -833
  120. package/types/output.d.ts +36122 -808
  121. package/wafv2/ruleGroup.d.ts +14 -0
  122. package/wafv2/ruleGroup.js +14 -0
  123. package/wafv2/ruleGroup.js.map +1 -1
  124. package/wafv2/webAclAssociation.d.ts +3 -3
@@ -10,9 +10,15 @@ export declare function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions):
10
10
  */
11
11
  export interface GetUserArgs {
12
12
  /**
13
- * Configuration block(s) for filtering. Currently, the AWS Identity Store API supports only 1 filter. Detailed below.
13
+ * A unique identifier for a user or group that is not the primary identifier. Conflicts with `userId` and `filter`. Detailed below.
14
14
  */
15
- filters: inputs.identitystore.GetUserFilter[];
15
+ alternateIdentifier?: inputs.identitystore.GetUserAlternateIdentifier;
16
+ /**
17
+ * Configuration block for filtering by a unique attribute of the user. Detailed below.
18
+ *
19
+ * @deprecated Use the alternate_identifier attribute instead.
20
+ */
21
+ filter?: inputs.identitystore.GetUserFilter;
16
22
  /**
17
23
  * Identity Store ID associated with the Single Sign-On Instance.
18
24
  */
@@ -26,17 +32,73 @@ export interface GetUserArgs {
26
32
  * A collection of values returned by getUser.
27
33
  */
28
34
  export interface GetUserResult {
29
- readonly filters: outputs.identitystore.GetUserFilter[];
35
+ /**
36
+ * List of details about the user's address.
37
+ */
38
+ readonly addresses: outputs.identitystore.GetUserAddress[];
39
+ readonly alternateIdentifier?: outputs.identitystore.GetUserAlternateIdentifier;
40
+ /**
41
+ * The name that is typically displayed when the user is referenced.
42
+ */
43
+ readonly displayName: string;
44
+ /**
45
+ * List of details about the user's email.
46
+ */
47
+ readonly emails: outputs.identitystore.GetUserEmail[];
48
+ /**
49
+ * List of identifiers issued to this resource by an external identity provider.
50
+ */
51
+ readonly externalIds: outputs.identitystore.GetUserExternalId[];
52
+ /**
53
+ * @deprecated Use the alternate_identifier attribute instead.
54
+ */
55
+ readonly filter?: outputs.identitystore.GetUserFilter;
30
56
  /**
31
57
  * The provider-assigned unique ID for this managed resource.
32
58
  */
33
59
  readonly id: string;
34
60
  readonly identityStoreId: string;
61
+ /**
62
+ * The user's geographical region or location.
63
+ */
64
+ readonly locale: string;
65
+ /**
66
+ * Details about the user's full name.
67
+ */
68
+ readonly names: outputs.identitystore.GetUserName[];
69
+ /**
70
+ * An alternate name for the user.
71
+ */
72
+ readonly nickname: string;
73
+ /**
74
+ * List of details about the user's phone number.
75
+ */
76
+ readonly phoneNumbers: outputs.identitystore.GetUserPhoneNumber[];
77
+ /**
78
+ * The preferred language of the user.
79
+ */
80
+ readonly preferredLanguage: string;
81
+ /**
82
+ * An URL that may be associated with the user.
83
+ */
84
+ readonly profileUrl: string;
85
+ /**
86
+ * The user's time zone.
87
+ */
88
+ readonly timezone: string;
89
+ /**
90
+ * The user's title.
91
+ */
92
+ readonly title: string;
35
93
  readonly userId: string;
36
94
  /**
37
95
  * User's user name value.
38
96
  */
39
97
  readonly userName: string;
98
+ /**
99
+ * The user type.
100
+ */
101
+ readonly userType: string;
40
102
  }
41
103
  export declare function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUserResult>;
42
104
  /**
@@ -44,9 +106,15 @@ export declare function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.Inv
44
106
  */
45
107
  export interface GetUserOutputArgs {
46
108
  /**
47
- * Configuration block(s) for filtering. Currently, the AWS Identity Store API supports only 1 filter. Detailed below.
109
+ * A unique identifier for a user or group that is not the primary identifier. Conflicts with `userId` and `filter`. Detailed below.
110
+ */
111
+ alternateIdentifier?: pulumi.Input<inputs.identitystore.GetUserAlternateIdentifierArgs>;
112
+ /**
113
+ * Configuration block for filtering by a unique attribute of the user. Detailed below.
114
+ *
115
+ * @deprecated Use the alternate_identifier attribute instead.
48
116
  */
49
- filters: pulumi.Input<pulumi.Input<inputs.identitystore.GetUserFilterArgs>[]>;
117
+ filter?: pulumi.Input<inputs.identitystore.GetUserFilterArgs>;
50
118
  /**
51
119
  * Identity Store ID associated with the Single Sign-On Instance.
52
120
  */
@@ -14,7 +14,8 @@ function getUser(args, opts) {
14
14
  }
15
15
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
16
16
  return pulumi.runtime.invoke("aws:identitystore/getUser:getUser", {
17
- "filters": args.filters,
17
+ "alternateIdentifier": args.alternateIdentifier,
18
+ "filter": args.filter,
18
19
  "identityStoreId": args.identityStoreId,
19
20
  "userId": args.userId,
20
21
  }, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"getUser.js","sourceRoot":"","sources":["../../identitystore/getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,0BAWC;AAqCD,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,sCAEC"}
1
+ {"version":3,"file":"getUser.js","sourceRoot":"","sources":["../../identitystore/getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,0BAYC;AAmGD,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,sCAEC"}
@@ -0,0 +1,101 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * ## Example Usage
6
+ *
7
+ * ## Import
8
+ *
9
+ * An Identity Store Group can be imported using the combination `identity_store_id/group_id`. For example
10
+ *
11
+ * ```sh
12
+ * $ pulumi import aws:identitystore/group:Group example d-9c6705e95c/b8a1c340-8031-7071-a2fb-7dc540320c30
13
+ * ```
14
+ */
15
+ export declare class Group extends pulumi.CustomResource {
16
+ /**
17
+ * Get an existing Group resource's state with the given name, ID, and optional extra
18
+ * properties used to qualify the lookup.
19
+ *
20
+ * @param name The _unique_ name of the resulting resource.
21
+ * @param id The _unique_ provider ID of the resource to lookup.
22
+ * @param state Any extra arguments used during the lookup.
23
+ * @param opts Optional settings to control the behavior of the CustomResource.
24
+ */
25
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GroupState, opts?: pulumi.CustomResourceOptions): Group;
26
+ /**
27
+ * Returns true if the given object is an instance of Group. This is designed to work even
28
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
29
+ */
30
+ static isInstance(obj: any): obj is Group;
31
+ /**
32
+ * A string containing the description of the group.
33
+ */
34
+ readonly description: pulumi.Output<string | undefined>;
35
+ /**
36
+ * A string containing the name of the group. This value is commonly displayed when the group is referenced.
37
+ */
38
+ readonly displayName: pulumi.Output<string>;
39
+ /**
40
+ * A list of external IDs that contains the identifiers issued to this resource by an external identity provider. See External IDs below.
41
+ */
42
+ readonly externalIds: pulumi.Output<outputs.identitystore.GroupExternalId[]>;
43
+ /**
44
+ * The identifier of the newly created group in the identity store.
45
+ */
46
+ readonly groupId: pulumi.Output<string>;
47
+ /**
48
+ * The globally unique identifier for the identity store..
49
+ */
50
+ readonly identityStoreId: pulumi.Output<string>;
51
+ /**
52
+ * Create a Group resource with the given unique name, arguments, and options.
53
+ *
54
+ * @param name The _unique_ name of the resource.
55
+ * @param args The arguments to use to populate this resource's properties.
56
+ * @param opts A bag of options that control this resource's behavior.
57
+ */
58
+ constructor(name: string, args: GroupArgs, opts?: pulumi.CustomResourceOptions);
59
+ }
60
+ /**
61
+ * Input properties used for looking up and filtering Group resources.
62
+ */
63
+ export interface GroupState {
64
+ /**
65
+ * A string containing the description of the group.
66
+ */
67
+ description?: pulumi.Input<string>;
68
+ /**
69
+ * A string containing the name of the group. This value is commonly displayed when the group is referenced.
70
+ */
71
+ displayName?: pulumi.Input<string>;
72
+ /**
73
+ * A list of external IDs that contains the identifiers issued to this resource by an external identity provider. See External IDs below.
74
+ */
75
+ externalIds?: pulumi.Input<pulumi.Input<inputs.identitystore.GroupExternalId>[]>;
76
+ /**
77
+ * The identifier of the newly created group in the identity store.
78
+ */
79
+ groupId?: pulumi.Input<string>;
80
+ /**
81
+ * The globally unique identifier for the identity store..
82
+ */
83
+ identityStoreId?: pulumi.Input<string>;
84
+ }
85
+ /**
86
+ * The set of arguments for constructing a Group resource.
87
+ */
88
+ export interface GroupArgs {
89
+ /**
90
+ * A string containing the description of the group.
91
+ */
92
+ description?: pulumi.Input<string>;
93
+ /**
94
+ * A string containing the name of the group. This value is commonly displayed when the group is referenced.
95
+ */
96
+ displayName: pulumi.Input<string>;
97
+ /**
98
+ * The globally unique identifier for the identity store..
99
+ */
100
+ identityStoreId: pulumi.Input<string>;
101
+ }
@@ -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.Group = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ## Import
12
+ *
13
+ * An Identity Store Group can be imported using the combination `identity_store_id/group_id`. For example
14
+ *
15
+ * ```sh
16
+ * $ pulumi import aws:identitystore/group:Group example d-9c6705e95c/b8a1c340-8031-7071-a2fb-7dc540320c30
17
+ * ```
18
+ */
19
+ class Group extends pulumi.CustomResource {
20
+ constructor(name, argsOrState, opts) {
21
+ let resourceInputs = {};
22
+ opts = opts || {};
23
+ if (opts.id) {
24
+ const state = argsOrState;
25
+ resourceInputs["description"] = state ? state.description : undefined;
26
+ resourceInputs["displayName"] = state ? state.displayName : undefined;
27
+ resourceInputs["externalIds"] = state ? state.externalIds : undefined;
28
+ resourceInputs["groupId"] = state ? state.groupId : undefined;
29
+ resourceInputs["identityStoreId"] = state ? state.identityStoreId : undefined;
30
+ }
31
+ else {
32
+ const args = argsOrState;
33
+ if ((!args || args.displayName === undefined) && !opts.urn) {
34
+ throw new Error("Missing required property 'displayName'");
35
+ }
36
+ if ((!args || args.identityStoreId === undefined) && !opts.urn) {
37
+ throw new Error("Missing required property 'identityStoreId'");
38
+ }
39
+ resourceInputs["description"] = args ? args.description : undefined;
40
+ resourceInputs["displayName"] = args ? args.displayName : undefined;
41
+ resourceInputs["identityStoreId"] = args ? args.identityStoreId : undefined;
42
+ resourceInputs["externalIds"] = undefined /*out*/;
43
+ resourceInputs["groupId"] = undefined /*out*/;
44
+ }
45
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
46
+ super(Group.__pulumiType, name, resourceInputs, opts);
47
+ }
48
+ /**
49
+ * Get an existing Group 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 Group(name, state, Object.assign(Object.assign({}, opts), { id: id }));
59
+ }
60
+ /**
61
+ * Returns true if the given object is an instance of Group. 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'] === Group.__pulumiType;
69
+ }
70
+ }
71
+ exports.Group = Group;
72
+ /** @internal */
73
+ Group.__pulumiType = 'aws:identitystore/group:Group';
74
+ //# sourceMappingURL=group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group.js","sourceRoot":"","sources":["../../identitystore/group.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAyD5C,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqC,CAAC;YACpD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,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AAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;IAlFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;;AA1BL,sBAoFC;AAtEG,gBAAgB;AACO,kBAAY,GAAG,+BAA+B,CAAC"}
@@ -0,0 +1,89 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Import
4
+ *
5
+ * `aws_identitystore_group_membership` can be imported using the `identity_store_id/membership_id`, e.g.,
6
+ *
7
+ * ```sh
8
+ * $ pulumi import aws:identitystore/groupMembership:GroupMembership example d-0000000000/00000000-0000-0000-0000-000000000000
9
+ * ```
10
+ */
11
+ export declare class GroupMembership extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing GroupMembership resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param state Any extra arguments used during the lookup.
19
+ * @param opts Optional settings to control the behavior of the CustomResource.
20
+ */
21
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GroupMembershipState, opts?: pulumi.CustomResourceOptions): GroupMembership;
22
+ /**
23
+ * Returns true if the given object is an instance of GroupMembership. This is designed to work even
24
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
25
+ */
26
+ static isInstance(obj: any): obj is GroupMembership;
27
+ /**
28
+ * The identifier for a group in the Identity Store.
29
+ */
30
+ readonly groupId: pulumi.Output<string>;
31
+ /**
32
+ * Identity Store ID associated with the Single Sign-On Instance.
33
+ */
34
+ readonly identityStoreId: pulumi.Output<string>;
35
+ /**
36
+ * The identifier for a user in the Identity Store.
37
+ */
38
+ readonly memberId: pulumi.Output<string>;
39
+ /**
40
+ * The identifier of the newly created group membership in the Identity Store.
41
+ */
42
+ readonly membershipId: pulumi.Output<string>;
43
+ /**
44
+ * Create a GroupMembership 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: GroupMembershipArgs, opts?: pulumi.CustomResourceOptions);
51
+ }
52
+ /**
53
+ * Input properties used for looking up and filtering GroupMembership resources.
54
+ */
55
+ export interface GroupMembershipState {
56
+ /**
57
+ * The identifier for a group in the Identity Store.
58
+ */
59
+ groupId?: pulumi.Input<string>;
60
+ /**
61
+ * Identity Store ID associated with the Single Sign-On Instance.
62
+ */
63
+ identityStoreId?: pulumi.Input<string>;
64
+ /**
65
+ * The identifier for a user in the Identity Store.
66
+ */
67
+ memberId?: pulumi.Input<string>;
68
+ /**
69
+ * The identifier of the newly created group membership in the Identity Store.
70
+ */
71
+ membershipId?: pulumi.Input<string>;
72
+ }
73
+ /**
74
+ * The set of arguments for constructing a GroupMembership resource.
75
+ */
76
+ export interface GroupMembershipArgs {
77
+ /**
78
+ * The identifier for a group in the Identity Store.
79
+ */
80
+ groupId: pulumi.Input<string>;
81
+ /**
82
+ * Identity Store ID associated with the Single Sign-On Instance.
83
+ */
84
+ identityStoreId: pulumi.Input<string>;
85
+ /**
86
+ * The identifier for a user in the Identity Store.
87
+ */
88
+ memberId: pulumi.Input<string>;
89
+ }
@@ -0,0 +1,73 @@
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.GroupMembership = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## Import
10
+ *
11
+ * `aws_identitystore_group_membership` can be imported using the `identity_store_id/membership_id`, e.g.,
12
+ *
13
+ * ```sh
14
+ * $ pulumi import aws:identitystore/groupMembership:GroupMembership example d-0000000000/00000000-0000-0000-0000-000000000000
15
+ * ```
16
+ */
17
+ class GroupMembership extends pulumi.CustomResource {
18
+ constructor(name, argsOrState, opts) {
19
+ let resourceInputs = {};
20
+ opts = opts || {};
21
+ if (opts.id) {
22
+ const state = argsOrState;
23
+ resourceInputs["groupId"] = state ? state.groupId : undefined;
24
+ resourceInputs["identityStoreId"] = state ? state.identityStoreId : undefined;
25
+ resourceInputs["memberId"] = state ? state.memberId : undefined;
26
+ resourceInputs["membershipId"] = state ? state.membershipId : undefined;
27
+ }
28
+ else {
29
+ const args = argsOrState;
30
+ if ((!args || args.groupId === undefined) && !opts.urn) {
31
+ throw new Error("Missing required property 'groupId'");
32
+ }
33
+ if ((!args || args.identityStoreId === undefined) && !opts.urn) {
34
+ throw new Error("Missing required property 'identityStoreId'");
35
+ }
36
+ if ((!args || args.memberId === undefined) && !opts.urn) {
37
+ throw new Error("Missing required property 'memberId'");
38
+ }
39
+ resourceInputs["groupId"] = args ? args.groupId : undefined;
40
+ resourceInputs["identityStoreId"] = args ? args.identityStoreId : undefined;
41
+ resourceInputs["memberId"] = args ? args.memberId : undefined;
42
+ resourceInputs["membershipId"] = undefined /*out*/;
43
+ }
44
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
45
+ super(GroupMembership.__pulumiType, name, resourceInputs, opts);
46
+ }
47
+ /**
48
+ * Get an existing GroupMembership resource's state with the given name, ID, and optional extra
49
+ * properties used to qualify the lookup.
50
+ *
51
+ * @param name The _unique_ name of the resulting resource.
52
+ * @param id The _unique_ provider ID of the resource to lookup.
53
+ * @param state Any extra arguments used during the lookup.
54
+ * @param opts Optional settings to control the behavior of the CustomResource.
55
+ */
56
+ static get(name, id, state, opts) {
57
+ return new GroupMembership(name, state, Object.assign(Object.assign({}, opts), { id: id }));
58
+ }
59
+ /**
60
+ * Returns true if the given object is an instance of GroupMembership. This is designed to work even
61
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
62
+ */
63
+ static isInstance(obj) {
64
+ if (obj === undefined || obj === null) {
65
+ return false;
66
+ }
67
+ return obj['__pulumiType'] === GroupMembership.__pulumiType;
68
+ }
69
+ }
70
+ exports.GroupMembership = GroupMembership;
71
+ /** @internal */
72
+ GroupMembership.__pulumiType = 'aws:identitystore/groupMembership:GroupMembership';
73
+ //# sourceMappingURL=groupMembership.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"groupMembership.js","sourceRoot":"","sources":["../../identitystore/groupMembership.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IAqDtD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,C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AAI,CAAC,CAAC;IACpE,CAAC;IA/ED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;;AA1BL,0CAiFC;AAnEG,gBAAgB;AACO,4BAAY,GAAG,mDAAmD,CAAC"}
@@ -4,3 +4,12 @@ export declare const getGroupOutput: typeof import("./getGroup").getGroupOutput;
4
4
  export { GetUserArgs, GetUserResult, GetUserOutputArgs } from "./getUser";
5
5
  export declare const getUser: typeof import("./getUser").getUser;
6
6
  export declare const getUserOutput: typeof import("./getUser").getUserOutput;
7
+ export { GroupArgs, GroupState } from "./group";
8
+ export declare type Group = import("./group").Group;
9
+ export declare const Group: typeof import("./group").Group;
10
+ export { GroupMembershipArgs, GroupMembershipState } from "./groupMembership";
11
+ export declare type GroupMembership = import("./groupMembership").GroupMembership;
12
+ export declare const GroupMembership: typeof import("./groupMembership").GroupMembership;
13
+ export { UserArgs, UserState } from "./user";
14
+ export declare type User = import("./user").User;
15
+ export declare const User: typeof import("./user").User;
@@ -2,12 +2,37 @@
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.getUserOutput = exports.getUser = exports.getGroupOutput = exports.getGroup = void 0;
5
+ exports.User = exports.GroupMembership = exports.Group = exports.getUserOutput = exports.getUser = exports.getGroupOutput = exports.getGroup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("../utilities");
7
8
  exports.getGroup = null;
8
9
  exports.getGroupOutput = null;
9
10
  exports.getUser = null;
10
11
  exports.getUserOutput = null;
12
+ exports.Group = null;
13
+ exports.GroupMembership = null;
14
+ exports.User = null;
11
15
  utilities.lazyLoad(exports, ["getGroup", "getGroupOutput"], () => require("./getGroup"));
12
16
  utilities.lazyLoad(exports, ["getUser", "getUserOutput"], () => require("./getUser"));
17
+ utilities.lazyLoad(exports, ["Group"], () => require("./group"));
18
+ utilities.lazyLoad(exports, ["GroupMembership"], () => require("./groupMembership"));
19
+ utilities.lazyLoad(exports, ["User"], () => require("./user"));
20
+ const _module = {
21
+ version: utilities.getVersion(),
22
+ construct: (name, type, urn) => {
23
+ switch (type) {
24
+ case "aws:identitystore/group:Group":
25
+ return new exports.Group(name, undefined, { urn });
26
+ case "aws:identitystore/groupMembership:GroupMembership":
27
+ return new exports.GroupMembership(name, undefined, { urn });
28
+ case "aws:identitystore/user:User":
29
+ return new exports.User(name, undefined, { urn });
30
+ default:
31
+ throw new Error(`unknown resource type ${type}`);
32
+ }
33
+ },
34
+ };
35
+ pulumi.runtime.registerResourceModule("aws", "identitystore/group", _module);
36
+ pulumi.runtime.registerResourceModule("aws", "identitystore/groupMembership", _module);
37
+ pulumi.runtime.registerResourceModule("aws", "identitystore/user", _module);
13
38
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../identitystore/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,0CAA0C;AAI7B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC7D,QAAA,cAAc,GAA+C,IAAW,CAAC;AAGzE,QAAA,OAAO,GAAuC,IAAW,CAAC;AAC1D,QAAA,aAAa,GAA6C,IAAW,CAAC;AAEnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAA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