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.
- pulumi_aws/__init__.py +8 -0
- pulumi_aws/bedrock/_inputs.py +1894 -267
- pulumi_aws/bedrock/agent_knowledge_base.py +253 -17
- pulumi_aws/bedrock/outputs.py +1571 -199
- pulumi_aws/cloudfront/__init__.py +1 -0
- pulumi_aws/cloudfront/_inputs.py +199 -0
- pulumi_aws/cloudfront/outputs.py +134 -0
- pulumi_aws/cloudfront/trust_store.py +497 -0
- pulumi_aws/codebuild/_inputs.py +20 -0
- pulumi_aws/codebuild/outputs.py +29 -0
- pulumi_aws/config/__init__.pyi +5 -0
- pulumi_aws/config/vars.py +7 -0
- pulumi_aws/datazone/domain.py +28 -0
- pulumi_aws/datazone/get_domain.py +15 -1
- pulumi_aws/ecs/_inputs.py +6 -6
- pulumi_aws/ecs/cluster.py +2 -2
- pulumi_aws/ecs/outputs.py +4 -4
- pulumi_aws/elasticache/serverless_cache.py +7 -7
- pulumi_aws/lambda_/function.py +31 -12
- pulumi_aws/networkmanager/_inputs.py +650 -23
- pulumi_aws/networkmanager/connect_attachment.py +47 -0
- pulumi_aws/networkmanager/connect_peer.py +7 -7
- pulumi_aws/networkmanager/dx_gateway_attachment.py +47 -0
- pulumi_aws/networkmanager/get_core_network_policy_document.py +37 -1
- pulumi_aws/networkmanager/outputs.py +379 -14
- pulumi_aws/networkmanager/site_to_site_vpn_attachment.py +47 -0
- pulumi_aws/networkmanager/transit_gateway_route_table_attachment.py +47 -0
- pulumi_aws/networkmanager/vpc_attachment.py +47 -0
- pulumi_aws/odb/get_cloud_vm_cluster.py +23 -1
- pulumi_aws/organizations/__init__.py +1 -0
- pulumi_aws/organizations/get_account.py +231 -0
- pulumi_aws/provider.py +21 -1
- pulumi_aws/pulumi-plugin.json +1 -1
- pulumi_aws/route53/get_resolver_endpoint.py +29 -1
- pulumi_aws/route53/resolver_endpoint.py +97 -3
- pulumi_aws/s3/_inputs.py +7 -0
- pulumi_aws/s3/outputs.py +4 -0
- pulumi_aws/vpclattice/_inputs.py +54 -0
- pulumi_aws/vpclattice/outputs.py +51 -0
- pulumi_aws/vpclattice/service_network_vpc_association.py +96 -0
- {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/METADATA +1 -1
- {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/RECORD +44 -42
- {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/WHEEL +0 -0
- {pulumi_aws-7.14.0.dist-info → pulumi_aws-7.15.0.dist-info}/top_level.txt +0 -0
|
@@ -45,16 +45,34 @@ __all__ = [
|
|
|
45
45
|
'GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgsDict',
|
|
46
46
|
'GetCoreNetworkPolicyDocumentAttachmentPolicyConditionArgs',
|
|
47
47
|
'GetCoreNetworkPolicyDocumentAttachmentPolicyConditionArgsDict',
|
|
48
|
+
'GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleArgs',
|
|
49
|
+
'GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleArgsDict',
|
|
50
|
+
'GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleActionArgs',
|
|
51
|
+
'GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleActionArgsDict',
|
|
52
|
+
'GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleConditionArgs',
|
|
53
|
+
'GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleConditionArgsDict',
|
|
48
54
|
'GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgs',
|
|
49
55
|
'GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgsDict',
|
|
50
56
|
'GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgs',
|
|
51
57
|
'GetCoreNetworkPolicyDocumentCoreNetworkConfigurationEdgeLocationArgsDict',
|
|
52
58
|
'GetCoreNetworkPolicyDocumentNetworkFunctionGroupArgs',
|
|
53
59
|
'GetCoreNetworkPolicyDocumentNetworkFunctionGroupArgsDict',
|
|
60
|
+
'GetCoreNetworkPolicyDocumentRoutingPolicyArgs',
|
|
61
|
+
'GetCoreNetworkPolicyDocumentRoutingPolicyArgsDict',
|
|
62
|
+
'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleArgs',
|
|
63
|
+
'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleArgsDict',
|
|
64
|
+
'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionArgs',
|
|
65
|
+
'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionArgsDict',
|
|
66
|
+
'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionActionArgs',
|
|
67
|
+
'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionActionArgsDict',
|
|
68
|
+
'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionMatchConditionArgs',
|
|
69
|
+
'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionMatchConditionArgsDict',
|
|
54
70
|
'GetCoreNetworkPolicyDocumentSegmentArgs',
|
|
55
71
|
'GetCoreNetworkPolicyDocumentSegmentArgsDict',
|
|
56
72
|
'GetCoreNetworkPolicyDocumentSegmentActionArgs',
|
|
57
73
|
'GetCoreNetworkPolicyDocumentSegmentActionArgsDict',
|
|
74
|
+
'GetCoreNetworkPolicyDocumentSegmentActionEdgeLocationAssociationArgs',
|
|
75
|
+
'GetCoreNetworkPolicyDocumentSegmentActionEdgeLocationAssociationArgsDict',
|
|
58
76
|
'GetCoreNetworkPolicyDocumentSegmentActionViaArgs',
|
|
59
77
|
'GetCoreNetworkPolicyDocumentSegmentActionViaArgsDict',
|
|
60
78
|
'GetCoreNetworkPolicyDocumentSegmentActionViaWithEdgeOverrideArgs',
|
|
@@ -99,9 +117,9 @@ class ConnectAttachmentOptionsArgs:
|
|
|
99
117
|
|
|
100
118
|
if not MYPY:
|
|
101
119
|
class ConnectPeerBgpOptionsArgsDict(TypedDict):
|
|
102
|
-
peer_asn: NotRequired[pulumi.Input[_builtins.
|
|
120
|
+
peer_asn: NotRequired[pulumi.Input[_builtins.str]]
|
|
103
121
|
"""
|
|
104
|
-
Peer ASN.
|
|
122
|
+
Peer ASN. Supports 2-byte and 4-byte ASNs (1 to 4294967295).
|
|
105
123
|
"""
|
|
106
124
|
elif False:
|
|
107
125
|
ConnectPeerBgpOptionsArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -109,23 +127,23 @@ elif False:
|
|
|
109
127
|
@pulumi.input_type
|
|
110
128
|
class ConnectPeerBgpOptionsArgs:
|
|
111
129
|
def __init__(__self__, *,
|
|
112
|
-
peer_asn: Optional[pulumi.Input[_builtins.
|
|
130
|
+
peer_asn: Optional[pulumi.Input[_builtins.str]] = None):
|
|
113
131
|
"""
|
|
114
|
-
:param pulumi.Input[_builtins.
|
|
132
|
+
:param pulumi.Input[_builtins.str] peer_asn: Peer ASN. Supports 2-byte and 4-byte ASNs (1 to 4294967295).
|
|
115
133
|
"""
|
|
116
134
|
if peer_asn is not None:
|
|
117
135
|
pulumi.set(__self__, "peer_asn", peer_asn)
|
|
118
136
|
|
|
119
137
|
@_builtins.property
|
|
120
138
|
@pulumi.getter(name="peerAsn")
|
|
121
|
-
def peer_asn(self) -> Optional[pulumi.Input[_builtins.
|
|
139
|
+
def peer_asn(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
122
140
|
"""
|
|
123
|
-
Peer ASN.
|
|
141
|
+
Peer ASN. Supports 2-byte and 4-byte ASNs (1 to 4294967295).
|
|
124
142
|
"""
|
|
125
143
|
return pulumi.get(self, "peer_asn")
|
|
126
144
|
|
|
127
145
|
@peer_asn.setter
|
|
128
|
-
def peer_asn(self, value: Optional[pulumi.Input[_builtins.
|
|
146
|
+
def peer_asn(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
129
147
|
pulumi.set(self, "peer_asn", value)
|
|
130
148
|
|
|
131
149
|
|
|
@@ -246,9 +264,9 @@ if not MYPY:
|
|
|
246
264
|
|
|
247
265
|
The following arguments are optional:
|
|
248
266
|
"""
|
|
249
|
-
peer_asn: NotRequired[pulumi.Input[_builtins.
|
|
267
|
+
peer_asn: NotRequired[pulumi.Input[_builtins.str]]
|
|
250
268
|
"""
|
|
251
|
-
Peer ASN.
|
|
269
|
+
Peer ASN. Supports 2-byte and 4-byte ASNs (1 to 4294967295).
|
|
252
270
|
"""
|
|
253
271
|
elif False:
|
|
254
272
|
ConnectPeerConfigurationBgpConfigurationArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -259,13 +277,13 @@ class ConnectPeerConfigurationBgpConfigurationArgs:
|
|
|
259
277
|
core_network_address: Optional[pulumi.Input[_builtins.str]] = None,
|
|
260
278
|
core_network_asn: Optional[pulumi.Input[_builtins.int]] = None,
|
|
261
279
|
peer_address: Optional[pulumi.Input[_builtins.str]] = None,
|
|
262
|
-
peer_asn: Optional[pulumi.Input[_builtins.
|
|
280
|
+
peer_asn: Optional[pulumi.Input[_builtins.str]] = None):
|
|
263
281
|
"""
|
|
264
282
|
:param pulumi.Input[_builtins.str] core_network_address: Connect peer core network address.
|
|
265
283
|
:param pulumi.Input[_builtins.str] peer_address: Connect peer address.
|
|
266
284
|
|
|
267
285
|
The following arguments are optional:
|
|
268
|
-
:param pulumi.Input[_builtins.
|
|
286
|
+
:param pulumi.Input[_builtins.str] peer_asn: Peer ASN. Supports 2-byte and 4-byte ASNs (1 to 4294967295).
|
|
269
287
|
"""
|
|
270
288
|
if core_network_address is not None:
|
|
271
289
|
pulumi.set(__self__, "core_network_address", core_network_address)
|
|
@@ -313,14 +331,14 @@ class ConnectPeerConfigurationBgpConfigurationArgs:
|
|
|
313
331
|
|
|
314
332
|
@_builtins.property
|
|
315
333
|
@pulumi.getter(name="peerAsn")
|
|
316
|
-
def peer_asn(self) -> Optional[pulumi.Input[_builtins.
|
|
334
|
+
def peer_asn(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
317
335
|
"""
|
|
318
|
-
Peer ASN.
|
|
336
|
+
Peer ASN. Supports 2-byte and 4-byte ASNs (1 to 4294967295).
|
|
319
337
|
"""
|
|
320
338
|
return pulumi.get(self, "peer_asn")
|
|
321
339
|
|
|
322
340
|
@peer_asn.setter
|
|
323
|
-
def peer_asn(self, value: Optional[pulumi.Input[_builtins.
|
|
341
|
+
def peer_asn(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
324
342
|
pulumi.set(self, "peer_asn", value)
|
|
325
343
|
|
|
326
344
|
|
|
@@ -1105,7 +1123,7 @@ if not MYPY:
|
|
|
1105
1123
|
class GetCoreNetworkPolicyDocumentAttachmentPolicyConditionArgsDict(TypedDict):
|
|
1106
1124
|
type: _builtins.str
|
|
1107
1125
|
"""
|
|
1108
|
-
|
|
1126
|
+
Must be `routing-policy-label`.
|
|
1109
1127
|
"""
|
|
1110
1128
|
key: NotRequired[_builtins.str]
|
|
1111
1129
|
"""
|
|
@@ -1117,7 +1135,7 @@ if not MYPY:
|
|
|
1117
1135
|
"""
|
|
1118
1136
|
value: NotRequired[_builtins.str]
|
|
1119
1137
|
"""
|
|
1120
|
-
|
|
1138
|
+
Routing policy label to match.
|
|
1121
1139
|
"""
|
|
1122
1140
|
elif False:
|
|
1123
1141
|
GetCoreNetworkPolicyDocumentAttachmentPolicyConditionArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -1130,10 +1148,10 @@ class GetCoreNetworkPolicyDocumentAttachmentPolicyConditionArgs:
|
|
|
1130
1148
|
operator: Optional[_builtins.str] = None,
|
|
1131
1149
|
value: Optional[_builtins.str] = None):
|
|
1132
1150
|
"""
|
|
1133
|
-
:param _builtins.str type:
|
|
1151
|
+
:param _builtins.str type: Must be `routing-policy-label`.
|
|
1134
1152
|
:param _builtins.str key: string value
|
|
1135
1153
|
:param _builtins.str operator: Valid values include: `equals`, `not-equals`, `contains`, `begins-with`.
|
|
1136
|
-
:param _builtins.str value:
|
|
1154
|
+
:param _builtins.str value: Routing policy label to match.
|
|
1137
1155
|
"""
|
|
1138
1156
|
pulumi.set(__self__, "type", type)
|
|
1139
1157
|
if key is not None:
|
|
@@ -1147,7 +1165,7 @@ class GetCoreNetworkPolicyDocumentAttachmentPolicyConditionArgs:
|
|
|
1147
1165
|
@pulumi.getter
|
|
1148
1166
|
def type(self) -> _builtins.str:
|
|
1149
1167
|
"""
|
|
1150
|
-
|
|
1168
|
+
Must be `routing-policy-label`.
|
|
1151
1169
|
"""
|
|
1152
1170
|
return pulumi.get(self, "type")
|
|
1153
1171
|
|
|
@@ -1183,7 +1201,7 @@ class GetCoreNetworkPolicyDocumentAttachmentPolicyConditionArgs:
|
|
|
1183
1201
|
@pulumi.getter
|
|
1184
1202
|
def value(self) -> Optional[_builtins.str]:
|
|
1185
1203
|
"""
|
|
1186
|
-
|
|
1204
|
+
Routing policy label to match.
|
|
1187
1205
|
"""
|
|
1188
1206
|
return pulumi.get(self, "value")
|
|
1189
1207
|
|
|
@@ -1192,6 +1210,196 @@ class GetCoreNetworkPolicyDocumentAttachmentPolicyConditionArgs:
|
|
|
1192
1210
|
pulumi.set(self, "value", value)
|
|
1193
1211
|
|
|
1194
1212
|
|
|
1213
|
+
if not MYPY:
|
|
1214
|
+
class GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleArgsDict(TypedDict):
|
|
1215
|
+
action: 'GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleActionArgsDict'
|
|
1216
|
+
"""
|
|
1217
|
+
Block defining the action to take when conditions match. Detailed below.
|
|
1218
|
+
"""
|
|
1219
|
+
conditions: Sequence['GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleConditionArgsDict']
|
|
1220
|
+
"""
|
|
1221
|
+
A block argument. Detailed below.
|
|
1222
|
+
"""
|
|
1223
|
+
rule_number: _builtins.int
|
|
1224
|
+
"""
|
|
1225
|
+
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.
|
|
1226
|
+
"""
|
|
1227
|
+
description: NotRequired[_builtins.str]
|
|
1228
|
+
"""
|
|
1229
|
+
A user-defined description that further helps identify the rule.
|
|
1230
|
+
"""
|
|
1231
|
+
edge_locations: NotRequired[Sequence[_builtins.str]]
|
|
1232
|
+
"""
|
|
1233
|
+
A set of AWS Region codes where this rule applies.
|
|
1234
|
+
"""
|
|
1235
|
+
elif False:
|
|
1236
|
+
GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleArgsDict: TypeAlias = Mapping[str, Any]
|
|
1237
|
+
|
|
1238
|
+
@pulumi.input_type
|
|
1239
|
+
class GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleArgs:
|
|
1240
|
+
def __init__(__self__, *,
|
|
1241
|
+
action: 'GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleActionArgs',
|
|
1242
|
+
conditions: Sequence['GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleConditionArgs'],
|
|
1243
|
+
rule_number: _builtins.int,
|
|
1244
|
+
description: Optional[_builtins.str] = None,
|
|
1245
|
+
edge_locations: Optional[Sequence[_builtins.str]] = None):
|
|
1246
|
+
"""
|
|
1247
|
+
:param 'GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleActionArgs' action: Block defining the action to take when conditions match. Detailed below.
|
|
1248
|
+
:param Sequence['GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleConditionArgs'] conditions: A block argument. Detailed below.
|
|
1249
|
+
: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.
|
|
1250
|
+
:param _builtins.str description: A user-defined description that further helps identify the rule.
|
|
1251
|
+
:param Sequence[_builtins.str] edge_locations: A set of AWS Region codes where this rule applies.
|
|
1252
|
+
"""
|
|
1253
|
+
pulumi.set(__self__, "action", action)
|
|
1254
|
+
pulumi.set(__self__, "conditions", conditions)
|
|
1255
|
+
pulumi.set(__self__, "rule_number", rule_number)
|
|
1256
|
+
if description is not None:
|
|
1257
|
+
pulumi.set(__self__, "description", description)
|
|
1258
|
+
if edge_locations is not None:
|
|
1259
|
+
pulumi.set(__self__, "edge_locations", edge_locations)
|
|
1260
|
+
|
|
1261
|
+
@_builtins.property
|
|
1262
|
+
@pulumi.getter
|
|
1263
|
+
def action(self) -> 'GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleActionArgs':
|
|
1264
|
+
"""
|
|
1265
|
+
Block defining the action to take when conditions match. Detailed below.
|
|
1266
|
+
"""
|
|
1267
|
+
return pulumi.get(self, "action")
|
|
1268
|
+
|
|
1269
|
+
@action.setter
|
|
1270
|
+
def action(self, value: 'GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleActionArgs'):
|
|
1271
|
+
pulumi.set(self, "action", value)
|
|
1272
|
+
|
|
1273
|
+
@_builtins.property
|
|
1274
|
+
@pulumi.getter
|
|
1275
|
+
def conditions(self) -> Sequence['GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleConditionArgs']:
|
|
1276
|
+
"""
|
|
1277
|
+
A block argument. Detailed below.
|
|
1278
|
+
"""
|
|
1279
|
+
return pulumi.get(self, "conditions")
|
|
1280
|
+
|
|
1281
|
+
@conditions.setter
|
|
1282
|
+
def conditions(self, value: Sequence['GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleConditionArgs']):
|
|
1283
|
+
pulumi.set(self, "conditions", value)
|
|
1284
|
+
|
|
1285
|
+
@_builtins.property
|
|
1286
|
+
@pulumi.getter(name="ruleNumber")
|
|
1287
|
+
def rule_number(self) -> _builtins.int:
|
|
1288
|
+
"""
|
|
1289
|
+
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.
|
|
1290
|
+
"""
|
|
1291
|
+
return pulumi.get(self, "rule_number")
|
|
1292
|
+
|
|
1293
|
+
@rule_number.setter
|
|
1294
|
+
def rule_number(self, value: _builtins.int):
|
|
1295
|
+
pulumi.set(self, "rule_number", value)
|
|
1296
|
+
|
|
1297
|
+
@_builtins.property
|
|
1298
|
+
@pulumi.getter
|
|
1299
|
+
def description(self) -> Optional[_builtins.str]:
|
|
1300
|
+
"""
|
|
1301
|
+
A user-defined description that further helps identify the rule.
|
|
1302
|
+
"""
|
|
1303
|
+
return pulumi.get(self, "description")
|
|
1304
|
+
|
|
1305
|
+
@description.setter
|
|
1306
|
+
def description(self, value: Optional[_builtins.str]):
|
|
1307
|
+
pulumi.set(self, "description", value)
|
|
1308
|
+
|
|
1309
|
+
@_builtins.property
|
|
1310
|
+
@pulumi.getter(name="edgeLocations")
|
|
1311
|
+
def edge_locations(self) -> Optional[Sequence[_builtins.str]]:
|
|
1312
|
+
"""
|
|
1313
|
+
A set of AWS Region codes where this rule applies.
|
|
1314
|
+
"""
|
|
1315
|
+
return pulumi.get(self, "edge_locations")
|
|
1316
|
+
|
|
1317
|
+
@edge_locations.setter
|
|
1318
|
+
def edge_locations(self, value: Optional[Sequence[_builtins.str]]):
|
|
1319
|
+
pulumi.set(self, "edge_locations", value)
|
|
1320
|
+
|
|
1321
|
+
|
|
1322
|
+
if not MYPY:
|
|
1323
|
+
class GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleActionArgsDict(TypedDict):
|
|
1324
|
+
associate_routing_policies: Sequence[_builtins.str]
|
|
1325
|
+
"""
|
|
1326
|
+
Set of routing policy names to associate when the conditions match.
|
|
1327
|
+
"""
|
|
1328
|
+
elif False:
|
|
1329
|
+
GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleActionArgsDict: TypeAlias = Mapping[str, Any]
|
|
1330
|
+
|
|
1331
|
+
@pulumi.input_type
|
|
1332
|
+
class GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleActionArgs:
|
|
1333
|
+
def __init__(__self__, *,
|
|
1334
|
+
associate_routing_policies: Sequence[_builtins.str]):
|
|
1335
|
+
"""
|
|
1336
|
+
:param Sequence[_builtins.str] associate_routing_policies: Set of routing policy names to associate when the conditions match.
|
|
1337
|
+
"""
|
|
1338
|
+
pulumi.set(__self__, "associate_routing_policies", associate_routing_policies)
|
|
1339
|
+
|
|
1340
|
+
@_builtins.property
|
|
1341
|
+
@pulumi.getter(name="associateRoutingPolicies")
|
|
1342
|
+
def associate_routing_policies(self) -> Sequence[_builtins.str]:
|
|
1343
|
+
"""
|
|
1344
|
+
Set of routing policy names to associate when the conditions match.
|
|
1345
|
+
"""
|
|
1346
|
+
return pulumi.get(self, "associate_routing_policies")
|
|
1347
|
+
|
|
1348
|
+
@associate_routing_policies.setter
|
|
1349
|
+
def associate_routing_policies(self, value: Sequence[_builtins.str]):
|
|
1350
|
+
pulumi.set(self, "associate_routing_policies", value)
|
|
1351
|
+
|
|
1352
|
+
|
|
1353
|
+
if not MYPY:
|
|
1354
|
+
class GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleConditionArgsDict(TypedDict):
|
|
1355
|
+
type: _builtins.str
|
|
1356
|
+
"""
|
|
1357
|
+
Must be `routing-policy-label`.
|
|
1358
|
+
"""
|
|
1359
|
+
value: _builtins.str
|
|
1360
|
+
"""
|
|
1361
|
+
Routing policy label to match.
|
|
1362
|
+
"""
|
|
1363
|
+
elif False:
|
|
1364
|
+
GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleConditionArgsDict: TypeAlias = Mapping[str, Any]
|
|
1365
|
+
|
|
1366
|
+
@pulumi.input_type
|
|
1367
|
+
class GetCoreNetworkPolicyDocumentAttachmentRoutingPolicyRuleConditionArgs:
|
|
1368
|
+
def __init__(__self__, *,
|
|
1369
|
+
type: _builtins.str,
|
|
1370
|
+
value: _builtins.str):
|
|
1371
|
+
"""
|
|
1372
|
+
:param _builtins.str type: Must be `routing-policy-label`.
|
|
1373
|
+
:param _builtins.str value: Routing policy label to match.
|
|
1374
|
+
"""
|
|
1375
|
+
pulumi.set(__self__, "type", type)
|
|
1376
|
+
pulumi.set(__self__, "value", value)
|
|
1377
|
+
|
|
1378
|
+
@_builtins.property
|
|
1379
|
+
@pulumi.getter
|
|
1380
|
+
def type(self) -> _builtins.str:
|
|
1381
|
+
"""
|
|
1382
|
+
Must be `routing-policy-label`.
|
|
1383
|
+
"""
|
|
1384
|
+
return pulumi.get(self, "type")
|
|
1385
|
+
|
|
1386
|
+
@type.setter
|
|
1387
|
+
def type(self, value: _builtins.str):
|
|
1388
|
+
pulumi.set(self, "type", value)
|
|
1389
|
+
|
|
1390
|
+
@_builtins.property
|
|
1391
|
+
@pulumi.getter
|
|
1392
|
+
def value(self) -> _builtins.str:
|
|
1393
|
+
"""
|
|
1394
|
+
Routing policy label to match.
|
|
1395
|
+
"""
|
|
1396
|
+
return pulumi.get(self, "value")
|
|
1397
|
+
|
|
1398
|
+
@value.setter
|
|
1399
|
+
def value(self, value: _builtins.str):
|
|
1400
|
+
pulumi.set(self, "value", value)
|
|
1401
|
+
|
|
1402
|
+
|
|
1195
1403
|
if not MYPY:
|
|
1196
1404
|
class GetCoreNetworkPolicyDocumentCoreNetworkConfigurationArgsDict(TypedDict):
|
|
1197
1405
|
asn_ranges: Sequence[_builtins.str]
|
|
@@ -1456,6 +1664,336 @@ class GetCoreNetworkPolicyDocumentNetworkFunctionGroupArgs:
|
|
|
1456
1664
|
pulumi.set(self, "description", value)
|
|
1457
1665
|
|
|
1458
1666
|
|
|
1667
|
+
if not MYPY:
|
|
1668
|
+
class GetCoreNetworkPolicyDocumentRoutingPolicyArgsDict(TypedDict):
|
|
1669
|
+
routing_policy_direction: _builtins.str
|
|
1670
|
+
"""
|
|
1671
|
+
Direction of the routing policy. Valid values: `inbound`, `outbound`.
|
|
1672
|
+
"""
|
|
1673
|
+
routing_policy_name: _builtins.str
|
|
1674
|
+
"""
|
|
1675
|
+
Name of the routing policy. Must be 1-100 alphanumeric characters.
|
|
1676
|
+
"""
|
|
1677
|
+
routing_policy_number: _builtins.int
|
|
1678
|
+
"""
|
|
1679
|
+
Priority number for the routing policy. Must be between 1 and 9999. Lower numbers are evaluated first.
|
|
1680
|
+
"""
|
|
1681
|
+
routing_policy_rules: Sequence['GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleArgsDict']
|
|
1682
|
+
"""
|
|
1683
|
+
List of routing policy rules. Each rule defines match conditions and actions. Detailed below.
|
|
1684
|
+
"""
|
|
1685
|
+
routing_policy_description: NotRequired[_builtins.str]
|
|
1686
|
+
"""
|
|
1687
|
+
Description of the routing policy.
|
|
1688
|
+
"""
|
|
1689
|
+
elif False:
|
|
1690
|
+
GetCoreNetworkPolicyDocumentRoutingPolicyArgsDict: TypeAlias = Mapping[str, Any]
|
|
1691
|
+
|
|
1692
|
+
@pulumi.input_type
|
|
1693
|
+
class GetCoreNetworkPolicyDocumentRoutingPolicyArgs:
|
|
1694
|
+
def __init__(__self__, *,
|
|
1695
|
+
routing_policy_direction: _builtins.str,
|
|
1696
|
+
routing_policy_name: _builtins.str,
|
|
1697
|
+
routing_policy_number: _builtins.int,
|
|
1698
|
+
routing_policy_rules: Sequence['GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleArgs'],
|
|
1699
|
+
routing_policy_description: Optional[_builtins.str] = None):
|
|
1700
|
+
"""
|
|
1701
|
+
:param _builtins.str routing_policy_direction: Direction of the routing policy. Valid values: `inbound`, `outbound`.
|
|
1702
|
+
:param _builtins.str routing_policy_name: Name of the routing policy. Must be 1-100 alphanumeric characters.
|
|
1703
|
+
:param _builtins.int routing_policy_number: Priority number for the routing policy. Must be between 1 and 9999. Lower numbers are evaluated first.
|
|
1704
|
+
:param Sequence['GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleArgs'] routing_policy_rules: List of routing policy rules. Each rule defines match conditions and actions. Detailed below.
|
|
1705
|
+
:param _builtins.str routing_policy_description: Description of the routing policy.
|
|
1706
|
+
"""
|
|
1707
|
+
pulumi.set(__self__, "routing_policy_direction", routing_policy_direction)
|
|
1708
|
+
pulumi.set(__self__, "routing_policy_name", routing_policy_name)
|
|
1709
|
+
pulumi.set(__self__, "routing_policy_number", routing_policy_number)
|
|
1710
|
+
pulumi.set(__self__, "routing_policy_rules", routing_policy_rules)
|
|
1711
|
+
if routing_policy_description is not None:
|
|
1712
|
+
pulumi.set(__self__, "routing_policy_description", routing_policy_description)
|
|
1713
|
+
|
|
1714
|
+
@_builtins.property
|
|
1715
|
+
@pulumi.getter(name="routingPolicyDirection")
|
|
1716
|
+
def routing_policy_direction(self) -> _builtins.str:
|
|
1717
|
+
"""
|
|
1718
|
+
Direction of the routing policy. Valid values: `inbound`, `outbound`.
|
|
1719
|
+
"""
|
|
1720
|
+
return pulumi.get(self, "routing_policy_direction")
|
|
1721
|
+
|
|
1722
|
+
@routing_policy_direction.setter
|
|
1723
|
+
def routing_policy_direction(self, value: _builtins.str):
|
|
1724
|
+
pulumi.set(self, "routing_policy_direction", value)
|
|
1725
|
+
|
|
1726
|
+
@_builtins.property
|
|
1727
|
+
@pulumi.getter(name="routingPolicyName")
|
|
1728
|
+
def routing_policy_name(self) -> _builtins.str:
|
|
1729
|
+
"""
|
|
1730
|
+
Name of the routing policy. Must be 1-100 alphanumeric characters.
|
|
1731
|
+
"""
|
|
1732
|
+
return pulumi.get(self, "routing_policy_name")
|
|
1733
|
+
|
|
1734
|
+
@routing_policy_name.setter
|
|
1735
|
+
def routing_policy_name(self, value: _builtins.str):
|
|
1736
|
+
pulumi.set(self, "routing_policy_name", value)
|
|
1737
|
+
|
|
1738
|
+
@_builtins.property
|
|
1739
|
+
@pulumi.getter(name="routingPolicyNumber")
|
|
1740
|
+
def routing_policy_number(self) -> _builtins.int:
|
|
1741
|
+
"""
|
|
1742
|
+
Priority number for the routing policy. Must be between 1 and 9999. Lower numbers are evaluated first.
|
|
1743
|
+
"""
|
|
1744
|
+
return pulumi.get(self, "routing_policy_number")
|
|
1745
|
+
|
|
1746
|
+
@routing_policy_number.setter
|
|
1747
|
+
def routing_policy_number(self, value: _builtins.int):
|
|
1748
|
+
pulumi.set(self, "routing_policy_number", value)
|
|
1749
|
+
|
|
1750
|
+
@_builtins.property
|
|
1751
|
+
@pulumi.getter(name="routingPolicyRules")
|
|
1752
|
+
def routing_policy_rules(self) -> Sequence['GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleArgs']:
|
|
1753
|
+
"""
|
|
1754
|
+
List of routing policy rules. Each rule defines match conditions and actions. Detailed below.
|
|
1755
|
+
"""
|
|
1756
|
+
return pulumi.get(self, "routing_policy_rules")
|
|
1757
|
+
|
|
1758
|
+
@routing_policy_rules.setter
|
|
1759
|
+
def routing_policy_rules(self, value: Sequence['GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleArgs']):
|
|
1760
|
+
pulumi.set(self, "routing_policy_rules", value)
|
|
1761
|
+
|
|
1762
|
+
@_builtins.property
|
|
1763
|
+
@pulumi.getter(name="routingPolicyDescription")
|
|
1764
|
+
def routing_policy_description(self) -> Optional[_builtins.str]:
|
|
1765
|
+
"""
|
|
1766
|
+
Description of the routing policy.
|
|
1767
|
+
"""
|
|
1768
|
+
return pulumi.get(self, "routing_policy_description")
|
|
1769
|
+
|
|
1770
|
+
@routing_policy_description.setter
|
|
1771
|
+
def routing_policy_description(self, value: Optional[_builtins.str]):
|
|
1772
|
+
pulumi.set(self, "routing_policy_description", value)
|
|
1773
|
+
|
|
1774
|
+
|
|
1775
|
+
if not MYPY:
|
|
1776
|
+
class GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleArgsDict(TypedDict):
|
|
1777
|
+
rule_definition: 'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionArgsDict'
|
|
1778
|
+
"""
|
|
1779
|
+
Defines the match conditions and actions for the rule. Detailed below.
|
|
1780
|
+
"""
|
|
1781
|
+
rule_number: _builtins.int
|
|
1782
|
+
"""
|
|
1783
|
+
Priority number for the rule within the routing policy. Must be between 1 and 9999. Lower numbers are evaluated first.
|
|
1784
|
+
"""
|
|
1785
|
+
elif False:
|
|
1786
|
+
GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleArgsDict: TypeAlias = Mapping[str, Any]
|
|
1787
|
+
|
|
1788
|
+
@pulumi.input_type
|
|
1789
|
+
class GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleArgs:
|
|
1790
|
+
def __init__(__self__, *,
|
|
1791
|
+
rule_definition: 'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionArgs',
|
|
1792
|
+
rule_number: _builtins.int):
|
|
1793
|
+
"""
|
|
1794
|
+
:param 'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionArgs' rule_definition: Defines the match conditions and actions for the rule. Detailed below.
|
|
1795
|
+
: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.
|
|
1796
|
+
"""
|
|
1797
|
+
pulumi.set(__self__, "rule_definition", rule_definition)
|
|
1798
|
+
pulumi.set(__self__, "rule_number", rule_number)
|
|
1799
|
+
|
|
1800
|
+
@_builtins.property
|
|
1801
|
+
@pulumi.getter(name="ruleDefinition")
|
|
1802
|
+
def rule_definition(self) -> 'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionArgs':
|
|
1803
|
+
"""
|
|
1804
|
+
Defines the match conditions and actions for the rule. Detailed below.
|
|
1805
|
+
"""
|
|
1806
|
+
return pulumi.get(self, "rule_definition")
|
|
1807
|
+
|
|
1808
|
+
@rule_definition.setter
|
|
1809
|
+
def rule_definition(self, value: 'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionArgs'):
|
|
1810
|
+
pulumi.set(self, "rule_definition", value)
|
|
1811
|
+
|
|
1812
|
+
@_builtins.property
|
|
1813
|
+
@pulumi.getter(name="ruleNumber")
|
|
1814
|
+
def rule_number(self) -> _builtins.int:
|
|
1815
|
+
"""
|
|
1816
|
+
Priority number for the rule within the routing policy. Must be between 1 and 9999. Lower numbers are evaluated first.
|
|
1817
|
+
"""
|
|
1818
|
+
return pulumi.get(self, "rule_number")
|
|
1819
|
+
|
|
1820
|
+
@rule_number.setter
|
|
1821
|
+
def rule_number(self, value: _builtins.int):
|
|
1822
|
+
pulumi.set(self, "rule_number", value)
|
|
1823
|
+
|
|
1824
|
+
|
|
1825
|
+
if not MYPY:
|
|
1826
|
+
class GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionArgsDict(TypedDict):
|
|
1827
|
+
action: 'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionActionArgsDict'
|
|
1828
|
+
"""
|
|
1829
|
+
Block defining the action to take when conditions match. Detailed below.
|
|
1830
|
+
"""
|
|
1831
|
+
condition_logic: NotRequired[_builtins.str]
|
|
1832
|
+
"""
|
|
1833
|
+
Logic to apply when multiple match conditions are present. Valid values: `and`, `or`.
|
|
1834
|
+
"""
|
|
1835
|
+
match_conditions: NotRequired[Sequence['GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionMatchConditionArgsDict']]
|
|
1836
|
+
"""
|
|
1837
|
+
List of conditions to match against routes. Detailed below.
|
|
1838
|
+
"""
|
|
1839
|
+
elif False:
|
|
1840
|
+
GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionArgsDict: TypeAlias = Mapping[str, Any]
|
|
1841
|
+
|
|
1842
|
+
@pulumi.input_type
|
|
1843
|
+
class GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionArgs:
|
|
1844
|
+
def __init__(__self__, *,
|
|
1845
|
+
action: 'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionActionArgs',
|
|
1846
|
+
condition_logic: Optional[_builtins.str] = None,
|
|
1847
|
+
match_conditions: Optional[Sequence['GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionMatchConditionArgs']] = None):
|
|
1848
|
+
"""
|
|
1849
|
+
:param 'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionActionArgs' action: Block defining the action to take when conditions match. Detailed below.
|
|
1850
|
+
:param _builtins.str condition_logic: Logic to apply when multiple match conditions are present. Valid values: `and`, `or`.
|
|
1851
|
+
:param Sequence['GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionMatchConditionArgs'] match_conditions: List of conditions to match against routes. Detailed below.
|
|
1852
|
+
"""
|
|
1853
|
+
pulumi.set(__self__, "action", action)
|
|
1854
|
+
if condition_logic is not None:
|
|
1855
|
+
pulumi.set(__self__, "condition_logic", condition_logic)
|
|
1856
|
+
if match_conditions is not None:
|
|
1857
|
+
pulumi.set(__self__, "match_conditions", match_conditions)
|
|
1858
|
+
|
|
1859
|
+
@_builtins.property
|
|
1860
|
+
@pulumi.getter
|
|
1861
|
+
def action(self) -> 'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionActionArgs':
|
|
1862
|
+
"""
|
|
1863
|
+
Block defining the action to take when conditions match. Detailed below.
|
|
1864
|
+
"""
|
|
1865
|
+
return pulumi.get(self, "action")
|
|
1866
|
+
|
|
1867
|
+
@action.setter
|
|
1868
|
+
def action(self, value: 'GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionActionArgs'):
|
|
1869
|
+
pulumi.set(self, "action", value)
|
|
1870
|
+
|
|
1871
|
+
@_builtins.property
|
|
1872
|
+
@pulumi.getter(name="conditionLogic")
|
|
1873
|
+
def condition_logic(self) -> Optional[_builtins.str]:
|
|
1874
|
+
"""
|
|
1875
|
+
Logic to apply when multiple match conditions are present. Valid values: `and`, `or`.
|
|
1876
|
+
"""
|
|
1877
|
+
return pulumi.get(self, "condition_logic")
|
|
1878
|
+
|
|
1879
|
+
@condition_logic.setter
|
|
1880
|
+
def condition_logic(self, value: Optional[_builtins.str]):
|
|
1881
|
+
pulumi.set(self, "condition_logic", value)
|
|
1882
|
+
|
|
1883
|
+
@_builtins.property
|
|
1884
|
+
@pulumi.getter(name="matchConditions")
|
|
1885
|
+
def match_conditions(self) -> Optional[Sequence['GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionMatchConditionArgs']]:
|
|
1886
|
+
"""
|
|
1887
|
+
List of conditions to match against routes. Detailed below.
|
|
1888
|
+
"""
|
|
1889
|
+
return pulumi.get(self, "match_conditions")
|
|
1890
|
+
|
|
1891
|
+
@match_conditions.setter
|
|
1892
|
+
def match_conditions(self, value: Optional[Sequence['GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionMatchConditionArgs']]):
|
|
1893
|
+
pulumi.set(self, "match_conditions", value)
|
|
1894
|
+
|
|
1895
|
+
|
|
1896
|
+
if not MYPY:
|
|
1897
|
+
class GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionActionArgsDict(TypedDict):
|
|
1898
|
+
type: _builtins.str
|
|
1899
|
+
"""
|
|
1900
|
+
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`.
|
|
1901
|
+
"""
|
|
1902
|
+
value: NotRequired[_builtins.str]
|
|
1903
|
+
"""
|
|
1904
|
+
Value for the action, required for certain action types.
|
|
1905
|
+
"""
|
|
1906
|
+
elif False:
|
|
1907
|
+
GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionActionArgsDict: TypeAlias = Mapping[str, Any]
|
|
1908
|
+
|
|
1909
|
+
@pulumi.input_type
|
|
1910
|
+
class GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionActionArgs:
|
|
1911
|
+
def __init__(__self__, *,
|
|
1912
|
+
type: _builtins.str,
|
|
1913
|
+
value: Optional[_builtins.str] = None):
|
|
1914
|
+
"""
|
|
1915
|
+
: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`.
|
|
1916
|
+
:param _builtins.str value: Value for the action, required for certain action types.
|
|
1917
|
+
"""
|
|
1918
|
+
pulumi.set(__self__, "type", type)
|
|
1919
|
+
if value is not None:
|
|
1920
|
+
pulumi.set(__self__, "value", value)
|
|
1921
|
+
|
|
1922
|
+
@_builtins.property
|
|
1923
|
+
@pulumi.getter
|
|
1924
|
+
def type(self) -> _builtins.str:
|
|
1925
|
+
"""
|
|
1926
|
+
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`.
|
|
1927
|
+
"""
|
|
1928
|
+
return pulumi.get(self, "type")
|
|
1929
|
+
|
|
1930
|
+
@type.setter
|
|
1931
|
+
def type(self, value: _builtins.str):
|
|
1932
|
+
pulumi.set(self, "type", value)
|
|
1933
|
+
|
|
1934
|
+
@_builtins.property
|
|
1935
|
+
@pulumi.getter
|
|
1936
|
+
def value(self) -> Optional[_builtins.str]:
|
|
1937
|
+
"""
|
|
1938
|
+
Value for the action, required for certain action types.
|
|
1939
|
+
"""
|
|
1940
|
+
return pulumi.get(self, "value")
|
|
1941
|
+
|
|
1942
|
+
@value.setter
|
|
1943
|
+
def value(self, value: Optional[_builtins.str]):
|
|
1944
|
+
pulumi.set(self, "value", value)
|
|
1945
|
+
|
|
1946
|
+
|
|
1947
|
+
if not MYPY:
|
|
1948
|
+
class GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionMatchConditionArgsDict(TypedDict):
|
|
1949
|
+
type: _builtins.str
|
|
1950
|
+
"""
|
|
1951
|
+
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`.
|
|
1952
|
+
"""
|
|
1953
|
+
value: _builtins.str
|
|
1954
|
+
"""
|
|
1955
|
+
Value to match against, depending on the condition type.
|
|
1956
|
+
"""
|
|
1957
|
+
elif False:
|
|
1958
|
+
GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionMatchConditionArgsDict: TypeAlias = Mapping[str, Any]
|
|
1959
|
+
|
|
1960
|
+
@pulumi.input_type
|
|
1961
|
+
class GetCoreNetworkPolicyDocumentRoutingPolicyRoutingPolicyRuleRuleDefinitionMatchConditionArgs:
|
|
1962
|
+
def __init__(__self__, *,
|
|
1963
|
+
type: _builtins.str,
|
|
1964
|
+
value: _builtins.str):
|
|
1965
|
+
"""
|
|
1966
|
+
: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`.
|
|
1967
|
+
:param _builtins.str value: Value to match against, depending on the condition type.
|
|
1968
|
+
"""
|
|
1969
|
+
pulumi.set(__self__, "type", type)
|
|
1970
|
+
pulumi.set(__self__, "value", value)
|
|
1971
|
+
|
|
1972
|
+
@_builtins.property
|
|
1973
|
+
@pulumi.getter
|
|
1974
|
+
def type(self) -> _builtins.str:
|
|
1975
|
+
"""
|
|
1976
|
+
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`.
|
|
1977
|
+
"""
|
|
1978
|
+
return pulumi.get(self, "type")
|
|
1979
|
+
|
|
1980
|
+
@type.setter
|
|
1981
|
+
def type(self, value: _builtins.str):
|
|
1982
|
+
pulumi.set(self, "type", value)
|
|
1983
|
+
|
|
1984
|
+
@_builtins.property
|
|
1985
|
+
@pulumi.getter
|
|
1986
|
+
def value(self) -> _builtins.str:
|
|
1987
|
+
"""
|
|
1988
|
+
Value to match against, depending on the condition type.
|
|
1989
|
+
"""
|
|
1990
|
+
return pulumi.get(self, "value")
|
|
1991
|
+
|
|
1992
|
+
@value.setter
|
|
1993
|
+
def value(self, value: _builtins.str):
|
|
1994
|
+
pulumi.set(self, "value", value)
|
|
1995
|
+
|
|
1996
|
+
|
|
1459
1997
|
if not MYPY:
|
|
1460
1998
|
class GetCoreNetworkPolicyDocumentSegmentArgsDict(TypedDict):
|
|
1461
1999
|
name: _builtins.str
|
|
@@ -1611,7 +2149,7 @@ if not MYPY:
|
|
|
1611
2149
|
class GetCoreNetworkPolicyDocumentSegmentActionArgsDict(TypedDict):
|
|
1612
2150
|
action: _builtins.str
|
|
1613
2151
|
"""
|
|
1614
|
-
Action to take for the chosen segment. Valid values: `create-route`, `share`, `send-via` and `
|
|
2152
|
+
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).
|
|
1615
2153
|
"""
|
|
1616
2154
|
segment: _builtins.str
|
|
1617
2155
|
"""
|
|
@@ -1629,6 +2167,10 @@ if not MYPY:
|
|
|
1629
2167
|
"""
|
|
1630
2168
|
A list of strings. Valid values include `["blackhole"]` or a list of attachment ids.
|
|
1631
2169
|
"""
|
|
2170
|
+
edge_location_association: NotRequired['GetCoreNetworkPolicyDocumentSegmentActionEdgeLocationAssociationArgsDict']
|
|
2171
|
+
"""
|
|
2172
|
+
Associates routing policies with specific edge location pairs. Available in policy version `2025.11` and later. Detailed below.
|
|
2173
|
+
"""
|
|
1632
2174
|
mode: NotRequired[_builtins.str]
|
|
1633
2175
|
"""
|
|
1634
2176
|
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`.
|
|
@@ -1660,17 +2202,19 @@ class GetCoreNetworkPolicyDocumentSegmentActionArgs:
|
|
|
1660
2202
|
description: Optional[_builtins.str] = None,
|
|
1661
2203
|
destination_cidr_blocks: Optional[Sequence[_builtins.str]] = None,
|
|
1662
2204
|
destinations: Optional[Sequence[_builtins.str]] = None,
|
|
2205
|
+
edge_location_association: Optional['GetCoreNetworkPolicyDocumentSegmentActionEdgeLocationAssociationArgs'] = None,
|
|
1663
2206
|
mode: Optional[_builtins.str] = None,
|
|
1664
2207
|
share_with_excepts: Optional[Sequence[_builtins.str]] = None,
|
|
1665
2208
|
share_withs: Optional[Sequence[_builtins.str]] = None,
|
|
1666
2209
|
via: Optional['GetCoreNetworkPolicyDocumentSegmentActionViaArgs'] = None,
|
|
1667
2210
|
when_sent_to: Optional['GetCoreNetworkPolicyDocumentSegmentActionWhenSentToArgs'] = None):
|
|
1668
2211
|
"""
|
|
1669
|
-
:param _builtins.str action: Action to take for the chosen segment. Valid values: `create-route`, `share`, `send-via` and `
|
|
2212
|
+
: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).
|
|
1670
2213
|
:param _builtins.str segment: Name of the segment.
|
|
1671
2214
|
:param _builtins.str description: A user-defined string describing the segment action.
|
|
1672
2215
|
: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.
|
|
1673
2216
|
:param Sequence[_builtins.str] destinations: A list of strings. Valid values include `["blackhole"]` or a list of attachment ids.
|
|
2217
|
+
:param 'GetCoreNetworkPolicyDocumentSegmentActionEdgeLocationAssociationArgs' edge_location_association: Associates routing policies with specific edge location pairs. Available in policy version `2025.11` and later. Detailed below.
|
|
1674
2218
|
: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`.
|
|
1675
2219
|
:param Sequence[_builtins.str] share_with_excepts: A set subtraction of segments to not share with.
|
|
1676
2220
|
: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>"]`.
|
|
@@ -1685,6 +2229,8 @@ class GetCoreNetworkPolicyDocumentSegmentActionArgs:
|
|
|
1685
2229
|
pulumi.set(__self__, "destination_cidr_blocks", destination_cidr_blocks)
|
|
1686
2230
|
if destinations is not None:
|
|
1687
2231
|
pulumi.set(__self__, "destinations", destinations)
|
|
2232
|
+
if edge_location_association is not None:
|
|
2233
|
+
pulumi.set(__self__, "edge_location_association", edge_location_association)
|
|
1688
2234
|
if mode is not None:
|
|
1689
2235
|
pulumi.set(__self__, "mode", mode)
|
|
1690
2236
|
if share_with_excepts is not None:
|
|
@@ -1700,7 +2246,7 @@ class GetCoreNetworkPolicyDocumentSegmentActionArgs:
|
|
|
1700
2246
|
@pulumi.getter
|
|
1701
2247
|
def action(self) -> _builtins.str:
|
|
1702
2248
|
"""
|
|
1703
|
-
Action to take for the chosen segment. Valid values: `create-route`, `share`, `send-via` and `
|
|
2249
|
+
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).
|
|
1704
2250
|
"""
|
|
1705
2251
|
return pulumi.get(self, "action")
|
|
1706
2252
|
|
|
@@ -1756,6 +2302,18 @@ class GetCoreNetworkPolicyDocumentSegmentActionArgs:
|
|
|
1756
2302
|
def destinations(self, value: Optional[Sequence[_builtins.str]]):
|
|
1757
2303
|
pulumi.set(self, "destinations", value)
|
|
1758
2304
|
|
|
2305
|
+
@_builtins.property
|
|
2306
|
+
@pulumi.getter(name="edgeLocationAssociation")
|
|
2307
|
+
def edge_location_association(self) -> Optional['GetCoreNetworkPolicyDocumentSegmentActionEdgeLocationAssociationArgs']:
|
|
2308
|
+
"""
|
|
2309
|
+
Associates routing policies with specific edge location pairs. Available in policy version `2025.11` and later. Detailed below.
|
|
2310
|
+
"""
|
|
2311
|
+
return pulumi.get(self, "edge_location_association")
|
|
2312
|
+
|
|
2313
|
+
@edge_location_association.setter
|
|
2314
|
+
def edge_location_association(self, value: Optional['GetCoreNetworkPolicyDocumentSegmentActionEdgeLocationAssociationArgs']):
|
|
2315
|
+
pulumi.set(self, "edge_location_association", value)
|
|
2316
|
+
|
|
1759
2317
|
@_builtins.property
|
|
1760
2318
|
@pulumi.getter
|
|
1761
2319
|
def mode(self) -> Optional[_builtins.str]:
|
|
@@ -1817,6 +2375,75 @@ class GetCoreNetworkPolicyDocumentSegmentActionArgs:
|
|
|
1817
2375
|
pulumi.set(self, "when_sent_to", value)
|
|
1818
2376
|
|
|
1819
2377
|
|
|
2378
|
+
if not MYPY:
|
|
2379
|
+
class GetCoreNetworkPolicyDocumentSegmentActionEdgeLocationAssociationArgsDict(TypedDict):
|
|
2380
|
+
edge_location: _builtins.str
|
|
2381
|
+
"""
|
|
2382
|
+
The AWS Region code for the first edge location in the association (e.g., `us-east-1`).
|
|
2383
|
+
"""
|
|
2384
|
+
peer_edge_location: _builtins.str
|
|
2385
|
+
"""
|
|
2386
|
+
The AWS Region code for the second edge location in the association (e.g., `us-west-2`).
|
|
2387
|
+
"""
|
|
2388
|
+
routing_policy_names: Sequence[_builtins.str]
|
|
2389
|
+
"""
|
|
2390
|
+
A set of routing policy names to apply to this edge location pair.
|
|
2391
|
+
"""
|
|
2392
|
+
elif False:
|
|
2393
|
+
GetCoreNetworkPolicyDocumentSegmentActionEdgeLocationAssociationArgsDict: TypeAlias = Mapping[str, Any]
|
|
2394
|
+
|
|
2395
|
+
@pulumi.input_type
|
|
2396
|
+
class GetCoreNetworkPolicyDocumentSegmentActionEdgeLocationAssociationArgs:
|
|
2397
|
+
def __init__(__self__, *,
|
|
2398
|
+
edge_location: _builtins.str,
|
|
2399
|
+
peer_edge_location: _builtins.str,
|
|
2400
|
+
routing_policy_names: Sequence[_builtins.str]):
|
|
2401
|
+
"""
|
|
2402
|
+
:param _builtins.str edge_location: The AWS Region code for the first edge location in the association (e.g., `us-east-1`).
|
|
2403
|
+
:param _builtins.str peer_edge_location: The AWS Region code for the second edge location in the association (e.g., `us-west-2`).
|
|
2404
|
+
:param Sequence[_builtins.str] routing_policy_names: A set of routing policy names to apply to this edge location pair.
|
|
2405
|
+
"""
|
|
2406
|
+
pulumi.set(__self__, "edge_location", edge_location)
|
|
2407
|
+
pulumi.set(__self__, "peer_edge_location", peer_edge_location)
|
|
2408
|
+
pulumi.set(__self__, "routing_policy_names", routing_policy_names)
|
|
2409
|
+
|
|
2410
|
+
@_builtins.property
|
|
2411
|
+
@pulumi.getter(name="edgeLocation")
|
|
2412
|
+
def edge_location(self) -> _builtins.str:
|
|
2413
|
+
"""
|
|
2414
|
+
The AWS Region code for the first edge location in the association (e.g., `us-east-1`).
|
|
2415
|
+
"""
|
|
2416
|
+
return pulumi.get(self, "edge_location")
|
|
2417
|
+
|
|
2418
|
+
@edge_location.setter
|
|
2419
|
+
def edge_location(self, value: _builtins.str):
|
|
2420
|
+
pulumi.set(self, "edge_location", value)
|
|
2421
|
+
|
|
2422
|
+
@_builtins.property
|
|
2423
|
+
@pulumi.getter(name="peerEdgeLocation")
|
|
2424
|
+
def peer_edge_location(self) -> _builtins.str:
|
|
2425
|
+
"""
|
|
2426
|
+
The AWS Region code for the second edge location in the association (e.g., `us-west-2`).
|
|
2427
|
+
"""
|
|
2428
|
+
return pulumi.get(self, "peer_edge_location")
|
|
2429
|
+
|
|
2430
|
+
@peer_edge_location.setter
|
|
2431
|
+
def peer_edge_location(self, value: _builtins.str):
|
|
2432
|
+
pulumi.set(self, "peer_edge_location", value)
|
|
2433
|
+
|
|
2434
|
+
@_builtins.property
|
|
2435
|
+
@pulumi.getter(name="routingPolicyNames")
|
|
2436
|
+
def routing_policy_names(self) -> Sequence[_builtins.str]:
|
|
2437
|
+
"""
|
|
2438
|
+
A set of routing policy names to apply to this edge location pair.
|
|
2439
|
+
"""
|
|
2440
|
+
return pulumi.get(self, "routing_policy_names")
|
|
2441
|
+
|
|
2442
|
+
@routing_policy_names.setter
|
|
2443
|
+
def routing_policy_names(self, value: Sequence[_builtins.str]):
|
|
2444
|
+
pulumi.set(self, "routing_policy_names", value)
|
|
2445
|
+
|
|
2446
|
+
|
|
1820
2447
|
if not MYPY:
|
|
1821
2448
|
class GetCoreNetworkPolicyDocumentSegmentActionViaArgsDict(TypedDict):
|
|
1822
2449
|
network_function_groups: NotRequired[Sequence[_builtins.str]]
|