@pulumi/aws 6.63.0 → 6.64.0-alpha.1733330310

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.
@@ -2,6 +2,16 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import { ARN } from "..";
3
3
  import { Group, Role, User } from "./index";
4
4
  /**
5
+ * Attaches a Managed IAM Policy to user(s), role(s), and/or group(s)
6
+ *
7
+ * !> **WARNING:** The aws.iam.PolicyAttachment resource creates **exclusive** attachments of IAM policies. Across the entire AWS account, all of the users/roles/groups to which a single policy is attached must be declared by a single aws.iam.PolicyAttachment resource. This means that even any users/roles/groups that have the attached policy via any other mechanism (including other resources managed by this provider) will have that attached policy revoked by this resource. Consider `aws.iam.RolePolicyAttachment`, `aws.iam.UserPolicyAttachment`, or `aws.iam.GroupPolicyAttachment` instead. These resources do not enforce exclusive attachment of an IAM policy.
8
+ *
9
+ * > **NOTE:** The usage of this resource conflicts with the `aws.iam.GroupPolicyAttachment`, `aws.iam.RolePolicyAttachment`, and `aws.iam.UserPolicyAttachment` resources and will permanently show a difference if both are defined.
10
+ *
11
+ * > **NOTE:** For a given role, this resource is incompatible with using the `aws.iam.Role` resource `managedPolicyArns` argument. When using that argument and this resource, both will attempt to manage the role's managed policy attachments and the provider will show a permanent difference.
12
+ *
13
+ * > **NOTE:** To ensure Pulumi correctly manages dependencies during updates, use a reference to the IAM resource when defining the `policyArn` for `aws.iam.PolicyAttachment`, rather than constructing the ARN directly. For example, use `policyArn = aws_iam_policy.example.arn` instead of `policyArn = "arn:aws:iam::${data.aws_caller_identity.current.account_id}:policy/Example"`. Failing to do so may lead to errors like `DeleteConflict: Cannot delete a policy attached to entities` or `NoSuchEntity`.
14
+ *
5
15
  * ## Example Usage
6
16
  *
7
17
  * ```typescript
@@ -6,6 +6,16 @@ exports.PolicyAttachment = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
+ * Attaches a Managed IAM Policy to user(s), role(s), and/or group(s)
10
+ *
11
+ * !> **WARNING:** The aws.iam.PolicyAttachment resource creates **exclusive** attachments of IAM policies. Across the entire AWS account, all of the users/roles/groups to which a single policy is attached must be declared by a single aws.iam.PolicyAttachment resource. This means that even any users/roles/groups that have the attached policy via any other mechanism (including other resources managed by this provider) will have that attached policy revoked by this resource. Consider `aws.iam.RolePolicyAttachment`, `aws.iam.UserPolicyAttachment`, or `aws.iam.GroupPolicyAttachment` instead. These resources do not enforce exclusive attachment of an IAM policy.
12
+ *
13
+ * > **NOTE:** The usage of this resource conflicts with the `aws.iam.GroupPolicyAttachment`, `aws.iam.RolePolicyAttachment`, and `aws.iam.UserPolicyAttachment` resources and will permanently show a difference if both are defined.
14
+ *
15
+ * > **NOTE:** For a given role, this resource is incompatible with using the `aws.iam.Role` resource `managedPolicyArns` argument. When using that argument and this resource, both will attempt to manage the role's managed policy attachments and the provider will show a permanent difference.
16
+ *
17
+ * > **NOTE:** To ensure Pulumi correctly manages dependencies during updates, use a reference to the IAM resource when defining the `policyArn` for `aws.iam.PolicyAttachment`, rather than constructing the ARN directly. For example, use `policyArn = aws_iam_policy.example.arn` instead of `policyArn = "arn:aws:iam::${data.aws_caller_identity.current.account_id}:policy/Example"`. Failing to do so may lead to errors like `DeleteConflict: Cannot delete a policy attached to entities` or `NoSuchEntity`.
18
+ *
9
19
  * ## Example Usage
10
20
  *
11
21
  * ```typescript
@@ -1 +1 @@
1
- {"version":3,"file":"policyAttachment.js","sourceRoot":"","sources":["../../iam/policyAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAA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,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAhFL,4CAiFC;AAnEG,gBAAgB;AACO,6BAAY,GAAG,2CAA2C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/aws",
3
- "version": "6.63.0",
3
+ "version": "6.64.0-alpha.1733330310",
4
4
  "description": "A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -26,6 +26,6 @@
26
26
  "pulumi": {
27
27
  "resource": true,
28
28
  "name": "aws",
29
- "version": "6.63.0"
29
+ "version": "6.64.0-alpha.1733330310"
30
30
  }
31
31
  }
@@ -1,6 +1,5 @@
1
1
  export declare const Runtime: {
2
2
  readonly Dotnet6: "dotnet6";
3
- readonly Dotnet7: "dotnet7";
4
3
  readonly Dotnet8: "dotnet8";
5
4
  readonly Java11: "java11";
6
5
  readonly Java17: "java17";
@@ -8,18 +7,24 @@ export declare const Runtime: {
8
7
  readonly Java8AL2: "java8.al2";
9
8
  readonly NodeJS18dX: "nodejs18.x";
10
9
  readonly NodeJS20dX: "nodejs20.x";
10
+ readonly NodeJS22dX: "nodejs22.x";
11
11
  readonly CustomAL2: "provided.al2";
12
12
  readonly CustomAL2023: "provided.al2023";
13
13
  readonly Python3d10: "python3.10";
14
14
  readonly Python3d11: "python3.11";
15
15
  readonly Python3d12: "python3.12";
16
- readonly Python3d8: "python3.8";
16
+ readonly Python3d13: "python3.13";
17
17
  readonly Python3d9: "python3.9";
18
18
  readonly Ruby3d2: "ruby3.2";
19
+ readonly Ruby3d3: "ruby3.3";
19
20
  /**
20
21
  * @deprecated This runtime is now deprecated
21
22
  */
22
23
  readonly Dotnet5d0: "dotnet5.0";
24
+ /**
25
+ * @deprecated This runtime is now deprecated
26
+ */
27
+ readonly Dotnet7: "dotnet7";
23
28
  /**
24
29
  * @deprecated This runtime is now deprecated
25
30
  */
@@ -68,6 +73,10 @@ export declare const Runtime: {
68
73
  * @deprecated This runtime is now deprecated
69
74
  */
70
75
  readonly Python3d7: "python3.7";
76
+ /**
77
+ * @deprecated This runtime is now deprecated
78
+ */
79
+ readonly Python3d8: "python3.8";
71
80
  /**
72
81
  * @deprecated This runtime is now deprecated
73
82
  */
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.Runtime = void 0;
6
6
  exports.Runtime = {
7
7
  Dotnet6: "dotnet6",
8
- Dotnet7: "dotnet7",
9
8
  Dotnet8: "dotnet8",
10
9
  Java11: "java11",
11
10
  Java17: "java17",
@@ -13,18 +12,24 @@ exports.Runtime = {
13
12
  Java8AL2: "java8.al2",
14
13
  NodeJS18dX: "nodejs18.x",
15
14
  NodeJS20dX: "nodejs20.x",
15
+ NodeJS22dX: "nodejs22.x",
16
16
  CustomAL2: "provided.al2",
17
17
  CustomAL2023: "provided.al2023",
18
18
  Python3d10: "python3.10",
19
19
  Python3d11: "python3.11",
20
20
  Python3d12: "python3.12",
21
- Python3d8: "python3.8",
21
+ Python3d13: "python3.13",
22
22
  Python3d9: "python3.9",
23
23
  Ruby3d2: "ruby3.2",
24
+ Ruby3d3: "ruby3.3",
24
25
  /**
25
26
  * @deprecated This runtime is now deprecated
26
27
  */
27
28
  Dotnet5d0: "dotnet5.0",
29
+ /**
30
+ * @deprecated This runtime is now deprecated
31
+ */
32
+ Dotnet7: "dotnet7",
28
33
  /**
29
34
  * @deprecated This runtime is now deprecated
30
35
  */
@@ -73,6 +78,10 @@ exports.Runtime = {
73
78
  * @deprecated This runtime is now deprecated
74
79
  */
75
80
  Python3d7: "python3.7",
81
+ /**
82
+ * @deprecated This runtime is now deprecated
83
+ */
84
+ Python3d8: "python3.8",
76
85
  /**
77
86
  * @deprecated This runtime is now deprecated
78
87
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/enums/lambda/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAGpE,QAAA,OAAO,GAAG;IACnB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,WAAW;IACrB,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,cAAc;IACzB,YAAY,EAAE,iBAAiB;IAC/B,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,SAAS,EAAE,WAAW;IACtB;;OAEG;IACH,aAAa,EAAE,eAAe;IAC9B;;OAEG;IACH,aAAa,EAAE,eAAe;IAC9B;;OAEG;IACH,KAAK,EAAE,OAAO;IACd;;OAEG;IACH,KAAK,EAAE,OAAO;IACd;;OAEG;IACH,UAAU,EAAE,YAAY;IACxB;;OAEG;IACH,UAAU,EAAE,YAAY;IACxB;;OAEG;IACH,UAAU,EAAE,YAAY;IACxB;;OAEG;IACH,UAAU,EAAE,YAAY;IACxB;;OAEG;IACH,MAAM,EAAE,UAAU;IAClB;;OAEG;IACH,SAAS,EAAE,WAAW;IACtB;;OAEG;IACH,SAAS,EAAE,WAAW;IACtB;;OAEG;IACH,SAAS,EAAE,WAAW;IACtB;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,OAAO,EAAE,SAAS;CACZ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/enums/lambda/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAGpE,QAAA,OAAO,GAAG;IACnB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,WAAW;IACrB,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,cAAc;IACzB,YAAY,EAAE,iBAAiB;IAC/B,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,SAAS,EAAE,WAAW;IACtB;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,aAAa,EAAE,eAAe;IAC9B;;OAEG;IACH,aAAa,EAAE,eAAe;IAC9B;;OAEG;IACH,KAAK,EAAE,OAAO;IACd;;OAEG;IACH,KAAK,EAAE,OAAO;IACd;;OAEG;IACH,UAAU,EAAE,YAAY;IACxB;;OAEG;IACH,UAAU,EAAE,YAAY;IACxB;;OAEG;IACH,UAAU,EAAE,YAAY;IACxB;;OAEG;IACH,UAAU,EAAE,YAAY;IACxB;;OAEG;IACH,MAAM,EAAE,UAAU;IAClB;;OAEG;IACH,SAAS,EAAE,WAAW;IACtB;;OAEG;IACH,SAAS,EAAE,WAAW;IACtB;;OAEG;IACH,SAAS,EAAE,WAAW;IACtB;;OAEG;IACH,SAAS,EAAE,WAAW;IACtB;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,OAAO,EAAE,SAAS;CACZ,CAAC"}