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
@@ -31,11 +31,20 @@ __all__ = [
31
31
  'GetCoreNetworkPolicyDocumentAttachmentPolicyResult',
32
32
  'GetCoreNetworkPolicyDocumentAttachmentPolicyActionResult',
33
33
  'GetCoreNetworkPolicyDocumentAttachmentPolicyConditionResult',
34
+ 'GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleResult',
35
+ 'GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleActionResult',
36
+ 'GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleConditionResult',
34
37
  'GetCoreNetworkPolicyDocumentCoreNetworkConfigurationResult',
35
38
  'GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationResult',
36
39
  'GetCoreNetworkPolicyDocumentNetworkFunctionGroupResult',
40
+ 'GetCoreNetworkPolicyDocumentRoutingPolicyResult',
41
+ 'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleResult',
42
+ 'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionResult',
43
+ 'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionActionResult',
44
+ 'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionMatchConditionResult',
37
45
  'GetCoreNetworkPolicyDocumentSegmentResult',
38
46
  'GetCoreNetworkPolicyDocumentSegmentActionResult',
47
+ 'GetCoreNetworkPolicyDocumentSegmentActionEdgeLocationAssociationResult',
39
48
  'GetCoreNetworkPolicyDocumentSegmentActionViaResult',
40
49
  'GetCoreNetworkPolicyDocumentSegmentActionViaWithEdgeOverrideResult',
41
50
  'GetCoreNetworkPolicyDocumentSegmentActionWhenSentToResult',
@@ -84,18 +93,18 @@ class ConnectPeerBgpOptions(dict):
84
93
  return super().get(key, default)
85
94
 
86
95
  def __init__(__self__, *,
87
- peer_asn: Optional[_builtins.int] = None):
96
+ peer_asn: Optional[_builtins.str] = None):
88
97
  """
89
- :param _builtins.int peer_asn: Peer ASN.
98
+ :param _builtins.str peer_asn: Peer ASN. Supports 2-byte and 4-byte ASNs (1 to 4294967295).
90
99
  """
91
100
  if peer_asn is not None:
92
101
  pulumi.set(__self__, "peer_asn", peer_asn)
93
102
 
94
103
  @_builtins.property
95
104
  @pulumi.getter(name="peerAsn")
96
- def peer_asn(self) -> Optional[_builtins.int]:
105
+ def peer_asn(self) -> Optional[_builtins.str]:
97
106
  """
98
- Peer ASN.
107
+ Peer ASN. Supports 2-byte and 4-byte ASNs (1 to 4294967295).
99
108
  """
100
109
  return pulumi.get(self, "peer_asn")
101
110
 
@@ -215,13 +224,13 @@ class ConnectPeerConfigurationBgpConfiguration(dict):
215
224
  core_network_address: Optional[_builtins.str] = None,
216
225
  core_network_asn: Optional[_builtins.int] = None,
217
226
  peer_address: Optional[_builtins.str] = None,
218
- peer_asn: Optional[_builtins.int] = None):
227
+ peer_asn: Optional[_builtins.str] = None):
219
228
  """
220
229
  :param _builtins.str core_network_address: Connect peer core network address.
221
230
  :param _builtins.str peer_address: Connect peer address.
222
231
 
223
232
  The following arguments are optional:
224
- :param _builtins.int peer_asn: Peer ASN.
233
+ :param _builtins.str peer_asn: Peer ASN. Supports 2-byte and 4-byte ASNs (1 to 4294967295).
225
234
  """
226
235
  if core_network_address is not None:
227
236
  pulumi.set(__self__, "core_network_address", core_network_address)
@@ -257,9 +266,9 @@ class ConnectPeerConfigurationBgpConfiguration(dict):
257
266
 
258
267
  @_builtins.property
259
268
  @pulumi.getter(name="peerAsn")
260
- def peer_asn(self) -> Optional[_builtins.int]:
269
+ def peer_asn(self) -> Optional[_builtins.str]:
261
270
  """
262
- Peer ASN.
271
+ Peer ASN. Supports 2-byte and 4-byte ASNs (1 to 4294967295).
263
272
  """
264
273
  return pulumi.get(self, "peer_asn")
265
274
 
@@ -832,10 +841,10 @@ class GetCoreNetworkPolicyDocumentAttachmentPolicyConditionResult(dict):
832
841
  operator: Optional[_builtins.str] = None,
833
842
  value: Optional[_builtins.str] = None):
834
843
  """
835
- :param _builtins.str type: Valid values include: `account-id`, `any`, `tag-value`, `tag-exists`, `resource-id`, `region`, `attachment-type`.
844
+ :param _builtins.str type: Must be `routing-policy-label`.
836
845
  :param _builtins.str key: string value
837
846
  :param _builtins.str operator: Valid values include: `equals`, `not-equals`, `contains`, `begins-with`.
838
- :param _builtins.str value: string value
847
+ :param _builtins.str value: Routing policy label to match.
839
848
  """
840
849
  pulumi.set(__self__, "type", type)
841
850
  if key is not None:
@@ -849,7 +858,7 @@ class GetCoreNetworkPolicyDocumentAttachmentPolicyConditionResult(dict):
849
858
  @pulumi.getter
850
859
  def type(self) -> _builtins.str:
851
860
  """
852
- Valid values include: `account-id`, `any`, `tag-value`, `tag-exists`, `resource-id`, `region`, `attachment-type`.
861
+ Must be `routing-policy-label`.
853
862
  """
854
863
  return pulumi.get(self, "type")
855
864
 
@@ -873,7 +882,118 @@ class GetCoreNetworkPolicyDocumentAttachmentPolicyConditionResult(dict):
873
882
  @pulumi.getter
874
883
  def value(self) -> Optional[_builtins.str]:
875
884
  """
876
- string value
885
+ Routing policy label to match.
886
+ """
887
+ return pulumi.get(self, "value")
888
+
889
+
890
+ @pulumi.output_type
891
+ class GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleResult(dict):
892
+ def __init__(__self__, *,
893
+ action: 'outputs.GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleActionResult',
894
+ conditions: Sequence['outputs.GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleConditionResult'],
895
+ rule_number: _builtins.int,
896
+ description: Optional[_builtins.str] = None,
897
+ edge_locations: Optional[Sequence[_builtins.str]] = None):
898
+ """
899
+ :param 'GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleActionArgs' action: Block defining the action to take when conditions match. Detailed below.
900
+ :param Sequence['GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleConditionArgs'] conditions: A block argument. Detailed below.
901
+ :param _builtins.int rule_number: An integer from `1` to `65535` indicating the rule's order number. Rules are processed in order from the lowest numbered rule to the highest. Rules stop processing when a rule is matched.
902
+ :param _builtins.str description: A user-defined description that further helps identify the rule.
903
+ :param Sequence[_builtins.str] edge_locations: A set of AWS Region codes where this rule applies.
904
+ """
905
+ pulumi.set(__self__, "action", action)
906
+ pulumi.set(__self__, "conditions", conditions)
907
+ pulumi.set(__self__, "rule_number", rule_number)
908
+ if description is not None:
909
+ pulumi.set(__self__, "description", description)
910
+ if edge_locations is not None:
911
+ pulumi.set(__self__, "edge_locations", edge_locations)
912
+
913
+ @_builtins.property
914
+ @pulumi.getter
915
+ def action(self) -> 'outputs.GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleActionResult':
916
+ """
917
+ Block defining the action to take when conditions match. Detailed below.
918
+ """
919
+ return pulumi.get(self, "action")
920
+
921
+ @_builtins.property
922
+ @pulumi.getter
923
+ def conditions(self) -> Sequence['outputs.GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleConditionResult']:
924
+ """
925
+ A block argument. Detailed below.
926
+ """
927
+ return pulumi.get(self, "conditions")
928
+
929
+ @_builtins.property
930
+ @pulumi.getter(name="ruleNumber")
931
+ def rule_number(self) -> _builtins.int:
932
+ """
933
+ An integer from `1` to `65535` indicating the rule's order number. Rules are processed in order from the lowest numbered rule to the highest. Rules stop processing when a rule is matched.
934
+ """
935
+ return pulumi.get(self, "rule_number")
936
+
937
+ @_builtins.property
938
+ @pulumi.getter
939
+ def description(self) -> Optional[_builtins.str]:
940
+ """
941
+ A user-defined description that further helps identify the rule.
942
+ """
943
+ return pulumi.get(self, "description")
944
+
945
+ @_builtins.property
946
+ @pulumi.getter(name="edgeLocations")
947
+ def edge_locations(self) -> Optional[Sequence[_builtins.str]]:
948
+ """
949
+ A set of AWS Region codes where this rule applies.
950
+ """
951
+ return pulumi.get(self, "edge_locations")
952
+
953
+
954
+ @pulumi.output_type
955
+ class GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleActionResult(dict):
956
+ def __init__(__self__, *,
957
+ associate_routing_policies: Sequence[_builtins.str]):
958
+ """
959
+ :param Sequence[_builtins.str] associate_routing_policies: Set of routing policy names to associate when the conditions match.
960
+ """
961
+ pulumi.set(__self__, "associate_routing_policies", associate_routing_policies)
962
+
963
+ @_builtins.property
964
+ @pulumi.getter(name="associateRoutingPolicies")
965
+ def associate_routing_policies(self) -> Sequence[_builtins.str]:
966
+ """
967
+ Set of routing policy names to associate when the conditions match.
968
+ """
969
+ return pulumi.get(self, "associate_routing_policies")
970
+
971
+
972
+ @pulumi.output_type
973
+ class GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleConditionResult(dict):
974
+ def __init__(__self__, *,
975
+ type: _builtins.str,
976
+ value: _builtins.str):
977
+ """
978
+ :param _builtins.str type: Must be `routing-policy-label`.
979
+ :param _builtins.str value: Routing policy label to match.
980
+ """
981
+ pulumi.set(__self__, "type", type)
982
+ pulumi.set(__self__, "value", value)
983
+
984
+ @_builtins.property
985
+ @pulumi.getter
986
+ def type(self) -> _builtins.str:
987
+ """
988
+ Must be `routing-policy-label`.
989
+ """
990
+ return pulumi.get(self, "type")
991
+
992
+ @_builtins.property
993
+ @pulumi.getter
994
+ def value(self) -> _builtins.str:
995
+ """
996
+ Routing policy label to match.
877
997
  """
878
998
  return pulumi.get(self, "value")
879
999
 
@@ -1034,6 +1154,199 @@ class GetCoreNetworkPolicyDocumentNetworkFunctionGroupResult(dict):
1034
1154
  return pulumi.get(self, "description")
1035
1155
 
1036
1156
 
1157
+ @pulumi.output_type
1158
+ class GetCoreNetworkPolicyDocumentRoutingPolicyResult(dict):
1159
+ def __init__(__self__, *,
1160
+ routing_policy_direction: _builtins.str,
1161
+ routing_policy_name: _builtins.str,
1162
+ routing_policy_number: _builtins.int,
1163
+ routing_policy_rules: Sequence['outputs.GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleResult'],
1164
+ routing_policy_description: Optional[_builtins.str] = None):
1165
+ """
1166
+ :param _builtins.str routing_policy_direction: Direction of the routing policy. Valid values: `inbound`, `outbound`.
1167
+ :param _builtins.str routing_policy_name: Name of the routing policy. Must be 1-100 alphanumeric characters.
1168
+ :param _builtins.int routing_policy_number: Priority number for the routing policy. Must be between 1 and 9999. Lower numbers are evaluated first.
1169
+ :param Sequence['GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleArgs'] routing_policy_rules: List of routing policy rules. Each rule defines match conditions and actions. Detailed below.
1170
+ :param _builtins.str routing_policy_description: Description of the routing policy.
1171
+ """
1172
+ pulumi.set(__self__, "routing_policy_direction", routing_policy_direction)
1173
+ pulumi.set(__self__, "routing_policy_name", routing_policy_name)
1174
+ pulumi.set(__self__, "routing_policy_number", routing_policy_number)
1175
+ pulumi.set(__self__, "routing_policy_rules", routing_policy_rules)
1176
+ if routing_policy_description is not None:
1177
+ pulumi.set(__self__, "routing_policy_description", routing_policy_description)
1178
+
1179
+ @_builtins.property
1180
+ @pulumi.getter(name="routingPolicyDirection")
1181
+ def routing_policy_direction(self) -> _builtins.str:
1182
+ """
1183
+ Direction of the routing policy. Valid values: `inbound`, `outbound`.
1184
+ """
1185
+ return pulumi.get(self, "routing_policy_direction")
1186
+
1187
+ @_builtins.property
1188
+ @pulumi.getter(name="routingPolicyName")
1189
+ def routing_policy_name(self) -> _builtins.str:
1190
+ """
1191
+ Name of the routing policy. Must be 1-100 alphanumeric characters.
1192
+ """
1193
+ return pulumi.get(self, "routing_policy_name")
1194
+
1195
+ @_builtins.property
1196
+ @pulumi.getter(name="routingPolicyNumber")
1197
+ def routing_policy_number(self) -> _builtins.int:
1198
+ """
1199
+ Priority number for the routing policy. Must be between 1 and 9999. Lower numbers are evaluated first.
1200
+ """
1201
+ return pulumi.get(self, "routing_policy_number")
1202
+
1203
+ @_builtins.property
1204
+ @pulumi.getter(name="routingPolicyRules")
1205
+ def routing_policy_rules(self) -> Sequence['outputs.GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleResult']:
1206
+ """
1207
+ List of routing policy rules. Each rule defines match conditions and actions. Detailed below.
1208
+ """
1209
+ return pulumi.get(self, "routing_policy_rules")
1210
+
1211
+ @_builtins.property
1212
+ @pulumi.getter(name="routingPolicyDescription")
1213
+ def routing_policy_description(self) -> Optional[_builtins.str]:
1214
+ """
1215
+ Description of the routing policy.
1216
+ """
1217
+ return pulumi.get(self, "routing_policy_description")
1218
+
1219
+
1220
+ @pulumi.output_type
1221
+ class GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleResult(dict):
1222
+ def __init__(__self__, *,
1223
+ rule_definition: 'outputs.GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionResult',
1224
+ rule_number: _builtins.int):
1225
+ """
1226
+ :param 'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionArgs' rule_definition: Defines the match conditions and actions for the rule. Detailed below.
1227
+ :param _builtins.int rule_number: Priority number for the rule within the routing policy. Must be between 1 and 9999. Lower numbers are evaluated first.
1228
+ """
1229
+ pulumi.set(__self__, "rule_definition", rule_definition)
1230
+ pulumi.set(__self__, "rule_number", rule_number)
1231
+
1232
+ @_builtins.property
1233
+ @pulumi.getter(name="ruleDefinition")
1234
+ def rule_definition(self) -> 'outputs.GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionResult':
1235
+ """
1236
+ Defines the match conditions and actions for the rule. Detailed below.
1237
+ """
1238
+ return pulumi.get(self, "rule_definition")
1239
+
1240
+ @_builtins.property
1241
+ @pulumi.getter(name="ruleNumber")
1242
+ def rule_number(self) -> _builtins.int:
1243
+ """
1244
+ Priority number for the rule within the routing policy. Must be between 1 and 9999. Lower numbers are evaluated first.
1245
+ """
1246
+ return pulumi.get(self, "rule_number")
1247
+
1248
+
1249
+ @pulumi.output_type
1250
+ class GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionResult(dict):
1251
+ def __init__(__self__, *,
1252
+ action: 'outputs.GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionActionResult',
1253
+ condition_logic: Optional[_builtins.str] = None,
1254
+ match_conditions: Optional[Sequence['outputs.GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionMatchConditionResult']] = None):
1255
+ """
1256
+ :param 'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionActionArgs' action: Block defining the action to take when conditions match. Detailed below.
1257
+ :param _builtins.str condition_logic: Logic to apply when multiple match conditions are present. Valid values: `and`, `or`.
1258
+ :param Sequence['GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionMatchConditionArgs'] match_conditions: List of conditions to match against routes. Detailed below.
1259
+ """
1260
+ pulumi.set(__self__, "action", action)
1261
+ if condition_logic is not None:
1262
+ pulumi.set(__self__, "condition_logic", condition_logic)
1263
+ if match_conditions is not None:
1264
+ pulumi.set(__self__, "match_conditions", match_conditions)
1265
+
1266
+ @_builtins.property
1267
+ @pulumi.getter
1268
+ def action(self) -> 'outputs.GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionActionResult':
1269
+ """
1270
+ Block defining the action to take when conditions match. Detailed below.
1271
+ """
1272
+ return pulumi.get(self, "action")
1273
+
1274
+ @_builtins.property
1275
+ @pulumi.getter(name="conditionLogic")
1276
+ def condition_logic(self) -> Optional[_builtins.str]:
1277
+ """
1278
+ Logic to apply when multiple match conditions are present. Valid values: `and`, `or`.
1279
+ """
1280
+ return pulumi.get(self, "condition_logic")
1281
+
1282
+ @_builtins.property
1283
+ @pulumi.getter(name="matchConditions")
1284
+ def match_conditions(self) -> Optional[Sequence['outputs.GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionMatchConditionResult']]:
1285
+ """
1286
+ List of conditions to match against routes. Detailed below.
1287
+ """
1288
+ return pulumi.get(self, "match_conditions")
1289
+
1290
+
1291
+ @pulumi.output_type
1292
+ class GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionActionResult(dict):
1293
+ def __init__(__self__, *,
1294
+ type: _builtins.str,
1295
+ value: Optional[_builtins.str] = None):
1296
+ """
1297
+ :param _builtins.str type: Type of action to perform. Valid values: `drop`, `allow`, `summarize`, `prepend-asn-list`, `remove-asn-list`, `replace-asn-list`, `add-community`, `remove-community`, `set-med`, `set-local-preference`.
1298
+ :param _builtins.str value: Value for the action, required for certain action types.
1299
+ """
1300
+ pulumi.set(__self__, "type", type)
1301
+ if value is not None:
1302
+ pulumi.set(__self__, "value", value)
1303
+
1304
+ @_builtins.property
1305
+ @pulumi.getter
1306
+ def type(self) -> _builtins.str:
1307
+ """
1308
+ Type of action to perform. Valid values: `drop`, `allow`, `summarize`, `prepend-asn-list`, `remove-asn-list`, `replace-asn-list`, `add-community`, `remove-community`, `set-med`, `set-local-preference`.
1309
+ """
1310
+ return pulumi.get(self, "type")
1311
+
1312
+ @_builtins.property
1313
+ @pulumi.getter
1314
+ def value(self) -> Optional[_builtins.str]:
1315
+ """
1316
+ Value for the action, required for certain action types.
1317
+ """
1318
+ return pulumi.get(self, "value")
1319
+
1320
+
1321
+ @pulumi.output_type
1322
+ class GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionMatchConditionResult(dict):
1323
+ def __init__(__self__, *,
1324
+ type: _builtins.str,
1325
+ value: _builtins.str):
1326
+ """
1327
+ :param _builtins.str type: Type of condition to match. Valid values: `prefix-equals`, `prefix-in-cidr`, `prefix-in-prefix-list`, `asn-in-as-path`, `community-in-list`, `med-equals`.
1328
+ :param _builtins.str value: Value to match against, depending on the condition type.
1329
+ """
1330
+ pulumi.set(__self__, "type", type)
1331
+ pulumi.set(__self__, "value", value)
1332
+
1333
+ @_builtins.property
1334
+ @pulumi.getter
1335
+ def type(self) -> _builtins.str:
1336
+ """
1337
+ Type of condition to match. Valid values: `prefix-equals`, `prefix-in-cidr`, `prefix-in-prefix-list`, `asn-in-as-path`, `community-in-list`, `med-equals`.
1338
+ """
1339
+ return pulumi.get(self, "type")
1340
+
1341
+ @_builtins.property
1342
+ @pulumi.getter
1343
+ def value(self) -> _builtins.str:
1344
+ """
1345
+ Value to match against, depending on the condition type.
1346
+ """
1347
+ return pulumi.get(self, "value")
1348
+
1349
+
1037
1350
  @pulumi.output_type
1038
1351
  class GetCoreNetworkPolicyDocumentSegmentResult(dict):
1039
1352
  def __init__(__self__, *,
@@ -1132,17 +1445,19 @@ class GetCoreNetworkPolicyDocumentSegmentActionResult(dict):
1132
1445
  description: Optional[_builtins.str] = None,
1133
1446
  destination_cidr_blocks: Optional[Sequence[_builtins.str]] = None,
1134
1447
  destinations: Optional[Sequence[_builtins.str]] = None,
1448
+ edge_location_association: Optional['outputs.GetCoreNetworkPolicyDocumentSegmentActionEdgeLocationAssociationResult'] = None,
1135
1449
  mode: Optional[_builtins.str] = None,
1136
1450
  share_with_excepts: Optional[Sequence[_builtins.str]] = None,
1137
1451
  share_withs: Optional[Sequence[_builtins.str]] = None,
1138
1452
  via: Optional['outputs.GetCoreNetworkPolicyDocumentSegmentActionViaResult'] = None,
1139
1453
  when_sent_to: Optional['outputs.GetCoreNetworkPolicyDocumentSegmentActionWhenSentToResult'] = None):
1140
1454
  """
1141
- :param _builtins.str action: Action to take for the chosen segment. Valid values: `create-route`, `share`, `send-via` and `send-to`.
1455
+ :param _builtins.str action: Action to take for the chosen segment. Valid values: `create-route`, `share`, `send-via`, `send-to`, and `associate-routing-policy` (available in policy version `2025.11` and later).
1142
1456
  :param _builtins.str segment: Name of the segment.
1143
1457
  :param _builtins.str description: A user-defined string describing the segment action.
1144
1458
  :param Sequence[_builtins.str] destination_cidr_blocks: List of strings containing CIDRs. You can define the IPv4 and IPv6 CIDR notation for each AWS Region. For example, `10.1.0.0/16` or `2001:db8::/56`. This is an array of CIDR notation strings.
1145
1459
  :param Sequence[_builtins.str] destinations: A list of strings. Valid values include `["blackhole"]` or a list of attachment ids.
1460
+ :param 'GetCoreNetworkPolicyDocumentSegmentActionEdgeLocationAssociationArgs' edge_location_association: Associates routing policies with specific edge location pairs. Available in policy version `2025.11` and later. Detailed below.
1146
1461
  :param _builtins.str mode: String. When `action` is `share`, a `mode` value of `attachment-route` places the attachment and return routes in each of the `share_with` segments. When `action` is `send-via`, indicates the mode used for packets. Valid values: `attachment-route`, `single-hop`, `dual-hop`.
1147
1462
  :param Sequence[_builtins.str] share_with_excepts: A set subtraction of segments to not share with.
1148
1463
  :param Sequence[_builtins.str] share_withs: A list of strings to share with. Must be a substring is all segments. Valid values include: `["*"]` or `["<segment-names>"]`.
@@ -1157,6 +1472,8 @@ class GetCoreNetworkPolicyDocumentSegmentActionResult(dict):
1157
1472
  pulumi.set(__self__, "destination_cidr_blocks", destination_cidr_blocks)
1158
1473
  if destinations is not None:
1159
1474
  pulumi.set(__self__, "destinations", destinations)
1475
+ if edge_location_association is not None:
1476
+ pulumi.set(__self__, "edge_location_association", edge_location_association)
1160
1477
  if mode is not None:
1161
1478
  pulumi.set(__self__, "mode", mode)
1162
1479
  if share_with_excepts is not None:
@@ -1172,7 +1489,7 @@ class GetCoreNetworkPolicyDocumentSegmentActionResult(dict):
1172
1489
  @pulumi.getter
1173
1490
  def action(self) -> _builtins.str:
1174
1491
  """
1175
- Action to take for the chosen segment. Valid values: `create-route`, `share`, `send-via` and `send-to`.
1492
+ Action to take for the chosen segment. Valid values: `create-route`, `share`, `send-via`, `send-to`, and `associate-routing-policy` (available in policy version `2025.11` and later).
1176
1493
  """
1177
1494
  return pulumi.get(self, "action")
1178
1495
 
@@ -1208,6 +1525,14 @@ class GetCoreNetworkPolicyDocumentSegmentActionResult(dict):
1208
1525
  """
1209
1526
  return pulumi.get(self, "destinations")
1210
1527
 
1528
+ @_builtins.property
1529
+ @pulumi.getter(name="edgeLocationAssociation")
1530
+ def edge_location_association(self) -> Optional['outputs.GetCoreNetworkPolicyDocumentSegmentActionEdgeLocationAssociationResult']:
1531
+ """
1532
+ Associates routing policies with specific edge location pairs. Available in policy version `2025.11` and later. Detailed below.
1533
+ """
1534
+ return pulumi.get(self, "edge_location_association")
1535
+
1211
1536
  @_builtins.property
1212
1537
  @pulumi.getter
1213
1538
  def mode(self) -> Optional[_builtins.str]:
@@ -1249,6 +1574,46 @@ class GetCoreNetworkPolicyDocumentSegmentActionResult(dict):
1249
1574
  return pulumi.get(self, "when_sent_to")
1250
1575
 
1251
1576
 
1577
+ @pulumi.output_type
1578
+ class GetCoreNetworkPolicyDocumentSegmentActionEdgeLocationAssociationResult(dict):
1579
+ def __init__(__self__, *,
1580
+ edge_location: _builtins.str,
1581
+ peer_edge_location: _builtins.str,
1582
+ routing_policy_names: Sequence[_builtins.str]):
1583
+ """
1584
+ :param _builtins.str edge_location: The AWS Region code for the first edge location in the association (e.g., `us-east-1`).
1585
+ :param _builtins.str peer_edge_location: The AWS Region code for the second edge location in the association (e.g., `us-west-2`).
1586
+ :param Sequence[_builtins.str] routing_policy_names: A set of routing policy names to apply to this edge location pair.
1587
+ """
1588
+ pulumi.set(__self__, "edge_location", edge_location)
1589
+ pulumi.set(__self__, "peer_edge_location", peer_edge_location)
1590
+ pulumi.set(__self__, "routing_policy_names", routing_policy_names)
1591
+
1592
+ @_builtins.property
1593
+ @pulumi.getter(name="edgeLocation")
1594
+ def edge_location(self) -> _builtins.str:
1595
+ """
1596
+ The AWS Region code for the first edge location in the association (e.g., `us-east-1`).
1597
+ """
1598
+ return pulumi.get(self, "edge_location")
1599
+
1600
+ @_builtins.property
1601
+ @pulumi.getter(name="peerEdgeLocation")
1602
+ def peer_edge_location(self) -> _builtins.str:
1603
+ """
1604
+ The AWS Region code for the second edge location in the association (e.g., `us-west-2`).
1605
+ """
1606
+ return pulumi.get(self, "peer_edge_location")
1607
+
1608
+ @_builtins.property
1609
+ @pulumi.getter(name="routingPolicyNames")
1610
+ def routing_policy_names(self) -> Sequence[_builtins.str]:
1611
+ """
1612
+ A set of routing policy names to apply to this edge location pair.
1613
+ """
1614
+ return pulumi.get(self, "routing_policy_names")
1615
+
1616
+
1252
1617
  @pulumi.output_type
1253
1618
  class GetCoreNetworkPolicyDocumentSegmentActionViaResult(dict):
1254
1619
  def __init__(__self__, *,
@@ -21,6 +21,7 @@ class SiteToSiteVpnAttachmentArgs:
21
21
  def __init__(__self__, *,
22
22
  core_network_id: pulumi.Input[_builtins.str],
23
23
  vpn_connection_arn: pulumi.Input[_builtins.str],
24
+ routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
24
25
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
25
26
  """
26
27
  The set of arguments for constructing a SiteToSiteVpnAttachment resource.
@@ -28,10 +29,13 @@ class SiteToSiteVpnAttachmentArgs:
28
29
  :param pulumi.Input[_builtins.str] vpn_connection_arn: ARN of the site-to-site VPN connection.
29
30
 
30
31
  The following arguments are optional:
32
+ :param pulumi.Input[_builtins.str] routing_policy_label: The routing policy label to apply to the Site-to-Site VPN attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
31
33
  :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.
32
34
  """
33
35
  pulumi.set(__self__, "core_network_id", core_network_id)
34
36
  pulumi.set(__self__, "vpn_connection_arn", vpn_connection_arn)
37
+ if routing_policy_label is not None:
38
+ pulumi.set(__self__, "routing_policy_label", routing_policy_label)
35
39
  if tags is not None:
36
40
  pulumi.set(__self__, "tags", tags)
37
41
 
@@ -61,6 +65,18 @@ class SiteToSiteVpnAttachmentArgs:
61
65
  def vpn_connection_arn(self, value: pulumi.Input[_builtins.str]):
62
66
  pulumi.set(self, "vpn_connection_arn", value)
63
67
 
68
+ @_builtins.property
69
+ @pulumi.getter(name="routingPolicyLabel")
70
+ def routing_policy_label(self) -> Optional[pulumi.Input[_builtins.str]]:
71
+ """
72
+ The routing policy label to apply to the Site-to-Site VPN attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
73
+ """
74
+ return pulumi.get(self, "routing_policy_label")
75
+
76
+ @routing_policy_label.setter
77
+ def routing_policy_label(self, value: Optional[pulumi.Input[_builtins.str]]):
78
+ pulumi.set(self, "routing_policy_label", value)
79
+
64
80
  @_builtins.property
65
81
  @pulumi.getter
66
82
  def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
@@ -85,6 +101,7 @@ class _SiteToSiteVpnAttachmentState:
85
101
  edge_location: Optional[pulumi.Input[_builtins.str]] = None,
86
102
  owner_account_id: Optional[pulumi.Input[_builtins.str]] = None,
87
103
  resource_arn: Optional[pulumi.Input[_builtins.str]] = None,
104
+ routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
88
105
  segment_name: Optional[pulumi.Input[_builtins.str]] = None,
89
106
  state: Optional[pulumi.Input[_builtins.str]] = None,
90
107
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
@@ -100,6 +117,7 @@ class _SiteToSiteVpnAttachmentState:
100
117
  :param pulumi.Input[_builtins.str] edge_location: Region where the edge is located.
101
118
  :param pulumi.Input[_builtins.str] owner_account_id: ID of the attachment account owner.
102
119
  :param pulumi.Input[_builtins.str] resource_arn: Attachment resource ARN.
120
+ :param pulumi.Input[_builtins.str] routing_policy_label: The routing policy label to apply to the Site-to-Site VPN attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
103
121
  :param pulumi.Input[_builtins.str] segment_name: Name of the segment attachment.
104
122
  :param pulumi.Input[_builtins.str] state: State of the attachment.
105
123
  :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.
@@ -124,6 +142,8 @@ class _SiteToSiteVpnAttachmentState:
124
142
  pulumi.set(__self__, "owner_account_id", owner_account_id)
125
143
  if resource_arn is not None:
126
144
  pulumi.set(__self__, "resource_arn", resource_arn)
145
+ if routing_policy_label is not None:
146
+ pulumi.set(__self__, "routing_policy_label", routing_policy_label)
127
147
  if segment_name is not None:
128
148
  pulumi.set(__self__, "segment_name", segment_name)
129
149
  if state is not None:
@@ -231,6 +251,18 @@ class _SiteToSiteVpnAttachmentState:
231
251
  def resource_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
232
252
  pulumi.set(self, "resource_arn", value)
233
253
 
254
+ @_builtins.property
255
+ @pulumi.getter(name="routingPolicyLabel")
256
+ def routing_policy_label(self) -> Optional[pulumi.Input[_builtins.str]]:
257
+ """
258
+ The routing policy label to apply to the Site-to-Site VPN attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
259
+ """
260
+ return pulumi.get(self, "routing_policy_label")
261
+
262
+ @routing_policy_label.setter
263
+ def routing_policy_label(self, value: Optional[pulumi.Input[_builtins.str]]):
264
+ pulumi.set(self, "routing_policy_label", value)
265
+
234
266
  @_builtins.property
235
267
  @pulumi.getter(name="segmentName")
236
268
  def segment_name(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -301,6 +333,7 @@ class SiteToSiteVpnAttachment(pulumi.CustomResource):
301
333
  resource_name: str,
302
334
  opts: Optional[pulumi.ResourceOptions] = None,
303
335
  core_network_id: Optional[pulumi.Input[_builtins.str]] = None,
336
+ routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
304
337
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
305
338
  vpn_connection_arn: Optional[pulumi.Input[_builtins.str]] = None,
306
339
  __props__=None):
@@ -400,6 +433,7 @@ class SiteToSiteVpnAttachment(pulumi.CustomResource):
400
433
  :param str resource_name: The name of the resource.
401
434
  :param pulumi.ResourceOptions opts: Options for the resource.
402
435
  :param pulumi.Input[_builtins.str] core_network_id: ID of a core network for the VPN attachment.
436
+ :param pulumi.Input[_builtins.str] routing_policy_label: The routing policy label to apply to the Site-to-Site VPN attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
403
437
  :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.
404
438
  :param pulumi.Input[_builtins.str] vpn_connection_arn: ARN of the site-to-site VPN connection.
405
439
 
@@ -520,6 +554,7 @@ class SiteToSiteVpnAttachment(pulumi.CustomResource):
520
554
  resource_name: str,
521
555
  opts: Optional[pulumi.ResourceOptions] = None,
522
556
  core_network_id: Optional[pulumi.Input[_builtins.str]] = None,
557
+ routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
523
558
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
524
559
  vpn_connection_arn: Optional[pulumi.Input[_builtins.str]] = None,
525
560
  __props__=None):
@@ -534,6 +569,7 @@ class SiteToSiteVpnAttachment(pulumi.CustomResource):
534
569
  if core_network_id is None and not opts.urn:
535
570
  raise TypeError("Missing required property 'core_network_id'")
536
571
  __props__.__dict__["core_network_id"] = core_network_id
572
+ __props__.__dict__["routing_policy_label"] = routing_policy_label
537
573
  __props__.__dict__["tags"] = tags
538
574
  if vpn_connection_arn is None and not opts.urn:
539
575
  raise TypeError("Missing required property 'vpn_connection_arn'")
@@ -566,6 +602,7 @@ class SiteToSiteVpnAttachment(pulumi.CustomResource):
566
602
  edge_location: Optional[pulumi.Input[_builtins.str]] = None,
567
603
  owner_account_id: Optional[pulumi.Input[_builtins.str]] = None,
568
604
  resource_arn: Optional[pulumi.Input[_builtins.str]] = None,
605
+ routing_policy_label: Optional[pulumi.Input[_builtins.str]] = None,
569
606
  segment_name: Optional[pulumi.Input[_builtins.str]] = None,
570
607
  state: Optional[pulumi.Input[_builtins.str]] = None,
571
608
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
@@ -586,6 +623,7 @@ class SiteToSiteVpnAttachment(pulumi.CustomResource):
586
623
  :param pulumi.Input[_builtins.str] edge_location: Region where the edge is located.
587
624
  :param pulumi.Input[_builtins.str] owner_account_id: ID of the attachment account owner.
588
625
  :param pulumi.Input[_builtins.str] resource_arn: Attachment resource ARN.
626
+ :param pulumi.Input[_builtins.str] routing_policy_label: The routing policy label to apply to the Site-to-Site VPN attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
589
627
  :param pulumi.Input[_builtins.str] segment_name: Name of the segment attachment.
590
628
  :param pulumi.Input[_builtins.str] state: State of the attachment.
591
629
  :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.
@@ -606,6 +644,7 @@ class SiteToSiteVpnAttachment(pulumi.CustomResource):
606
644
  __props__.__dict__["edge_location"] = edge_location
607
645
  __props__.__dict__["owner_account_id"] = owner_account_id
608
646
  __props__.__dict__["resource_arn"] = resource_arn
647
+ __props__.__dict__["routing_policy_label"] = routing_policy_label
609
648
  __props__.__dict__["segment_name"] = segment_name
610
649
  __props__.__dict__["state"] = state
611
650
  __props__.__dict__["tags"] = tags
@@ -677,6 +716,14 @@ class SiteToSiteVpnAttachment(pulumi.CustomResource):
677
716
  """
678
717
  return pulumi.get(self, "resource_arn")
679
718
 
719
+ @_builtins.property
720
+ @pulumi.getter(name="routingPolicyLabel")
721
+ def routing_policy_label(self) -> pulumi.Output[Optional[_builtins.str]]:
722
+ """
723
+ The routing policy label to apply to the Site-to-Site VPN attachment for traffic routing decisions. Maximum length of 256 characters. Changing this value will force recreation of the resource.
724
+ """
725
+ return pulumi.get(self, "routing_policy_label")
726
+
680
727
  @_builtins.property
681
728
  @pulumi.getter(name="segmentName")
682
729
  def segment_name(self) -> pulumi.Output[_builtins.str]: