@pulumi/aws 6.71.0-alpha.1740690512 → 6.71.0-alpha.1741377295

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 (100) hide show
  1. package/acm/certificate.d.ts +4 -4
  2. package/acm/certificate.js +4 -4
  3. package/acmpca/certificate.d.ts +4 -4
  4. package/acmpca/certificate.js +4 -4
  5. package/cloudfront/getCachePolicy.d.ts +10 -4
  6. package/cloudfront/getCachePolicy.js +10 -4
  7. package/cloudfront/getCachePolicy.js.map +1 -1
  8. package/cloudwatch/getLogDataProtectionPolicyDocument.d.ts +3 -0
  9. package/cloudwatch/getLogDataProtectionPolicyDocument.js +2 -0
  10. package/cloudwatch/getLogDataProtectionPolicyDocument.js.map +1 -1
  11. package/directconnect/connection.d.ts +3 -3
  12. package/directconnect/hostedConnection.d.ts +3 -3
  13. package/directconnect/linkAggregationGroup.d.ts +3 -3
  14. package/eks/addon.d.ts +0 -46
  15. package/eks/addon.js +0 -46
  16. package/eks/addon.js.map +1 -1
  17. package/index.d.ts +2 -1
  18. package/index.js +4 -2
  19. package/index.js.map +1 -1
  20. package/iot/caCertificate.d.ts +10 -10
  21. package/iot/caCertificate.js +10 -10
  22. package/iot/getRegistrationCode.d.ts +10 -10
  23. package/iot/getRegistrationCode.js +10 -10
  24. package/macie/customDataIdentifier.d.ts +7 -3
  25. package/macie/customDataIdentifier.js.map +1 -1
  26. package/macie/findingsFilter.d.ts +7 -3
  27. package/macie/findingsFilter.js.map +1 -1
  28. package/macie2/classificationJob.d.ts +7 -3
  29. package/macie2/classificationJob.js.map +1 -1
  30. package/macie2/index.d.ts +3 -0
  31. package/macie2/index.js +6 -1
  32. package/macie2/index.js.map +1 -1
  33. package/macie2/member.d.ts +7 -3
  34. package/macie2/member.js.map +1 -1
  35. package/macie2/organizationConfiguration.d.ts +60 -0
  36. package/macie2/organizationConfiguration.js +64 -0
  37. package/macie2/organizationConfiguration.js.map +1 -0
  38. package/neptunegraph/graph.d.ts +234 -0
  39. package/neptunegraph/graph.js +115 -0
  40. package/neptunegraph/graph.js.map +1 -0
  41. package/neptunegraph/index.d.ts +3 -0
  42. package/neptunegraph/index.js +22 -0
  43. package/neptunegraph/index.js.map +1 -0
  44. package/package.json +2 -2
  45. package/quicksight/accountSubscription.d.ts +5 -3
  46. package/quicksight/accountSubscription.js +2 -0
  47. package/quicksight/accountSubscription.js.map +1 -1
  48. package/quicksight/index.d.ts +3 -0
  49. package/quicksight/index.js +6 -1
  50. package/quicksight/index.js.map +1 -1
  51. package/quicksight/roleMembership.d.ts +117 -0
  52. package/quicksight/roleMembership.js +88 -0
  53. package/quicksight/roleMembership.js.map +1 -0
  54. package/rds/cluster.d.ts +27 -3
  55. package/rds/cluster.js +4 -0
  56. package/rds/cluster.js.map +1 -1
  57. package/rds/getCluster.d.ts +2 -0
  58. package/rds/getCluster.js.map +1 -1
  59. package/rds/index.d.ts +3 -0
  60. package/rds/index.js +6 -1
  61. package/rds/index.js.map +1 -1
  62. package/rds/shardGroup.d.ts +212 -0
  63. package/rds/shardGroup.js +121 -0
  64. package/rds/shardGroup.js.map +1 -0
  65. package/redshift/cluster.d.ts +0 -4
  66. package/redshift/cluster.js +0 -4
  67. package/redshift/cluster.js.map +1 -1
  68. package/redshiftserverless/namespace.d.ts +0 -2
  69. package/redshiftserverless/namespace.js +0 -2
  70. package/redshiftserverless/namespace.js.map +1 -1
  71. package/s3/bucketObjectv2.d.ts +11 -3
  72. package/s3/bucketObjectv2.js +2 -0
  73. package/s3/bucketObjectv2.js.map +1 -1
  74. package/s3/directoryBucket.d.ts +20 -3
  75. package/s3/directoryBucket.js +17 -0
  76. package/s3/directoryBucket.js.map +1 -1
  77. package/s3/getObject.d.ts +6 -0
  78. package/s3/getObject.js +2 -0
  79. package/s3/getObject.js.map +1 -1
  80. package/s3/objectCopy.d.ts +11 -3
  81. package/s3/objectCopy.js +2 -0
  82. package/s3/objectCopy.js.map +1 -1
  83. package/sqs/queue.d.ts +2 -0
  84. package/sqs/queue.js +2 -0
  85. package/sqs/queue.js.map +1 -1
  86. package/transfer/sshKey.d.ts +3 -3
  87. package/transfer/sshKey.js +3 -3
  88. package/types/input.d.ts +110 -0
  89. package/types/input.js.map +1 -1
  90. package/types/output.d.ts +94 -0
  91. package/types/output.js.map +1 -1
  92. package/vpclattice/resourceConfiguration.d.ts +1 -0
  93. package/vpclattice/resourceConfiguration.js +1 -0
  94. package/vpclattice/resourceConfiguration.js.map +1 -1
  95. package/xray/index.d.ts +3 -0
  96. package/xray/index.js +6 -1
  97. package/xray/index.js.map +1 -1
  98. package/xray/resourcePolicy.d.ts +124 -0
  99. package/xray/resourcePolicy.js +89 -0
  100. package/xray/resourcePolicy.js.map +1 -0
package/xray/index.js CHANGED
@@ -2,13 +2,15 @@
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.SamplingRule = exports.Group = exports.EncryptionConfig = void 0;
5
+ exports.SamplingRule = exports.ResourcePolicy = exports.Group = exports.EncryptionConfig = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.EncryptionConfig = null;
9
9
  utilities.lazyLoad(exports, ["EncryptionConfig"], () => require("./encryptionConfig"));
10
10
  exports.Group = null;
11
11
  utilities.lazyLoad(exports, ["Group"], () => require("./group"));
12
+ exports.ResourcePolicy = null;
13
+ utilities.lazyLoad(exports, ["ResourcePolicy"], () => require("./resourcePolicy"));
12
14
  exports.SamplingRule = null;
13
15
  utilities.lazyLoad(exports, ["SamplingRule"], () => require("./samplingRule"));
14
16
  const _module = {
@@ -19,6 +21,8 @@ const _module = {
19
21
  return new exports.EncryptionConfig(name, undefined, { urn });
20
22
  case "aws:xray/group:Group":
21
23
  return new exports.Group(name, undefined, { urn });
24
+ case "aws:xray/resourcePolicy:ResourcePolicy":
25
+ return new exports.ResourcePolicy(name, undefined, { urn });
22
26
  case "aws:xray/samplingRule:SamplingRule":
23
27
  return new exports.SamplingRule(name, undefined, { urn });
24
28
  default:
@@ -28,5 +32,6 @@ const _module = {
28
32
  };
29
33
  pulumi.runtime.registerResourceModule("aws", "xray/encryptionConfig", _module);
30
34
  pulumi.runtime.registerResourceModule("aws", "xray/group", _module);
35
+ pulumi.runtime.registerResourceModule("aws", "xray/resourcePolicy", _module);
31
36
  pulumi.runtime.registerResourceModule("aws", "xray/samplingRule", _module);
32
37
  //# sourceMappingURL=index.js.map
package/xray/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../xray/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAI1E,QAAA,KAAK,GAAmC,IAAW,CAAC;AACjE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;AAIpD,QAAA,YAAY,GAAiD,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAG/E,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,4CAA4C;gBAC7C,OAAO,IAAI,wBAAgB,CAAC,IAAI,EAAO,S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@@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Resource for managing an AWS X-Ray Resource Policy.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ### Basic Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as aws from "@pulumi/aws";
12
+ *
13
+ * const test = new aws.xray.ResourcePolicy("test", {
14
+ * policyName: "test",
15
+ * policyDocument: "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"AllowXRayAccess\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"*\"},\"Action\":[\"xray:*\",\"xray:PutResourcePolicy\"],\"Resource\":\"*\"}]}",
16
+ * bypassPolicyLockoutCheck: true,
17
+ * });
18
+ * ```
19
+ *
20
+ * ## Import
21
+ *
22
+ * Using `pulumi import`, import X-Ray Resource Policy using the `policy_name`. For example:
23
+ *
24
+ * ```sh
25
+ * $ pulumi import aws:xray/resourcePolicy:ResourcePolicy example resource_policy-name
26
+ * ```
27
+ */
28
+ export declare class ResourcePolicy extends pulumi.CustomResource {
29
+ /**
30
+ * Get an existing ResourcePolicy resource's state with the given name, ID, and optional extra
31
+ * properties used to qualify the lookup.
32
+ *
33
+ * @param name The _unique_ name of the resulting resource.
34
+ * @param id The _unique_ provider ID of the resource to lookup.
35
+ * @param state Any extra arguments used during the lookup.
36
+ * @param opts Optional settings to control the behavior of the CustomResource.
37
+ */
38
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ResourcePolicyState, opts?: pulumi.CustomResourceOptions): ResourcePolicy;
39
+ /**
40
+ * Returns true if the given object is an instance of ResourcePolicy. This is designed to work even
41
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
42
+ */
43
+ static isInstance(obj: any): obj is ResourcePolicy;
44
+ /**
45
+ * Flag to indicate whether to bypass the resource policy lockout safety check. Setting this value to true increases the risk that the policy becomes unmanageable. Do not set this value to true indiscriminately. Use this parameter only when you include a policy in the request and you intend to prevent the principal that is making the request from making a subsequent PutResourcePolicy request. The default value is `false`.
46
+ */
47
+ readonly bypassPolicyLockoutCheck: pulumi.Output<boolean | undefined>;
48
+ /**
49
+ * When the policy was last updated, in Unix time seconds.
50
+ */
51
+ readonly lastUpdatedTime: pulumi.Output<string>;
52
+ /**
53
+ * JSON string of the resource policy or resource policy document, which can be up to 5kb in size.
54
+ *
55
+ * The following arguments are optional:
56
+ */
57
+ readonly policyDocument: pulumi.Output<string>;
58
+ /**
59
+ * name of the resource policy. Must be unique within a specific Amazon Web Services account.
60
+ */
61
+ readonly policyName: pulumi.Output<string>;
62
+ /**
63
+ * Specifies a specific policy revision, to ensure an atomic create operation. By default the resource policy is created if it does not exist, or updated with an incremented revision id. The revision id is unique to each policy in the account. If the policy revision id does not match the latest revision id, the operation will fail with an InvalidPolicyRevisionIdException exception. You can also provide a PolicyRevisionId of 0. In this case, the operation will fail with an InvalidPolicyRevisionIdException exception if a resource policy with the same name already exists.
64
+ */
65
+ readonly policyRevisionId: pulumi.Output<string>;
66
+ /**
67
+ * Create a ResourcePolicy resource with the given unique name, arguments, and options.
68
+ *
69
+ * @param name The _unique_ name of the resource.
70
+ * @param args The arguments to use to populate this resource's properties.
71
+ * @param opts A bag of options that control this resource's behavior.
72
+ */
73
+ constructor(name: string, args: ResourcePolicyArgs, opts?: pulumi.CustomResourceOptions);
74
+ }
75
+ /**
76
+ * Input properties used for looking up and filtering ResourcePolicy resources.
77
+ */
78
+ export interface ResourcePolicyState {
79
+ /**
80
+ * Flag to indicate whether to bypass the resource policy lockout safety check. Setting this value to true increases the risk that the policy becomes unmanageable. Do not set this value to true indiscriminately. Use this parameter only when you include a policy in the request and you intend to prevent the principal that is making the request from making a subsequent PutResourcePolicy request. The default value is `false`.
81
+ */
82
+ bypassPolicyLockoutCheck?: pulumi.Input<boolean>;
83
+ /**
84
+ * When the policy was last updated, in Unix time seconds.
85
+ */
86
+ lastUpdatedTime?: pulumi.Input<string>;
87
+ /**
88
+ * JSON string of the resource policy or resource policy document, which can be up to 5kb in size.
89
+ *
90
+ * The following arguments are optional:
91
+ */
92
+ policyDocument?: pulumi.Input<string>;
93
+ /**
94
+ * name of the resource policy. Must be unique within a specific Amazon Web Services account.
95
+ */
96
+ policyName?: pulumi.Input<string>;
97
+ /**
98
+ * Specifies a specific policy revision, to ensure an atomic create operation. By default the resource policy is created if it does not exist, or updated with an incremented revision id. The revision id is unique to each policy in the account. If the policy revision id does not match the latest revision id, the operation will fail with an InvalidPolicyRevisionIdException exception. You can also provide a PolicyRevisionId of 0. In this case, the operation will fail with an InvalidPolicyRevisionIdException exception if a resource policy with the same name already exists.
99
+ */
100
+ policyRevisionId?: pulumi.Input<string>;
101
+ }
102
+ /**
103
+ * The set of arguments for constructing a ResourcePolicy resource.
104
+ */
105
+ export interface ResourcePolicyArgs {
106
+ /**
107
+ * Flag to indicate whether to bypass the resource policy lockout safety check. Setting this value to true increases the risk that the policy becomes unmanageable. Do not set this value to true indiscriminately. Use this parameter only when you include a policy in the request and you intend to prevent the principal that is making the request from making a subsequent PutResourcePolicy request. The default value is `false`.
108
+ */
109
+ bypassPolicyLockoutCheck?: pulumi.Input<boolean>;
110
+ /**
111
+ * JSON string of the resource policy or resource policy document, which can be up to 5kb in size.
112
+ *
113
+ * The following arguments are optional:
114
+ */
115
+ policyDocument: pulumi.Input<string>;
116
+ /**
117
+ * name of the resource policy. Must be unique within a specific Amazon Web Services account.
118
+ */
119
+ policyName: pulumi.Input<string>;
120
+ /**
121
+ * Specifies a specific policy revision, to ensure an atomic create operation. By default the resource policy is created if it does not exist, or updated with an incremented revision id. The revision id is unique to each policy in the account. If the policy revision id does not match the latest revision id, the operation will fail with an InvalidPolicyRevisionIdException exception. You can also provide a PolicyRevisionId of 0. In this case, the operation will fail with an InvalidPolicyRevisionIdException exception if a resource policy with the same name already exists.
122
+ */
123
+ policyRevisionId?: pulumi.Input<string>;
124
+ }
@@ -0,0 +1,89 @@
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.ResourcePolicy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource for managing an AWS X-Ray Resource Policy.
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 test = new aws.xray.ResourcePolicy("test", {
20
+ * policyName: "test",
21
+ * policyDocument: "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"AllowXRayAccess\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"*\"},\"Action\":[\"xray:*\",\"xray:PutResourcePolicy\"],\"Resource\":\"*\"}]}",
22
+ * bypassPolicyLockoutCheck: true,
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * Using `pulumi import`, import X-Ray Resource Policy using the `policy_name`. For example:
29
+ *
30
+ * ```sh
31
+ * $ pulumi import aws:xray/resourcePolicy:ResourcePolicy example resource_policy-name
32
+ * ```
33
+ */
34
+ class ResourcePolicy extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing ResourcePolicy resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name, id, state, opts) {
45
+ return new ResourcePolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
46
+ }
47
+ /**
48
+ * Returns true if the given object is an instance of ResourcePolicy. This is designed to work even
49
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
50
+ */
51
+ static isInstance(obj) {
52
+ if (obj === undefined || obj === null) {
53
+ return false;
54
+ }
55
+ return obj['__pulumiType'] === ResourcePolicy.__pulumiType;
56
+ }
57
+ constructor(name, argsOrState, opts) {
58
+ let resourceInputs = {};
59
+ opts = opts || {};
60
+ if (opts.id) {
61
+ const state = argsOrState;
62
+ resourceInputs["bypassPolicyLockoutCheck"] = state ? state.bypassPolicyLockoutCheck : undefined;
63
+ resourceInputs["lastUpdatedTime"] = state ? state.lastUpdatedTime : undefined;
64
+ resourceInputs["policyDocument"] = state ? state.policyDocument : undefined;
65
+ resourceInputs["policyName"] = state ? state.policyName : undefined;
66
+ resourceInputs["policyRevisionId"] = state ? state.policyRevisionId : undefined;
67
+ }
68
+ else {
69
+ const args = argsOrState;
70
+ if ((!args || args.policyDocument === undefined) && !opts.urn) {
71
+ throw new Error("Missing required property 'policyDocument'");
72
+ }
73
+ if ((!args || args.policyName === undefined) && !opts.urn) {
74
+ throw new Error("Missing required property 'policyName'");
75
+ }
76
+ resourceInputs["bypassPolicyLockoutCheck"] = args ? args.bypassPolicyLockoutCheck : undefined;
77
+ resourceInputs["policyDocument"] = args ? args.policyDocument : undefined;
78
+ resourceInputs["policyName"] = args ? args.policyName : undefined;
79
+ resourceInputs["policyRevisionId"] = args ? args.policyRevisionId : undefined;
80
+ resourceInputs["lastUpdatedTime"] = undefined /*out*/;
81
+ }
82
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
83
+ super(ResourcePolicy.__pulumiType, name, resourceInputs, opts);
84
+ }
85
+ }
86
+ exports.ResourcePolicy = ResourcePolicy;
87
+ /** @internal */
88
+ ResourcePolicy.__pulumiType = 'aws:xray/resourcePolicy:ResourcePolicy';
89
+ //# sourceMappingURL=resourcePolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resourcePolicy.js","sourceRoot":"","sources":["../../xray/resourcePolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;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