aws-cdk-lib 2.96.2__py3-none-any.whl → 2.97.1__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.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +246 -62
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.96.2.jsii.tgz → aws-cdk-lib@2.97.1.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2/__init__.py +1 -1
- aws_cdk/aws_appflow/__init__.py +205 -7
- aws_cdk/aws_appstream/__init__.py +33 -28
- aws_cdk/aws_appsync/__init__.py +555 -71
- aws_cdk/aws_autoscaling/__init__.py +5 -11
- aws_cdk/aws_billingconductor/__init__.py +145 -1
- aws_cdk/aws_cleanrooms/__init__.py +1198 -86
- aws_cdk/aws_cloudformation/__init__.py +221 -55
- aws_cdk/aws_cloudwatch/__init__.py +325 -2
- aws_cdk/aws_cognito/__init__.py +9 -13
- aws_cdk/aws_config/__init__.py +68 -73
- aws_cdk/aws_connect/__init__.py +909 -164
- aws_cdk/aws_customerprofiles/__init__.py +44 -0
- aws_cdk/aws_dms/__init__.py +198 -0
- aws_cdk/aws_ec2/__init__.py +593 -73
- aws_cdk/aws_ecr/__init__.py +7 -2
- aws_cdk/aws_ecs/__init__.py +2 -2
- aws_cdk/aws_efs/__init__.py +237 -0
- aws_cdk/aws_emr/__init__.py +232 -0
- aws_cdk/aws_entityresolution/__init__.py +1702 -0
- aws_cdk/aws_events/__init__.py +13 -18
- aws_cdk/aws_fms/__init__.py +3 -3
- aws_cdk/aws_gamelift/__init__.py +10 -15
- aws_cdk/aws_grafana/__init__.py +9 -5
- aws_cdk/aws_guardduty/__init__.py +272 -205
- aws_cdk/aws_iam/__init__.py +20 -18
- aws_cdk/aws_iotwireless/__init__.py +38 -54
- aws_cdk/aws_lakeformation/__init__.py +18 -6
- aws_cdk/aws_lambda/__init__.py +1 -1
- aws_cdk/aws_lightsail/__init__.py +225 -0
- aws_cdk/aws_lookoutequipment/__init__.py +4 -4
- aws_cdk/aws_macie/__init__.py +5 -3
- aws_cdk/aws_mediapackagev2/__init__.py +3227 -0
- aws_cdk/aws_pcaconnectorad/__init__.py +6785 -0
- aws_cdk/aws_quicksight/__init__.py +189 -116
- aws_cdk/aws_rds/__init__.py +316 -9
- aws_cdk/aws_resiliencehub/__init__.py +38 -21
- aws_cdk/aws_route53resolver/__init__.py +429 -0
- aws_cdk/aws_sagemaker/__init__.py +34 -34
- aws_cdk/aws_stepfunctions/__init__.py +111 -14
- aws_cdk/aws_transfer/__init__.py +2 -2
- aws_cdk/aws_vpclattice/__init__.py +128 -120
- aws_cdk/aws_workspacesweb/__init__.py +3790 -0
- aws_cdk/region_info/__init__.py +49 -0
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/RECORD +53 -49
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/top_level.txt +0 -0
|
@@ -139,8 +139,8 @@ class CfnApp(
|
|
|
139
139
|
:param resource_mappings: An array of ResourceMapping objects.
|
|
140
140
|
:param app_assessment_schedule: Assessment execution schedule with 'Daily' or 'Disabled' values.
|
|
141
141
|
:param description: Optional description for an application.
|
|
142
|
-
:param event_subscriptions:
|
|
143
|
-
:param permission_model:
|
|
142
|
+
:param event_subscriptions: The list of events you would like to subscribe and get notification for.
|
|
143
|
+
:param permission_model: Defines the roles and credentials that AWS Resilience Hub would use while creating the application, importing its resources, and running an assessment.
|
|
144
144
|
:param resiliency_policy_arn: The Amazon Resource Name (ARN) of the resiliency policy.
|
|
145
145
|
:param tags: Tags assigned to the resource. A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.
|
|
146
146
|
'''
|
|
@@ -204,7 +204,8 @@ class CfnApp(
|
|
|
204
204
|
@builtins.property
|
|
205
205
|
@jsii.member(jsii_name="attrDriftStatus")
|
|
206
206
|
def attr_drift_status(self) -> builtins.str:
|
|
207
|
-
'''
|
|
207
|
+
'''Indicates if compliance drifts (deviations) were detected while running an assessment for your application.
|
|
208
|
+
|
|
208
209
|
:cloudformationAttribute: DriftStatus
|
|
209
210
|
'''
|
|
210
211
|
return typing.cast(builtins.str, jsii.get(self, "attrDriftStatus"))
|
|
@@ -295,6 +296,7 @@ class CfnApp(
|
|
|
295
296
|
def event_subscriptions(
|
|
296
297
|
self,
|
|
297
298
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApp.EventSubscriptionProperty"]]]]:
|
|
299
|
+
'''The list of events you would like to subscribe and get notification for.'''
|
|
298
300
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApp.EventSubscriptionProperty"]]]], jsii.get(self, "eventSubscriptions"))
|
|
299
301
|
|
|
300
302
|
@event_subscriptions.setter
|
|
@@ -312,6 +314,7 @@ class CfnApp(
|
|
|
312
314
|
def permission_model(
|
|
313
315
|
self,
|
|
314
316
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApp.PermissionModelProperty"]]:
|
|
317
|
+
'''Defines the roles and credentials that AWS Resilience Hub would use while creating the application, importing its resources, and running an assessment.'''
|
|
315
318
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApp.PermissionModelProperty"]], jsii.get(self, "permissionModel"))
|
|
316
319
|
|
|
317
320
|
@permission_model.setter
|
|
@@ -370,10 +373,11 @@ class CfnApp(
|
|
|
370
373
|
name: builtins.str,
|
|
371
374
|
sns_topic_arn: typing.Optional[builtins.str] = None,
|
|
372
375
|
) -> None:
|
|
373
|
-
'''
|
|
374
|
-
|
|
375
|
-
:param
|
|
376
|
-
:param
|
|
376
|
+
'''Indicates an event you would like to subscribe and get notification for.
|
|
377
|
+
|
|
378
|
+
:param event_type: The type of event you would like to subscribe and get notification for.
|
|
379
|
+
:param name: Unique name to identify an event subscription.
|
|
380
|
+
:param sns_topic_arn: Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic.
|
|
377
381
|
|
|
378
382
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-eventsubscription.html
|
|
379
383
|
:exampleMetadata: fixture=_generated
|
|
@@ -406,7 +410,8 @@ class CfnApp(
|
|
|
406
410
|
|
|
407
411
|
@builtins.property
|
|
408
412
|
def event_type(self) -> builtins.str:
|
|
409
|
-
'''
|
|
413
|
+
'''The type of event you would like to subscribe and get notification for.
|
|
414
|
+
|
|
410
415
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-eventsubscription.html#cfn-resiliencehub-app-eventsubscription-eventtype
|
|
411
416
|
'''
|
|
412
417
|
result = self._values.get("event_type")
|
|
@@ -415,7 +420,8 @@ class CfnApp(
|
|
|
415
420
|
|
|
416
421
|
@builtins.property
|
|
417
422
|
def name(self) -> builtins.str:
|
|
418
|
-
'''
|
|
423
|
+
'''Unique name to identify an event subscription.
|
|
424
|
+
|
|
419
425
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-eventsubscription.html#cfn-resiliencehub-app-eventsubscription-name
|
|
420
426
|
'''
|
|
421
427
|
result = self._values.get("name")
|
|
@@ -424,7 +430,8 @@ class CfnApp(
|
|
|
424
430
|
|
|
425
431
|
@builtins.property
|
|
426
432
|
def sns_topic_arn(self) -> typing.Optional[builtins.str]:
|
|
427
|
-
'''
|
|
433
|
+
'''Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic.
|
|
434
|
+
|
|
428
435
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-eventsubscription.html#cfn-resiliencehub-app-eventsubscription-snstopicarn
|
|
429
436
|
'''
|
|
430
437
|
result = self._values.get("sns_topic_arn")
|
|
@@ -458,10 +465,11 @@ class CfnApp(
|
|
|
458
465
|
cross_account_role_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
459
466
|
invoker_role_name: typing.Optional[builtins.str] = None,
|
|
460
467
|
) -> None:
|
|
461
|
-
'''
|
|
462
|
-
|
|
463
|
-
:param
|
|
464
|
-
:param
|
|
468
|
+
'''Defines the roles and credentials that AWS Resilience Hub would use while creating the application, importing its resources, and running an assessment.
|
|
469
|
+
|
|
470
|
+
:param type: Defines how AWS Resilience Hub scans your resources. It can scan for the resources by using a pre-existing role in your AWS account, or by using the credentials of the current IAM user.
|
|
471
|
+
:param cross_account_role_arns: Defines a list of role Amazon Resource Names (ARNs) to be used in other accounts. These ARNs are used for querying purposes while importing resources and assessing your application.
|
|
472
|
+
:param invoker_role_name: Existing AWS IAM role name in the primary AWS account that will be assumed by AWS Resilience Hub Service Principle to obtain a read-only access to your application resources while running an assessment.
|
|
465
473
|
|
|
466
474
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-permissionmodel.html
|
|
467
475
|
:exampleMetadata: fixture=_generated
|
|
@@ -495,7 +503,10 @@ class CfnApp(
|
|
|
495
503
|
|
|
496
504
|
@builtins.property
|
|
497
505
|
def type(self) -> builtins.str:
|
|
498
|
-
'''
|
|
506
|
+
'''Defines how AWS Resilience Hub scans your resources.
|
|
507
|
+
|
|
508
|
+
It can scan for the resources by using a pre-existing role in your AWS account, or by using the credentials of the current IAM user.
|
|
509
|
+
|
|
499
510
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-permissionmodel.html#cfn-resiliencehub-app-permissionmodel-type
|
|
500
511
|
'''
|
|
501
512
|
result = self._values.get("type")
|
|
@@ -504,7 +515,10 @@ class CfnApp(
|
|
|
504
515
|
|
|
505
516
|
@builtins.property
|
|
506
517
|
def cross_account_role_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
507
|
-
'''
|
|
518
|
+
'''Defines a list of role Amazon Resource Names (ARNs) to be used in other accounts.
|
|
519
|
+
|
|
520
|
+
These ARNs are used for querying purposes while importing resources and assessing your application.
|
|
521
|
+
|
|
508
522
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-permissionmodel.html#cfn-resiliencehub-app-permissionmodel-crossaccountrolearns
|
|
509
523
|
'''
|
|
510
524
|
result = self._values.get("cross_account_role_arns")
|
|
@@ -512,7 +526,8 @@ class CfnApp(
|
|
|
512
526
|
|
|
513
527
|
@builtins.property
|
|
514
528
|
def invoker_role_name(self) -> typing.Optional[builtins.str]:
|
|
515
|
-
'''
|
|
529
|
+
'''Existing AWS IAM role name in the primary AWS account that will be assumed by AWS Resilience Hub Service Principle to obtain a read-only access to your application resources while running an assessment.
|
|
530
|
+
|
|
516
531
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-permissionmodel.html#cfn-resiliencehub-app-permissionmodel-invokerrolename
|
|
517
532
|
'''
|
|
518
533
|
result = self._values.get("invoker_role_name")
|
|
@@ -856,8 +871,8 @@ class CfnAppProps:
|
|
|
856
871
|
:param resource_mappings: An array of ResourceMapping objects.
|
|
857
872
|
:param app_assessment_schedule: Assessment execution schedule with 'Daily' or 'Disabled' values.
|
|
858
873
|
:param description: Optional description for an application.
|
|
859
|
-
:param event_subscriptions:
|
|
860
|
-
:param permission_model:
|
|
874
|
+
:param event_subscriptions: The list of events you would like to subscribe and get notification for.
|
|
875
|
+
:param permission_model: Defines the roles and credentials that AWS Resilience Hub would use while creating the application, importing its resources, and running an assessment.
|
|
861
876
|
:param resiliency_policy_arn: The Amazon Resource Name (ARN) of the resiliency policy.
|
|
862
877
|
:param tags: Tags assigned to the resource. A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.
|
|
863
878
|
|
|
@@ -1188,7 +1203,8 @@ class CfnAppProps:
|
|
|
1188
1203
|
def event_subscriptions(
|
|
1189
1204
|
self,
|
|
1190
1205
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnApp.EventSubscriptionProperty]]]]:
|
|
1191
|
-
'''
|
|
1206
|
+
'''The list of events you would like to subscribe and get notification for.
|
|
1207
|
+
|
|
1192
1208
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-app.html#cfn-resiliencehub-app-eventsubscriptions
|
|
1193
1209
|
'''
|
|
1194
1210
|
result = self._values.get("event_subscriptions")
|
|
@@ -1198,7 +1214,8 @@ class CfnAppProps:
|
|
|
1198
1214
|
def permission_model(
|
|
1199
1215
|
self,
|
|
1200
1216
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApp.PermissionModelProperty]]:
|
|
1201
|
-
'''
|
|
1217
|
+
'''Defines the roles and credentials that AWS Resilience Hub would use while creating the application, importing its resources, and running an assessment.
|
|
1218
|
+
|
|
1202
1219
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-app.html#cfn-resiliencehub-app-permissionmodel
|
|
1203
1220
|
'''
|
|
1204
1221
|
result = self._values.get("permission_model")
|
|
@@ -1344,6 +1344,367 @@ class CfnFirewallRuleGroupProps:
|
|
|
1344
1344
|
)
|
|
1345
1345
|
|
|
1346
1346
|
|
|
1347
|
+
@jsii.implements(_IInspectable_c2943556)
|
|
1348
|
+
class CfnOutpostResolver(
|
|
1349
|
+
_CfnResource_9df397a6,
|
|
1350
|
+
metaclass=jsii.JSIIMeta,
|
|
1351
|
+
jsii_type="aws-cdk-lib.aws_route53resolver.CfnOutpostResolver",
|
|
1352
|
+
):
|
|
1353
|
+
'''Creates a Amazon Route 53 Resolver on an Outpost.
|
|
1354
|
+
|
|
1355
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-outpostresolver.html
|
|
1356
|
+
:exampleMetadata: fixture=_generated
|
|
1357
|
+
|
|
1358
|
+
Example::
|
|
1359
|
+
|
|
1360
|
+
# The code below shows an example of how to instantiate this type.
|
|
1361
|
+
# The values are placeholders you should change.
|
|
1362
|
+
from aws_cdk import aws_route53resolver as route53resolver
|
|
1363
|
+
|
|
1364
|
+
cfn_outpost_resolver = route53resolver.CfnOutpostResolver(self, "MyCfnOutpostResolver",
|
|
1365
|
+
name="name",
|
|
1366
|
+
outpost_arn="outpostArn",
|
|
1367
|
+
preferred_instance_type="preferredInstanceType",
|
|
1368
|
+
|
|
1369
|
+
# the properties below are optional
|
|
1370
|
+
instance_count=123,
|
|
1371
|
+
tags=[CfnTag(
|
|
1372
|
+
key="key",
|
|
1373
|
+
value="value"
|
|
1374
|
+
)]
|
|
1375
|
+
)
|
|
1376
|
+
'''
|
|
1377
|
+
|
|
1378
|
+
def __init__(
|
|
1379
|
+
self,
|
|
1380
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1381
|
+
id: builtins.str,
|
|
1382
|
+
*,
|
|
1383
|
+
name: builtins.str,
|
|
1384
|
+
outpost_arn: builtins.str,
|
|
1385
|
+
preferred_instance_type: builtins.str,
|
|
1386
|
+
instance_count: typing.Optional[jsii.Number] = None,
|
|
1387
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1388
|
+
) -> None:
|
|
1389
|
+
'''
|
|
1390
|
+
:param scope: Scope in which this resource is defined.
|
|
1391
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
1392
|
+
:param name: Name of the Resolver.
|
|
1393
|
+
:param outpost_arn: The ARN (Amazon Resource Name) for the Outpost.
|
|
1394
|
+
:param preferred_instance_type: The Amazon EC2 instance type.
|
|
1395
|
+
:param instance_count: Amazon EC2 instance count for the Resolver on the Outpost.
|
|
1396
|
+
:param tags: A key value pair that helps you identify a Route 53 Resolver .
|
|
1397
|
+
'''
|
|
1398
|
+
if __debug__:
|
|
1399
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e699ef3ac9b93d22c3a0a2bd14e42dd65038d4f11d073d6f42b0b7f53984fae0)
|
|
1400
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1401
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1402
|
+
props = CfnOutpostResolverProps(
|
|
1403
|
+
name=name,
|
|
1404
|
+
outpost_arn=outpost_arn,
|
|
1405
|
+
preferred_instance_type=preferred_instance_type,
|
|
1406
|
+
instance_count=instance_count,
|
|
1407
|
+
tags=tags,
|
|
1408
|
+
)
|
|
1409
|
+
|
|
1410
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
1411
|
+
|
|
1412
|
+
@jsii.member(jsii_name="inspect")
|
|
1413
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
1414
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
1415
|
+
|
|
1416
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
1417
|
+
'''
|
|
1418
|
+
if __debug__:
|
|
1419
|
+
type_hints = typing.get_type_hints(_typecheckingstub__07894ca9d6c78db06d0361cee3a9c29ba91839f51a9ba978eeb3d6dca9e037b4)
|
|
1420
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
1421
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
1422
|
+
|
|
1423
|
+
@jsii.member(jsii_name="renderProperties")
|
|
1424
|
+
def _render_properties(
|
|
1425
|
+
self,
|
|
1426
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1427
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1428
|
+
'''
|
|
1429
|
+
:param props: -
|
|
1430
|
+
'''
|
|
1431
|
+
if __debug__:
|
|
1432
|
+
type_hints = typing.get_type_hints(_typecheckingstub__db174946ff643fd5d08e98bb31ea070697f9fcfd0f1369f5f5f8098733e84e67)
|
|
1433
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
1434
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
1435
|
+
|
|
1436
|
+
@jsii.python.classproperty
|
|
1437
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
1438
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
1439
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
1440
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
1441
|
+
|
|
1442
|
+
@builtins.property
|
|
1443
|
+
@jsii.member(jsii_name="attrArn")
|
|
1444
|
+
def attr_arn(self) -> builtins.str:
|
|
1445
|
+
'''The ARN (Amazon Resource Name) for the Resolver on an Outpost.
|
|
1446
|
+
|
|
1447
|
+
:cloudformationAttribute: Arn
|
|
1448
|
+
'''
|
|
1449
|
+
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
1450
|
+
|
|
1451
|
+
@builtins.property
|
|
1452
|
+
@jsii.member(jsii_name="attrCreationTime")
|
|
1453
|
+
def attr_creation_time(self) -> builtins.str:
|
|
1454
|
+
'''The date and time that the Outpost Resolver was created, in Unix time format and Coordinated Universal Time (UTC).
|
|
1455
|
+
|
|
1456
|
+
:cloudformationAttribute: CreationTime
|
|
1457
|
+
'''
|
|
1458
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCreationTime"))
|
|
1459
|
+
|
|
1460
|
+
@builtins.property
|
|
1461
|
+
@jsii.member(jsii_name="attrCreatorRequestId")
|
|
1462
|
+
def attr_creator_request_id(self) -> builtins.str:
|
|
1463
|
+
'''A unique string that identifies the request that created the Resolver endpoint.
|
|
1464
|
+
|
|
1465
|
+
The ``CreatorRequestId`` allows failed requests to be retried without the risk of running the operation twice.
|
|
1466
|
+
|
|
1467
|
+
:cloudformationAttribute: CreatorRequestId
|
|
1468
|
+
'''
|
|
1469
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCreatorRequestId"))
|
|
1470
|
+
|
|
1471
|
+
@builtins.property
|
|
1472
|
+
@jsii.member(jsii_name="attrId")
|
|
1473
|
+
def attr_id(self) -> builtins.str:
|
|
1474
|
+
'''The ID of the Resolver on Outpost.
|
|
1475
|
+
|
|
1476
|
+
:cloudformationAttribute: Id
|
|
1477
|
+
'''
|
|
1478
|
+
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
1479
|
+
|
|
1480
|
+
@builtins.property
|
|
1481
|
+
@jsii.member(jsii_name="attrModificationTime")
|
|
1482
|
+
def attr_modification_time(self) -> builtins.str:
|
|
1483
|
+
'''The date and time that the Outpost Resolver was modified, in Unix time format and Coordinated Universal Time (UTC).
|
|
1484
|
+
|
|
1485
|
+
:cloudformationAttribute: ModificationTime
|
|
1486
|
+
'''
|
|
1487
|
+
return typing.cast(builtins.str, jsii.get(self, "attrModificationTime"))
|
|
1488
|
+
|
|
1489
|
+
@builtins.property
|
|
1490
|
+
@jsii.member(jsii_name="attrStatus")
|
|
1491
|
+
def attr_status(self) -> builtins.str:
|
|
1492
|
+
'''Status of the Resolver.
|
|
1493
|
+
|
|
1494
|
+
Valid Values: CREATING | OPERATIONAL | UPDATING | DELETING | ACTION_NEEDED | FAILED_CREATION | FAILED_DELETION.
|
|
1495
|
+
|
|
1496
|
+
:cloudformationAttribute: Status
|
|
1497
|
+
'''
|
|
1498
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
|
|
1499
|
+
|
|
1500
|
+
@builtins.property
|
|
1501
|
+
@jsii.member(jsii_name="attrStatusMessage")
|
|
1502
|
+
def attr_status_message(self) -> builtins.str:
|
|
1503
|
+
'''A detailed description of the Resolver.
|
|
1504
|
+
|
|
1505
|
+
:cloudformationAttribute: StatusMessage
|
|
1506
|
+
'''
|
|
1507
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatusMessage"))
|
|
1508
|
+
|
|
1509
|
+
@builtins.property
|
|
1510
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
1511
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1512
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1513
|
+
|
|
1514
|
+
@builtins.property
|
|
1515
|
+
@jsii.member(jsii_name="name")
|
|
1516
|
+
def name(self) -> builtins.str:
|
|
1517
|
+
'''Name of the Resolver.'''
|
|
1518
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
1519
|
+
|
|
1520
|
+
@name.setter
|
|
1521
|
+
def name(self, value: builtins.str) -> None:
|
|
1522
|
+
if __debug__:
|
|
1523
|
+
type_hints = typing.get_type_hints(_typecheckingstub__dbd8ade334b431c67dfc969f2eb5344b5a29d56eb41f272748e784e9fb1a5f7e)
|
|
1524
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1525
|
+
jsii.set(self, "name", value)
|
|
1526
|
+
|
|
1527
|
+
@builtins.property
|
|
1528
|
+
@jsii.member(jsii_name="outpostArn")
|
|
1529
|
+
def outpost_arn(self) -> builtins.str:
|
|
1530
|
+
'''The ARN (Amazon Resource Name) for the Outpost.'''
|
|
1531
|
+
return typing.cast(builtins.str, jsii.get(self, "outpostArn"))
|
|
1532
|
+
|
|
1533
|
+
@outpost_arn.setter
|
|
1534
|
+
def outpost_arn(self, value: builtins.str) -> None:
|
|
1535
|
+
if __debug__:
|
|
1536
|
+
type_hints = typing.get_type_hints(_typecheckingstub__65f4d8e7affc86215644431f6b9a99a4d99e0c197644d6828f91af99bd234b21)
|
|
1537
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1538
|
+
jsii.set(self, "outpostArn", value)
|
|
1539
|
+
|
|
1540
|
+
@builtins.property
|
|
1541
|
+
@jsii.member(jsii_name="preferredInstanceType")
|
|
1542
|
+
def preferred_instance_type(self) -> builtins.str:
|
|
1543
|
+
'''The Amazon EC2 instance type.'''
|
|
1544
|
+
return typing.cast(builtins.str, jsii.get(self, "preferredInstanceType"))
|
|
1545
|
+
|
|
1546
|
+
@preferred_instance_type.setter
|
|
1547
|
+
def preferred_instance_type(self, value: builtins.str) -> None:
|
|
1548
|
+
if __debug__:
|
|
1549
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a4fec0a5734e4bc360b1846a25b797fd564e4c230260619b947fd04181aca448)
|
|
1550
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1551
|
+
jsii.set(self, "preferredInstanceType", value)
|
|
1552
|
+
|
|
1553
|
+
@builtins.property
|
|
1554
|
+
@jsii.member(jsii_name="instanceCount")
|
|
1555
|
+
def instance_count(self) -> typing.Optional[jsii.Number]:
|
|
1556
|
+
'''Amazon EC2 instance count for the Resolver on the Outpost.'''
|
|
1557
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "instanceCount"))
|
|
1558
|
+
|
|
1559
|
+
@instance_count.setter
|
|
1560
|
+
def instance_count(self, value: typing.Optional[jsii.Number]) -> None:
|
|
1561
|
+
if __debug__:
|
|
1562
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1afd8ef4a3dc173359927580d58e4e1798c4fff1b3e508f5072dbdf8ad406f47)
|
|
1563
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1564
|
+
jsii.set(self, "instanceCount", value)
|
|
1565
|
+
|
|
1566
|
+
@builtins.property
|
|
1567
|
+
@jsii.member(jsii_name="tags")
|
|
1568
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1569
|
+
'''A key value pair that helps you identify a Route 53 Resolver .'''
|
|
1570
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
1571
|
+
|
|
1572
|
+
@tags.setter
|
|
1573
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
1574
|
+
if __debug__:
|
|
1575
|
+
type_hints = typing.get_type_hints(_typecheckingstub__02475d33831e277377222b88551dc45e2fde0ce52d8ac89720a06483847a8e81)
|
|
1576
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1577
|
+
jsii.set(self, "tags", value)
|
|
1578
|
+
|
|
1579
|
+
|
|
1580
|
+
@jsii.data_type(
|
|
1581
|
+
jsii_type="aws-cdk-lib.aws_route53resolver.CfnOutpostResolverProps",
|
|
1582
|
+
jsii_struct_bases=[],
|
|
1583
|
+
name_mapping={
|
|
1584
|
+
"name": "name",
|
|
1585
|
+
"outpost_arn": "outpostArn",
|
|
1586
|
+
"preferred_instance_type": "preferredInstanceType",
|
|
1587
|
+
"instance_count": "instanceCount",
|
|
1588
|
+
"tags": "tags",
|
|
1589
|
+
},
|
|
1590
|
+
)
|
|
1591
|
+
class CfnOutpostResolverProps:
|
|
1592
|
+
def __init__(
|
|
1593
|
+
self,
|
|
1594
|
+
*,
|
|
1595
|
+
name: builtins.str,
|
|
1596
|
+
outpost_arn: builtins.str,
|
|
1597
|
+
preferred_instance_type: builtins.str,
|
|
1598
|
+
instance_count: typing.Optional[jsii.Number] = None,
|
|
1599
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1600
|
+
) -> None:
|
|
1601
|
+
'''Properties for defining a ``CfnOutpostResolver``.
|
|
1602
|
+
|
|
1603
|
+
:param name: Name of the Resolver.
|
|
1604
|
+
:param outpost_arn: The ARN (Amazon Resource Name) for the Outpost.
|
|
1605
|
+
:param preferred_instance_type: The Amazon EC2 instance type.
|
|
1606
|
+
:param instance_count: Amazon EC2 instance count for the Resolver on the Outpost.
|
|
1607
|
+
:param tags: A key value pair that helps you identify a Route 53 Resolver .
|
|
1608
|
+
|
|
1609
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-outpostresolver.html
|
|
1610
|
+
:exampleMetadata: fixture=_generated
|
|
1611
|
+
|
|
1612
|
+
Example::
|
|
1613
|
+
|
|
1614
|
+
# The code below shows an example of how to instantiate this type.
|
|
1615
|
+
# The values are placeholders you should change.
|
|
1616
|
+
from aws_cdk import aws_route53resolver as route53resolver
|
|
1617
|
+
|
|
1618
|
+
cfn_outpost_resolver_props = route53resolver.CfnOutpostResolverProps(
|
|
1619
|
+
name="name",
|
|
1620
|
+
outpost_arn="outpostArn",
|
|
1621
|
+
preferred_instance_type="preferredInstanceType",
|
|
1622
|
+
|
|
1623
|
+
# the properties below are optional
|
|
1624
|
+
instance_count=123,
|
|
1625
|
+
tags=[CfnTag(
|
|
1626
|
+
key="key",
|
|
1627
|
+
value="value"
|
|
1628
|
+
)]
|
|
1629
|
+
)
|
|
1630
|
+
'''
|
|
1631
|
+
if __debug__:
|
|
1632
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b53ebd141bec9bc329c50935d9193d3066583cc585d0abb08ec4a100183f07e1)
|
|
1633
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
1634
|
+
check_type(argname="argument outpost_arn", value=outpost_arn, expected_type=type_hints["outpost_arn"])
|
|
1635
|
+
check_type(argname="argument preferred_instance_type", value=preferred_instance_type, expected_type=type_hints["preferred_instance_type"])
|
|
1636
|
+
check_type(argname="argument instance_count", value=instance_count, expected_type=type_hints["instance_count"])
|
|
1637
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1638
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1639
|
+
"name": name,
|
|
1640
|
+
"outpost_arn": outpost_arn,
|
|
1641
|
+
"preferred_instance_type": preferred_instance_type,
|
|
1642
|
+
}
|
|
1643
|
+
if instance_count is not None:
|
|
1644
|
+
self._values["instance_count"] = instance_count
|
|
1645
|
+
if tags is not None:
|
|
1646
|
+
self._values["tags"] = tags
|
|
1647
|
+
|
|
1648
|
+
@builtins.property
|
|
1649
|
+
def name(self) -> builtins.str:
|
|
1650
|
+
'''Name of the Resolver.
|
|
1651
|
+
|
|
1652
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-outpostresolver.html#cfn-route53resolver-outpostresolver-name
|
|
1653
|
+
'''
|
|
1654
|
+
result = self._values.get("name")
|
|
1655
|
+
assert result is not None, "Required property 'name' is missing"
|
|
1656
|
+
return typing.cast(builtins.str, result)
|
|
1657
|
+
|
|
1658
|
+
@builtins.property
|
|
1659
|
+
def outpost_arn(self) -> builtins.str:
|
|
1660
|
+
'''The ARN (Amazon Resource Name) for the Outpost.
|
|
1661
|
+
|
|
1662
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-outpostresolver.html#cfn-route53resolver-outpostresolver-outpostarn
|
|
1663
|
+
'''
|
|
1664
|
+
result = self._values.get("outpost_arn")
|
|
1665
|
+
assert result is not None, "Required property 'outpost_arn' is missing"
|
|
1666
|
+
return typing.cast(builtins.str, result)
|
|
1667
|
+
|
|
1668
|
+
@builtins.property
|
|
1669
|
+
def preferred_instance_type(self) -> builtins.str:
|
|
1670
|
+
'''The Amazon EC2 instance type.
|
|
1671
|
+
|
|
1672
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-outpostresolver.html#cfn-route53resolver-outpostresolver-preferredinstancetype
|
|
1673
|
+
'''
|
|
1674
|
+
result = self._values.get("preferred_instance_type")
|
|
1675
|
+
assert result is not None, "Required property 'preferred_instance_type' is missing"
|
|
1676
|
+
return typing.cast(builtins.str, result)
|
|
1677
|
+
|
|
1678
|
+
@builtins.property
|
|
1679
|
+
def instance_count(self) -> typing.Optional[jsii.Number]:
|
|
1680
|
+
'''Amazon EC2 instance count for the Resolver on the Outpost.
|
|
1681
|
+
|
|
1682
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-outpostresolver.html#cfn-route53resolver-outpostresolver-instancecount
|
|
1683
|
+
'''
|
|
1684
|
+
result = self._values.get("instance_count")
|
|
1685
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1686
|
+
|
|
1687
|
+
@builtins.property
|
|
1688
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1689
|
+
'''A key value pair that helps you identify a Route 53 Resolver .
|
|
1690
|
+
|
|
1691
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-outpostresolver.html#cfn-route53resolver-outpostresolver-tags
|
|
1692
|
+
'''
|
|
1693
|
+
result = self._values.get("tags")
|
|
1694
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
1695
|
+
|
|
1696
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1697
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1698
|
+
|
|
1699
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1700
|
+
return not (rhs == self)
|
|
1701
|
+
|
|
1702
|
+
def __repr__(self) -> str:
|
|
1703
|
+
return "CfnOutpostResolverProps(%s)" % ", ".join(
|
|
1704
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1705
|
+
)
|
|
1706
|
+
|
|
1707
|
+
|
|
1347
1708
|
@jsii.implements(_IInspectable_c2943556)
|
|
1348
1709
|
class CfnResolverConfig(
|
|
1349
1710
|
_CfnResource_9df397a6,
|
|
@@ -3617,6 +3978,8 @@ __all__ = [
|
|
|
3617
3978
|
"CfnFirewallRuleGroupAssociation",
|
|
3618
3979
|
"CfnFirewallRuleGroupAssociationProps",
|
|
3619
3980
|
"CfnFirewallRuleGroupProps",
|
|
3981
|
+
"CfnOutpostResolver",
|
|
3982
|
+
"CfnOutpostResolverProps",
|
|
3620
3983
|
"CfnResolverConfig",
|
|
3621
3984
|
"CfnResolverConfigProps",
|
|
3622
3985
|
"CfnResolverDNSSECConfig",
|
|
@@ -3830,6 +4193,72 @@ def _typecheckingstub__b614b409c77b0163f669e1c5a722bed570fc73bbd7afce583918c9e4e
|
|
|
3830
4193
|
"""Type checking stubs"""
|
|
3831
4194
|
pass
|
|
3832
4195
|
|
|
4196
|
+
def _typecheckingstub__e699ef3ac9b93d22c3a0a2bd14e42dd65038d4f11d073d6f42b0b7f53984fae0(
|
|
4197
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
4198
|
+
id: builtins.str,
|
|
4199
|
+
*,
|
|
4200
|
+
name: builtins.str,
|
|
4201
|
+
outpost_arn: builtins.str,
|
|
4202
|
+
preferred_instance_type: builtins.str,
|
|
4203
|
+
instance_count: typing.Optional[jsii.Number] = None,
|
|
4204
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4205
|
+
) -> None:
|
|
4206
|
+
"""Type checking stubs"""
|
|
4207
|
+
pass
|
|
4208
|
+
|
|
4209
|
+
def _typecheckingstub__07894ca9d6c78db06d0361cee3a9c29ba91839f51a9ba978eeb3d6dca9e037b4(
|
|
4210
|
+
inspector: _TreeInspector_488e0dd5,
|
|
4211
|
+
) -> None:
|
|
4212
|
+
"""Type checking stubs"""
|
|
4213
|
+
pass
|
|
4214
|
+
|
|
4215
|
+
def _typecheckingstub__db174946ff643fd5d08e98bb31ea070697f9fcfd0f1369f5f5f8098733e84e67(
|
|
4216
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
4217
|
+
) -> None:
|
|
4218
|
+
"""Type checking stubs"""
|
|
4219
|
+
pass
|
|
4220
|
+
|
|
4221
|
+
def _typecheckingstub__dbd8ade334b431c67dfc969f2eb5344b5a29d56eb41f272748e784e9fb1a5f7e(
|
|
4222
|
+
value: builtins.str,
|
|
4223
|
+
) -> None:
|
|
4224
|
+
"""Type checking stubs"""
|
|
4225
|
+
pass
|
|
4226
|
+
|
|
4227
|
+
def _typecheckingstub__65f4d8e7affc86215644431f6b9a99a4d99e0c197644d6828f91af99bd234b21(
|
|
4228
|
+
value: builtins.str,
|
|
4229
|
+
) -> None:
|
|
4230
|
+
"""Type checking stubs"""
|
|
4231
|
+
pass
|
|
4232
|
+
|
|
4233
|
+
def _typecheckingstub__a4fec0a5734e4bc360b1846a25b797fd564e4c230260619b947fd04181aca448(
|
|
4234
|
+
value: builtins.str,
|
|
4235
|
+
) -> None:
|
|
4236
|
+
"""Type checking stubs"""
|
|
4237
|
+
pass
|
|
4238
|
+
|
|
4239
|
+
def _typecheckingstub__1afd8ef4a3dc173359927580d58e4e1798c4fff1b3e508f5072dbdf8ad406f47(
|
|
4240
|
+
value: typing.Optional[jsii.Number],
|
|
4241
|
+
) -> None:
|
|
4242
|
+
"""Type checking stubs"""
|
|
4243
|
+
pass
|
|
4244
|
+
|
|
4245
|
+
def _typecheckingstub__02475d33831e277377222b88551dc45e2fde0ce52d8ac89720a06483847a8e81(
|
|
4246
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
4247
|
+
) -> None:
|
|
4248
|
+
"""Type checking stubs"""
|
|
4249
|
+
pass
|
|
4250
|
+
|
|
4251
|
+
def _typecheckingstub__b53ebd141bec9bc329c50935d9193d3066583cc585d0abb08ec4a100183f07e1(
|
|
4252
|
+
*,
|
|
4253
|
+
name: builtins.str,
|
|
4254
|
+
outpost_arn: builtins.str,
|
|
4255
|
+
preferred_instance_type: builtins.str,
|
|
4256
|
+
instance_count: typing.Optional[jsii.Number] = None,
|
|
4257
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4258
|
+
) -> None:
|
|
4259
|
+
"""Type checking stubs"""
|
|
4260
|
+
pass
|
|
4261
|
+
|
|
3833
4262
|
def _typecheckingstub__35122d782a5f80846e3948e7eb0337b124eee2f562394f9f0ac3811b76027fa7(
|
|
3834
4263
|
scope: _constructs_77d1e7e8.Construct,
|
|
3835
4264
|
id: builtins.str,
|