aws-cdk-lib 2.189.1__py3-none-any.whl → 2.191.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.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.189.1.jsii.tgz → aws-cdk-lib@2.191.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +6 -6
- aws_cdk/aws_apigateway/__init__.py +18 -1
- aws_cdk/aws_apigatewayv2/__init__.py +374 -6
- aws_cdk/aws_applicationautoscaling/__init__.py +16 -10
- aws_cdk/aws_applicationsignals/__init__.py +204 -31
- aws_cdk/aws_aps/__init__.py +383 -2
- aws_cdk/aws_backup/__init__.py +0 -41
- aws_cdk/aws_batch/__init__.py +242 -5
- aws_cdk/aws_bedrock/__init__.py +963 -41
- aws_cdk/aws_cleanrooms/__init__.py +1392 -78
- aws_cdk/aws_cloudfront/__init__.py +1 -0
- aws_cdk/aws_cloudtrail/__init__.py +24 -26
- aws_cdk/aws_codebuild/__init__.py +107 -7
- aws_cdk/aws_datazone/__init__.py +23 -1
- aws_cdk/aws_dms/__init__.py +43 -0
- aws_cdk/aws_ec2/__init__.py +364 -30
- aws_cdk/aws_ecs/__init__.py +36 -5
- aws_cdk/aws_eks/__init__.py +2 -100
- aws_cdk/aws_elasticache/__init__.py +6 -11
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +341 -0
- aws_cdk/aws_events/__init__.py +106 -13
- aws_cdk/aws_fsx/__init__.py +9 -21
- aws_cdk/aws_iam/__init__.py +1 -1
- aws_cdk/aws_iot/__init__.py +6 -6
- aws_cdk/aws_kafkaconnect/__init__.py +2 -2
- aws_cdk/aws_kinesis/__init__.py +44 -0
- aws_cdk/aws_launchwizard/__init__.py +49 -49
- aws_cdk/aws_lex/__init__.py +615 -39
- aws_cdk/aws_location/__init__.py +4 -4
- aws_cdk/aws_macie/__init__.py +14 -3
- aws_cdk/aws_memorydb/__init__.py +87 -0
- aws_cdk/aws_msk/__init__.py +226 -127
- aws_cdk/aws_neptune/__init__.py +0 -24
- aws_cdk/aws_opensearchservice/__init__.py +64 -56
- aws_cdk/aws_paymentcryptography/__init__.py +41 -0
- aws_cdk/aws_qbusiness/__init__.py +175 -3
- aws_cdk/aws_quicksight/__init__.py +393 -0
- aws_cdk/aws_rds/__init__.py +149 -120
- aws_cdk/aws_redshiftserverless/__init__.py +4 -14
- aws_cdk/aws_route53resolver/__init__.py +60 -9
- aws_cdk/aws_s3/__init__.py +34 -1
- aws_cdk/aws_s3_deployment/__init__.py +202 -5
- aws_cdk/aws_s3tables/__init__.py +142 -1
- aws_cdk/aws_sagemaker/__init__.py +40 -40
- aws_cdk/aws_ses/__init__.py +643 -18
- aws_cdk/aws_ssmquicksetup/__init__.py +3 -3
- aws_cdk/aws_stepfunctions/__init__.py +720 -45
- aws_cdk/aws_transfer/__init__.py +55 -2
- aws_cdk/pipelines/__init__.py +1 -2
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.191.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.191.0.dist-info}/RECORD +57 -57
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.191.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.191.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.191.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.191.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_aps/__init__.py
CHANGED
|
@@ -1209,7 +1209,19 @@ class CfnWorkspace(
|
|
|
1209
1209
|
tags=[CfnTag(
|
|
1210
1210
|
key="key",
|
|
1211
1211
|
value="value"
|
|
1212
|
-
)]
|
|
1212
|
+
)],
|
|
1213
|
+
workspace_configuration=aps.CfnWorkspace.WorkspaceConfigurationProperty(
|
|
1214
|
+
limits_per_label_sets=[aps.CfnWorkspace.LimitsPerLabelSetProperty(
|
|
1215
|
+
label_set=[aps.CfnWorkspace.LabelProperty(
|
|
1216
|
+
name="name",
|
|
1217
|
+
value="value"
|
|
1218
|
+
)],
|
|
1219
|
+
limits=aps.CfnWorkspace.LimitsPerLabelSetEntryProperty(
|
|
1220
|
+
max_series=123
|
|
1221
|
+
)
|
|
1222
|
+
)],
|
|
1223
|
+
retention_period_in_days=123
|
|
1224
|
+
)
|
|
1213
1225
|
)
|
|
1214
1226
|
'''
|
|
1215
1227
|
|
|
@@ -1223,6 +1235,7 @@ class CfnWorkspace(
|
|
|
1223
1235
|
kms_key_arn: typing.Optional[builtins.str] = None,
|
|
1224
1236
|
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspace.LoggingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1225
1237
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1238
|
+
workspace_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspace.WorkspaceConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1226
1239
|
) -> None:
|
|
1227
1240
|
'''
|
|
1228
1241
|
:param scope: Scope in which this resource is defined.
|
|
@@ -1232,6 +1245,7 @@ class CfnWorkspace(
|
|
|
1232
1245
|
:param kms_key_arn: (optional) The ARN for a customer managed AWS KMS key to use for encrypting data within your workspace. For more information about using your own key in your workspace, see `Encryption at rest <https://docs.aws.amazon.com/prometheus/latest/userguide/encryption-at-rest-Amazon-Service-Prometheus.html>`_ in the *Amazon Managed Service for Prometheus User Guide* .
|
|
1233
1246
|
:param logging_configuration: Contains information about the logging configuration for the workspace.
|
|
1234
1247
|
:param tags: The list of tag keys and values that are associated with the workspace.
|
|
1248
|
+
:param workspace_configuration: Workspace configuration.
|
|
1235
1249
|
'''
|
|
1236
1250
|
if __debug__:
|
|
1237
1251
|
type_hints = typing.get_type_hints(_typecheckingstub__0d7d4de6c2c3c0a6cc1f746f35f29f98344da5c5d59e48a9d1e788ab80e3ef9b)
|
|
@@ -1243,6 +1257,7 @@ class CfnWorkspace(
|
|
|
1243
1257
|
kms_key_arn=kms_key_arn,
|
|
1244
1258
|
logging_configuration=logging_configuration,
|
|
1245
1259
|
tags=tags,
|
|
1260
|
+
workspace_configuration=workspace_configuration,
|
|
1246
1261
|
)
|
|
1247
1262
|
|
|
1248
1263
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -1391,6 +1406,221 @@ class CfnWorkspace(
|
|
|
1391
1406
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1392
1407
|
jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
|
|
1393
1408
|
|
|
1409
|
+
@builtins.property
|
|
1410
|
+
@jsii.member(jsii_name="workspaceConfiguration")
|
|
1411
|
+
def workspace_configuration(
|
|
1412
|
+
self,
|
|
1413
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.WorkspaceConfigurationProperty"]]:
|
|
1414
|
+
'''Workspace configuration.'''
|
|
1415
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.WorkspaceConfigurationProperty"]], jsii.get(self, "workspaceConfiguration"))
|
|
1416
|
+
|
|
1417
|
+
@workspace_configuration.setter
|
|
1418
|
+
def workspace_configuration(
|
|
1419
|
+
self,
|
|
1420
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.WorkspaceConfigurationProperty"]],
|
|
1421
|
+
) -> None:
|
|
1422
|
+
if __debug__:
|
|
1423
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7dc44ff5af32b5cdcf5234cdf89709e32cf5a9217d64f6f2b6625191085cd191)
|
|
1424
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1425
|
+
jsii.set(self, "workspaceConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
1426
|
+
|
|
1427
|
+
@jsii.data_type(
|
|
1428
|
+
jsii_type="aws-cdk-lib.aws_aps.CfnWorkspace.LabelProperty",
|
|
1429
|
+
jsii_struct_bases=[],
|
|
1430
|
+
name_mapping={"name": "name", "value": "value"},
|
|
1431
|
+
)
|
|
1432
|
+
class LabelProperty:
|
|
1433
|
+
def __init__(self, *, name: builtins.str, value: builtins.str) -> None:
|
|
1434
|
+
'''Series label.
|
|
1435
|
+
|
|
1436
|
+
:param name: Name of the label.
|
|
1437
|
+
:param value: Value of the label.
|
|
1438
|
+
|
|
1439
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-label.html
|
|
1440
|
+
:exampleMetadata: fixture=_generated
|
|
1441
|
+
|
|
1442
|
+
Example::
|
|
1443
|
+
|
|
1444
|
+
# The code below shows an example of how to instantiate this type.
|
|
1445
|
+
# The values are placeholders you should change.
|
|
1446
|
+
from aws_cdk import aws_aps as aps
|
|
1447
|
+
|
|
1448
|
+
label_property = aps.CfnWorkspace.LabelProperty(
|
|
1449
|
+
name="name",
|
|
1450
|
+
value="value"
|
|
1451
|
+
)
|
|
1452
|
+
'''
|
|
1453
|
+
if __debug__:
|
|
1454
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b34eb56a3257d05ed157ec9252590ce797546e9e647035e7f3e639a6629c1cd3)
|
|
1455
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
1456
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1457
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1458
|
+
"name": name,
|
|
1459
|
+
"value": value,
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1462
|
+
@builtins.property
|
|
1463
|
+
def name(self) -> builtins.str:
|
|
1464
|
+
'''Name of the label.
|
|
1465
|
+
|
|
1466
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-label.html#cfn-aps-workspace-label-name
|
|
1467
|
+
'''
|
|
1468
|
+
result = self._values.get("name")
|
|
1469
|
+
assert result is not None, "Required property 'name' is missing"
|
|
1470
|
+
return typing.cast(builtins.str, result)
|
|
1471
|
+
|
|
1472
|
+
@builtins.property
|
|
1473
|
+
def value(self) -> builtins.str:
|
|
1474
|
+
'''Value of the label.
|
|
1475
|
+
|
|
1476
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-label.html#cfn-aps-workspace-label-value
|
|
1477
|
+
'''
|
|
1478
|
+
result = self._values.get("value")
|
|
1479
|
+
assert result is not None, "Required property 'value' is missing"
|
|
1480
|
+
return typing.cast(builtins.str, result)
|
|
1481
|
+
|
|
1482
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1483
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1484
|
+
|
|
1485
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1486
|
+
return not (rhs == self)
|
|
1487
|
+
|
|
1488
|
+
def __repr__(self) -> str:
|
|
1489
|
+
return "LabelProperty(%s)" % ", ".join(
|
|
1490
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1491
|
+
)
|
|
1492
|
+
|
|
1493
|
+
@jsii.data_type(
|
|
1494
|
+
jsii_type="aws-cdk-lib.aws_aps.CfnWorkspace.LimitsPerLabelSetEntryProperty",
|
|
1495
|
+
jsii_struct_bases=[],
|
|
1496
|
+
name_mapping={"max_series": "maxSeries"},
|
|
1497
|
+
)
|
|
1498
|
+
class LimitsPerLabelSetEntryProperty:
|
|
1499
|
+
def __init__(self, *, max_series: typing.Optional[jsii.Number] = None) -> None:
|
|
1500
|
+
'''Limits that can be applied to a label set.
|
|
1501
|
+
|
|
1502
|
+
:param max_series: The maximum number of active series that can be ingested for this label set.
|
|
1503
|
+
|
|
1504
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-limitsperlabelsetentry.html
|
|
1505
|
+
:exampleMetadata: fixture=_generated
|
|
1506
|
+
|
|
1507
|
+
Example::
|
|
1508
|
+
|
|
1509
|
+
# The code below shows an example of how to instantiate this type.
|
|
1510
|
+
# The values are placeholders you should change.
|
|
1511
|
+
from aws_cdk import aws_aps as aps
|
|
1512
|
+
|
|
1513
|
+
limits_per_label_set_entry_property = aps.CfnWorkspace.LimitsPerLabelSetEntryProperty(
|
|
1514
|
+
max_series=123
|
|
1515
|
+
)
|
|
1516
|
+
'''
|
|
1517
|
+
if __debug__:
|
|
1518
|
+
type_hints = typing.get_type_hints(_typecheckingstub__86191e69da536181f19aaae8e8a81e682e12b975b6edce1319b4d4a8b451cb95)
|
|
1519
|
+
check_type(argname="argument max_series", value=max_series, expected_type=type_hints["max_series"])
|
|
1520
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1521
|
+
if max_series is not None:
|
|
1522
|
+
self._values["max_series"] = max_series
|
|
1523
|
+
|
|
1524
|
+
@builtins.property
|
|
1525
|
+
def max_series(self) -> typing.Optional[jsii.Number]:
|
|
1526
|
+
'''The maximum number of active series that can be ingested for this label set.
|
|
1527
|
+
|
|
1528
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-limitsperlabelsetentry.html#cfn-aps-workspace-limitsperlabelsetentry-maxseries
|
|
1529
|
+
'''
|
|
1530
|
+
result = self._values.get("max_series")
|
|
1531
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1532
|
+
|
|
1533
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1534
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1535
|
+
|
|
1536
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1537
|
+
return not (rhs == self)
|
|
1538
|
+
|
|
1539
|
+
def __repr__(self) -> str:
|
|
1540
|
+
return "LimitsPerLabelSetEntryProperty(%s)" % ", ".join(
|
|
1541
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1542
|
+
)
|
|
1543
|
+
|
|
1544
|
+
@jsii.data_type(
|
|
1545
|
+
jsii_type="aws-cdk-lib.aws_aps.CfnWorkspace.LimitsPerLabelSetProperty",
|
|
1546
|
+
jsii_struct_bases=[],
|
|
1547
|
+
name_mapping={"label_set": "labelSet", "limits": "limits"},
|
|
1548
|
+
)
|
|
1549
|
+
class LimitsPerLabelSetProperty:
|
|
1550
|
+
def __init__(
|
|
1551
|
+
self,
|
|
1552
|
+
*,
|
|
1553
|
+
label_set: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspace.LabelProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
1554
|
+
limits: typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspace.LimitsPerLabelSetEntryProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1555
|
+
) -> None:
|
|
1556
|
+
'''Label set and its associated limits.
|
|
1557
|
+
|
|
1558
|
+
:param label_set: An array of series labels.
|
|
1559
|
+
:param limits: Limits that can be applied to a label set.
|
|
1560
|
+
|
|
1561
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-limitsperlabelset.html
|
|
1562
|
+
:exampleMetadata: fixture=_generated
|
|
1563
|
+
|
|
1564
|
+
Example::
|
|
1565
|
+
|
|
1566
|
+
# The code below shows an example of how to instantiate this type.
|
|
1567
|
+
# The values are placeholders you should change.
|
|
1568
|
+
from aws_cdk import aws_aps as aps
|
|
1569
|
+
|
|
1570
|
+
limits_per_label_set_property = aps.CfnWorkspace.LimitsPerLabelSetProperty(
|
|
1571
|
+
label_set=[aps.CfnWorkspace.LabelProperty(
|
|
1572
|
+
name="name",
|
|
1573
|
+
value="value"
|
|
1574
|
+
)],
|
|
1575
|
+
limits=aps.CfnWorkspace.LimitsPerLabelSetEntryProperty(
|
|
1576
|
+
max_series=123
|
|
1577
|
+
)
|
|
1578
|
+
)
|
|
1579
|
+
'''
|
|
1580
|
+
if __debug__:
|
|
1581
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3d8045fc76bdfc4af5de994e0ebe3331fd81257f1ae53d90373a7ad960b0bca7)
|
|
1582
|
+
check_type(argname="argument label_set", value=label_set, expected_type=type_hints["label_set"])
|
|
1583
|
+
check_type(argname="argument limits", value=limits, expected_type=type_hints["limits"])
|
|
1584
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1585
|
+
"label_set": label_set,
|
|
1586
|
+
"limits": limits,
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
@builtins.property
|
|
1590
|
+
def label_set(
|
|
1591
|
+
self,
|
|
1592
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LabelProperty"]]]:
|
|
1593
|
+
'''An array of series labels.
|
|
1594
|
+
|
|
1595
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-limitsperlabelset.html#cfn-aps-workspace-limitsperlabelset-labelset
|
|
1596
|
+
'''
|
|
1597
|
+
result = self._values.get("label_set")
|
|
1598
|
+
assert result is not None, "Required property 'label_set' is missing"
|
|
1599
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LabelProperty"]]], result)
|
|
1600
|
+
|
|
1601
|
+
@builtins.property
|
|
1602
|
+
def limits(
|
|
1603
|
+
self,
|
|
1604
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LimitsPerLabelSetEntryProperty"]:
|
|
1605
|
+
'''Limits that can be applied to a label set.
|
|
1606
|
+
|
|
1607
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-limitsperlabelset.html#cfn-aps-workspace-limitsperlabelset-limits
|
|
1608
|
+
'''
|
|
1609
|
+
result = self._values.get("limits")
|
|
1610
|
+
assert result is not None, "Required property 'limits' is missing"
|
|
1611
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LimitsPerLabelSetEntryProperty"], result)
|
|
1612
|
+
|
|
1613
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1614
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1615
|
+
|
|
1616
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1617
|
+
return not (rhs == self)
|
|
1618
|
+
|
|
1619
|
+
def __repr__(self) -> str:
|
|
1620
|
+
return "LimitsPerLabelSetProperty(%s)" % ", ".join(
|
|
1621
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1622
|
+
)
|
|
1623
|
+
|
|
1394
1624
|
@jsii.data_type(
|
|
1395
1625
|
jsii_type="aws-cdk-lib.aws_aps.CfnWorkspace.LoggingConfigurationProperty",
|
|
1396
1626
|
jsii_struct_bases=[],
|
|
@@ -1448,6 +1678,89 @@ class CfnWorkspace(
|
|
|
1448
1678
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
1449
1679
|
)
|
|
1450
1680
|
|
|
1681
|
+
@jsii.data_type(
|
|
1682
|
+
jsii_type="aws-cdk-lib.aws_aps.CfnWorkspace.WorkspaceConfigurationProperty",
|
|
1683
|
+
jsii_struct_bases=[],
|
|
1684
|
+
name_mapping={
|
|
1685
|
+
"limits_per_label_sets": "limitsPerLabelSets",
|
|
1686
|
+
"retention_period_in_days": "retentionPeriodInDays",
|
|
1687
|
+
},
|
|
1688
|
+
)
|
|
1689
|
+
class WorkspaceConfigurationProperty:
|
|
1690
|
+
def __init__(
|
|
1691
|
+
self,
|
|
1692
|
+
*,
|
|
1693
|
+
limits_per_label_sets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspace.LimitsPerLabelSetProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1694
|
+
retention_period_in_days: typing.Optional[jsii.Number] = None,
|
|
1695
|
+
) -> None:
|
|
1696
|
+
'''Workspace configuration.
|
|
1697
|
+
|
|
1698
|
+
:param limits_per_label_sets: An array of label set and associated limits.
|
|
1699
|
+
:param retention_period_in_days: How many days that metrics are retained in the workspace.
|
|
1700
|
+
|
|
1701
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-workspaceconfiguration.html
|
|
1702
|
+
:exampleMetadata: fixture=_generated
|
|
1703
|
+
|
|
1704
|
+
Example::
|
|
1705
|
+
|
|
1706
|
+
# The code below shows an example of how to instantiate this type.
|
|
1707
|
+
# The values are placeholders you should change.
|
|
1708
|
+
from aws_cdk import aws_aps as aps
|
|
1709
|
+
|
|
1710
|
+
workspace_configuration_property = aps.CfnWorkspace.WorkspaceConfigurationProperty(
|
|
1711
|
+
limits_per_label_sets=[aps.CfnWorkspace.LimitsPerLabelSetProperty(
|
|
1712
|
+
label_set=[aps.CfnWorkspace.LabelProperty(
|
|
1713
|
+
name="name",
|
|
1714
|
+
value="value"
|
|
1715
|
+
)],
|
|
1716
|
+
limits=aps.CfnWorkspace.LimitsPerLabelSetEntryProperty(
|
|
1717
|
+
max_series=123
|
|
1718
|
+
)
|
|
1719
|
+
)],
|
|
1720
|
+
retention_period_in_days=123
|
|
1721
|
+
)
|
|
1722
|
+
'''
|
|
1723
|
+
if __debug__:
|
|
1724
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8d8bd4b9a39be1594ef4681992e92f89f24816c775c0e0c40e340be13e59392a)
|
|
1725
|
+
check_type(argname="argument limits_per_label_sets", value=limits_per_label_sets, expected_type=type_hints["limits_per_label_sets"])
|
|
1726
|
+
check_type(argname="argument retention_period_in_days", value=retention_period_in_days, expected_type=type_hints["retention_period_in_days"])
|
|
1727
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1728
|
+
if limits_per_label_sets is not None:
|
|
1729
|
+
self._values["limits_per_label_sets"] = limits_per_label_sets
|
|
1730
|
+
if retention_period_in_days is not None:
|
|
1731
|
+
self._values["retention_period_in_days"] = retention_period_in_days
|
|
1732
|
+
|
|
1733
|
+
@builtins.property
|
|
1734
|
+
def limits_per_label_sets(
|
|
1735
|
+
self,
|
|
1736
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LimitsPerLabelSetProperty"]]]]:
|
|
1737
|
+
'''An array of label set and associated limits.
|
|
1738
|
+
|
|
1739
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-workspaceconfiguration.html#cfn-aps-workspace-workspaceconfiguration-limitsperlabelsets
|
|
1740
|
+
'''
|
|
1741
|
+
result = self._values.get("limits_per_label_sets")
|
|
1742
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LimitsPerLabelSetProperty"]]]], result)
|
|
1743
|
+
|
|
1744
|
+
@builtins.property
|
|
1745
|
+
def retention_period_in_days(self) -> typing.Optional[jsii.Number]:
|
|
1746
|
+
'''How many days that metrics are retained in the workspace.
|
|
1747
|
+
|
|
1748
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-workspaceconfiguration.html#cfn-aps-workspace-workspaceconfiguration-retentionperiodindays
|
|
1749
|
+
'''
|
|
1750
|
+
result = self._values.get("retention_period_in_days")
|
|
1751
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1752
|
+
|
|
1753
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1754
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1755
|
+
|
|
1756
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1757
|
+
return not (rhs == self)
|
|
1758
|
+
|
|
1759
|
+
def __repr__(self) -> str:
|
|
1760
|
+
return "WorkspaceConfigurationProperty(%s)" % ", ".join(
|
|
1761
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1762
|
+
)
|
|
1763
|
+
|
|
1451
1764
|
|
|
1452
1765
|
@jsii.data_type(
|
|
1453
1766
|
jsii_type="aws-cdk-lib.aws_aps.CfnWorkspaceProps",
|
|
@@ -1458,6 +1771,7 @@ class CfnWorkspace(
|
|
|
1458
1771
|
"kms_key_arn": "kmsKeyArn",
|
|
1459
1772
|
"logging_configuration": "loggingConfiguration",
|
|
1460
1773
|
"tags": "tags",
|
|
1774
|
+
"workspace_configuration": "workspaceConfiguration",
|
|
1461
1775
|
},
|
|
1462
1776
|
)
|
|
1463
1777
|
class CfnWorkspaceProps:
|
|
@@ -1469,6 +1783,7 @@ class CfnWorkspaceProps:
|
|
|
1469
1783
|
kms_key_arn: typing.Optional[builtins.str] = None,
|
|
1470
1784
|
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.LoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1471
1785
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1786
|
+
workspace_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.WorkspaceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1472
1787
|
) -> None:
|
|
1473
1788
|
'''Properties for defining a ``CfnWorkspace``.
|
|
1474
1789
|
|
|
@@ -1477,6 +1792,7 @@ class CfnWorkspaceProps:
|
|
|
1477
1792
|
:param kms_key_arn: (optional) The ARN for a customer managed AWS KMS key to use for encrypting data within your workspace. For more information about using your own key in your workspace, see `Encryption at rest <https://docs.aws.amazon.com/prometheus/latest/userguide/encryption-at-rest-Amazon-Service-Prometheus.html>`_ in the *Amazon Managed Service for Prometheus User Guide* .
|
|
1478
1793
|
:param logging_configuration: Contains information about the logging configuration for the workspace.
|
|
1479
1794
|
:param tags: The list of tag keys and values that are associated with the workspace.
|
|
1795
|
+
:param workspace_configuration: Workspace configuration.
|
|
1480
1796
|
|
|
1481
1797
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html
|
|
1482
1798
|
:exampleMetadata: fixture=_generated
|
|
@@ -1497,7 +1813,19 @@ class CfnWorkspaceProps:
|
|
|
1497
1813
|
tags=[CfnTag(
|
|
1498
1814
|
key="key",
|
|
1499
1815
|
value="value"
|
|
1500
|
-
)]
|
|
1816
|
+
)],
|
|
1817
|
+
workspace_configuration=aps.CfnWorkspace.WorkspaceConfigurationProperty(
|
|
1818
|
+
limits_per_label_sets=[aps.CfnWorkspace.LimitsPerLabelSetProperty(
|
|
1819
|
+
label_set=[aps.CfnWorkspace.LabelProperty(
|
|
1820
|
+
name="name",
|
|
1821
|
+
value="value"
|
|
1822
|
+
)],
|
|
1823
|
+
limits=aps.CfnWorkspace.LimitsPerLabelSetEntryProperty(
|
|
1824
|
+
max_series=123
|
|
1825
|
+
)
|
|
1826
|
+
)],
|
|
1827
|
+
retention_period_in_days=123
|
|
1828
|
+
)
|
|
1501
1829
|
)
|
|
1502
1830
|
'''
|
|
1503
1831
|
if __debug__:
|
|
@@ -1507,6 +1835,7 @@ class CfnWorkspaceProps:
|
|
|
1507
1835
|
check_type(argname="argument kms_key_arn", value=kms_key_arn, expected_type=type_hints["kms_key_arn"])
|
|
1508
1836
|
check_type(argname="argument logging_configuration", value=logging_configuration, expected_type=type_hints["logging_configuration"])
|
|
1509
1837
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1838
|
+
check_type(argname="argument workspace_configuration", value=workspace_configuration, expected_type=type_hints["workspace_configuration"])
|
|
1510
1839
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1511
1840
|
if alert_manager_definition is not None:
|
|
1512
1841
|
self._values["alert_manager_definition"] = alert_manager_definition
|
|
@@ -1518,6 +1847,8 @@ class CfnWorkspaceProps:
|
|
|
1518
1847
|
self._values["logging_configuration"] = logging_configuration
|
|
1519
1848
|
if tags is not None:
|
|
1520
1849
|
self._values["tags"] = tags
|
|
1850
|
+
if workspace_configuration is not None:
|
|
1851
|
+
self._values["workspace_configuration"] = workspace_configuration
|
|
1521
1852
|
|
|
1522
1853
|
@builtins.property
|
|
1523
1854
|
def alert_manager_definition(self) -> typing.Optional[builtins.str]:
|
|
@@ -1576,6 +1907,17 @@ class CfnWorkspaceProps:
|
|
|
1576
1907
|
result = self._values.get("tags")
|
|
1577
1908
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
1578
1909
|
|
|
1910
|
+
@builtins.property
|
|
1911
|
+
def workspace_configuration(
|
|
1912
|
+
self,
|
|
1913
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWorkspace.WorkspaceConfigurationProperty]]:
|
|
1914
|
+
'''Workspace configuration.
|
|
1915
|
+
|
|
1916
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html#cfn-aps-workspace-workspaceconfiguration
|
|
1917
|
+
'''
|
|
1918
|
+
result = self._values.get("workspace_configuration")
|
|
1919
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWorkspace.WorkspaceConfigurationProperty]], result)
|
|
1920
|
+
|
|
1579
1921
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1580
1922
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1581
1923
|
|
|
@@ -1785,6 +2127,7 @@ def _typecheckingstub__0d7d4de6c2c3c0a6cc1f746f35f29f98344da5c5d59e48a9d1e788ab8
|
|
|
1785
2127
|
kms_key_arn: typing.Optional[builtins.str] = None,
|
|
1786
2128
|
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.LoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1787
2129
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2130
|
+
workspace_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.WorkspaceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1788
2131
|
) -> None:
|
|
1789
2132
|
"""Type checking stubs"""
|
|
1790
2133
|
pass
|
|
@@ -1831,6 +2174,35 @@ def _typecheckingstub__fb4e1977fb1f7aad47144a42af408e41c9d01794f3569a614a9ed54ef
|
|
|
1831
2174
|
"""Type checking stubs"""
|
|
1832
2175
|
pass
|
|
1833
2176
|
|
|
2177
|
+
def _typecheckingstub__7dc44ff5af32b5cdcf5234cdf89709e32cf5a9217d64f6f2b6625191085cd191(
|
|
2178
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWorkspace.WorkspaceConfigurationProperty]],
|
|
2179
|
+
) -> None:
|
|
2180
|
+
"""Type checking stubs"""
|
|
2181
|
+
pass
|
|
2182
|
+
|
|
2183
|
+
def _typecheckingstub__b34eb56a3257d05ed157ec9252590ce797546e9e647035e7f3e639a6629c1cd3(
|
|
2184
|
+
*,
|
|
2185
|
+
name: builtins.str,
|
|
2186
|
+
value: builtins.str,
|
|
2187
|
+
) -> None:
|
|
2188
|
+
"""Type checking stubs"""
|
|
2189
|
+
pass
|
|
2190
|
+
|
|
2191
|
+
def _typecheckingstub__86191e69da536181f19aaae8e8a81e682e12b975b6edce1319b4d4a8b451cb95(
|
|
2192
|
+
*,
|
|
2193
|
+
max_series: typing.Optional[jsii.Number] = None,
|
|
2194
|
+
) -> None:
|
|
2195
|
+
"""Type checking stubs"""
|
|
2196
|
+
pass
|
|
2197
|
+
|
|
2198
|
+
def _typecheckingstub__3d8045fc76bdfc4af5de994e0ebe3331fd81257f1ae53d90373a7ad960b0bca7(
|
|
2199
|
+
*,
|
|
2200
|
+
label_set: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.LabelProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
2201
|
+
limits: typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.LimitsPerLabelSetEntryProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2202
|
+
) -> None:
|
|
2203
|
+
"""Type checking stubs"""
|
|
2204
|
+
pass
|
|
2205
|
+
|
|
1834
2206
|
def _typecheckingstub__fa0678eca2188c6c3220d708f7d16298acecab165f03de8b400d1fada6a4b9d9(
|
|
1835
2207
|
*,
|
|
1836
2208
|
log_group_arn: typing.Optional[builtins.str] = None,
|
|
@@ -1838,6 +2210,14 @@ def _typecheckingstub__fa0678eca2188c6c3220d708f7d16298acecab165f03de8b400d1fada
|
|
|
1838
2210
|
"""Type checking stubs"""
|
|
1839
2211
|
pass
|
|
1840
2212
|
|
|
2213
|
+
def _typecheckingstub__8d8bd4b9a39be1594ef4681992e92f89f24816c775c0e0c40e340be13e59392a(
|
|
2214
|
+
*,
|
|
2215
|
+
limits_per_label_sets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.LimitsPerLabelSetProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2216
|
+
retention_period_in_days: typing.Optional[jsii.Number] = None,
|
|
2217
|
+
) -> None:
|
|
2218
|
+
"""Type checking stubs"""
|
|
2219
|
+
pass
|
|
2220
|
+
|
|
1841
2221
|
def _typecheckingstub__98e95bd874171795b8c6f6104e5fee9fa1d8f50cb6e1edc6d2cc01a77eb0f50a(
|
|
1842
2222
|
*,
|
|
1843
2223
|
alert_manager_definition: typing.Optional[builtins.str] = None,
|
|
@@ -1845,6 +2225,7 @@ def _typecheckingstub__98e95bd874171795b8c6f6104e5fee9fa1d8f50cb6e1edc6d2cc01a77
|
|
|
1845
2225
|
kms_key_arn: typing.Optional[builtins.str] = None,
|
|
1846
2226
|
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.LoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1847
2227
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2228
|
+
workspace_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.WorkspaceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1848
2229
|
) -> None:
|
|
1849
2230
|
"""Type checking stubs"""
|
|
1850
2231
|
pass
|
aws_cdk/aws_backup/__init__.py
CHANGED
|
@@ -5783,7 +5783,6 @@ class CfnRestoreTestingPlan(
|
|
|
5783
5783
|
|
|
5784
5784
|
# the properties below are optional
|
|
5785
5785
|
schedule_expression_timezone="scheduleExpressionTimezone",
|
|
5786
|
-
schedule_status="scheduleStatus",
|
|
5787
5786
|
start_window_hours=123,
|
|
5788
5787
|
tags=[CfnTag(
|
|
5789
5788
|
key="key",
|
|
@@ -5801,7 +5800,6 @@ class CfnRestoreTestingPlan(
|
|
|
5801
5800
|
restore_testing_plan_name: builtins.str,
|
|
5802
5801
|
schedule_expression: builtins.str,
|
|
5803
5802
|
schedule_expression_timezone: typing.Optional[builtins.str] = None,
|
|
5804
|
-
schedule_status: typing.Optional[builtins.str] = None,
|
|
5805
5803
|
start_window_hours: typing.Optional[jsii.Number] = None,
|
|
5806
5804
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5807
5805
|
) -> None:
|
|
@@ -5812,7 +5810,6 @@ class CfnRestoreTestingPlan(
|
|
|
5812
5810
|
:param restore_testing_plan_name: The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.
|
|
5813
5811
|
:param schedule_expression: A CRON expression in specified timezone when a restore testing plan is executed. When no CRON expression is provided, AWS Backup will use the default expression ``cron(0 5 ? * * *)`` .
|
|
5814
5812
|
:param schedule_expression_timezone: Optional. This is the timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone.
|
|
5815
|
-
:param schedule_status: This parameter is not currently supported.
|
|
5816
5813
|
:param start_window_hours: Defaults to 24 hours. A value in hours after a restore test is scheduled before a job will be canceled if it doesn't start successfully. This value is optional. If this value is included, this parameter has a maximum value of 168 hours (one week).
|
|
5817
5814
|
:param tags: Optional tags to include. A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters,numbers, spaces, and the following characters: ``+ - = . _ : /.``
|
|
5818
5815
|
'''
|
|
@@ -5825,7 +5822,6 @@ class CfnRestoreTestingPlan(
|
|
|
5825
5822
|
restore_testing_plan_name=restore_testing_plan_name,
|
|
5826
5823
|
schedule_expression=schedule_expression,
|
|
5827
5824
|
schedule_expression_timezone=schedule_expression_timezone,
|
|
5828
|
-
schedule_status=schedule_status,
|
|
5829
5825
|
start_window_hours=start_window_hours,
|
|
5830
5826
|
tags=tags,
|
|
5831
5827
|
)
|
|
@@ -5942,19 +5938,6 @@ class CfnRestoreTestingPlan(
|
|
|
5942
5938
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5943
5939
|
jsii.set(self, "scheduleExpressionTimezone", value) # pyright: ignore[reportArgumentType]
|
|
5944
5940
|
|
|
5945
|
-
@builtins.property
|
|
5946
|
-
@jsii.member(jsii_name="scheduleStatus")
|
|
5947
|
-
def schedule_status(self) -> typing.Optional[builtins.str]:
|
|
5948
|
-
'''This parameter is not currently supported.'''
|
|
5949
|
-
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "scheduleStatus"))
|
|
5950
|
-
|
|
5951
|
-
@schedule_status.setter
|
|
5952
|
-
def schedule_status(self, value: typing.Optional[builtins.str]) -> None:
|
|
5953
|
-
if __debug__:
|
|
5954
|
-
type_hints = typing.get_type_hints(_typecheckingstub__cb0d6c12ebe5ab30da1683fa9c5b891023ce57e88de2c038f0c84c4ba2f02868)
|
|
5955
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5956
|
-
jsii.set(self, "scheduleStatus", value) # pyright: ignore[reportArgumentType]
|
|
5957
|
-
|
|
5958
5941
|
@builtins.property
|
|
5959
5942
|
@jsii.member(jsii_name="startWindowHours")
|
|
5960
5943
|
def start_window_hours(self) -> typing.Optional[jsii.Number]:
|
|
@@ -6130,7 +6113,6 @@ class CfnRestoreTestingPlan(
|
|
|
6130
6113
|
"restore_testing_plan_name": "restoreTestingPlanName",
|
|
6131
6114
|
"schedule_expression": "scheduleExpression",
|
|
6132
6115
|
"schedule_expression_timezone": "scheduleExpressionTimezone",
|
|
6133
|
-
"schedule_status": "scheduleStatus",
|
|
6134
6116
|
"start_window_hours": "startWindowHours",
|
|
6135
6117
|
"tags": "tags",
|
|
6136
6118
|
},
|
|
@@ -6143,7 +6125,6 @@ class CfnRestoreTestingPlanProps:
|
|
|
6143
6125
|
restore_testing_plan_name: builtins.str,
|
|
6144
6126
|
schedule_expression: builtins.str,
|
|
6145
6127
|
schedule_expression_timezone: typing.Optional[builtins.str] = None,
|
|
6146
|
-
schedule_status: typing.Optional[builtins.str] = None,
|
|
6147
6128
|
start_window_hours: typing.Optional[jsii.Number] = None,
|
|
6148
6129
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6149
6130
|
) -> None:
|
|
@@ -6153,7 +6134,6 @@ class CfnRestoreTestingPlanProps:
|
|
|
6153
6134
|
:param restore_testing_plan_name: The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.
|
|
6154
6135
|
:param schedule_expression: A CRON expression in specified timezone when a restore testing plan is executed. When no CRON expression is provided, AWS Backup will use the default expression ``cron(0 5 ? * * *)`` .
|
|
6155
6136
|
:param schedule_expression_timezone: Optional. This is the timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone.
|
|
6156
|
-
:param schedule_status: This parameter is not currently supported.
|
|
6157
6137
|
:param start_window_hours: Defaults to 24 hours. A value in hours after a restore test is scheduled before a job will be canceled if it doesn't start successfully. This value is optional. If this value is included, this parameter has a maximum value of 168 hours (one week).
|
|
6158
6138
|
:param tags: Optional tags to include. A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters,numbers, spaces, and the following characters: ``+ - = . _ : /.``
|
|
6159
6139
|
|
|
@@ -6181,7 +6161,6 @@ class CfnRestoreTestingPlanProps:
|
|
|
6181
6161
|
|
|
6182
6162
|
# the properties below are optional
|
|
6183
6163
|
schedule_expression_timezone="scheduleExpressionTimezone",
|
|
6184
|
-
schedule_status="scheduleStatus",
|
|
6185
6164
|
start_window_hours=123,
|
|
6186
6165
|
tags=[CfnTag(
|
|
6187
6166
|
key="key",
|
|
@@ -6195,7 +6174,6 @@ class CfnRestoreTestingPlanProps:
|
|
|
6195
6174
|
check_type(argname="argument restore_testing_plan_name", value=restore_testing_plan_name, expected_type=type_hints["restore_testing_plan_name"])
|
|
6196
6175
|
check_type(argname="argument schedule_expression", value=schedule_expression, expected_type=type_hints["schedule_expression"])
|
|
6197
6176
|
check_type(argname="argument schedule_expression_timezone", value=schedule_expression_timezone, expected_type=type_hints["schedule_expression_timezone"])
|
|
6198
|
-
check_type(argname="argument schedule_status", value=schedule_status, expected_type=type_hints["schedule_status"])
|
|
6199
6177
|
check_type(argname="argument start_window_hours", value=start_window_hours, expected_type=type_hints["start_window_hours"])
|
|
6200
6178
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
6201
6179
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
@@ -6205,8 +6183,6 @@ class CfnRestoreTestingPlanProps:
|
|
|
6205
6183
|
}
|
|
6206
6184
|
if schedule_expression_timezone is not None:
|
|
6207
6185
|
self._values["schedule_expression_timezone"] = schedule_expression_timezone
|
|
6208
|
-
if schedule_status is not None:
|
|
6209
|
-
self._values["schedule_status"] = schedule_status
|
|
6210
6186
|
if start_window_hours is not None:
|
|
6211
6187
|
self._values["start_window_hours"] = start_window_hours
|
|
6212
6188
|
if tags is not None:
|
|
@@ -6259,15 +6235,6 @@ class CfnRestoreTestingPlanProps:
|
|
|
6259
6235
|
result = self._values.get("schedule_expression_timezone")
|
|
6260
6236
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
6261
6237
|
|
|
6262
|
-
@builtins.property
|
|
6263
|
-
def schedule_status(self) -> typing.Optional[builtins.str]:
|
|
6264
|
-
'''This parameter is not currently supported.
|
|
6265
|
-
|
|
6266
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-restoretestingplan.html#cfn-backup-restoretestingplan-schedulestatus
|
|
6267
|
-
'''
|
|
6268
|
-
result = self._values.get("schedule_status")
|
|
6269
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
6270
|
-
|
|
6271
6238
|
@builtins.property
|
|
6272
6239
|
def start_window_hours(self) -> typing.Optional[jsii.Number]:
|
|
6273
6240
|
'''Defaults to 24 hours.
|
|
@@ -8360,7 +8327,6 @@ def _typecheckingstub__ce1d12683247bbd0bcd185e807f3b41b4b53ee7cfd847d57ecbf875d4
|
|
|
8360
8327
|
restore_testing_plan_name: builtins.str,
|
|
8361
8328
|
schedule_expression: builtins.str,
|
|
8362
8329
|
schedule_expression_timezone: typing.Optional[builtins.str] = None,
|
|
8363
|
-
schedule_status: typing.Optional[builtins.str] = None,
|
|
8364
8330
|
start_window_hours: typing.Optional[jsii.Number] = None,
|
|
8365
8331
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8366
8332
|
) -> None:
|
|
@@ -8403,12 +8369,6 @@ def _typecheckingstub__45df227f118297319531c266e28ed0c7920e380fc44ad9f041510f5e6
|
|
|
8403
8369
|
"""Type checking stubs"""
|
|
8404
8370
|
pass
|
|
8405
8371
|
|
|
8406
|
-
def _typecheckingstub__cb0d6c12ebe5ab30da1683fa9c5b891023ce57e88de2c038f0c84c4ba2f02868(
|
|
8407
|
-
value: typing.Optional[builtins.str],
|
|
8408
|
-
) -> None:
|
|
8409
|
-
"""Type checking stubs"""
|
|
8410
|
-
pass
|
|
8411
|
-
|
|
8412
8372
|
def _typecheckingstub__9df0eb1aaa95a7ca07b1c2dc88007e89e56d90a6006630d5680cdb415dd093f9(
|
|
8413
8373
|
value: typing.Optional[jsii.Number],
|
|
8414
8374
|
) -> None:
|
|
@@ -8438,7 +8398,6 @@ def _typecheckingstub__d65b2884e40d5939ab5441a32efe6879390155bd000dab9e921f71ac4
|
|
|
8438
8398
|
restore_testing_plan_name: builtins.str,
|
|
8439
8399
|
schedule_expression: builtins.str,
|
|
8440
8400
|
schedule_expression_timezone: typing.Optional[builtins.str] = None,
|
|
8441
|
-
schedule_status: typing.Optional[builtins.str] = None,
|
|
8442
8401
|
start_window_hours: typing.Optional[jsii.Number] = None,
|
|
8443
8402
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8444
8403
|
) -> None:
|