@pulumi/aws 7.10.0-alpha.1761243470 → 7.10.0-alpha.1761311065
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/appstream/directoryConfig.d.ts +16 -0
- package/appstream/directoryConfig.js +6 -0
- package/appstream/directoryConfig.js.map +1 -1
- package/bedrock/agentAgent.d.ts +4 -3
- package/bedrock/agentAgent.js +1 -0
- package/bedrock/agentAgent.js.map +1 -1
- package/bedrock/agentcoreApiKeyCredentialProvider.d.ts +38 -0
- package/bedrock/agentcoreApiKeyCredentialProvider.js +16 -1
- package/bedrock/agentcoreApiKeyCredentialProvider.js.map +1 -1
- package/bedrock/agentcoreMemory.d.ts +202 -0
- package/bedrock/agentcoreMemory.js +115 -0
- package/bedrock/agentcoreMemory.js.map +1 -0
- package/bedrock/agentcoreMemoryStrategy.d.ts +275 -0
- package/bedrock/agentcoreMemoryStrategy.js +215 -0
- package/bedrock/agentcoreMemoryStrategy.js.map +1 -0
- package/bedrock/agentcoreOauth2CredentialProvider.d.ts +169 -0
- package/bedrock/agentcoreOauth2CredentialProvider.js +123 -0
- package/bedrock/agentcoreOauth2CredentialProvider.js.map +1 -0
- package/bedrock/agentcoreTokenVaultCmk.d.ts +99 -0
- package/bedrock/agentcoreTokenVaultCmk.js +78 -0
- package/bedrock/agentcoreTokenVaultCmk.js.map +1 -0
- package/bedrock/agentcoreWorkloadIdentity.d.ts +127 -0
- package/bedrock/agentcoreWorkloadIdentity.js +96 -0
- package/bedrock/agentcoreWorkloadIdentity.js.map +1 -0
- package/bedrock/index.d.ts +15 -0
- package/bedrock/index.js +26 -1
- package/bedrock/index.js.map +1 -1
- package/cloudtrail/trail.d.ts +3 -3
- package/docdb/cluster.d.ts +30 -0
- package/docdb/cluster.js +5 -1
- package/docdb/cluster.js.map +1 -1
- package/ecs/taskDefinition.d.ts +3 -3
- package/kms/keyPolicy.d.ts +3 -3
- package/odb/network.d.ts +12 -0
- package/odb/network.js +2 -0
- package/odb/network.js.map +1 -1
- package/organizations/account.d.ts +28 -4
- package/organizations/account.js +2 -0
- package/organizations/account.js.map +1 -1
- package/organizations/getOrganization.d.ts +7 -7
- package/organizations/getOrganization.js +6 -6
- package/organizations/organization.d.ts +13 -13
- package/package.json +2 -2
- package/rds/cluster.d.ts +27 -0
- package/rds/cluster.js +5 -1
- package/rds/cluster.js.map +1 -1
- package/rds/instance.d.ts +27 -0
- package/rds/instance.js +5 -1
- package/rds/instance.js.map +1 -1
- package/redshift/cluster.d.ts +39 -0
- package/redshift/cluster.js +5 -1
- package/redshift/cluster.js.map +1 -1
- package/redshiftserverless/namespace.d.ts +30 -0
- package/redshiftserverless/namespace.js +5 -1
- package/redshiftserverless/namespace.js.map +1 -1
- package/secretsmanager/secretVersion.d.ts +29 -0
- package/secretsmanager/secretVersion.js +7 -1
- package/secretsmanager/secretVersion.js.map +1 -1
- package/ssm/parameter.d.ts +41 -0
- package/ssm/parameter.js +7 -1
- package/ssm/parameter.js.map +1 -1
- package/transfer/hostKey.d.ts +26 -0
- package/transfer/hostKey.js +14 -1
- package/transfer/hostKey.js.map +1 -1
- package/types/input.d.ts +446 -15
- package/types/input.js.map +1 -1
- package/types/output.d.ts +519 -32
- package/types/output.js.map +1 -1
- package/workspaces/getWorkspace.d.ts +19 -0
- package/workspaces/getWorkspace.js.map +1 -1
package/ssm/parameter.d.ts
CHANGED
|
@@ -101,6 +101,10 @@ export declare class Parameter extends pulumi.CustomResource {
|
|
|
101
101
|
* Description of the parameter.
|
|
102
102
|
*/
|
|
103
103
|
readonly description: pulumi.Output<string | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* Indicates whether the resource has a `valueWo` set.
|
|
106
|
+
*/
|
|
107
|
+
readonly hasValueWo: pulumi.Output<boolean>;
|
|
104
108
|
/**
|
|
105
109
|
* Value of the parameter. **Use caution:** This value is _never_ marked as sensitive in the pulumi preview output. This argument is not valid with a `type` of `SecureString`.
|
|
106
110
|
*/
|
|
@@ -147,6 +151,17 @@ export declare class Parameter extends pulumi.CustomResource {
|
|
|
147
151
|
* Value of the parameter. This value is always marked as sensitive in the pulumi preview output, regardless of `type
|
|
148
152
|
*/
|
|
149
153
|
readonly value: pulumi.Output<string>;
|
|
154
|
+
/**
|
|
155
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
156
|
+
* Value of the parameter. This value is always marked as sensitive in the pulumi preview output, regardless of `type`. Additionally, `write-only` values are never stored to state. `valueWoVersion` can be used to trigger an update and is required with this argument.
|
|
157
|
+
*/
|
|
158
|
+
readonly valueWo: pulumi.Output<string | undefined>;
|
|
159
|
+
/**
|
|
160
|
+
* Used together with `valueWo` to trigger an update. Increment this value when an update to the `valueWo` is required.
|
|
161
|
+
*
|
|
162
|
+
* > **NOTE:** `aws:ssm:integration` dataType parameters must be of the type `SecureString` and the name must start with the prefix `/d9d01087-4a3f-49e0-b0b4-d568d7826553/ssm/integrations/webhook/`. See [here](https://docs.aws.amazon.com/systems-manager/latest/userguide/creating-integrations.html) for information on the usage of `aws:ssm:integration` parameters.
|
|
163
|
+
*/
|
|
164
|
+
readonly valueWoVersion: pulumi.Output<number | undefined>;
|
|
150
165
|
/**
|
|
151
166
|
* Version of the parameter.
|
|
152
167
|
*/
|
|
@@ -180,6 +195,10 @@ export interface ParameterState {
|
|
|
180
195
|
* Description of the parameter.
|
|
181
196
|
*/
|
|
182
197
|
description?: pulumi.Input<string>;
|
|
198
|
+
/**
|
|
199
|
+
* Indicates whether the resource has a `valueWo` set.
|
|
200
|
+
*/
|
|
201
|
+
hasValueWo?: pulumi.Input<boolean>;
|
|
183
202
|
/**
|
|
184
203
|
* Value of the parameter. **Use caution:** This value is _never_ marked as sensitive in the pulumi preview output. This argument is not valid with a `type` of `SecureString`.
|
|
185
204
|
*/
|
|
@@ -226,6 +245,17 @@ export interface ParameterState {
|
|
|
226
245
|
* Value of the parameter. This value is always marked as sensitive in the pulumi preview output, regardless of `type
|
|
227
246
|
*/
|
|
228
247
|
value?: pulumi.Input<string>;
|
|
248
|
+
/**
|
|
249
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
250
|
+
* Value of the parameter. This value is always marked as sensitive in the pulumi preview output, regardless of `type`. Additionally, `write-only` values are never stored to state. `valueWoVersion` can be used to trigger an update and is required with this argument.
|
|
251
|
+
*/
|
|
252
|
+
valueWo?: pulumi.Input<string>;
|
|
253
|
+
/**
|
|
254
|
+
* Used together with `valueWo` to trigger an update. Increment this value when an update to the `valueWo` is required.
|
|
255
|
+
*
|
|
256
|
+
* > **NOTE:** `aws:ssm:integration` dataType parameters must be of the type `SecureString` and the name must start with the prefix `/d9d01087-4a3f-49e0-b0b4-d568d7826553/ssm/integrations/webhook/`. See [here](https://docs.aws.amazon.com/systems-manager/latest/userguide/creating-integrations.html) for information on the usage of `aws:ssm:integration` parameters.
|
|
257
|
+
*/
|
|
258
|
+
valueWoVersion?: pulumi.Input<number>;
|
|
229
259
|
/**
|
|
230
260
|
* Version of the parameter.
|
|
231
261
|
*/
|
|
@@ -291,4 +321,15 @@ export interface ParameterArgs {
|
|
|
291
321
|
* Value of the parameter. This value is always marked as sensitive in the pulumi preview output, regardless of `type
|
|
292
322
|
*/
|
|
293
323
|
value?: pulumi.Input<string>;
|
|
324
|
+
/**
|
|
325
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
326
|
+
* Value of the parameter. This value is always marked as sensitive in the pulumi preview output, regardless of `type`. Additionally, `write-only` values are never stored to state. `valueWoVersion` can be used to trigger an update and is required with this argument.
|
|
327
|
+
*/
|
|
328
|
+
valueWo?: pulumi.Input<string>;
|
|
329
|
+
/**
|
|
330
|
+
* Used together with `valueWo` to trigger an update. Increment this value when an update to the `valueWo` is required.
|
|
331
|
+
*
|
|
332
|
+
* > **NOTE:** `aws:ssm:integration` dataType parameters must be of the type `SecureString` and the name must start with the prefix `/d9d01087-4a3f-49e0-b0b4-d568d7826553/ssm/integrations/webhook/`. See [here](https://docs.aws.amazon.com/systems-manager/latest/userguide/creating-integrations.html) for information on the usage of `aws:ssm:integration` parameters.
|
|
333
|
+
*/
|
|
334
|
+
valueWoVersion?: pulumi.Input<number>;
|
|
294
335
|
}
|
package/ssm/parameter.js
CHANGED
|
@@ -106,6 +106,7 @@ class Parameter extends pulumi.CustomResource {
|
|
|
106
106
|
resourceInputs["arn"] = state?.arn;
|
|
107
107
|
resourceInputs["dataType"] = state?.dataType;
|
|
108
108
|
resourceInputs["description"] = state?.description;
|
|
109
|
+
resourceInputs["hasValueWo"] = state?.hasValueWo;
|
|
109
110
|
resourceInputs["insecureValue"] = state?.insecureValue;
|
|
110
111
|
resourceInputs["keyId"] = state?.keyId;
|
|
111
112
|
resourceInputs["name"] = state?.name;
|
|
@@ -116,6 +117,8 @@ class Parameter extends pulumi.CustomResource {
|
|
|
116
117
|
resourceInputs["tier"] = state?.tier;
|
|
117
118
|
resourceInputs["type"] = state?.type;
|
|
118
119
|
resourceInputs["value"] = state?.value;
|
|
120
|
+
resourceInputs["valueWo"] = state?.valueWo;
|
|
121
|
+
resourceInputs["valueWoVersion"] = state?.valueWoVersion;
|
|
119
122
|
resourceInputs["version"] = state?.version;
|
|
120
123
|
}
|
|
121
124
|
else {
|
|
@@ -136,11 +139,14 @@ class Parameter extends pulumi.CustomResource {
|
|
|
136
139
|
resourceInputs["tier"] = args?.tier;
|
|
137
140
|
resourceInputs["type"] = args?.type;
|
|
138
141
|
resourceInputs["value"] = args?.value ? pulumi.secret(args.value) : undefined;
|
|
142
|
+
resourceInputs["valueWo"] = args?.valueWo ? pulumi.secret(args.valueWo) : undefined;
|
|
143
|
+
resourceInputs["valueWoVersion"] = args?.valueWoVersion;
|
|
144
|
+
resourceInputs["hasValueWo"] = undefined /*out*/;
|
|
139
145
|
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
140
146
|
resourceInputs["version"] = undefined /*out*/;
|
|
141
147
|
}
|
|
142
148
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
143
|
-
const secretOpts = { additionalSecretOutputs: ["value"] };
|
|
149
|
+
const secretOpts = { additionalSecretOutputs: ["value", "valueWo"] };
|
|
144
150
|
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
145
151
|
super(Parameter.__pulumiType, name, resourceInputs, opts);
|
|
146
152
|
}
|
package/ssm/parameter.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parameter.js","sourceRoot":"","sources":["../../ssm/parameter.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;
|
|
1
|
+
{"version":3,"file":"parameter.js","sourceRoot":"","sources":["../../ssm/parameter.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,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|
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
*
|
|
11
|
+
* const example = new aws.transfer.HostKey("example", {
|
|
12
|
+
* serverId: exampleAwsTransferServer.id,
|
|
13
|
+
* description: "example additional host key",
|
|
14
|
+
* hostKeyBodyWo: "# Private key PEM.\n",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
7
18
|
* ## Import
|
|
8
19
|
*
|
|
9
20
|
* Using `pulumi import`, import host keys using the `server_id` and `host_key_id` separated by `,`. For example:
|
|
@@ -40,6 +51,11 @@ export declare class HostKey extends pulumi.CustomResource {
|
|
|
40
51
|
* Private key portion of an SSH key pair.
|
|
41
52
|
*/
|
|
42
53
|
readonly hostKeyBody: pulumi.Output<string | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
56
|
+
* Write-only private key portion of an SSH key pair, guaranteed not to be written to plan or state artifacts. One of `hostKeyBody` or `hostKeyBodyWo` must be configured.
|
|
57
|
+
*/
|
|
58
|
+
readonly hostKeyBodyWo: pulumi.Output<string | undefined>;
|
|
43
59
|
/**
|
|
44
60
|
* Public key fingerprint.
|
|
45
61
|
*/
|
|
@@ -93,6 +109,11 @@ export interface HostKeyState {
|
|
|
93
109
|
* Private key portion of an SSH key pair.
|
|
94
110
|
*/
|
|
95
111
|
hostKeyBody?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
114
|
+
* Write-only private key portion of an SSH key pair, guaranteed not to be written to plan or state artifacts. One of `hostKeyBody` or `hostKeyBodyWo` must be configured.
|
|
115
|
+
*/
|
|
116
|
+
hostKeyBodyWo?: pulumi.Input<string>;
|
|
96
117
|
/**
|
|
97
118
|
* Public key fingerprint.
|
|
98
119
|
*/
|
|
@@ -134,6 +155,11 @@ export interface HostKeyArgs {
|
|
|
134
155
|
* Private key portion of an SSH key pair.
|
|
135
156
|
*/
|
|
136
157
|
hostKeyBody?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
160
|
+
* Write-only private key portion of an SSH key pair, guaranteed not to be written to plan or state artifacts. One of `hostKeyBody` or `hostKeyBodyWo` must be configured.
|
|
161
|
+
*/
|
|
162
|
+
hostKeyBodyWo?: pulumi.Input<string>;
|
|
137
163
|
/**
|
|
138
164
|
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
139
165
|
*/
|
package/transfer/hostKey.js
CHANGED
|
@@ -10,6 +10,17 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const example = new aws.transfer.HostKey("example", {
|
|
18
|
+
* serverId: exampleAwsTransferServer.id,
|
|
19
|
+
* description: "example additional host key",
|
|
20
|
+
* hostKeyBodyWo: "# Private key PEM.\n",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
13
24
|
* ## Import
|
|
14
25
|
*
|
|
15
26
|
* Using `pulumi import`, import host keys using the `server_id` and `host_key_id` separated by `,`. For example:
|
|
@@ -49,6 +60,7 @@ class HostKey extends pulumi.CustomResource {
|
|
|
49
60
|
resourceInputs["arn"] = state?.arn;
|
|
50
61
|
resourceInputs["description"] = state?.description;
|
|
51
62
|
resourceInputs["hostKeyBody"] = state?.hostKeyBody;
|
|
63
|
+
resourceInputs["hostKeyBodyWo"] = state?.hostKeyBodyWo;
|
|
52
64
|
resourceInputs["hostKeyFingerprint"] = state?.hostKeyFingerprint;
|
|
53
65
|
resourceInputs["hostKeyId"] = state?.hostKeyId;
|
|
54
66
|
resourceInputs["region"] = state?.region;
|
|
@@ -63,6 +75,7 @@ class HostKey extends pulumi.CustomResource {
|
|
|
63
75
|
}
|
|
64
76
|
resourceInputs["description"] = args?.description;
|
|
65
77
|
resourceInputs["hostKeyBody"] = args?.hostKeyBody ? pulumi.secret(args.hostKeyBody) : undefined;
|
|
78
|
+
resourceInputs["hostKeyBodyWo"] = args?.hostKeyBodyWo ? pulumi.secret(args.hostKeyBodyWo) : undefined;
|
|
66
79
|
resourceInputs["region"] = args?.region;
|
|
67
80
|
resourceInputs["serverId"] = args?.serverId;
|
|
68
81
|
resourceInputs["tags"] = args?.tags;
|
|
@@ -72,7 +85,7 @@ class HostKey extends pulumi.CustomResource {
|
|
|
72
85
|
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
73
86
|
}
|
|
74
87
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
75
|
-
const secretOpts = { additionalSecretOutputs: ["hostKeyBody"] };
|
|
88
|
+
const secretOpts = { additionalSecretOutputs: ["hostKeyBody", "hostKeyBodyWo"] };
|
|
76
89
|
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
77
90
|
super(HostKey.__pulumiType, name, resourceInputs, opts);
|
|
78
91
|
}
|
package/transfer/hostKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hostKey.js","sourceRoot":"","sources":["../../transfer/hostKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"hostKey.js","sourceRoot":"","sources":["../../transfer/hostKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAu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