aws-cdk-lib 2.193.0__py3-none-any.whl → 2.195.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/__init__.py +2 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.193.0.jsii.tgz → aws-cdk-lib@2.195.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +63 -2
- aws_cdk/aws_aps/__init__.py +34 -22
- aws_cdk/aws_autoscaling/__init__.py +8 -0
- aws_cdk/aws_batch/__init__.py +2 -2
- aws_cdk/aws_bedrock/__init__.py +587 -8
- aws_cdk/aws_ce/__init__.py +34 -22
- aws_cdk/aws_cloudfront/__init__.py +6090 -3972
- aws_cdk/aws_codebuild/__init__.py +19 -10
- aws_cdk/aws_codepipeline/__init__.py +108 -0
- aws_cdk/aws_cognito/__init__.py +132 -6
- aws_cdk/aws_datazone/__init__.py +370 -0
- aws_cdk/aws_dlm/__init__.py +2 -2
- aws_cdk/aws_dsql/__init__.py +9 -0
- aws_cdk/aws_dynamodb/__init__.py +5 -3
- aws_cdk/aws_ec2/__init__.py +138 -11
- aws_cdk/aws_ecr/__init__.py +419 -0
- aws_cdk/aws_ecs/__init__.py +22 -25
- aws_cdk/aws_entityresolution/__init__.py +7 -2
- aws_cdk/aws_events/__init__.py +41 -8
- aws_cdk/aws_fsx/__init__.py +2 -3
- aws_cdk/aws_imagebuilder/__init__.py +160 -10
- aws_cdk/aws_kinesisanalytics/__init__.py +4 -2
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +4 -2
- aws_cdk/aws_lambda/__init__.py +1 -1
- aws_cdk/aws_medialive/__init__.py +4 -6
- aws_cdk/aws_mediapackagev2/__init__.py +50 -6
- aws_cdk/aws_mediatailor/__init__.py +115 -0
- aws_cdk/aws_memorydb/__init__.py +21 -11
- aws_cdk/aws_oam/__init__.py +43 -10
- aws_cdk/aws_omics/__init__.py +5 -5
- aws_cdk/aws_opensearchservice/__init__.py +6 -0
- aws_cdk/aws_quicksight/__init__.py +1 -1
- aws_cdk/aws_rds/__init__.py +87 -8
- aws_cdk/aws_redshiftserverless/__init__.py +20 -0
- aws_cdk/aws_route53/__init__.py +18 -14
- aws_cdk/aws_route53_targets/__init__.py +62 -1
- aws_cdk/aws_route53profiles/__init__.py +1 -1
- aws_cdk/aws_route53resolver/__init__.py +41 -0
- aws_cdk/aws_s3/__init__.py +2 -4
- aws_cdk/aws_s3_notifications/__init__.py +5 -5
- aws_cdk/aws_sagemaker/__init__.py +255 -8
- aws_cdk/aws_ssmguiconnect/__init__.py +544 -0
- aws_cdk/aws_vpclattice/__init__.py +6 -2
- aws_cdk/aws_wisdom/__init__.py +25 -6
- aws_cdk/cloud_assembly_schema/__init__.py +7 -1
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/RECORD +54 -53
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/top_level.txt +0 -0
aws_cdk/__init__.py
CHANGED
|
@@ -37504,6 +37504,7 @@ __all__ = [
|
|
|
37504
37504
|
"aws_sqs",
|
|
37505
37505
|
"aws_ssm",
|
|
37506
37506
|
"aws_ssmcontacts",
|
|
37507
|
+
"aws_ssmguiconnect",
|
|
37507
37508
|
"aws_ssmincidents",
|
|
37508
37509
|
"aws_ssmquicksetup",
|
|
37509
37510
|
"aws_sso",
|
|
@@ -37801,6 +37802,7 @@ from . import aws_sns_subscriptions
|
|
|
37801
37802
|
from . import aws_sqs
|
|
37802
37803
|
from . import aws_ssm
|
|
37803
37804
|
from . import aws_ssmcontacts
|
|
37805
|
+
from . import aws_ssmguiconnect
|
|
37804
37806
|
from . import aws_ssmincidents
|
|
37805
37807
|
from . import aws_ssmquicksetup
|
|
37806
37808
|
from . import aws_sso
|
aws_cdk/_jsii/__init__.py
CHANGED
|
@@ -34,7 +34,7 @@ import aws_cdk.cloud_assembly_schema._jsii
|
|
|
34
34
|
import constructs._jsii
|
|
35
35
|
|
|
36
36
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
37
|
-
"aws-cdk-lib", "2.
|
|
37
|
+
"aws-cdk-lib", "2.195.0", __name__[0:-6], "aws-cdk-lib@2.195.0.jsii.tgz"
|
|
38
38
|
)
|
|
39
39
|
|
|
40
40
|
__all__ = [
|
|
Binary file
|
|
@@ -1664,6 +1664,20 @@ api = apigateway.RestApi(self, "api",
|
|
|
1664
1664
|
)
|
|
1665
1665
|
```
|
|
1666
1666
|
|
|
1667
|
+
You can also configure [endpoint IP address type](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-ip-address-type.html).
|
|
1668
|
+
The default value is `IpAddressType.DUAL_STACK` for private API, and `IpAddressType.IPV4` for regional and edge-optimized API.
|
|
1669
|
+
|
|
1670
|
+
```python
|
|
1671
|
+
api = apigateway.RestApi(self, "api",
|
|
1672
|
+
endpoint_configuration=apigateway.EndpointConfiguration(
|
|
1673
|
+
types=[apigateway.EndpointType.REGIONAL],
|
|
1674
|
+
ip_address_type=apigateway.IpAddressType.DUAL_STACK
|
|
1675
|
+
)
|
|
1676
|
+
)
|
|
1677
|
+
```
|
|
1678
|
+
|
|
1679
|
+
**Note**: If creating a private API, the `IPV4` IP address type is not supported.
|
|
1680
|
+
|
|
1667
1681
|
You can also create an association between your Rest API and a VPC endpoint. By doing so,
|
|
1668
1682
|
API Gateway will generate a new
|
|
1669
1683
|
Route53 Alias DNS record which you can use to invoke your private APIs. More info can be found
|
|
@@ -3861,6 +3875,8 @@ class CfnAccount(
|
|
|
3861
3875
|
|
|
3862
3876
|
To avoid overwriting other roles, you should only have one ``AWS::ApiGateway::Account`` resource per region per account.
|
|
3863
3877
|
|
|
3878
|
+
When you delete a stack containing this resource, API Gateway can still assume the provided IAM role to write API logs to CloudWatch Logs. To deny API Gateway access to write API logs to CloudWatch logs, update the permissions policies or change the IAM role to deny access.
|
|
3879
|
+
|
|
3864
3880
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-account.html
|
|
3865
3881
|
:cloudformationResource: AWS::ApiGateway::Account
|
|
3866
3882
|
:exampleMetadata: fixture=_generated
|
|
@@ -9091,7 +9107,7 @@ class CfnGatewayResponse(
|
|
|
9091
9107
|
):
|
|
9092
9108
|
'''The ``AWS::ApiGateway::GatewayResponse`` resource creates a gateway response for your API.
|
|
9093
9109
|
|
|
9094
|
-
For more information, see `API Gateway Responses <https://docs.aws.amazon.com/apigateway/latest/developerguide/customize-gateway-responses.html#api-gateway-gatewayResponse-definition>`_ in the *API Gateway Developer Guide* .
|
|
9110
|
+
When you delete a stack containing this resource, your custom gateway responses are reset. For more information, see `API Gateway Responses <https://docs.aws.amazon.com/apigateway/latest/developerguide/customize-gateway-responses.html#api-gateway-gatewayResponse-definition>`_ in the *API Gateway Developer Guide* .
|
|
9095
9111
|
|
|
9096
9112
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-gatewayresponse.html
|
|
9097
9113
|
:cloudformationResource: AWS::ApiGateway::GatewayResponse
|
|
@@ -15753,13 +15769,18 @@ class DomainNameProps(DomainNameOptions):
|
|
|
15753
15769
|
@jsii.data_type(
|
|
15754
15770
|
jsii_type="aws-cdk-lib.aws_apigateway.EndpointConfiguration",
|
|
15755
15771
|
jsii_struct_bases=[],
|
|
15756
|
-
name_mapping={
|
|
15772
|
+
name_mapping={
|
|
15773
|
+
"types": "types",
|
|
15774
|
+
"ip_address_type": "ipAddressType",
|
|
15775
|
+
"vpc_endpoints": "vpcEndpoints",
|
|
15776
|
+
},
|
|
15757
15777
|
)
|
|
15758
15778
|
class EndpointConfiguration:
|
|
15759
15779
|
def __init__(
|
|
15760
15780
|
self,
|
|
15761
15781
|
*,
|
|
15762
15782
|
types: typing.Sequence["EndpointType"],
|
|
15783
|
+
ip_address_type: typing.Optional["IpAddressType"] = None,
|
|
15763
15784
|
vpc_endpoints: typing.Optional[typing.Sequence[_IVpcEndpoint_d8ea9bc3]] = None,
|
|
15764
15785
|
) -> None:
|
|
15765
15786
|
'''The endpoint configuration of a REST API, including VPCs and endpoint types.
|
|
@@ -15767,6 +15788,7 @@ class EndpointConfiguration:
|
|
|
15767
15788
|
EndpointConfiguration is a property of the AWS::ApiGateway::RestApi resource.
|
|
15768
15789
|
|
|
15769
15790
|
:param types: A list of endpoint types of an API or its custom domain name. Default: EndpointType.EDGE
|
|
15791
|
+
:param ip_address_type: The IP address types that can invoke the API. Default: undefined - AWS default is DUAL_STACK for private API, IPV4 for all other APIs.
|
|
15770
15792
|
:param vpc_endpoints: A list of VPC Endpoints against which to create Route53 ALIASes. Default: - no ALIASes are created for the endpoint.
|
|
15771
15793
|
|
|
15772
15794
|
:exampleMetadata: infused
|
|
@@ -15786,10 +15808,13 @@ class EndpointConfiguration:
|
|
|
15786
15808
|
if __debug__:
|
|
15787
15809
|
type_hints = typing.get_type_hints(_typecheckingstub__2f3c0216cf00594a10062c97bb84b39e25b55231c15de867663dd59bbbede54a)
|
|
15788
15810
|
check_type(argname="argument types", value=types, expected_type=type_hints["types"])
|
|
15811
|
+
check_type(argname="argument ip_address_type", value=ip_address_type, expected_type=type_hints["ip_address_type"])
|
|
15789
15812
|
check_type(argname="argument vpc_endpoints", value=vpc_endpoints, expected_type=type_hints["vpc_endpoints"])
|
|
15790
15813
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
15791
15814
|
"types": types,
|
|
15792
15815
|
}
|
|
15816
|
+
if ip_address_type is not None:
|
|
15817
|
+
self._values["ip_address_type"] = ip_address_type
|
|
15793
15818
|
if vpc_endpoints is not None:
|
|
15794
15819
|
self._values["vpc_endpoints"] = vpc_endpoints
|
|
15795
15820
|
|
|
@@ -15803,6 +15828,17 @@ class EndpointConfiguration:
|
|
|
15803
15828
|
assert result is not None, "Required property 'types' is missing"
|
|
15804
15829
|
return typing.cast(typing.List["EndpointType"], result)
|
|
15805
15830
|
|
|
15831
|
+
@builtins.property
|
|
15832
|
+
def ip_address_type(self) -> typing.Optional["IpAddressType"]:
|
|
15833
|
+
'''The IP address types that can invoke the API.
|
|
15834
|
+
|
|
15835
|
+
:default: undefined - AWS default is DUAL_STACK for private API, IPV4 for all other APIs.
|
|
15836
|
+
|
|
15837
|
+
:see: https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-ip-address-type.html
|
|
15838
|
+
'''
|
|
15839
|
+
result = self._values.get("ip_address_type")
|
|
15840
|
+
return typing.cast(typing.Optional["IpAddressType"], result)
|
|
15841
|
+
|
|
15806
15842
|
@builtins.property
|
|
15807
15843
|
def vpc_endpoints(self) -> typing.Optional[typing.List[_IVpcEndpoint_d8ea9bc3]]:
|
|
15808
15844
|
'''A list of VPC Endpoints against which to create Route53 ALIASes.
|
|
@@ -18287,6 +18323,28 @@ class IntegrationType(enum.Enum):
|
|
|
18287
18323
|
'''For integrating the API method request with API Gateway as a "loop-back" endpoint without invoking any backend.'''
|
|
18288
18324
|
|
|
18289
18325
|
|
|
18326
|
+
@jsii.enum(jsii_type="aws-cdk-lib.aws_apigateway.IpAddressType")
|
|
18327
|
+
class IpAddressType(enum.Enum):
|
|
18328
|
+
'''Supported IP Address Types.
|
|
18329
|
+
|
|
18330
|
+
:exampleMetadata: infused
|
|
18331
|
+
|
|
18332
|
+
Example::
|
|
18333
|
+
|
|
18334
|
+
api = apigateway.RestApi(self, "api",
|
|
18335
|
+
endpoint_configuration=apigateway.EndpointConfiguration(
|
|
18336
|
+
types=[apigateway.EndpointType.REGIONAL],
|
|
18337
|
+
ip_address_type=apigateway.IpAddressType.DUAL_STACK
|
|
18338
|
+
)
|
|
18339
|
+
)
|
|
18340
|
+
'''
|
|
18341
|
+
|
|
18342
|
+
IPV4 = "IPV4"
|
|
18343
|
+
'''IPv4 address type.'''
|
|
18344
|
+
DUAL_STACK = "DUAL_STACK"
|
|
18345
|
+
'''IPv4 and IPv6 address type.'''
|
|
18346
|
+
|
|
18347
|
+
|
|
18290
18348
|
@jsii.data_type(
|
|
18291
18349
|
jsii_type="aws-cdk-lib.aws_apigateway.JsonSchema",
|
|
18292
18350
|
jsii_struct_bases=[],
|
|
@@ -24583,6 +24641,7 @@ class RestApiBaseProps:
|
|
|
24583
24641
|
types=[apigateway.EndpointType.EDGE],
|
|
24584
24642
|
|
|
24585
24643
|
# the properties below are optional
|
|
24644
|
+
ip_address_type=apigateway.IpAddressType.IPV4,
|
|
24586
24645
|
vpc_endpoints=[vpc_endpoint]
|
|
24587
24646
|
),
|
|
24588
24647
|
endpoint_export_name="endpointExportName",
|
|
@@ -33279,6 +33338,7 @@ __all__ = [
|
|
|
33279
33338
|
"IntegrationProps",
|
|
33280
33339
|
"IntegrationResponse",
|
|
33281
33340
|
"IntegrationType",
|
|
33341
|
+
"IpAddressType",
|
|
33282
33342
|
"JsonSchema",
|
|
33283
33343
|
"JsonSchemaType",
|
|
33284
33344
|
"JsonSchemaVersion",
|
|
@@ -35494,6 +35554,7 @@ def _typecheckingstub__fd56e3d47a950d5babcb79f21442620ade11693af8810f3b0b64fa029
|
|
|
35494
35554
|
def _typecheckingstub__2f3c0216cf00594a10062c97bb84b39e25b55231c15de867663dd59bbbede54a(
|
|
35495
35555
|
*,
|
|
35496
35556
|
types: typing.Sequence[EndpointType],
|
|
35557
|
+
ip_address_type: typing.Optional[IpAddressType] = None,
|
|
35497
35558
|
vpc_endpoints: typing.Optional[typing.Sequence[_IVpcEndpoint_d8ea9bc3]] = None,
|
|
35498
35559
|
) -> None:
|
|
35499
35560
|
"""Type checking stubs"""
|
aws_cdk/aws_aps/__init__.py
CHANGED
|
@@ -1245,7 +1245,7 @@ class CfnWorkspace(
|
|
|
1245
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* .
|
|
1246
1246
|
:param logging_configuration: Contains information about the logging configuration for the workspace.
|
|
1247
1247
|
:param tags: The list of tag keys and values that are associated with the workspace.
|
|
1248
|
-
:param workspace_configuration:
|
|
1248
|
+
:param workspace_configuration: Use this structure to define label sets and the ingestion limits for time series that match label sets, and to specify the retention period of the workspace.
|
|
1249
1249
|
'''
|
|
1250
1250
|
if __debug__:
|
|
1251
1251
|
type_hints = typing.get_type_hints(_typecheckingstub__0d7d4de6c2c3c0a6cc1f746f35f29f98344da5c5d59e48a9d1e788ab80e3ef9b)
|
|
@@ -1411,7 +1411,7 @@ class CfnWorkspace(
|
|
|
1411
1411
|
def workspace_configuration(
|
|
1412
1412
|
self,
|
|
1413
1413
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.WorkspaceConfigurationProperty"]]:
|
|
1414
|
-
'''
|
|
1414
|
+
'''Use this structure to define label sets and the ingestion limits for time series that match label sets, and to specify the retention period of the workspace.'''
|
|
1415
1415
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.WorkspaceConfigurationProperty"]], jsii.get(self, "workspaceConfiguration"))
|
|
1416
1416
|
|
|
1417
1417
|
@workspace_configuration.setter
|
|
@@ -1431,10 +1431,12 @@ class CfnWorkspace(
|
|
|
1431
1431
|
)
|
|
1432
1432
|
class LabelProperty:
|
|
1433
1433
|
def __init__(self, *, name: builtins.str, value: builtins.str) -> None:
|
|
1434
|
-
'''
|
|
1434
|
+
'''A label is a name:value pair used to add context to ingested metrics.
|
|
1435
1435
|
|
|
1436
|
-
|
|
1437
|
-
|
|
1436
|
+
This structure defines the name and value for one label that is used in a label set. You can set ingestion limits on time series that match defined label sets, to help prevent a workspace from being overwhelmed with unexpected spikes in time series ingestion.
|
|
1437
|
+
|
|
1438
|
+
:param name: The name for this label.
|
|
1439
|
+
:param value: The value for this label.
|
|
1438
1440
|
|
|
1439
1441
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-label.html
|
|
1440
1442
|
:exampleMetadata: fixture=_generated
|
|
@@ -1461,7 +1463,7 @@ class CfnWorkspace(
|
|
|
1461
1463
|
|
|
1462
1464
|
@builtins.property
|
|
1463
1465
|
def name(self) -> builtins.str:
|
|
1464
|
-
'''
|
|
1466
|
+
'''The name for this label.
|
|
1465
1467
|
|
|
1466
1468
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-label.html#cfn-aps-workspace-label-name
|
|
1467
1469
|
'''
|
|
@@ -1471,7 +1473,7 @@ class CfnWorkspace(
|
|
|
1471
1473
|
|
|
1472
1474
|
@builtins.property
|
|
1473
1475
|
def value(self) -> builtins.str:
|
|
1474
|
-
'''
|
|
1476
|
+
'''The value for this label.
|
|
1475
1477
|
|
|
1476
1478
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-label.html#cfn-aps-workspace-label-value
|
|
1477
1479
|
'''
|
|
@@ -1497,9 +1499,9 @@ class CfnWorkspace(
|
|
|
1497
1499
|
)
|
|
1498
1500
|
class LimitsPerLabelSetEntryProperty:
|
|
1499
1501
|
def __init__(self, *, max_series: typing.Optional[jsii.Number] = None) -> None:
|
|
1500
|
-
'''
|
|
1502
|
+
'''This structure contains the limits that apply to time series that match one label set.
|
|
1501
1503
|
|
|
1502
|
-
:param max_series: The maximum number of active series that can be ingested
|
|
1504
|
+
:param max_series: The maximum number of active series that can be ingested that match this label set. Setting this to 0 causes no label set limit to be enforced, but it does cause Amazon Managed Service for Prometheus to vend label set metrics to CloudWatch
|
|
1503
1505
|
|
|
1504
1506
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-limitsperlabelsetentry.html
|
|
1505
1507
|
:exampleMetadata: fixture=_generated
|
|
@@ -1523,7 +1525,9 @@ class CfnWorkspace(
|
|
|
1523
1525
|
|
|
1524
1526
|
@builtins.property
|
|
1525
1527
|
def max_series(self) -> typing.Optional[jsii.Number]:
|
|
1526
|
-
'''The maximum number of active series that can be ingested
|
|
1528
|
+
'''The maximum number of active series that can be ingested that match this label set.
|
|
1529
|
+
|
|
1530
|
+
Setting this to 0 causes no label set limit to be enforced, but it does cause Amazon Managed Service for Prometheus to vend label set metrics to CloudWatch
|
|
1527
1531
|
|
|
1528
1532
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-limitsperlabelsetentry.html#cfn-aps-workspace-limitsperlabelsetentry-maxseries
|
|
1529
1533
|
'''
|
|
@@ -1553,10 +1557,12 @@ class CfnWorkspace(
|
|
|
1553
1557
|
label_set: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspace.LabelProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
1554
1558
|
limits: typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspace.LimitsPerLabelSetEntryProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1555
1559
|
) -> None:
|
|
1556
|
-
'''
|
|
1560
|
+
'''This defines a label set for the workspace, and defines the ingestion limit for active time series that match that label set.
|
|
1561
|
+
|
|
1562
|
+
Each label name in a label set must be unique.
|
|
1557
1563
|
|
|
1558
|
-
:param label_set:
|
|
1559
|
-
:param limits:
|
|
1564
|
+
:param label_set: This defines one label set that will have an enforced ingestion limit. You can set ingestion limits on time series that match defined label sets, to help prevent a workspace from being overwhelmed with unexpected spikes in time series ingestion. Label values accept all UTF-8 characters with one exception. If the label name is metric name label ``__ *name* __`` , then the *metric* part of the name must conform to the following pattern: ``[a-zA-Z_:][a-zA-Z0-9_:]*``
|
|
1565
|
+
:param limits: This structure contains the information about the limits that apply to time series that match this label set.
|
|
1560
1566
|
|
|
1561
1567
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-limitsperlabelset.html
|
|
1562
1568
|
:exampleMetadata: fixture=_generated
|
|
@@ -1590,7 +1596,11 @@ class CfnWorkspace(
|
|
|
1590
1596
|
def label_set(
|
|
1591
1597
|
self,
|
|
1592
1598
|
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LabelProperty"]]]:
|
|
1593
|
-
'''
|
|
1599
|
+
'''This defines one label set that will have an enforced ingestion limit.
|
|
1600
|
+
|
|
1601
|
+
You can set ingestion limits on time series that match defined label sets, to help prevent a workspace from being overwhelmed with unexpected spikes in time series ingestion.
|
|
1602
|
+
|
|
1603
|
+
Label values accept all UTF-8 characters with one exception. If the label name is metric name label ``__ *name* __`` , then the *metric* part of the name must conform to the following pattern: ``[a-zA-Z_:][a-zA-Z0-9_:]*``
|
|
1594
1604
|
|
|
1595
1605
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-limitsperlabelset.html#cfn-aps-workspace-limitsperlabelset-labelset
|
|
1596
1606
|
'''
|
|
@@ -1602,7 +1612,7 @@ class CfnWorkspace(
|
|
|
1602
1612
|
def limits(
|
|
1603
1613
|
self,
|
|
1604
1614
|
) -> typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LimitsPerLabelSetEntryProperty"]:
|
|
1605
|
-
'''
|
|
1615
|
+
'''This structure contains the information about the limits that apply to time series that match this label set.
|
|
1606
1616
|
|
|
1607
1617
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-limitsperlabelset.html#cfn-aps-workspace-limitsperlabelset-limits
|
|
1608
1618
|
'''
|
|
@@ -1693,10 +1703,10 @@ class CfnWorkspace(
|
|
|
1693
1703
|
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
1704
|
retention_period_in_days: typing.Optional[jsii.Number] = None,
|
|
1695
1705
|
) -> None:
|
|
1696
|
-
'''
|
|
1706
|
+
'''Use this structure to define label sets and the ingestion limits for time series that match label sets, and to specify the retention period of the workspace.
|
|
1697
1707
|
|
|
1698
|
-
:param limits_per_label_sets:
|
|
1699
|
-
:param retention_period_in_days:
|
|
1708
|
+
:param limits_per_label_sets: This is an array of structures, where each structure defines a label set for the workspace, and defines the ingestion limit for active time series for each of those label sets. Each label name in a label set must be unique.
|
|
1709
|
+
:param retention_period_in_days: Specifies how many days that metrics will be retained in the workspace.
|
|
1700
1710
|
|
|
1701
1711
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-workspaceconfiguration.html
|
|
1702
1712
|
:exampleMetadata: fixture=_generated
|
|
@@ -1734,7 +1744,9 @@ class CfnWorkspace(
|
|
|
1734
1744
|
def limits_per_label_sets(
|
|
1735
1745
|
self,
|
|
1736
1746
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LimitsPerLabelSetProperty"]]]]:
|
|
1737
|
-
'''
|
|
1747
|
+
'''This is an array of structures, where each structure defines a label set for the workspace, and defines the ingestion limit for active time series for each of those label sets.
|
|
1748
|
+
|
|
1749
|
+
Each label name in a label set must be unique.
|
|
1738
1750
|
|
|
1739
1751
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-workspaceconfiguration.html#cfn-aps-workspace-workspaceconfiguration-limitsperlabelsets
|
|
1740
1752
|
'''
|
|
@@ -1743,7 +1755,7 @@ class CfnWorkspace(
|
|
|
1743
1755
|
|
|
1744
1756
|
@builtins.property
|
|
1745
1757
|
def retention_period_in_days(self) -> typing.Optional[jsii.Number]:
|
|
1746
|
-
'''
|
|
1758
|
+
'''Specifies how many days that metrics will be retained in the workspace.
|
|
1747
1759
|
|
|
1748
1760
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-workspaceconfiguration.html#cfn-aps-workspace-workspaceconfiguration-retentionperiodindays
|
|
1749
1761
|
'''
|
|
@@ -1792,7 +1804,7 @@ class CfnWorkspaceProps:
|
|
|
1792
1804
|
: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* .
|
|
1793
1805
|
:param logging_configuration: Contains information about the logging configuration for the workspace.
|
|
1794
1806
|
:param tags: The list of tag keys and values that are associated with the workspace.
|
|
1795
|
-
:param workspace_configuration:
|
|
1807
|
+
:param workspace_configuration: Use this structure to define label sets and the ingestion limits for time series that match label sets, and to specify the retention period of the workspace.
|
|
1796
1808
|
|
|
1797
1809
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html
|
|
1798
1810
|
:exampleMetadata: fixture=_generated
|
|
@@ -1911,7 +1923,7 @@ class CfnWorkspaceProps:
|
|
|
1911
1923
|
def workspace_configuration(
|
|
1912
1924
|
self,
|
|
1913
1925
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWorkspace.WorkspaceConfigurationProperty]]:
|
|
1914
|
-
'''
|
|
1926
|
+
'''Use this structure to define label sets and the ingestion limits for time series that match label sets, and to specify the retention period of the workspace.
|
|
1915
1927
|
|
|
1916
1928
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html#cfn-aps-workspace-workspaceconfiguration
|
|
1917
1929
|
'''
|
|
@@ -2916,6 +2916,14 @@ class CfnAutoScalingGroup(
|
|
|
2916
2916
|
'''The CloudFormation resource type name for this resource class.'''
|
|
2917
2917
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
2918
2918
|
|
|
2919
|
+
@builtins.property
|
|
2920
|
+
@jsii.member(jsii_name="attrAutoScalingGroupArn")
|
|
2921
|
+
def attr_auto_scaling_group_arn(self) -> builtins.str:
|
|
2922
|
+
'''
|
|
2923
|
+
:cloudformationAttribute: AutoScalingGroupARN
|
|
2924
|
+
'''
|
|
2925
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAutoScalingGroupArn"))
|
|
2926
|
+
|
|
2919
2927
|
@builtins.property
|
|
2920
2928
|
@jsii.member(jsii_name="cfnProperties")
|
|
2921
2929
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
aws_cdk/aws_batch/__init__.py
CHANGED
|
@@ -2252,7 +2252,7 @@ class CfnComputeEnvironment(
|
|
|
2252
2252
|
For more information about infrastructure updates, see `Updating compute environments <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html>`_ in the *AWS Batch User Guide* .
|
|
2253
2253
|
|
|
2254
2254
|
:param job_execution_timeout_minutes: Specifies the job timeout (in minutes) when the compute environment infrastructure is updated. The default value is 30. Default: - 30
|
|
2255
|
-
:param terminate_jobs_on_update: Specifies whether jobs are automatically terminated when the
|
|
2255
|
+
:param terminate_jobs_on_update: Specifies whether jobs are automatically terminated when the compute environment infrastructure is updated. The default value is ``false`` . Default: - false
|
|
2256
2256
|
|
|
2257
2257
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-updatepolicy.html
|
|
2258
2258
|
:exampleMetadata: fixture=_generated
|
|
@@ -2295,7 +2295,7 @@ class CfnComputeEnvironment(
|
|
|
2295
2295
|
def terminate_jobs_on_update(
|
|
2296
2296
|
self,
|
|
2297
2297
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
2298
|
-
'''Specifies whether jobs are automatically terminated when the
|
|
2298
|
+
'''Specifies whether jobs are automatically terminated when the compute environment infrastructure is updated.
|
|
2299
2299
|
|
|
2300
2300
|
The default value is ``false`` .
|
|
2301
2301
|
|