pulumi-aws 7.14.0__py3-none-any.whl → 7.15.0__py3-none-any.whl

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 (44) hide show
  1. pulumi_aws/__init__.py +8 -0
  2. pulumi_aws/bedrock/_inputs.py +1894 -267
  3. pulumi_aws/bedrock/agent_knowledge_base.py +253 -17
  4. pulumi_aws/bedrock/outputs.py +1571 -199
  5. pulumi_aws/cloudfront/__init__.py +1 -0
  6. pulumi_aws/cloudfront/_inputs.py +199 -0
  7. pulumi_aws/cloudfront/outputs.py +134 -0
  8. pulumi_aws/cloudfront/trust_store.py +497 -0
  9. pulumi_aws/codebuild/_inputs.py +20 -0
  10. pulumi_aws/codebuild/outputs.py +29 -0
  11. pulumi_aws/config/__init__.pyi +5 -0
  12. pulumi_aws/config/vars.py +7 -0
  13. pulumi_aws/datazone/domain.py +28 -0
  14. pulumi_aws/datazone/get_domain.py +15 -1
  15. pulumi_aws/ecs/_inputs.py +6 -6
  16. pulumi_aws/ecs/cluster.py +2 -2
  17. pulumi_aws/ecs/outputs.py +4 -4
  18. pulumi_aws/elasticache/serverless_cache.py +7 -7
  19. pulumi_aws/lambda_/function.py +31 -12
  20. pulumi_aws/networkmanager/_inputs.py +650 -23
  21. pulumi_aws/networkmanager/connect_attachment.py +47 -0
  22. pulumi_aws/networkmanager/connect_peer.py +7 -7
  23. pulumi_aws/networkmanager/dx_gateway_attachment.py +47 -0
  24. pulumi_aws/networkmanager/get_core_network_policy_document.py +37 -1
  25. pulumi_aws/networkmanager/outputs.py +379 -14
  26. pulumi_aws/networkmanager/site_to_site_vpn_attachment.py +47 -0
  27. pulumi_aws/networkmanager/transit_gateway_route_table_attachment.py +47 -0
  28. pulumi_aws/networkmanager/vpc_attachment.py +47 -0
  29. pulumi_aws/odb/get_cloud_vm_cluster.py +23 -1
  30. pulumi_aws/organizations/__init__.py +1 -0
  31. pulumi_aws/organizations/get_account.py +231 -0
  32. pulumi_aws/provider.py +21 -1
  33. pulumi_aws/pulumi-plugin.json +1 -1
  34. pulumi_aws/route53/get_resolver_endpoint.py +29 -1
  35. pulumi_aws/route53/resolver_endpoint.py +97 -3
  36. pulumi_aws/s3/_inputs.py +7 -0
  37. pulumi_aws/s3/outputs.py +4 -0
  38. pulumi_aws/vpclattice/_inputs.py +54 -0
  39. pulumi_aws/vpclattice/outputs.py +51 -0
  40. pulumi_aws/vpclattice/service_network_vpc_association.py +96 -0
  41. {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/METADATA +1 -1
  42. {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/RECORD +44 -42
  43. {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/WHEEL +0 -0
  44. {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/top_level.txt +0 -0
@@ -25,6 +25,7 @@ class ConnectAttachmentArgs:
25
25
  edge_location: pulumi.Input[_builtins.str],
26
26
  options: pulumi.Input['ConnectAttachmentOptionsArgs'],
27
27
  transport_attachment_id: pulumi.Input[_builtins.str],
28
+ routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
28
29
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
29
30
  """
30
31
  The set of arguments for constructing a ConnectAttachment resource.
@@ -34,12 +35,15 @@ class ConnectAttachmentArgs:
34
35
  :param pulumi.Input[_builtins.str] transport_attachment_id: ID of the attachment between the two connections.
35
36
 
36
37
  The following arguments are optional:
38
+ :param pulumi.Input[_builtins.str] routing_policy_label: The routing policy label to apply to the Connect attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
37
39
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value tags for the attachment. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
38
40
  """
39
41
  pulumi.set(__self__, "core_network_id", core_network_id)
40
42
  pulumi.set(__self__, "edge_location", edge_location)
41
43
  pulumi.set(__self__, "options", options)
42
44
  pulumi.set(__self__, "transport_attachment_id", transport_attachment_id)
45
+ if routing_policy_label is not None:
46
+ pulumi.set(__self__, "routing_policy_label", routing_policy_label)
43
47
  if tags is not None:
44
48
  pulumi.set(__self__, "tags", tags)
45
49
 
@@ -93,6 +97,18 @@ class ConnectAttachmentArgs:
93
97
  def transport_attachment_id(self, value: pulumi.Input[_builtins.str]):
94
98
  pulumi.set(self, "transport_attachment_id", value)
95
99
 
100
+ @_builtins.property
101
+ @pulumi.getter(name="routingPolicyLabel")
102
+ def routing_policy_label(self) -> Optional[pulumi.Input[_builtins.str]]:
103
+ """
104
+ The routing policy label to apply to the Connect attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
105
+ """
106
+ return pulumi.get(self, "routing_policy_label")
107
+
108
+ @routing_policy_label.setter
109
+ def routing_policy_label(self, value: Optional[pulumi.Input[_builtins.str]]):
110
+ pulumi.set(self, "routing_policy_label", value)
111
+
96
112
  @_builtins.property
97
113
  @pulumi.getter
98
114
  def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
@@ -119,6 +135,7 @@ class _ConnectAttachmentState:
119
135
  options: Optional[pulumi.Input['ConnectAttachmentOptionsArgs']] = None,
120
136
  owner_account_id: Optional[pulumi.Input[_builtins.str]] = None,
121
137
  resource_arn: Optional[pulumi.Input[_builtins.str]] = None,
138
+ routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
122
139
  segment_name: Optional[pulumi.Input[_builtins.str]] = None,
123
140
  state: Optional[pulumi.Input[_builtins.str]] = None,
124
141
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
@@ -136,6 +153,7 @@ class _ConnectAttachmentState:
136
153
  :param pulumi.Input['ConnectAttachmentOptionsArgs'] options: Options block. See options for more information.
137
154
  :param pulumi.Input[_builtins.str] owner_account_id: ID of the attachment account owner.
138
155
  :param pulumi.Input[_builtins.str] resource_arn: Attachment resource ARN.
156
+ :param pulumi.Input[_builtins.str] routing_policy_label: The routing policy label to apply to the Connect attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
139
157
  :param pulumi.Input[_builtins.str] segment_name: Name of the segment attachment.
140
158
  :param pulumi.Input[_builtins.str] state: State of the attachment.
141
159
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value tags for the attachment. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
@@ -164,6 +182,8 @@ class _ConnectAttachmentState:
164
182
  pulumi.set(__self__, "owner_account_id", owner_account_id)
165
183
  if resource_arn is not None:
166
184
  pulumi.set(__self__, "resource_arn", resource_arn)
185
+ if routing_policy_label is not None:
186
+ pulumi.set(__self__, "routing_policy_label", routing_policy_label)
167
187
  if segment_name is not None:
168
188
  pulumi.set(__self__, "segment_name", segment_name)
169
189
  if state is not None:
@@ -295,6 +315,18 @@ class _ConnectAttachmentState:
295
315
  def resource_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
296
316
  pulumi.set(self, "resource_arn", value)
297
317
 
318
+ @_builtins.property
319
+ @pulumi.getter(name="routingPolicyLabel")
320
+ def routing_policy_label(self) -> Optional[pulumi.Input[_builtins.str]]:
321
+ """
322
+ The routing policy label to apply to the Connect attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
323
+ """
324
+ return pulumi.get(self, "routing_policy_label")
325
+
326
+ @routing_policy_label.setter
327
+ def routing_policy_label(self, value: Optional[pulumi.Input[_builtins.str]]):
328
+ pulumi.set(self, "routing_policy_label", value)
329
+
298
330
  @_builtins.property
299
331
  @pulumi.getter(name="segmentName")
300
332
  def segment_name(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -367,6 +399,7 @@ class ConnectAttachment(pulumi.CustomResource):
367
399
  core_network_id: Optional[pulumi.Input[_builtins.str]] = None,
368
400
  edge_location: Optional[pulumi.Input[_builtins.str]] = None,
369
401
  options: Optional[pulumi.Input[Union['ConnectAttachmentOptionsArgs', 'ConnectAttachmentOptionsArgsDict']]] = None,
402
+ routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
370
403
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
371
404
  transport_attachment_id: Optional[pulumi.Input[_builtins.str]] = None,
372
405
  __props__=None):
@@ -435,6 +468,7 @@ class ConnectAttachment(pulumi.CustomResource):
435
468
  :param pulumi.Input[_builtins.str] core_network_id: ID of a core network where you want to create the attachment.
436
469
  :param pulumi.Input[_builtins.str] edge_location: Region where the edge is located.
437
470
  :param pulumi.Input[Union['ConnectAttachmentOptionsArgs', 'ConnectAttachmentOptionsArgsDict']] options: Options block. See options for more information.
471
+ :param pulumi.Input[_builtins.str] routing_policy_label: The routing policy label to apply to the Connect attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
438
472
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value tags for the attachment. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
439
473
  :param pulumi.Input[_builtins.str] transport_attachment_id: ID of the attachment between the two connections.
440
474
 
@@ -524,6 +558,7 @@ class ConnectAttachment(pulumi.CustomResource):
524
558
  core_network_id: Optional[pulumi.Input[_builtins.str]] = None,
525
559
  edge_location: Optional[pulumi.Input[_builtins.str]] = None,
526
560
  options: Optional[pulumi.Input[Union['ConnectAttachmentOptionsArgs', 'ConnectAttachmentOptionsArgsDict']]] = None,
561
+ routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
527
562
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
528
563
  transport_attachment_id: Optional[pulumi.Input[_builtins.str]] = None,
529
564
  __props__=None):
@@ -544,6 +579,7 @@ class ConnectAttachment(pulumi.CustomResource):
544
579
  if options is None and not opts.urn:
545
580
  raise TypeError("Missing required property 'options'")
546
581
  __props__.__dict__["options"] = options
582
+ __props__.__dict__["routing_policy_label"] = routing_policy_label
547
583
  __props__.__dict__["tags"] = tags
548
584
  if transport_attachment_id is None and not opts.urn:
549
585
  raise TypeError("Missing required property 'transport_attachment_id'")
@@ -578,6 +614,7 @@ class ConnectAttachment(pulumi.CustomResource):
578
614
  options: Optional[pulumi.Input[Union['ConnectAttachmentOptionsArgs', 'ConnectAttachmentOptionsArgsDict']]] = None,
579
615
  owner_account_id: Optional[pulumi.Input[_builtins.str]] = None,
580
616
  resource_arn: Optional[pulumi.Input[_builtins.str]] = None,
617
+ routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
581
618
  segment_name: Optional[pulumi.Input[_builtins.str]] = None,
582
619
  state: Optional[pulumi.Input[_builtins.str]] = None,
583
620
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
@@ -600,6 +637,7 @@ class ConnectAttachment(pulumi.CustomResource):
600
637
  :param pulumi.Input[Union['ConnectAttachmentOptionsArgs', 'ConnectAttachmentOptionsArgsDict']] options: Options block. See options for more information.
601
638
  :param pulumi.Input[_builtins.str] owner_account_id: ID of the attachment account owner.
602
639
  :param pulumi.Input[_builtins.str] resource_arn: Attachment resource ARN.
640
+ :param pulumi.Input[_builtins.str] routing_policy_label: The routing policy label to apply to the Connect attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
603
641
  :param pulumi.Input[_builtins.str] segment_name: Name of the segment attachment.
604
642
  :param pulumi.Input[_builtins.str] state: State of the attachment.
605
643
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value tags for the attachment. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
@@ -622,6 +660,7 @@ class ConnectAttachment(pulumi.CustomResource):
622
660
  __props__.__dict__["options"] = options
623
661
  __props__.__dict__["owner_account_id"] = owner_account_id
624
662
  __props__.__dict__["resource_arn"] = resource_arn
663
+ __props__.__dict__["routing_policy_label"] = routing_policy_label
625
664
  __props__.__dict__["segment_name"] = segment_name
626
665
  __props__.__dict__["state"] = state
627
666
  __props__.__dict__["tags"] = tags
@@ -709,6 +748,14 @@ class ConnectAttachment(pulumi.CustomResource):
709
748
  """
710
749
  return pulumi.get(self, "resource_arn")
711
750
 
751
+ @_builtins.property
752
+ @pulumi.getter(name="routingPolicyLabel")
753
+ def routing_policy_label(self) -> pulumi.Output[Optional[_builtins.str]]:
754
+ """
755
+ The routing policy label to apply to the Connect attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
756
+ """
757
+ return pulumi.get(self, "routing_policy_label")
758
+
712
759
  @_builtins.property
713
760
  @pulumi.getter(name="segmentName")
714
761
  def segment_name(self) -> pulumi.Output[_builtins.str]:
@@ -434,7 +434,7 @@ class ConnectPeer(pulumi.CustomResource):
434
434
  connect_attachment_id=example_connect_attachment.id,
435
435
  peer_address="127.0.0.1",
436
436
  bgp_options={
437
- "peer_asn": 65000,
437
+ "peer_asn": "65000",
438
438
  },
439
439
  inside_cidr_blocks=["172.16.0.0/16"])
440
440
  ```
@@ -467,7 +467,7 @@ class ConnectPeer(pulumi.CustomResource):
467
467
  connect_attachment_id=example_connect_attachment.id,
468
468
  peer_address="127.0.0.1",
469
469
  bgp_options={
470
- "peer_asn": 65500,
470
+ "peer_asn": "65500",
471
471
  },
472
472
  inside_cidr_blocks=["172.16.0.0/16"],
473
473
  opts = pulumi.ResourceOptions(depends_on=[example2]))
@@ -494,7 +494,7 @@ class ConnectPeer(pulumi.CustomResource):
494
494
  connect_attachment_id=example_connect_attachment.id,
495
495
  peer_address="127.0.0.1",
496
496
  bgp_options={
497
- "peer_asn": 65000,
497
+ "peer_asn": "65000",
498
498
  },
499
499
  subnet_arn=example2["arn"])
500
500
  ```
@@ -553,7 +553,7 @@ class ConnectPeer(pulumi.CustomResource):
553
553
  connect_attachment_id=example_connect_attachment.id,
554
554
  peer_address="127.0.0.1",
555
555
  bgp_options={
556
- "peer_asn": 65000,
556
+ "peer_asn": "65000",
557
557
  },
558
558
  inside_cidr_blocks=["172.16.0.0/16"])
559
559
  ```
@@ -586,7 +586,7 @@ class ConnectPeer(pulumi.CustomResource):
586
586
  connect_attachment_id=example_connect_attachment.id,
587
587
  peer_address="127.0.0.1",
588
588
  bgp_options={
589
- "peer_asn": 65500,
589
+ "peer_asn": "65500",
590
590
  },
591
591
  inside_cidr_blocks=["172.16.0.0/16"],
592
592
  opts = pulumi.ResourceOptions(depends_on=[example2]))
@@ -613,7 +613,7 @@ class ConnectPeer(pulumi.CustomResource):
613
613
  connect_attachment_id=example_connect_attachment.id,
614
614
  peer_address="127.0.0.1",
615
615
  bgp_options={
616
- "peer_asn": 65000,
616
+ "peer_asn": "65000",
617
617
  },
618
618
  subnet_arn=example2["arn"])
619
619
  ```
@@ -757,7 +757,7 @@ class ConnectPeer(pulumi.CustomResource):
757
757
 
758
758
  @_builtins.property
759
759
  @pulumi.getter(name="bgpOptions")
760
- def bgp_options(self) -> pulumi.Output[Optional['outputs.ConnectPeerBgpOptions']]:
760
+ def bgp_options(self) -> pulumi.Output['outputs.ConnectPeerBgpOptions']:
761
761
  """
762
762
  Connect peer BGP options. See bgp_options for more information.
763
763
  """
@@ -24,6 +24,7 @@ class DxGatewayAttachmentArgs:
24
24
  core_network_id: pulumi.Input[_builtins.str],
25
25
  direct_connect_gateway_arn: pulumi.Input[_builtins.str],
26
26
  edge_locations: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
27
+ routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
27
28
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
28
29
  timeouts: Optional[pulumi.Input['DxGatewayAttachmentTimeoutsArgs']] = None):
29
30
  """
@@ -33,11 +34,14 @@ class DxGatewayAttachmentArgs:
33
34
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] edge_locations: One or more core network edge locations to associate with the Direct Connect gateway attachment.
34
35
 
35
36
  The following arguments are optional:
37
+ :param pulumi.Input[_builtins.str] routing_policy_label: The routing policy label to apply to the Direct Connect Gateway attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
36
38
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value tags for the attachment. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
37
39
  """
38
40
  pulumi.set(__self__, "core_network_id", core_network_id)
39
41
  pulumi.set(__self__, "direct_connect_gateway_arn", direct_connect_gateway_arn)
40
42
  pulumi.set(__self__, "edge_locations", edge_locations)
43
+ if routing_policy_label is not None:
44
+ pulumi.set(__self__, "routing_policy_label", routing_policy_label)
41
45
  if tags is not None:
42
46
  pulumi.set(__self__, "tags", tags)
43
47
  if timeouts is not None:
@@ -81,6 +85,18 @@ class DxGatewayAttachmentArgs:
81
85
  def edge_locations(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
82
86
  pulumi.set(self, "edge_locations", value)
83
87
 
88
+ @_builtins.property
89
+ @pulumi.getter(name="routingPolicyLabel")
90
+ def routing_policy_label(self) -> Optional[pulumi.Input[_builtins.str]]:
91
+ """
92
+ The routing policy label to apply to the Direct Connect Gateway attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
93
+ """
94
+ return pulumi.get(self, "routing_policy_label")
95
+
96
+ @routing_policy_label.setter
97
+ def routing_policy_label(self, value: Optional[pulumi.Input[_builtins.str]]):
98
+ pulumi.set(self, "routing_policy_label", value)
99
+
84
100
  @_builtins.property
85
101
  @pulumi.getter
86
102
  def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
@@ -114,6 +130,7 @@ class _DxGatewayAttachmentState:
114
130
  direct_connect_gateway_arn: Optional[pulumi.Input[_builtins.str]] = None,
115
131
  edge_locations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
116
132
  owner_account_id: Optional[pulumi.Input[_builtins.str]] = None,
133
+ routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
117
134
  segment_name: Optional[pulumi.Input[_builtins.str]] = None,
118
135
  state: Optional[pulumi.Input[_builtins.str]] = None,
119
136
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
@@ -131,6 +148,7 @@ class _DxGatewayAttachmentState:
131
148
 
132
149
  The following arguments are optional:
133
150
  :param pulumi.Input[_builtins.str] owner_account_id: ID of the attachment account owner.
151
+ :param pulumi.Input[_builtins.str] routing_policy_label: The routing policy label to apply to the Direct Connect Gateway attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
134
152
  :param pulumi.Input[_builtins.str] segment_name: Name of the segment attachment.
135
153
  :param pulumi.Input[_builtins.str] state: State of the attachment.
136
154
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value tags for the attachment. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
@@ -152,6 +170,8 @@ class _DxGatewayAttachmentState:
152
170
  pulumi.set(__self__, "edge_locations", edge_locations)
153
171
  if owner_account_id is not None:
154
172
  pulumi.set(__self__, "owner_account_id", owner_account_id)
173
+ if routing_policy_label is not None:
174
+ pulumi.set(__self__, "routing_policy_label", routing_policy_label)
155
175
  if segment_name is not None:
156
176
  pulumi.set(__self__, "segment_name", segment_name)
157
177
  if state is not None:
@@ -261,6 +281,18 @@ class _DxGatewayAttachmentState:
261
281
  def owner_account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
262
282
  pulumi.set(self, "owner_account_id", value)
263
283
 
284
+ @_builtins.property
285
+ @pulumi.getter(name="routingPolicyLabel")
286
+ def routing_policy_label(self) -> Optional[pulumi.Input[_builtins.str]]:
287
+ """
288
+ The routing policy label to apply to the Direct Connect Gateway attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
289
+ """
290
+ return pulumi.get(self, "routing_policy_label")
291
+
292
+ @routing_policy_label.setter
293
+ def routing_policy_label(self, value: Optional[pulumi.Input[_builtins.str]]):
294
+ pulumi.set(self, "routing_policy_label", value)
295
+
264
296
  @_builtins.property
265
297
  @pulumi.getter(name="segmentName")
266
298
  def segment_name(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -328,6 +360,7 @@ class DxGatewayAttachment(pulumi.CustomResource):
328
360
  core_network_id: Optional[pulumi.Input[_builtins.str]] = None,
329
361
  direct_connect_gateway_arn: Optional[pulumi.Input[_builtins.str]] = None,
330
362
  edge_locations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
363
+ routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
331
364
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
332
365
  timeouts: Optional[pulumi.Input[Union['DxGatewayAttachmentTimeoutsArgs', 'DxGatewayAttachmentTimeoutsArgsDict']]] = None,
333
366
  __props__=None):
@@ -365,6 +398,7 @@ class DxGatewayAttachment(pulumi.CustomResource):
365
398
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] edge_locations: One or more core network edge locations to associate with the Direct Connect gateway attachment.
366
399
 
367
400
  The following arguments are optional:
401
+ :param pulumi.Input[_builtins.str] routing_policy_label: The routing policy label to apply to the Direct Connect Gateway attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
368
402
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value tags for the attachment. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
369
403
  """
370
404
  ...
@@ -418,6 +452,7 @@ class DxGatewayAttachment(pulumi.CustomResource):
418
452
  core_network_id: Optional[pulumi.Input[_builtins.str]] = None,
419
453
  direct_connect_gateway_arn: Optional[pulumi.Input[_builtins.str]] = None,
420
454
  edge_locations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
455
+ routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
421
456
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
422
457
  timeouts: Optional[pulumi.Input[Union['DxGatewayAttachmentTimeoutsArgs', 'DxGatewayAttachmentTimeoutsArgsDict']]] = None,
423
458
  __props__=None):
@@ -438,6 +473,7 @@ class DxGatewayAttachment(pulumi.CustomResource):
438
473
  if edge_locations is None and not opts.urn:
439
474
  raise TypeError("Missing required property 'edge_locations'")
440
475
  __props__.__dict__["edge_locations"] = edge_locations
476
+ __props__.__dict__["routing_policy_label"] = routing_policy_label
441
477
  __props__.__dict__["tags"] = tags
442
478
  __props__.__dict__["timeouts"] = timeouts
443
479
  __props__.__dict__["arn"] = None
@@ -466,6 +502,7 @@ class DxGatewayAttachment(pulumi.CustomResource):
466
502
  direct_connect_gateway_arn: Optional[pulumi.Input[_builtins.str]] = None,
467
503
  edge_locations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
468
504
  owner_account_id: Optional[pulumi.Input[_builtins.str]] = None,
505
+ routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
469
506
  segment_name: Optional[pulumi.Input[_builtins.str]] = None,
470
507
  state: Optional[pulumi.Input[_builtins.str]] = None,
471
508
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
@@ -488,6 +525,7 @@ class DxGatewayAttachment(pulumi.CustomResource):
488
525
 
489
526
  The following arguments are optional:
490
527
  :param pulumi.Input[_builtins.str] owner_account_id: ID of the attachment account owner.
528
+ :param pulumi.Input[_builtins.str] routing_policy_label: The routing policy label to apply to the Direct Connect Gateway attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
491
529
  :param pulumi.Input[_builtins.str] segment_name: Name of the segment attachment.
492
530
  :param pulumi.Input[_builtins.str] state: State of the attachment.
493
531
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value tags for the attachment. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
@@ -505,6 +543,7 @@ class DxGatewayAttachment(pulumi.CustomResource):
505
543
  __props__.__dict__["direct_connect_gateway_arn"] = direct_connect_gateway_arn
506
544
  __props__.__dict__["edge_locations"] = edge_locations
507
545
  __props__.__dict__["owner_account_id"] = owner_account_id
546
+ __props__.__dict__["routing_policy_label"] = routing_policy_label
508
547
  __props__.__dict__["segment_name"] = segment_name
509
548
  __props__.__dict__["state"] = state
510
549
  __props__.__dict__["tags"] = tags
@@ -578,6 +617,14 @@ class DxGatewayAttachment(pulumi.CustomResource):
578
617
  """
579
618
  return pulumi.get(self, "owner_account_id")
580
619
 
620
+ @_builtins.property
621
+ @pulumi.getter(name="routingPolicyLabel")
622
+ def routing_policy_label(self) -> pulumi.Output[Optional[_builtins.str]]:
623
+ """
624
+ The routing policy label to apply to the Direct Connect Gateway attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
625
+ """
626
+ return pulumi.get(self, "routing_policy_label")
627
+
581
628
  @_builtins.property
582
629
  @pulumi.getter(name="segmentName")
583
630
  def segment_name(self) -> pulumi.Output[_builtins.str]:
@@ -28,10 +28,13 @@ class GetCoreNetworkPolicyDocumentResult:
28
28
  """
29
29
  A collection of values returned by getCoreNetworkPolicyDocument.
30
30
  """
31
- def __init__(__self__, attachment_policies=None, core_network_configurations=None, id=None, json=None, network_function_groups=None, segment_actions=None, segments=None, version=None):
31
+ def __init__(__self__, attachment_policies=None, attachment_routing_policy_rules=None, core_network_configurations=None, id=None, json=None, network_function_groups=None, routing_policies=None, segment_actions=None, segments=None, version=None):
32
32
  if attachment_policies and not isinstance(attachment_policies, list):
33
33
  raise TypeError("Expected argument 'attachment_policies' to be a list")
34
34
  pulumi.set(__self__, "attachment_policies", attachment_policies)
35
+ if attachment_routing_policy_rules and not isinstance(attachment_routing_policy_rules, list):
36
+ raise TypeError("Expected argument 'attachment_routing_policy_rules' to be a list")
37
+ pulumi.set(__self__, "attachment_routing_policy_rules", attachment_routing_policy_rules)
35
38
  if core_network_configurations and not isinstance(core_network_configurations, list):
36
39
  raise TypeError("Expected argument 'core_network_configurations' to be a list")
37
40
  pulumi.set(__self__, "core_network_configurations", core_network_configurations)
@@ -44,6 +47,9 @@ class GetCoreNetworkPolicyDocumentResult:
44
47
  if network_function_groups and not isinstance(network_function_groups, list):
45
48
  raise TypeError("Expected argument 'network_function_groups' to be a list")
46
49
  pulumi.set(__self__, "network_function_groups", network_function_groups)
50
+ if routing_policies and not isinstance(routing_policies, list):
51
+ raise TypeError("Expected argument 'routing_policies' to be a list")
52
+ pulumi.set(__self__, "routing_policies", routing_policies)
47
53
  if segment_actions and not isinstance(segment_actions, list):
48
54
  raise TypeError("Expected argument 'segment_actions' to be a list")
49
55
  pulumi.set(__self__, "segment_actions", segment_actions)
@@ -59,6 +65,11 @@ class GetCoreNetworkPolicyDocumentResult:
59
65
  def attachment_policies(self) -> Optional[Sequence['outputs.GetCoreNetworkPolicyDocumentAttachmentPolicyResult']]:
60
66
  return pulumi.get(self, "attachment_policies")
61
67
 
68
+ @_builtins.property
69
+ @pulumi.getter(name="attachmentRoutingPolicyRules")
70
+ def attachment_routing_policy_rules(self) -> Optional[Sequence['outputs.GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleResult']]:
71
+ return pulumi.get(self, "attachment_routing_policy_rules")
72
+
62
73
  @_builtins.property
63
74
  @pulumi.getter(name="coreNetworkConfigurations")
64
75
  def core_network_configurations(self) -> Sequence['outputs.GetCoreNetworkPolicyDocumentCoreNetworkConfigurationResult']:
@@ -85,6 +96,11 @@ class GetCoreNetworkPolicyDocumentResult:
85
96
  def network_function_groups(self) -> Optional[Sequence['outputs.GetCoreNetworkPolicyDocumentNetworkFunctionGroupResult']]:
86
97
  return pulumi.get(self, "network_function_groups")
87
98
 
99
+ @_builtins.property
100
+ @pulumi.getter(name="routingPolicies")
101
+ def routing_policies(self) -> Optional[Sequence['outputs.GetCoreNetworkPolicyDocumentRoutingPolicyResult']]:
102
+ return pulumi.get(self, "routing_policies")
103
+
88
104
  @_builtins.property
89
105
  @pulumi.getter(name="segmentActions")
90
106
  def segment_actions(self) -> Optional[Sequence['outputs.GetCoreNetworkPolicyDocumentSegmentActionResult']]:
@@ -108,18 +124,22 @@ class AwaitableGetCoreNetworkPolicyDocumentResult(GetCoreNetworkPolicyDocumentRe
108
124
  yield self
109
125
  return GetCoreNetworkPolicyDocumentResult(
110
126
  attachment_policies=self.attachment_policies,
127
+ attachment_routing_policy_rules=self.attachment_routing_policy_rules,
111
128
  core_network_configurations=self.core_network_configurations,
112
129
  id=self.id,
113
130
  json=self.json,
114
131
  network_function_groups=self.network_function_groups,
132
+ routing_policies=self.routing_policies,
115
133
  segment_actions=self.segment_actions,
116
134
  segments=self.segments,
117
135
  version=self.version)
118
136
 
119
137
 
120
138
  def get_core_network_policy_document(attachment_policies: Optional[Sequence[Union['GetCoreNetworkPolicyDocumentAttachmentPolicyArgs', 'GetCoreNetworkPolicyDocumentAttachmentPolicyArgsDict']]] = None,
139
+ attachment_routing_policy_rules: Optional[Sequence[Union['GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleArgs', 'GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleArgsDict']]] = None,
121
140
  core_network_configurations: Optional[Sequence[Union['GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgs', 'GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgsDict']]] = None,
122
141
  network_function_groups: Optional[Sequence[Union['GetCoreNetworkPolicyDocumentNetworkFunctionGroupArgs', 'GetCoreNetworkPolicyDocumentNetworkFunctionGroupArgsDict']]] = None,
142
+ routing_policies: Optional[Sequence[Union['GetCoreNetworkPolicyDocumentRoutingPolicyArgs', 'GetCoreNetworkPolicyDocumentRoutingPolicyArgsDict']]] = None,
123
143
  segment_actions: Optional[Sequence[Union['GetCoreNetworkPolicyDocumentSegmentActionArgs', 'GetCoreNetworkPolicyDocumentSegmentActionArgsDict']]] = None,
124
144
  segments: Optional[Sequence[Union['GetCoreNetworkPolicyDocumentSegmentArgs', 'GetCoreNetworkPolicyDocumentSegmentArgsDict']]] = None,
125
145
  version: Optional[_builtins.str] = None,
@@ -205,15 +225,20 @@ def get_core_network_policy_document(attachment_policies: Optional[Sequence[Unio
205
225
 
206
226
 
207
227
  :param Sequence[Union['GetCoreNetworkPolicyDocumentAttachmentPolicyArgs', 'GetCoreNetworkPolicyDocumentAttachmentPolicyArgsDict']] attachment_policies: In a core network, all attachments use the block argument `attachment_policies` section to map an attachment to a segment. Instead of manually associating a segment to each attachment, attachments use tags, and then the tags are used to associate the attachment to the specified segment. Detailed below.
228
+ :param Sequence[Union['GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleArgs', 'GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleArgsDict']] attachment_routing_policy_rules: Block argument that applies routing policies to attachments. Available in policy version `2025.11` and later. Detailed below.
208
229
  :param Sequence[Union['GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgs', 'GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgsDict']] core_network_configurations: The core network configuration section defines the Regions where a core network should operate. For AWS Regions that are defined in the policy, the core network creates a Core Network Edge where you can connect attachments. After it's created, each Core Network Edge is peered with every other defined Region and is configured with consistent segment and routing across all Regions. Regions cannot be removed until the associated attachments are deleted. Detailed below.
209
230
  :param Sequence[Union['GetCoreNetworkPolicyDocumentNetworkFunctionGroupArgs', 'GetCoreNetworkPolicyDocumentNetworkFunctionGroupArgsDict']] network_function_groups: Block argument that defines the service insertion actions you want to include. Detailed below.
231
+ :param Sequence[Union['GetCoreNetworkPolicyDocumentRoutingPolicyArgs', 'GetCoreNetworkPolicyDocumentRoutingPolicyArgsDict']] routing_policies: Block argument that defines routing policies for controlling route propagation. Routing policies allow you to filter, modify, and control BGP routes advertised to and from your core network. Available in policy version `2025.11` and later. Detailed below.
210
232
  :param Sequence[Union['GetCoreNetworkPolicyDocumentSegmentActionArgs', 'GetCoreNetworkPolicyDocumentSegmentActionArgsDict']] segment_actions: A block argument, `segment_actions` define how routing works between segments. By default, attachments can only communicate with other attachments in the same segment. Detailed below.
211
233
  :param Sequence[Union['GetCoreNetworkPolicyDocumentSegmentArgs', 'GetCoreNetworkPolicyDocumentSegmentArgsDict']] segments: Block argument that defines the different segments in the network. Here you can provide descriptions, change defaults, and provide explicit Regional operational and route filters. The names defined for each segment are used in the `segment_actions` and `attachment_policies` section. Each segment is created, and operates, as a completely separated routing domain. By default, attachments can only communicate with other attachments in the same segment. Detailed below.
234
+ :param _builtins.str version: Version of the core network policy. Valid values: `2021.12`, `2025.11`. Default: `2021.12`.
212
235
  """
213
236
  __args__ = dict()
214
237
  __args__['attachmentPolicies'] = attachment_policies
238
+ __args__['attachmentRoutingPolicyRules'] = attachment_routing_policy_rules
215
239
  __args__['coreNetworkConfigurations'] = core_network_configurations
216
240
  __args__['networkFunctionGroups'] = network_function_groups
241
+ __args__['routingPolicies'] = routing_policies
217
242
  __args__['segmentActions'] = segment_actions
218
243
  __args__['segments'] = segments
219
244
  __args__['version'] = version
@@ -222,16 +247,20 @@ def get_core_network_policy_document(attachment_policies: Optional[Sequence[Unio
222
247
 
223
248
  return AwaitableGetCoreNetworkPolicyDocumentResult(
224
249
  attachment_policies=pulumi.get(__ret__, 'attachment_policies'),
250
+ attachment_routing_policy_rules=pulumi.get(__ret__, 'attachment_routing_policy_rules'),
225
251
  core_network_configurations=pulumi.get(__ret__, 'core_network_configurations'),
226
252
  id=pulumi.get(__ret__, 'id'),
227
253
  json=pulumi.get(__ret__, 'json'),
228
254
  network_function_groups=pulumi.get(__ret__, 'network_function_groups'),
255
+ routing_policies=pulumi.get(__ret__, 'routing_policies'),
229
256
  segment_actions=pulumi.get(__ret__, 'segment_actions'),
230
257
  segments=pulumi.get(__ret__, 'segments'),
231
258
  version=pulumi.get(__ret__, 'version'))
232
259
  def get_core_network_policy_document_output(attachment_policies: Optional[pulumi.Input[Optional[Sequence[Union['GetCoreNetworkPolicyDocumentAttachmentPolicyArgs', 'GetCoreNetworkPolicyDocumentAttachmentPolicyArgsDict']]]]] = None,
260
+ attachment_routing_policy_rules: Optional[pulumi.Input[Optional[Sequence[Union['GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleArgs', 'GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleArgsDict']]]]] = None,
233
261
  core_network_configurations: Optional[pulumi.Input[Sequence[Union['GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgs', 'GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgsDict']]]] = None,
234
262
  network_function_groups: Optional[pulumi.Input[Optional[Sequence[Union['GetCoreNetworkPolicyDocumentNetworkFunctionGroupArgs', 'GetCoreNetworkPolicyDocumentNetworkFunctionGroupArgsDict']]]]] = None,
263
+ routing_policies: Optional[pulumi.Input[Optional[Sequence[Union['GetCoreNetworkPolicyDocumentRoutingPolicyArgs', 'GetCoreNetworkPolicyDocumentRoutingPolicyArgsDict']]]]] = None,
235
264
  segment_actions: Optional[pulumi.Input[Optional[Sequence[Union['GetCoreNetworkPolicyDocumentSegmentActionArgs', 'GetCoreNetworkPolicyDocumentSegmentActionArgsDict']]]]] = None,
236
265
  segments: Optional[pulumi.Input[Sequence[Union['GetCoreNetworkPolicyDocumentSegmentArgs', 'GetCoreNetworkPolicyDocumentSegmentArgsDict']]]] = None,
237
266
  version: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
@@ -317,15 +346,20 @@ def get_core_network_policy_document_output(attachment_policies: Optional[pulumi
317
346
 
318
347
 
319
348
  :param Sequence[Union['GetCoreNetworkPolicyDocumentAttachmentPolicyArgs', 'GetCoreNetworkPolicyDocumentAttachmentPolicyArgsDict']] attachment_policies: In a core network, all attachments use the block argument `attachment_policies` section to map an attachment to a segment. Instead of manually associating a segment to each attachment, attachments use tags, and then the tags are used to associate the attachment to the specified segment. Detailed below.
349
+ :param Sequence[Union['GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleArgs', 'GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleArgsDict']] attachment_routing_policy_rules: Block argument that applies routing policies to attachments. Available in policy version `2025.11` and later. Detailed below.
320
350
  :param Sequence[Union['GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgs', 'GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgsDict']] core_network_configurations: The core network configuration section defines the Regions where a core network should operate. For AWS Regions that are defined in the policy, the core network creates a Core Network Edge where you can connect attachments. After it's created, each Core Network Edge is peered with every other defined Region and is configured with consistent segment and routing across all Regions. Regions cannot be removed until the associated attachments are deleted. Detailed below.
321
351
  :param Sequence[Union['GetCoreNetworkPolicyDocumentNetworkFunctionGroupArgs', 'GetCoreNetworkPolicyDocumentNetworkFunctionGroupArgsDict']] network_function_groups: Block argument that defines the service insertion actions you want to include. Detailed below.
352
+ :param Sequence[Union['GetCoreNetworkPolicyDocumentRoutingPolicyArgs', 'GetCoreNetworkPolicyDocumentRoutingPolicyArgsDict']] routing_policies: Block argument that defines routing policies for controlling route propagation. Routing policies allow you to filter, modify, and control BGP routes advertised to and from your core network. Available in policy version `2025.11` and later. Detailed below.
322
353
  :param Sequence[Union['GetCoreNetworkPolicyDocumentSegmentActionArgs', 'GetCoreNetworkPolicyDocumentSegmentActionArgsDict']] segment_actions: A block argument, `segment_actions` define how routing works between segments. By default, attachments can only communicate with other attachments in the same segment. Detailed below.
323
354
  :param Sequence[Union['GetCoreNetworkPolicyDocumentSegmentArgs', 'GetCoreNetworkPolicyDocumentSegmentArgsDict']] segments: Block argument that defines the different segments in the network. Here you can provide descriptions, change defaults, and provide explicit Regional operational and route filters. The names defined for each segment are used in the `segment_actions` and `attachment_policies` section. Each segment is created, and operates, as a completely separated routing domain. By default, attachments can only communicate with other attachments in the same segment. Detailed below.
355
+ :param _builtins.str version: Version of the core network policy. Valid values: `2021.12`, `2025.11`. Default: `2021.12`.
324
356
  """
325
357
  __args__ = dict()
326
358
  __args__['attachmentPolicies'] = attachment_policies
359
+ __args__['attachmentRoutingPolicyRules'] = attachment_routing_policy_rules
327
360
  __args__['coreNetworkConfigurations'] = core_network_configurations
328
361
  __args__['networkFunctionGroups'] = network_function_groups
362
+ __args__['routingPolicies'] = routing_policies
329
363
  __args__['segmentActions'] = segment_actions
330
364
  __args__['segments'] = segments
331
365
  __args__['version'] = version
@@ -333,10 +367,12 @@ def get_core_network_policy_document_output(attachment_policies: Optional[pulumi
333
367
  __ret__ = pulumi.runtime.invoke_output('aws:networkmanager/getCoreNetworkPolicyDocument:getCoreNetworkPolicyDocument', __args__, opts=opts, typ=GetCoreNetworkPolicyDocumentResult)
334
368
  return __ret__.apply(lambda __response__: GetCoreNetworkPolicyDocumentResult(
335
369
  attachment_policies=pulumi.get(__response__, 'attachment_policies'),
370
+ attachment_routing_policy_rules=pulumi.get(__response__, 'attachment_routing_policy_rules'),
336
371
  core_network_configurations=pulumi.get(__response__, 'core_network_configurations'),
337
372
  id=pulumi.get(__response__, 'id'),
338
373
  json=pulumi.get(__response__, 'json'),
339
374
  network_function_groups=pulumi.get(__response__, 'network_function_groups'),
375
+ routing_policies=pulumi.get(__response__, 'routing_policies'),
340
376
  segment_actions=pulumi.get(__response__, 'segment_actions'),
341
377
  segments=pulumi.get(__response__, 'segments'),
342
378
  version=pulumi.get(__response__, 'version')))