@pulumi/aws 7.2.0-alpha.1753487600 → 7.2.0-alpha.1753734409

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 (74) hide show
  1. package/alb/listener.d.ts +33 -0
  2. package/alb/listener.js +33 -0
  3. package/alb/listener.js.map +1 -1
  4. package/bedrock/agentAgentCollaborator.d.ts +15 -0
  5. package/bedrock/agentAgentCollaborator.js.map +1 -1
  6. package/cognito/index.d.ts +3 -0
  7. package/cognito/index.js +6 -1
  8. package/cognito/index.js.map +1 -1
  9. package/cognito/logDeliveryConfiguration.d.ts +212 -0
  10. package/cognito/logDeliveryConfiguration.js +188 -0
  11. package/cognito/logDeliveryConfiguration.js.map +1 -0
  12. package/comprehend/documentClassifier.d.ts +1 -1
  13. package/comprehend/documentClassifier.js +1 -1
  14. package/comprehend/entityRecognizer.d.ts +2 -2
  15. package/comprehend/entityRecognizer.js +2 -2
  16. package/directconnect/gatewayAssociation.d.ts +8 -0
  17. package/directconnect/gatewayAssociation.js +2 -0
  18. package/directconnect/gatewayAssociation.js.map +1 -1
  19. package/dms/endpoint.d.ts +12 -0
  20. package/dms/endpoint.js +2 -0
  21. package/dms/endpoint.js.map +1 -1
  22. package/dms/replicationInstance.d.ts +26 -0
  23. package/dms/replicationInstance.js +4 -0
  24. package/dms/replicationInstance.js.map +1 -1
  25. package/ecr/getImages.d.ts +86 -0
  26. package/ecr/getImages.js +58 -0
  27. package/ecr/getImages.js.map +1 -0
  28. package/ecr/index.d.ts +3 -0
  29. package/ecr/index.js +4 -1
  30. package/ecr/index.js.map +1 -1
  31. package/elasticbeanstalk/applicationVersion.d.ts +1 -1
  32. package/elasticbeanstalk/applicationVersion.js +1 -1
  33. package/iam/getPrincipalPolicySimulation.d.ts +2 -2
  34. package/iam/getPrincipalPolicySimulation.js +2 -2
  35. package/inspector2/enabler.d.ts +3 -3
  36. package/inspector2/organizationConfiguration.d.ts +1 -0
  37. package/inspector2/organizationConfiguration.js +1 -0
  38. package/inspector2/organizationConfiguration.js.map +1 -1
  39. package/lb/listener.d.ts +33 -0
  40. package/lb/listener.js +33 -0
  41. package/lb/listener.js.map +1 -1
  42. package/networkfirewall/firewall.d.ts +82 -10
  43. package/networkfirewall/firewall.js +36 -6
  44. package/networkfirewall/firewall.js.map +1 -1
  45. package/networkfirewall/firewallTransitGatewayAttachmentAccepter.d.ts +94 -0
  46. package/networkfirewall/firewallTransitGatewayAttachmentAccepter.js +85 -0
  47. package/networkfirewall/firewallTransitGatewayAttachmentAccepter.js.map +1 -0
  48. package/networkfirewall/getFirewall.d.ts +16 -0
  49. package/networkfirewall/getFirewall.js.map +1 -1
  50. package/networkfirewall/index.d.ts +3 -0
  51. package/networkfirewall/index.js +6 -1
  52. package/networkfirewall/index.js.map +1 -1
  53. package/package.json +2 -2
  54. package/quicksight/accountSubscription.d.ts +5 -1
  55. package/quicksight/accountSubscription.js +5 -1
  56. package/quicksight/accountSubscription.js.map +1 -1
  57. package/rds/cluster.d.ts +3 -3
  58. package/rekognition/project.d.ts +17 -3
  59. package/rekognition/project.js +14 -0
  60. package/rekognition/project.js.map +1 -1
  61. package/s3/bucketMetadataConfiguration.d.ts +130 -0
  62. package/s3/bucketMetadataConfiguration.js +104 -0
  63. package/s3/bucketMetadataConfiguration.js.map +1 -0
  64. package/s3/index.d.ts +3 -0
  65. package/s3/index.js +7 -2
  66. package/s3/index.js.map +1 -1
  67. package/secretsmanager/getSecretRotation.d.ts +3 -3
  68. package/types/input.d.ts +210 -1
  69. package/types/input.js.map +1 -1
  70. package/types/output.d.ts +265 -1
  71. package/types/output.js.map +1 -1
  72. package/wafv2/ruleGroup.d.ts +3 -0
  73. package/wafv2/ruleGroup.js +2 -0
  74. package/wafv2/ruleGroup.js.map +1 -1
package/lb/listener.d.ts CHANGED
@@ -29,6 +29,39 @@ import * as outputs from "../types/output";
29
29
  * });
30
30
  * ```
31
31
  *
32
+ * With weighted target groups:
33
+ *
34
+ * ```typescript
35
+ * import * as pulumi from "@pulumi/pulumi";
36
+ * import * as aws from "@pulumi/aws";
37
+ *
38
+ * const frontEnd = new aws.lb.LoadBalancer("front_end", {});
39
+ * const frontEndBlue = new aws.lb.TargetGroup("front_end_blue", {});
40
+ * const frontEndGreen = new aws.lb.TargetGroup("front_end_green", {});
41
+ * const frontEndListener = new aws.lb.Listener("front_end", {
42
+ * loadBalancerArn: frontEnd.arn,
43
+ * port: 443,
44
+ * protocol: "HTTPS",
45
+ * sslPolicy: "ELBSecurityPolicy-2016-08",
46
+ * certificateArn: "arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4",
47
+ * defaultActions: [{
48
+ * type: "forward",
49
+ * forward: {
50
+ * targetGroups: [
51
+ * {
52
+ * arn: frontEndBlue.arn,
53
+ * weight: 100,
54
+ * },
55
+ * {
56
+ * arn: frontEndGreen.arn,
57
+ * weight: 0,
58
+ * },
59
+ * ],
60
+ * },
61
+ * }],
62
+ * });
63
+ * ```
64
+ *
32
65
  * To a NLB:
33
66
  *
34
67
  * ```typescript
package/lb/listener.js CHANGED
@@ -33,6 +33,39 @@ const utilities = require("../utilities");
33
33
  * });
34
34
  * ```
35
35
  *
36
+ * With weighted target groups:
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as aws from "@pulumi/aws";
41
+ *
42
+ * const frontEnd = new aws.lb.LoadBalancer("front_end", {});
43
+ * const frontEndBlue = new aws.lb.TargetGroup("front_end_blue", {});
44
+ * const frontEndGreen = new aws.lb.TargetGroup("front_end_green", {});
45
+ * const frontEndListener = new aws.lb.Listener("front_end", {
46
+ * loadBalancerArn: frontEnd.arn,
47
+ * port: 443,
48
+ * protocol: "HTTPS",
49
+ * sslPolicy: "ELBSecurityPolicy-2016-08",
50
+ * certificateArn: "arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4",
51
+ * defaultActions: [{
52
+ * type: "forward",
53
+ * forward: {
54
+ * targetGroups: [
55
+ * {
56
+ * arn: frontEndBlue.arn,
57
+ * weight: 100,
58
+ * },
59
+ * {
60
+ * arn: frontEndGreen.arn,
61
+ * weight: 0,
62
+ * },
63
+ * ],
64
+ * },
65
+ * }],
66
+ * });
67
+ * ```
68
+ *
36
69
  * To a NLB:
37
70
  *
38
71
  * ```typescript
@@ -1 +1 @@
1
- {"version":3,"file":"listener.js","sourceRoot":"","sources":["../../lb/listener.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwNG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IA+ID,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;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AC;YAChJ,cAAc,CAAC,6CAA6C,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,2CAA2C,CAAC,CAAC,CAAC,SAAS,CAAC;YACpI,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,8CAA8C,EAAE,CAAC,EAAE,CAAC;QAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA3PL,4BA4PC;AA9OG,gBAAgB;AACO,qBAAY,GAAG,0BAA0B,CAAC"}
@@ -28,6 +28,34 @@ import * as outputs from "../types/output";
28
28
  * });
29
29
  * ```
30
30
  *
31
+ * ### Transit Gateway Attached Firewall
32
+ *
33
+ * ```typescript
34
+ * import * as pulumi from "@pulumi/pulumi";
35
+ * import * as aws from "@pulumi/aws";
36
+ *
37
+ * const example = aws.getAvailabilityZones({
38
+ * state: "available",
39
+ * });
40
+ * const exampleFirewall = new aws.networkfirewall.Firewall("example", {
41
+ * name: "example",
42
+ * firewallPolicyArn: exampleAwsNetworkfirewallFirewallPolicy.arn,
43
+ * transitGatewayId: exampleAwsEc2TransitGateway.id,
44
+ * availabilityZoneMappings: [
45
+ * {
46
+ * availabilityZoneId: example.then(example => example.zoneIds?.[0]),
47
+ * },
48
+ * {
49
+ * availabilityZoneId: example.then(example => example.zoneIds?.[1]),
50
+ * },
51
+ * ],
52
+ * });
53
+ * ```
54
+ *
55
+ * ### Transit Gateway Attached Firewall (Cross Account)
56
+ *
57
+ * A full example of how to create a Transit Gateway in one AWS account, share it with a second AWS account, and create Network Firewall in the second account to the Transit Gateway via the `aws.networkfirewall.Firewall` and `awsNetworkfirewallNetworkFirewallTransitGatewayAttachmentAccepter` resources can be found in the `./examples/network-firewall-cross-account-transit-gateway` directory within the Github Repository
58
+ *
31
59
  * ## Import
32
60
  *
33
61
  * Using `pulumi import`, import Network Firewall Firewalls using their `arn`. For example:
@@ -56,6 +84,14 @@ export declare class Firewall extends pulumi.CustomResource {
56
84
  * The Amazon Resource Name (ARN) that identifies the firewall.
57
85
  */
58
86
  readonly arn: pulumi.Output<string>;
87
+ /**
88
+ * A setting indicating whether the firewall is protected against changes to its Availability Zone configuration. When set to `true`, you must first disable this protection before adding or removing Availability Zones.
89
+ */
90
+ readonly availabilityZoneChangeProtection: pulumi.Output<boolean | undefined>;
91
+ /**
92
+ * Required when creating a transit gateway-attached firewall. Set of configuration blocks describing the avaiability availability where you want to create firewall endpoints for a transit gateway-attached firewall.
93
+ */
94
+ readonly availabilityZoneMappings: pulumi.Output<outputs.networkfirewall.FirewallAvailabilityZoneMapping[]>;
59
95
  /**
60
96
  * A flag indicating whether the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. Defaults to `false`.
61
97
  */
@@ -97,9 +133,9 @@ export declare class Firewall extends pulumi.CustomResource {
97
133
  */
98
134
  readonly subnetChangeProtection: pulumi.Output<boolean | undefined>;
99
135
  /**
100
- * Set of configuration blocks describing the public subnets. Each subnet must belong to a different Availability Zone in the VPC. AWS Network Firewall creates a firewall endpoint in each subnet. See Subnet Mapping below for details.
136
+ * Required when creating a VPC attached firewall. Set of configuration blocks describing the public subnets. Each subnet must belong to a different Availability Zone in the VPC. AWS Network Firewall creates a firewall endpoint in each subnet. See Subnet Mapping below for details.
101
137
  */
102
- readonly subnetMappings: pulumi.Output<outputs.networkfirewall.FirewallSubnetMapping[]>;
138
+ readonly subnetMappings: pulumi.Output<outputs.networkfirewall.FirewallSubnetMapping[] | undefined>;
103
139
  /**
104
140
  * Map of resource tags to associate with the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
105
141
  */
@@ -112,14 +148,22 @@ export declare class Firewall extends pulumi.CustomResource {
112
148
  readonly tagsAll: pulumi.Output<{
113
149
  [key: string]: string;
114
150
  }>;
151
+ /**
152
+ * . Required when creating a transit gateway-attached firewall. The unique identifier of the transit gateway to attach to this firewall. You can provide either a transit gateway from your account or one that has been shared with you through AWS Resource Access Manager
153
+ */
154
+ readonly transitGatewayId: pulumi.Output<string | undefined>;
155
+ /**
156
+ * The AWS account ID that owns the transit gateway.
157
+ */
158
+ readonly transitGatewayOwnerAccountId: pulumi.Output<string>;
115
159
  /**
116
160
  * A string token used when updating a firewall.
117
161
  */
118
162
  readonly updateToken: pulumi.Output<string>;
119
163
  /**
120
- * The unique identifier of the VPC where AWS Network Firewall should create the firewall.
164
+ * Required when creating a VPC attached firewall. The unique identifier of the VPC where AWS Network Firewall should create the firewall.
121
165
  */
122
- readonly vpcId: pulumi.Output<string>;
166
+ readonly vpcId: pulumi.Output<string | undefined>;
123
167
  /**
124
168
  * Create a Firewall resource with the given unique name, arguments, and options.
125
169
  *
@@ -137,6 +181,14 @@ export interface FirewallState {
137
181
  * The Amazon Resource Name (ARN) that identifies the firewall.
138
182
  */
139
183
  arn?: pulumi.Input<string>;
184
+ /**
185
+ * A setting indicating whether the firewall is protected against changes to its Availability Zone configuration. When set to `true`, you must first disable this protection before adding or removing Availability Zones.
186
+ */
187
+ availabilityZoneChangeProtection?: pulumi.Input<boolean>;
188
+ /**
189
+ * Required when creating a transit gateway-attached firewall. Set of configuration blocks describing the avaiability availability where you want to create firewall endpoints for a transit gateway-attached firewall.
190
+ */
191
+ availabilityZoneMappings?: pulumi.Input<pulumi.Input<inputs.networkfirewall.FirewallAvailabilityZoneMapping>[]>;
140
192
  /**
141
193
  * A flag indicating whether the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. Defaults to `false`.
142
194
  */
@@ -178,7 +230,7 @@ export interface FirewallState {
178
230
  */
179
231
  subnetChangeProtection?: pulumi.Input<boolean>;
180
232
  /**
181
- * Set of configuration blocks describing the public subnets. Each subnet must belong to a different Availability Zone in the VPC. AWS Network Firewall creates a firewall endpoint in each subnet. See Subnet Mapping below for details.
233
+ * Required when creating a VPC attached firewall. Set of configuration blocks describing the public subnets. Each subnet must belong to a different Availability Zone in the VPC. AWS Network Firewall creates a firewall endpoint in each subnet. See Subnet Mapping below for details.
182
234
  */
183
235
  subnetMappings?: pulumi.Input<pulumi.Input<inputs.networkfirewall.FirewallSubnetMapping>[]>;
184
236
  /**
@@ -193,12 +245,20 @@ export interface FirewallState {
193
245
  tagsAll?: pulumi.Input<{
194
246
  [key: string]: pulumi.Input<string>;
195
247
  }>;
248
+ /**
249
+ * . Required when creating a transit gateway-attached firewall. The unique identifier of the transit gateway to attach to this firewall. You can provide either a transit gateway from your account or one that has been shared with you through AWS Resource Access Manager
250
+ */
251
+ transitGatewayId?: pulumi.Input<string>;
252
+ /**
253
+ * The AWS account ID that owns the transit gateway.
254
+ */
255
+ transitGatewayOwnerAccountId?: pulumi.Input<string>;
196
256
  /**
197
257
  * A string token used when updating a firewall.
198
258
  */
199
259
  updateToken?: pulumi.Input<string>;
200
260
  /**
201
- * The unique identifier of the VPC where AWS Network Firewall should create the firewall.
261
+ * Required when creating a VPC attached firewall. The unique identifier of the VPC where AWS Network Firewall should create the firewall.
202
262
  */
203
263
  vpcId?: pulumi.Input<string>;
204
264
  }
@@ -206,6 +266,14 @@ export interface FirewallState {
206
266
  * The set of arguments for constructing a Firewall resource.
207
267
  */
208
268
  export interface FirewallArgs {
269
+ /**
270
+ * A setting indicating whether the firewall is protected against changes to its Availability Zone configuration. When set to `true`, you must first disable this protection before adding or removing Availability Zones.
271
+ */
272
+ availabilityZoneChangeProtection?: pulumi.Input<boolean>;
273
+ /**
274
+ * Required when creating a transit gateway-attached firewall. Set of configuration blocks describing the avaiability availability where you want to create firewall endpoints for a transit gateway-attached firewall.
275
+ */
276
+ availabilityZoneMappings?: pulumi.Input<pulumi.Input<inputs.networkfirewall.FirewallAvailabilityZoneMapping>[]>;
209
277
  /**
210
278
  * A flag indicating whether the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. Defaults to `false`.
211
279
  */
@@ -243,9 +311,9 @@ export interface FirewallArgs {
243
311
  */
244
312
  subnetChangeProtection?: pulumi.Input<boolean>;
245
313
  /**
246
- * Set of configuration blocks describing the public subnets. Each subnet must belong to a different Availability Zone in the VPC. AWS Network Firewall creates a firewall endpoint in each subnet. See Subnet Mapping below for details.
314
+ * Required when creating a VPC attached firewall. Set of configuration blocks describing the public subnets. Each subnet must belong to a different Availability Zone in the VPC. AWS Network Firewall creates a firewall endpoint in each subnet. See Subnet Mapping below for details.
247
315
  */
248
- subnetMappings: pulumi.Input<pulumi.Input<inputs.networkfirewall.FirewallSubnetMapping>[]>;
316
+ subnetMappings?: pulumi.Input<pulumi.Input<inputs.networkfirewall.FirewallSubnetMapping>[]>;
249
317
  /**
250
318
  * Map of resource tags to associate with the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
251
319
  */
@@ -253,7 +321,11 @@ export interface FirewallArgs {
253
321
  [key: string]: pulumi.Input<string>;
254
322
  }>;
255
323
  /**
256
- * The unique identifier of the VPC where AWS Network Firewall should create the firewall.
324
+ * . Required when creating a transit gateway-attached firewall. The unique identifier of the transit gateway to attach to this firewall. You can provide either a transit gateway from your account or one that has been shared with you through AWS Resource Access Manager
325
+ */
326
+ transitGatewayId?: pulumi.Input<string>;
327
+ /**
328
+ * Required when creating a VPC attached firewall. The unique identifier of the VPC where AWS Network Firewall should create the firewall.
257
329
  */
258
- vpcId: pulumi.Input<string>;
330
+ vpcId?: pulumi.Input<string>;
259
331
  }
@@ -32,6 +32,34 @@ const utilities = require("../utilities");
32
32
  * });
33
33
  * ```
34
34
  *
35
+ * ### Transit Gateway Attached Firewall
36
+ *
37
+ * ```typescript
38
+ * import * as pulumi from "@pulumi/pulumi";
39
+ * import * as aws from "@pulumi/aws";
40
+ *
41
+ * const example = aws.getAvailabilityZones({
42
+ * state: "available",
43
+ * });
44
+ * const exampleFirewall = new aws.networkfirewall.Firewall("example", {
45
+ * name: "example",
46
+ * firewallPolicyArn: exampleAwsNetworkfirewallFirewallPolicy.arn,
47
+ * transitGatewayId: exampleAwsEc2TransitGateway.id,
48
+ * availabilityZoneMappings: [
49
+ * {
50
+ * availabilityZoneId: example.then(example => example.zoneIds?.[0]),
51
+ * },
52
+ * {
53
+ * availabilityZoneId: example.then(example => example.zoneIds?.[1]),
54
+ * },
55
+ * ],
56
+ * });
57
+ * ```
58
+ *
59
+ * ### Transit Gateway Attached Firewall (Cross Account)
60
+ *
61
+ * A full example of how to create a Transit Gateway in one AWS account, share it with a second AWS account, and create Network Firewall in the second account to the Transit Gateway via the `aws.networkfirewall.Firewall` and `awsNetworkfirewallNetworkFirewallTransitGatewayAttachmentAccepter` resources can be found in the `./examples/network-firewall-cross-account-transit-gateway` directory within the Github Repository
62
+ *
35
63
  * ## Import
36
64
  *
37
65
  * Using `pulumi import`, import Network Firewall Firewalls using their `arn`. For example:
@@ -69,6 +97,8 @@ class Firewall extends pulumi.CustomResource {
69
97
  if (opts.id) {
70
98
  const state = argsOrState;
71
99
  resourceInputs["arn"] = state ? state.arn : undefined;
100
+ resourceInputs["availabilityZoneChangeProtection"] = state ? state.availabilityZoneChangeProtection : undefined;
101
+ resourceInputs["availabilityZoneMappings"] = state ? state.availabilityZoneMappings : undefined;
72
102
  resourceInputs["deleteProtection"] = state ? state.deleteProtection : undefined;
73
103
  resourceInputs["description"] = state ? state.description : undefined;
74
104
  resourceInputs["enabledAnalysisTypes"] = state ? state.enabledAnalysisTypes : undefined;
@@ -82,6 +112,8 @@ class Firewall extends pulumi.CustomResource {
82
112
  resourceInputs["subnetMappings"] = state ? state.subnetMappings : undefined;
83
113
  resourceInputs["tags"] = state ? state.tags : undefined;
84
114
  resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
115
+ resourceInputs["transitGatewayId"] = state ? state.transitGatewayId : undefined;
116
+ resourceInputs["transitGatewayOwnerAccountId"] = state ? state.transitGatewayOwnerAccountId : undefined;
85
117
  resourceInputs["updateToken"] = state ? state.updateToken : undefined;
86
118
  resourceInputs["vpcId"] = state ? state.vpcId : undefined;
87
119
  }
@@ -90,12 +122,8 @@ class Firewall extends pulumi.CustomResource {
90
122
  if ((!args || args.firewallPolicyArn === undefined) && !opts.urn) {
91
123
  throw new Error("Missing required property 'firewallPolicyArn'");
92
124
  }
93
- if ((!args || args.subnetMappings === undefined) && !opts.urn) {
94
- throw new Error("Missing required property 'subnetMappings'");
95
- }
96
- if ((!args || args.vpcId === undefined) && !opts.urn) {
97
- throw new Error("Missing required property 'vpcId'");
98
- }
125
+ resourceInputs["availabilityZoneChangeProtection"] = args ? args.availabilityZoneChangeProtection : undefined;
126
+ resourceInputs["availabilityZoneMappings"] = args ? args.availabilityZoneMappings : undefined;
99
127
  resourceInputs["deleteProtection"] = args ? args.deleteProtection : undefined;
100
128
  resourceInputs["description"] = args ? args.description : undefined;
101
129
  resourceInputs["enabledAnalysisTypes"] = args ? args.enabledAnalysisTypes : undefined;
@@ -107,10 +135,12 @@ class Firewall extends pulumi.CustomResource {
107
135
  resourceInputs["subnetChangeProtection"] = args ? args.subnetChangeProtection : undefined;
108
136
  resourceInputs["subnetMappings"] = args ? args.subnetMappings : undefined;
109
137
  resourceInputs["tags"] = args ? args.tags : undefined;
138
+ resourceInputs["transitGatewayId"] = args ? args.transitGatewayId : undefined;
110
139
  resourceInputs["vpcId"] = args ? args.vpcId : undefined;
111
140
  resourceInputs["arn"] = undefined /*out*/;
112
141
  resourceInputs["firewallStatuses"] = undefined /*out*/;
113
142
  resourceInputs["tagsAll"] = undefined /*out*/;
143
+ resourceInputs["transitGatewayOwnerAccountId"] = undefined /*out*/;
114
144
  resourceInputs["updateToken"] = undefined /*out*/;
115
145
  }
116
146
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"firewall.js","sourceRoot":"","sources":["../../networkfirewall/firewall.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IA2ED,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EA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umi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Manages an AWS Network Firewall Firewall Transit Gateway Attachment Accepter.
6
+ *
7
+ * When a cross-account (requester's AWS account differs from the accepter's AWS account) requester creates a Network Firewall with Transit Gateway ID using `aws.networkfirewall.Firewall`. Then an EC2 Transit Gateway VPC Attachment resource is automatically created in the accepter's account.
8
+ * The accepter can use the `aws.networkfirewall.FirewallTransitGatewayAttachmentAccepter` resource to "adopt" its side of the connection into management.
9
+ *
10
+ * > **NOTE:** If the `transitGatewayId` argument in the `aws.networkfirewall.Firewall` resource is used to attach a firewall to a transit gateway in a cross-account setup (where **Auto accept shared attachments** is disabled), the resource will be considered created when the transit gateway attachment is in the *Pending Acceptance* state and the firewall is in the *Provisioning* status. At this point, you can use the `aws.networkfirewall.FirewallTransitGatewayAttachmentAccepter` resource to finalize the network firewall deployment. Once the transit gateway attachment reaches the *Available* state, the firewall status *Ready*.
11
+ *
12
+ * ## Example Usage
13
+ *
14
+ * ### Basic Usage
15
+ *
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as aws from "@pulumi/aws";
19
+ *
20
+ * const example = new aws.networkfirewall.FirewallTransitGatewayAttachmentAccepter("example", {transitGatewayAttachmentId: exampleAwsNetworkfirewallFirewall.firewallStatus[0].transitGatewayAttachmentSyncState[0].attachmentId});
21
+ * ```
22
+ *
23
+ * A full example of how to create a Transit Gateway in one AWS account, share it with a second AWS account, and create Network Firewall in the second account to the Transit Gateway via the `aws.networkfirewall.Firewall` and `aws.networkfirewall.FirewallTransitGatewayAttachmentAccepter` resources can be found in the `./examples/network-firewall-cross-account-transit-gateway` directory within the Github Repository
24
+ *
25
+ * ## Import
26
+ *
27
+ * Using `pulumi import`, import Network Firewall Firewall Transit Gateway Attachment Accepter using the `transit_gateway_attachment_id`. For example:
28
+ *
29
+ * ```sh
30
+ * $ pulumi import aws:networkfirewall/firewallTransitGatewayAttachmentAccepter:FirewallTransitGatewayAttachmentAccepter example tgw-attach-0c3b7e9570eee089c
31
+ * ```
32
+ */
33
+ export declare class FirewallTransitGatewayAttachmentAccepter extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing FirewallTransitGatewayAttachmentAccepter resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param state Any extra arguments used during the lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FirewallTransitGatewayAttachmentAccepterState, opts?: pulumi.CustomResourceOptions): FirewallTransitGatewayAttachmentAccepter;
44
+ /**
45
+ * Returns true if the given object is an instance of FirewallTransitGatewayAttachmentAccepter. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ static isInstance(obj: any): obj is FirewallTransitGatewayAttachmentAccepter;
49
+ /**
50
+ * 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.
51
+ */
52
+ readonly region: pulumi.Output<string>;
53
+ readonly timeouts: pulumi.Output<outputs.networkfirewall.FirewallTransitGatewayAttachmentAccepterTimeouts | undefined>;
54
+ /**
55
+ * The unique identifier of the transit gateway attachment to accept. This ID is returned in the response when creating a transit gateway-attached firewall.
56
+ */
57
+ readonly transitGatewayAttachmentId: pulumi.Output<string>;
58
+ /**
59
+ * Create a FirewallTransitGatewayAttachmentAccepter resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name: string, args: FirewallTransitGatewayAttachmentAccepterArgs, opts?: pulumi.CustomResourceOptions);
66
+ }
67
+ /**
68
+ * Input properties used for looking up and filtering FirewallTransitGatewayAttachmentAccepter resources.
69
+ */
70
+ export interface FirewallTransitGatewayAttachmentAccepterState {
71
+ /**
72
+ * 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.
73
+ */
74
+ region?: pulumi.Input<string>;
75
+ timeouts?: pulumi.Input<inputs.networkfirewall.FirewallTransitGatewayAttachmentAccepterTimeouts>;
76
+ /**
77
+ * The unique identifier of the transit gateway attachment to accept. This ID is returned in the response when creating a transit gateway-attached firewall.
78
+ */
79
+ transitGatewayAttachmentId?: pulumi.Input<string>;
80
+ }
81
+ /**
82
+ * The set of arguments for constructing a FirewallTransitGatewayAttachmentAccepter resource.
83
+ */
84
+ export interface FirewallTransitGatewayAttachmentAccepterArgs {
85
+ /**
86
+ * 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.
87
+ */
88
+ region?: pulumi.Input<string>;
89
+ timeouts?: pulumi.Input<inputs.networkfirewall.FirewallTransitGatewayAttachmentAccepterTimeouts>;
90
+ /**
91
+ * The unique identifier of the transit gateway attachment to accept. This ID is returned in the response when creating a transit gateway-attached firewall.
92
+ */
93
+ transitGatewayAttachmentId: pulumi.Input<string>;
94
+ }
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.FirewallTransitGatewayAttachmentAccepter = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages an AWS Network Firewall Firewall Transit Gateway Attachment Accepter.
10
+ *
11
+ * When a cross-account (requester's AWS account differs from the accepter's AWS account) requester creates a Network Firewall with Transit Gateway ID using `aws.networkfirewall.Firewall`. Then an EC2 Transit Gateway VPC Attachment resource is automatically created in the accepter's account.
12
+ * The accepter can use the `aws.networkfirewall.FirewallTransitGatewayAttachmentAccepter` resource to "adopt" its side of the connection into management.
13
+ *
14
+ * > **NOTE:** If the `transitGatewayId` argument in the `aws.networkfirewall.Firewall` resource is used to attach a firewall to a transit gateway in a cross-account setup (where **Auto accept shared attachments** is disabled), the resource will be considered created when the transit gateway attachment is in the *Pending Acceptance* state and the firewall is in the *Provisioning* status. At this point, you can use the `aws.networkfirewall.FirewallTransitGatewayAttachmentAccepter` resource to finalize the network firewall deployment. Once the transit gateway attachment reaches the *Available* state, the firewall status *Ready*.
15
+ *
16
+ * ## Example Usage
17
+ *
18
+ * ### Basic Usage
19
+ *
20
+ * ```typescript
21
+ * import * as pulumi from "@pulumi/pulumi";
22
+ * import * as aws from "@pulumi/aws";
23
+ *
24
+ * const example = new aws.networkfirewall.FirewallTransitGatewayAttachmentAccepter("example", {transitGatewayAttachmentId: exampleAwsNetworkfirewallFirewall.firewallStatus[0].transitGatewayAttachmentSyncState[0].attachmentId});
25
+ * ```
26
+ *
27
+ * A full example of how to create a Transit Gateway in one AWS account, share it with a second AWS account, and create Network Firewall in the second account to the Transit Gateway via the `aws.networkfirewall.Firewall` and `aws.networkfirewall.FirewallTransitGatewayAttachmentAccepter` resources can be found in the `./examples/network-firewall-cross-account-transit-gateway` directory within the Github Repository
28
+ *
29
+ * ## Import
30
+ *
31
+ * Using `pulumi import`, import Network Firewall Firewall Transit Gateway Attachment Accepter using the `transit_gateway_attachment_id`. For example:
32
+ *
33
+ * ```sh
34
+ * $ pulumi import aws:networkfirewall/firewallTransitGatewayAttachmentAccepter:FirewallTransitGatewayAttachmentAccepter example tgw-attach-0c3b7e9570eee089c
35
+ * ```
36
+ */
37
+ class FirewallTransitGatewayAttachmentAccepter extends pulumi.CustomResource {
38
+ /**
39
+ * Get an existing FirewallTransitGatewayAttachmentAccepter resource's state with the given name, ID, and optional extra
40
+ * properties used to qualify the lookup.
41
+ *
42
+ * @param name The _unique_ name of the resulting resource.
43
+ * @param id The _unique_ provider ID of the resource to lookup.
44
+ * @param state Any extra arguments used during the lookup.
45
+ * @param opts Optional settings to control the behavior of the CustomResource.
46
+ */
47
+ static get(name, id, state, opts) {
48
+ return new FirewallTransitGatewayAttachmentAccepter(name, state, Object.assign(Object.assign({}, opts), { id: id }));
49
+ }
50
+ /**
51
+ * Returns true if the given object is an instance of FirewallTransitGatewayAttachmentAccepter. This is designed to work even
52
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
+ */
54
+ static isInstance(obj) {
55
+ if (obj === undefined || obj === null) {
56
+ return false;
57
+ }
58
+ return obj['__pulumiType'] === FirewallTransitGatewayAttachmentAccepter.__pulumiType;
59
+ }
60
+ constructor(name, argsOrState, opts) {
61
+ let resourceInputs = {};
62
+ opts = opts || {};
63
+ if (opts.id) {
64
+ const state = argsOrState;
65
+ resourceInputs["region"] = state ? state.region : undefined;
66
+ resourceInputs["timeouts"] = state ? state.timeouts : undefined;
67
+ resourceInputs["transitGatewayAttachmentId"] = state ? state.transitGatewayAttachmentId : undefined;
68
+ }
69
+ else {
70
+ const args = argsOrState;
71
+ if ((!args || args.transitGatewayAttachmentId === undefined) && !opts.urn) {
72
+ throw new Error("Missing required property 'transitGatewayAttachmentId'");
73
+ }
74
+ resourceInputs["region"] = args ? args.region : undefined;
75
+ resourceInputs["timeouts"] = args ? args.timeouts : undefined;
76
+ resourceInputs["transitGatewayAttachmentId"] = args ? args.transitGatewayAttachmentId : undefined;
77
+ }
78
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
79
+ super(FirewallTransitGatewayAttachmentAccepter.__pulumiType, name, resourceInputs, opts);
80
+ }
81
+ }
82
+ exports.FirewallTransitGatewayAttachmentAccepter = FirewallTransitGatewayAttachmentAccepter;
83
+ /** @internal */
84
+ FirewallTransitGatewayAttachmentAccepter.__pulumiType = 'aws:networkfirewall/firewallTransitGatewayAttachmentAccepter:FirewallTransitGatewayAttachmentAccepter';
85
+ //# sourceMappingURL=firewallTransitGatewayAttachmentAccepter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"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MAAM,IAAI,GAAG,WAAuE,CAAC;YACrF,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,0BAA0B,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvE,MAAM,IAAI,KAAK,CAAC,wDAAwD,CAAC,CAAC;aAC7E;YACD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,4BAA4B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC,CAAC,SAAS,CAAC;SACrG;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wCAAwC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7F,CAAC;;AAjEL,4FAkEC;AApDG,gBAAgB;AACO,qDAAY,GAAG,uGAAuG,CAAC"}
@@ -73,6 +73,14 @@ export interface GetFirewallResult {
73
73
  * ARN of the firewall.
74
74
  */
75
75
  readonly arn: string;
76
+ /**
77
+ * Indicates whether the firewall is protected against changes to its Availability Zone configuration.
78
+ */
79
+ readonly availabilityZoneChangeProtection: boolean;
80
+ /**
81
+ * Set of Availability Zones where the firewall endpoints are created for a transit gateway-attached firewall.
82
+ */
83
+ readonly availabilityZoneMappings: outputs.networkfirewall.GetFirewallAvailabilityZoneMapping[];
76
84
  /**
77
85
  * A flag indicating whether the firewall is protected against deletion.
78
86
  */
@@ -124,6 +132,14 @@ export interface GetFirewallResult {
124
132
  readonly tags: {
125
133
  [key: string]: string;
126
134
  };
135
+ /**
136
+ * The unique identifier of the transit gateway associated with this firewall.
137
+ */
138
+ readonly transitGatewayId: string;
139
+ /**
140
+ * The AWS account ID that owns the transit gateway.
141
+ */
142
+ readonly transitGatewayOwnerAccountId: string;
127
143
  /**
128
144
  * String token used when updating a firewall.
129
145
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getFirewall.js","sourceRoot":"","sources":["../../networkfirewall/getFirewall.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,kCASC;AA4FD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAAiC;IAC7F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6CAA6C,EAAE;QAC9E,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,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,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,8CASC"}
@@ -4,6 +4,9 @@ export declare const Firewall: typeof import("./firewall").Firewall;
4
4
  export { FirewallPolicyArgs, FirewallPolicyState } from "./firewallPolicy";
5
5
  export type FirewallPolicy = import("./firewallPolicy").FirewallPolicy;
6
6
  export declare const FirewallPolicy: typeof import("./firewallPolicy").FirewallPolicy;
7
+ export { FirewallTransitGatewayAttachmentAccepterArgs, FirewallTransitGatewayAttachmentAccepterState } from "./firewallTransitGatewayAttachmentAccepter";
8
+ export type FirewallTransitGatewayAttachmentAccepter = import("./firewallTransitGatewayAttachmentAccepter").FirewallTransitGatewayAttachmentAccepter;
9
+ export declare const FirewallTransitGatewayAttachmentAccepter: typeof import("./firewallTransitGatewayAttachmentAccepter").FirewallTransitGatewayAttachmentAccepter;
7
10
  export { GetFirewallArgs, GetFirewallResult, GetFirewallOutputArgs } from "./getFirewall";
8
11
  export declare const getFirewall: typeof import("./getFirewall").getFirewall;
9
12
  export declare const getFirewallOutput: typeof import("./getFirewall").getFirewallOutput;