aws-cdk-lib 2.125.0__py3-none-any.whl → 2.127.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 +0 -2
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.125.0.jsii.tgz → aws-cdk-lib@2.127.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +18 -6
- aws_cdk/aws_amazonmq/__init__.py +3 -2
- aws_cdk/aws_amplifyuibuilder/__init__.py +1212 -666
- aws_cdk/aws_apigateway/__init__.py +7 -3
- aws_cdk/aws_appconfig/__init__.py +108 -19
- aws_cdk/aws_appsync/__init__.py +43 -0
- aws_cdk/aws_autoscaling/__init__.py +37 -14
- aws_cdk/aws_cassandra/__init__.py +810 -4
- aws_cdk/aws_cloudfront/__init__.py +35 -37
- aws_cdk/aws_cloudfront/experimental/__init__.py +21 -0
- aws_cdk/aws_codebuild/__init__.py +43 -3
- aws_cdk/aws_codecommit/__init__.py +1 -0
- aws_cdk/aws_codepipeline/__init__.py +7 -3
- aws_cdk/aws_codepipeline_actions/__init__.py +11 -1
- aws_cdk/aws_codestarnotifications/__init__.py +24 -15
- aws_cdk/aws_cognito/__init__.py +180 -116
- aws_cdk/aws_datasync/__init__.py +8 -4
- aws_cdk/aws_dynamodb/__init__.py +80 -11
- aws_cdk/aws_ec2/__init__.py +207 -45
- aws_cdk/aws_ecs/__init__.py +171 -78
- aws_cdk/aws_ecs_patterns/__init__.py +24 -0
- aws_cdk/aws_efs/__init__.py +64 -8
- aws_cdk/aws_eks/__init__.py +52 -41
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +12 -9
- aws_cdk/aws_fis/__init__.py +32 -12
- aws_cdk/aws_fsx/__init__.py +61 -43
- aws_cdk/aws_glue/__init__.py +449 -0
- aws_cdk/aws_guardduty/__init__.py +0 -8
- aws_cdk/aws_iam/__init__.py +3 -3
- aws_cdk/aws_inspectorv2/__init__.py +989 -0
- aws_cdk/aws_internetmonitor/__init__.py +10 -12
- aws_cdk/aws_iot/__init__.py +112 -0
- aws_cdk/aws_iotwireless/__init__.py +32 -19
- aws_cdk/aws_lambda/__init__.py +129 -32
- aws_cdk/aws_lambda_event_sources/__init__.py +95 -4
- aws_cdk/aws_lambda_nodejs/__init__.py +21 -0
- aws_cdk/aws_location/__init__.py +8 -2
- aws_cdk/aws_logs/__init__.py +7 -3
- aws_cdk/aws_networkmanager/__init__.py +1 -1
- aws_cdk/aws_opensearchserverless/__init__.py +4 -4
- aws_cdk/aws_osis/__init__.py +13 -13
- aws_cdk/aws_personalize/__init__.py +1 -1
- aws_cdk/aws_pinpoint/__init__.py +5 -5
- aws_cdk/aws_pipes/__init__.py +7 -10
- aws_cdk/aws_rds/__init__.py +449 -8
- aws_cdk/aws_redshiftserverless/__init__.py +282 -0
- aws_cdk/aws_rolesanywhere/__init__.py +53 -41
- aws_cdk/aws_route53/__init__.py +282 -0
- aws_cdk/aws_s3/__init__.py +11 -6
- aws_cdk/aws_sagemaker/__init__.py +1398 -39
- aws_cdk/aws_sns/__init__.py +56 -13
- aws_cdk/aws_sqs/__init__.py +13 -10
- aws_cdk/aws_stepfunctions/__init__.py +3612 -1395
- aws_cdk/aws_stepfunctions_tasks/__init__.py +267 -181
- aws_cdk/aws_transfer/__init__.py +1 -1
- aws_cdk/aws_verifiedpermissions/__init__.py +55 -55
- aws_cdk/aws_workspacesweb/__init__.py +6 -3
- aws_cdk/cx_api/__init__.py +17 -0
- aws_cdk/triggers/__init__.py +21 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/RECORD +68 -69
- aws_cdk/aws_ssmguiconnect/__init__.py +0 -540
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/top_level.txt +0 -0
|
@@ -96,6 +96,25 @@ fn.add_event_source(S3EventSource(bucket,
|
|
|
96
96
|
))
|
|
97
97
|
```
|
|
98
98
|
|
|
99
|
+
In the example above, `S3EventSource` is accepting `Bucket` type as parameter.
|
|
100
|
+
However, Functions like `from_bucket_name` and `from_bucket_arn` will return `IBucket`
|
|
101
|
+
and is not compliant with `S3EventSource`. If this is the case, please consider using
|
|
102
|
+
`S3EventSourceV2` instead, this class accepts `IBucket`.
|
|
103
|
+
|
|
104
|
+
```python
|
|
105
|
+
import aws_cdk.aws_s3 as s3
|
|
106
|
+
from aws_cdk.aws_lambda_event_sources import S3EventSourceV2
|
|
107
|
+
# fn: lambda.Function
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
bucket = s3.Bucket.from_bucket_name(self, "Bucket", "bucket-name")
|
|
111
|
+
|
|
112
|
+
fn.add_event_source(S3EventSourceV2(bucket,
|
|
113
|
+
events=[s3.EventType.OBJECT_CREATED, s3.EventType.OBJECT_REMOVED],
|
|
114
|
+
filters=[s3.NotificationKeyFilter(prefix="subdir/")]
|
|
115
|
+
))
|
|
116
|
+
```
|
|
117
|
+
|
|
99
118
|
## SNS
|
|
100
119
|
|
|
101
120
|
You can write Lambda functions to process Amazon Simple Notification Service
|
|
@@ -1164,13 +1183,14 @@ class S3EventSourceProps:
|
|
|
1164
1183
|
|
|
1165
1184
|
Example::
|
|
1166
1185
|
|
|
1167
|
-
import aws_cdk.aws_lambda_event_sources as eventsources
|
|
1168
1186
|
import aws_cdk.aws_s3 as s3
|
|
1169
|
-
|
|
1187
|
+
from aws_cdk.aws_lambda_event_sources import S3EventSource
|
|
1170
1188
|
# fn: lambda.Function
|
|
1171
1189
|
|
|
1172
|
-
|
|
1173
|
-
|
|
1190
|
+
|
|
1191
|
+
bucket = s3.Bucket(self, "mybucket")
|
|
1192
|
+
|
|
1193
|
+
fn.add_event_source(S3EventSource(bucket,
|
|
1174
1194
|
events=[s3.EventType.OBJECT_CREATED, s3.EventType.OBJECT_REMOVED],
|
|
1175
1195
|
filters=[s3.NotificationKeyFilter(prefix="subdir/")]
|
|
1176
1196
|
))
|
|
@@ -1215,6 +1235,61 @@ class S3EventSourceProps:
|
|
|
1215
1235
|
)
|
|
1216
1236
|
|
|
1217
1237
|
|
|
1238
|
+
@jsii.implements(_IEventSource_3686b3f8)
|
|
1239
|
+
class S3EventSourceV2(
|
|
1240
|
+
metaclass=jsii.JSIIMeta,
|
|
1241
|
+
jsii_type="aws-cdk-lib.aws_lambda_event_sources.S3EventSourceV2",
|
|
1242
|
+
):
|
|
1243
|
+
'''S3EventSourceV2 Use S3 bucket notifications as an event source for AWS Lambda.
|
|
1244
|
+
|
|
1245
|
+
:exampleMetadata: infused
|
|
1246
|
+
|
|
1247
|
+
Example::
|
|
1248
|
+
|
|
1249
|
+
import aws_cdk.aws_s3 as s3
|
|
1250
|
+
from aws_cdk.aws_lambda_event_sources import S3EventSourceV2
|
|
1251
|
+
# fn: lambda.Function
|
|
1252
|
+
|
|
1253
|
+
|
|
1254
|
+
bucket = s3.Bucket.from_bucket_name(self, "Bucket", "bucket-name")
|
|
1255
|
+
|
|
1256
|
+
fn.add_event_source(S3EventSourceV2(bucket,
|
|
1257
|
+
events=[s3.EventType.OBJECT_CREATED, s3.EventType.OBJECT_REMOVED],
|
|
1258
|
+
filters=[s3.NotificationKeyFilter(prefix="subdir/")]
|
|
1259
|
+
))
|
|
1260
|
+
'''
|
|
1261
|
+
|
|
1262
|
+
def __init__(
|
|
1263
|
+
self,
|
|
1264
|
+
bucket: _IBucket_42e086fd,
|
|
1265
|
+
*,
|
|
1266
|
+
events: typing.Sequence[_EventType_ef204dc6],
|
|
1267
|
+
filters: typing.Optional[typing.Sequence[typing.Union[_NotificationKeyFilter_eba42084, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1268
|
+
) -> None:
|
|
1269
|
+
'''
|
|
1270
|
+
:param bucket: -
|
|
1271
|
+
:param events: The s3 event types that will trigger the notification.
|
|
1272
|
+
:param filters: S3 object key filter rules to determine which objects trigger this event. Each filter must include a ``prefix`` and/or ``suffix`` that will be matched against the s3 object key. Refer to the S3 Developer Guide for details about allowed filter rules.
|
|
1273
|
+
'''
|
|
1274
|
+
if __debug__:
|
|
1275
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3b524b9f9e27e80410f1523d51bf79704d46cf77b7a59d204a7810cc4c27a14c)
|
|
1276
|
+
check_type(argname="argument bucket", value=bucket, expected_type=type_hints["bucket"])
|
|
1277
|
+
props = S3EventSourceProps(events=events, filters=filters)
|
|
1278
|
+
|
|
1279
|
+
jsii.create(self.__class__, self, [bucket, props])
|
|
1280
|
+
|
|
1281
|
+
@jsii.member(jsii_name="bind")
|
|
1282
|
+
def bind(self, target: _IFunction_6adb0ab8) -> None:
|
|
1283
|
+
'''Called by ``lambda.addEventSource`` to allow the event source to bind to this function.
|
|
1284
|
+
|
|
1285
|
+
:param target: -
|
|
1286
|
+
'''
|
|
1287
|
+
if __debug__:
|
|
1288
|
+
type_hints = typing.get_type_hints(_typecheckingstub__eba09585dbf41064eb893342d38abe2dd66fbda8d2b8c07ad2b32d7cd7015de9)
|
|
1289
|
+
check_type(argname="argument target", value=target, expected_type=type_hints["target"])
|
|
1290
|
+
return typing.cast(None, jsii.invoke(self, "bind", [target]))
|
|
1291
|
+
|
|
1292
|
+
|
|
1218
1293
|
@jsii.implements(_IEventSourceDlq_5e2c6ad9)
|
|
1219
1294
|
class S3OnFailureDestination(
|
|
1220
1295
|
metaclass=jsii.JSIIMeta,
|
|
@@ -3479,6 +3554,7 @@ __all__ = [
|
|
|
3479
3554
|
"ManagedKafkaEventSourceProps",
|
|
3480
3555
|
"S3EventSource",
|
|
3481
3556
|
"S3EventSourceProps",
|
|
3557
|
+
"S3EventSourceV2",
|
|
3482
3558
|
"S3OnFailureDestination",
|
|
3483
3559
|
"SelfManagedKafkaEventSource",
|
|
3484
3560
|
"SelfManagedKafkaEventSourceProps",
|
|
@@ -3582,6 +3658,21 @@ def _typecheckingstub__b46031fffc8f7bfa84384e954e6ee022bcc41e41187a45226ab35681d
|
|
|
3582
3658
|
"""Type checking stubs"""
|
|
3583
3659
|
pass
|
|
3584
3660
|
|
|
3661
|
+
def _typecheckingstub__3b524b9f9e27e80410f1523d51bf79704d46cf77b7a59d204a7810cc4c27a14c(
|
|
3662
|
+
bucket: _IBucket_42e086fd,
|
|
3663
|
+
*,
|
|
3664
|
+
events: typing.Sequence[_EventType_ef204dc6],
|
|
3665
|
+
filters: typing.Optional[typing.Sequence[typing.Union[_NotificationKeyFilter_eba42084, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3666
|
+
) -> None:
|
|
3667
|
+
"""Type checking stubs"""
|
|
3668
|
+
pass
|
|
3669
|
+
|
|
3670
|
+
def _typecheckingstub__eba09585dbf41064eb893342d38abe2dd66fbda8d2b8c07ad2b32d7cd7015de9(
|
|
3671
|
+
target: _IFunction_6adb0ab8,
|
|
3672
|
+
) -> None:
|
|
3673
|
+
"""Type checking stubs"""
|
|
3674
|
+
pass
|
|
3675
|
+
|
|
3585
3676
|
def _typecheckingstub__f05f3a68a05800664f2bd5a5604691c83a38238799acf8fe643171f61cb9a364(
|
|
3586
3677
|
bucket: _IBucket_42e086fd,
|
|
3587
3678
|
) -> None:
|
|
@@ -417,6 +417,7 @@ from ..aws_lambda import (
|
|
|
417
417
|
ILayerVersion as _ILayerVersion_5ac127c8,
|
|
418
418
|
LambdaInsightsVersion as _LambdaInsightsVersion_9dfbfef9,
|
|
419
419
|
LogRetentionRetryOptions as _LogRetentionRetryOptions_ad797a7a,
|
|
420
|
+
LoggingFormat as _LoggingFormat_30be8e01,
|
|
420
421
|
ParamsAndSecretsLayerVersion as _ParamsAndSecretsLayerVersion_dce97f06,
|
|
421
422
|
Runtime as _Runtime_b4eaa844,
|
|
422
423
|
RuntimeManagementMode as _RuntimeManagementMode_688c173b,
|
|
@@ -1473,6 +1474,7 @@ class NodejsFunction(
|
|
|
1473
1474
|
insights_version: typing.Optional[_LambdaInsightsVersion_9dfbfef9] = None,
|
|
1474
1475
|
layers: typing.Optional[typing.Sequence[_ILayerVersion_5ac127c8]] = None,
|
|
1475
1476
|
log_format: typing.Optional[builtins.str] = None,
|
|
1477
|
+
logging_format: typing.Optional[_LoggingFormat_30be8e01] = None,
|
|
1476
1478
|
log_group: typing.Optional[_ILogGroup_3c4fa718] = None,
|
|
1477
1479
|
log_retention: typing.Optional[_RetentionDays_070f99f0] = None,
|
|
1478
1480
|
log_retention_retry_options: typing.Optional[typing.Union[_LogRetentionRetryOptions_ad797a7a, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -1527,6 +1529,7 @@ class NodejsFunction(
|
|
|
1527
1529
|
:param insights_version: Specify the version of CloudWatch Lambda insights to use for monitoring. Default: - No Lambda Insights
|
|
1528
1530
|
:param layers: A list of layers to add to the function's execution environment. You can configure your Lambda function to pull in additional code during initialization in the form of layers. Layers are packages of libraries or other dependencies that can be used by multiple functions. Default: - No layers.
|
|
1529
1531
|
:param log_format: Sets the logFormat for the function. Default: "Text"
|
|
1532
|
+
:param logging_format: Sets the loggingFormat for the function. Default: LoggingFormat.TEXT
|
|
1530
1533
|
:param log_group: The log group the function sends logs to. By default, Lambda functions send logs to an automatically created default log group named /aws/lambda/<function name>. However you cannot change the properties of this auto-created log group using the AWS CDK, e.g. you cannot set a different log retention. Use the ``logGroup`` property to create a fully customizable LogGroup ahead of time, and instruct the Lambda function to send logs to it. Providing a user-controlled log group was rolled out to commercial regions on 2023-11-16. If you are deploying to another type of region, please check regional availability first. Default: ``/aws/lambda/${this.functionName}`` - default log group created by Lambda
|
|
1531
1534
|
:param log_retention: The number of days log events are kept in CloudWatch Logs. When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to ``INFINITE``. This is a legacy API and we strongly recommend you move away from it if you can. Instead create a fully customizable log group with ``logs.LogGroup`` and use the ``logGroup`` property to instruct the Lambda function to send logs to it. Migrating from ``logRetention`` to ``logGroup`` will cause the name of the log group to change. Users and code and referencing the name verbatim will have to adjust. In AWS CDK code, you can access the log group name directly from the LogGroup construct:: import * as logs from 'aws-cdk-lib/aws-logs'; declare const myLogGroup: logs.LogGroup; myLogGroup.logGroupName; Default: logs.RetentionDays.INFINITE
|
|
1532
1535
|
:param log_retention_retry_options: When log retention is specified, a custom resource attempts to create the CloudWatch log group. These options control the retry policy when interacting with CloudWatch APIs. This is a legacy API and we strongly recommend you migrate to ``logGroup`` if you can. ``logGroup`` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. Default: - Default AWS SDK retry options.
|
|
@@ -1583,6 +1586,7 @@ class NodejsFunction(
|
|
|
1583
1586
|
insights_version=insights_version,
|
|
1584
1587
|
layers=layers,
|
|
1585
1588
|
log_format=log_format,
|
|
1589
|
+
logging_format=logging_format,
|
|
1586
1590
|
log_group=log_group,
|
|
1587
1591
|
log_retention=log_retention,
|
|
1588
1592
|
log_retention_retry_options=log_retention_retry_options,
|
|
@@ -1639,6 +1643,7 @@ class NodejsFunction(
|
|
|
1639
1643
|
"insights_version": "insightsVersion",
|
|
1640
1644
|
"layers": "layers",
|
|
1641
1645
|
"log_format": "logFormat",
|
|
1646
|
+
"logging_format": "loggingFormat",
|
|
1642
1647
|
"log_group": "logGroup",
|
|
1643
1648
|
"log_retention": "logRetention",
|
|
1644
1649
|
"log_retention_retry_options": "logRetentionRetryOptions",
|
|
@@ -1695,6 +1700,7 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
|
|
|
1695
1700
|
insights_version: typing.Optional[_LambdaInsightsVersion_9dfbfef9] = None,
|
|
1696
1701
|
layers: typing.Optional[typing.Sequence[_ILayerVersion_5ac127c8]] = None,
|
|
1697
1702
|
log_format: typing.Optional[builtins.str] = None,
|
|
1703
|
+
logging_format: typing.Optional[_LoggingFormat_30be8e01] = None,
|
|
1698
1704
|
log_group: typing.Optional[_ILogGroup_3c4fa718] = None,
|
|
1699
1705
|
log_retention: typing.Optional[_RetentionDays_070f99f0] = None,
|
|
1700
1706
|
log_retention_retry_options: typing.Optional[typing.Union[_LogRetentionRetryOptions_ad797a7a, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -1748,6 +1754,7 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
|
|
|
1748
1754
|
:param insights_version: Specify the version of CloudWatch Lambda insights to use for monitoring. Default: - No Lambda Insights
|
|
1749
1755
|
:param layers: A list of layers to add to the function's execution environment. You can configure your Lambda function to pull in additional code during initialization in the form of layers. Layers are packages of libraries or other dependencies that can be used by multiple functions. Default: - No layers.
|
|
1750
1756
|
:param log_format: Sets the logFormat for the function. Default: "Text"
|
|
1757
|
+
:param logging_format: Sets the loggingFormat for the function. Default: LoggingFormat.TEXT
|
|
1751
1758
|
:param log_group: The log group the function sends logs to. By default, Lambda functions send logs to an automatically created default log group named /aws/lambda/<function name>. However you cannot change the properties of this auto-created log group using the AWS CDK, e.g. you cannot set a different log retention. Use the ``logGroup`` property to create a fully customizable LogGroup ahead of time, and instruct the Lambda function to send logs to it. Providing a user-controlled log group was rolled out to commercial regions on 2023-11-16. If you are deploying to another type of region, please check regional availability first. Default: ``/aws/lambda/${this.functionName}`` - default log group created by Lambda
|
|
1752
1759
|
:param log_retention: The number of days log events are kept in CloudWatch Logs. When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to ``INFINITE``. This is a legacy API and we strongly recommend you move away from it if you can. Instead create a fully customizable log group with ``logs.LogGroup`` and use the ``logGroup`` property to instruct the Lambda function to send logs to it. Migrating from ``logRetention`` to ``logGroup`` will cause the name of the log group to change. Users and code and referencing the name verbatim will have to adjust. In AWS CDK code, you can access the log group name directly from the LogGroup construct:: import * as logs from 'aws-cdk-lib/aws-logs'; declare const myLogGroup: logs.LogGroup; myLogGroup.logGroupName; Default: logs.RetentionDays.INFINITE
|
|
1753
1760
|
:param log_retention_retry_options: When log retention is specified, a custom resource attempts to create the CloudWatch log group. These options control the retry policy when interacting with CloudWatch APIs. This is a legacy API and we strongly recommend you migrate to ``logGroup`` if you can. ``logGroup`` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. Default: - Default AWS SDK retry options.
|
|
@@ -1825,6 +1832,7 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
|
|
|
1825
1832
|
check_type(argname="argument insights_version", value=insights_version, expected_type=type_hints["insights_version"])
|
|
1826
1833
|
check_type(argname="argument layers", value=layers, expected_type=type_hints["layers"])
|
|
1827
1834
|
check_type(argname="argument log_format", value=log_format, expected_type=type_hints["log_format"])
|
|
1835
|
+
check_type(argname="argument logging_format", value=logging_format, expected_type=type_hints["logging_format"])
|
|
1828
1836
|
check_type(argname="argument log_group", value=log_group, expected_type=type_hints["log_group"])
|
|
1829
1837
|
check_type(argname="argument log_retention", value=log_retention, expected_type=type_hints["log_retention"])
|
|
1830
1838
|
check_type(argname="argument log_retention_retry_options", value=log_retention_retry_options, expected_type=type_hints["log_retention_retry_options"])
|
|
@@ -1901,6 +1909,8 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
|
|
|
1901
1909
|
self._values["layers"] = layers
|
|
1902
1910
|
if log_format is not None:
|
|
1903
1911
|
self._values["log_format"] = log_format
|
|
1912
|
+
if logging_format is not None:
|
|
1913
|
+
self._values["logging_format"] = logging_format
|
|
1904
1914
|
if log_group is not None:
|
|
1905
1915
|
self._values["log_group"] = log_group
|
|
1906
1916
|
if log_retention is not None:
|
|
@@ -2224,6 +2234,15 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
|
|
|
2224
2234
|
result = self._values.get("log_format")
|
|
2225
2235
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2226
2236
|
|
|
2237
|
+
@builtins.property
|
|
2238
|
+
def logging_format(self) -> typing.Optional[_LoggingFormat_30be8e01]:
|
|
2239
|
+
'''Sets the loggingFormat for the function.
|
|
2240
|
+
|
|
2241
|
+
:default: LoggingFormat.TEXT
|
|
2242
|
+
'''
|
|
2243
|
+
result = self._values.get("logging_format")
|
|
2244
|
+
return typing.cast(typing.Optional[_LoggingFormat_30be8e01], result)
|
|
2245
|
+
|
|
2227
2246
|
@builtins.property
|
|
2228
2247
|
def log_group(self) -> typing.Optional[_ILogGroup_3c4fa718]:
|
|
2229
2248
|
'''The log group the function sends logs to.
|
|
@@ -2780,6 +2799,7 @@ def _typecheckingstub__ece177829b26ef102d4080d730f168e29d7d310d1518738839cd3fc82
|
|
|
2780
2799
|
insights_version: typing.Optional[_LambdaInsightsVersion_9dfbfef9] = None,
|
|
2781
2800
|
layers: typing.Optional[typing.Sequence[_ILayerVersion_5ac127c8]] = None,
|
|
2782
2801
|
log_format: typing.Optional[builtins.str] = None,
|
|
2802
|
+
logging_format: typing.Optional[_LoggingFormat_30be8e01] = None,
|
|
2783
2803
|
log_group: typing.Optional[_ILogGroup_3c4fa718] = None,
|
|
2784
2804
|
log_retention: typing.Optional[_RetentionDays_070f99f0] = None,
|
|
2785
2805
|
log_retention_retry_options: typing.Optional[typing.Union[_LogRetentionRetryOptions_ad797a7a, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -2833,6 +2853,7 @@ def _typecheckingstub__2da45b394f0332be0f6d6b7468d9fb54961953d56265da69955d36ffa
|
|
|
2833
2853
|
insights_version: typing.Optional[_LambdaInsightsVersion_9dfbfef9] = None,
|
|
2834
2854
|
layers: typing.Optional[typing.Sequence[_ILayerVersion_5ac127c8]] = None,
|
|
2835
2855
|
log_format: typing.Optional[builtins.str] = None,
|
|
2856
|
+
logging_format: typing.Optional[_LoggingFormat_30be8e01] = None,
|
|
2836
2857
|
log_group: typing.Optional[_ILogGroup_3c4fa718] = None,
|
|
2837
2858
|
log_retention: typing.Optional[_RetentionDays_070f99f0] = None,
|
|
2838
2859
|
log_retention_retry_options: typing.Optional[typing.Union[_LogRetentionRetryOptions_ad797a7a, typing.Dict[builtins.str, typing.Any]]] = None,
|
aws_cdk/aws_location/__init__.py
CHANGED
|
@@ -1336,7 +1336,7 @@ class CfnMap(
|
|
|
1336
1336
|
'''Specifies the map tile style selected from an available provider.
|
|
1337
1337
|
|
|
1338
1338
|
:param style: Specifies the map style selected from an available data provider. Valid `Esri map styles <https://docs.aws.amazon.com/location/latest/developerguide/esri.html>`_ : - ``VectorEsriNavigation`` – The Esri Navigation map style, which provides a detailed basemap for the world symbolized with a custom navigation map style that's designed for use during the day in mobile devices. It also includes a richer set of places, such as shops, services, restaurants, attractions, and other points of interest. Enable the ``POI`` layer by setting it in CustomLayers to leverage the additional places data. - ``RasterEsriImagery`` – The Esri Imagery map style. A raster basemap that provides one meter or better satellite and aerial imagery in many parts of the world and lower resolution satellite imagery worldwide. - ``VectorEsriLightGrayCanvas`` – The Esri Light Gray Canvas map style, which provides a detailed vector basemap with a light gray, neutral background style with minimal colors, labels, and features that's designed to draw attention to your thematic content. - ``VectorEsriTopographic`` – The Esri Light map style, which provides a detailed vector basemap with a classic Esri map style. - ``VectorEsriStreets`` – The Esri Street Map style, which provides a detailed vector basemap for the world symbolized with a classic Esri street map style. The vector tile layer is similar in content and style to the World Street Map raster map. - ``VectorEsriDarkGrayCanvas`` – The Esri Dark Gray Canvas map style. A vector basemap with a dark gray, neutral background with minimal colors, labels, and features that's designed to draw attention to your thematic content. Valid `HERE Technologies map styles <https://docs.aws.amazon.com/location/latest/developerguide/HERE.html>`_ : - ``VectorHereExplore`` – A default HERE map style containing a neutral, global map and its features including roads, buildings, landmarks, and water features. It also now includes a fully designed map of Japan. - ``RasterHereExploreSatellite`` – A global map containing high resolution satellite imagery. - ``HybridHereExploreSatellite`` – A global map displaying the road network, street names, and city labels over satellite imagery. This style will automatically retrieve both raster and vector tiles, and your charges will be based on total tiles retrieved. .. epigraph:: Hybrid styles use both vector and raster tiles when rendering the map that you see. This means that more tiles are retrieved than when using either vector or raster tiles alone. Your charges will include all tiles retrieved. - ``VectorHereContrast`` – The HERE Contrast (Berlin) map style is a high contrast detailed base map of the world that blends 3D and 2D rendering. .. epigraph:: The ``VectorHereContrast`` style has been renamed from ``VectorHereBerlin`` . ``VectorHereBerlin`` has been deprecated, but will continue to work in applications that use it. - ``VectorHereExploreTruck`` – A global map containing truck restrictions and attributes (e.g. width / height / HAZMAT) symbolized with highlighted segments and icons on top of HERE Explore to support use cases within transport and logistics. Valid `GrabMaps map styles <https://docs.aws.amazon.com/location/latest/developerguide/grab.html>`_ : - ``VectorGrabStandardLight`` – The Grab Standard Light map style provides a basemap with detailed land use coloring, area names, roads, landmarks, and points of interest covering Southeast Asia. - ``VectorGrabStandardDark`` – The Grab Standard Dark map style provides a dark variation of the standard basemap covering Southeast Asia. .. epigraph:: Grab provides maps only for countries in Southeast Asia, and is only available in the Asia Pacific (Singapore) Region ( ``ap-southeast-1`` ). For more information, see `GrabMaps countries and area covered <https://docs.aws.amazon.com/location/latest/developerguide/grab.html#grab-coverage-area>`_ . Valid `Open Data map styles <https://docs.aws.amazon.com/location/latest/developerguide/open-data.html>`_ : - ``VectorOpenDataStandardLight`` – The Open Data Standard Light map style provides a detailed basemap for the world suitable for website and mobile application use. The map includes highways major roads, minor roads, railways, water features, cities, parks, landmarks, building footprints, and administrative boundaries. - ``VectorOpenDataStandardDark`` – Open Data Standard Dark is a dark-themed map style that provides a detailed basemap for the world suitable for website and mobile application use. The map includes highways major roads, minor roads, railways, water features, cities, parks, landmarks, building footprints, and administrative boundaries. - ``VectorOpenDataVisualizationLight`` – The Open Data Visualization Light map style is a light-themed style with muted colors and fewer features that aids in understanding overlaid data. - ``VectorOpenDataVisualizationDark`` – The Open Data Visualization Dark map style is a dark-themed style with muted colors and fewer features that aids in understanding overlaid data.
|
|
1339
|
-
:param custom_layers:
|
|
1339
|
+
:param custom_layers: Specifies the custom layers for the style. Leave unset to not enable any custom layer, or, for styles that support custom layers, you can enable layer(s), such as the ``POI`` layer for the VectorEsriNavigation style. .. epigraph:: Currenlty only ``VectorEsriNavigation`` supports CustomLayers. For more information, see `Custom Layers <https://docs.aws.amazon.com//location/latest/developerguide/map-concepts.html#map-custom-layers>`_ .
|
|
1340
1340
|
:param political_view: Specifies the map political view selected from an available data provider.
|
|
1341
1341
|
|
|
1342
1342
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-location-map-mapconfiguration.html
|
|
@@ -1424,7 +1424,13 @@ class CfnMap(
|
|
|
1424
1424
|
|
|
1425
1425
|
@builtins.property
|
|
1426
1426
|
def custom_layers(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1427
|
-
'''
|
|
1427
|
+
'''Specifies the custom layers for the style.
|
|
1428
|
+
|
|
1429
|
+
Leave unset to not enable any custom layer, or, for styles that support custom layers, you can enable layer(s), such as the ``POI`` layer for the VectorEsriNavigation style.
|
|
1430
|
+
.. epigraph::
|
|
1431
|
+
|
|
1432
|
+
Currenlty only ``VectorEsriNavigation`` supports CustomLayers. For more information, see `Custom Layers <https://docs.aws.amazon.com//location/latest/developerguide/map-concepts.html#map-custom-layers>`_ .
|
|
1433
|
+
|
|
1428
1434
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-location-map-mapconfiguration.html#cfn-location-map-mapconfiguration-customlayers
|
|
1429
1435
|
'''
|
|
1430
1436
|
result = self._values.get("custom_layers")
|
aws_cdk/aws_logs/__init__.py
CHANGED
|
@@ -454,7 +454,7 @@ class CfnAccountPolicy(
|
|
|
454
454
|
metaclass=jsii.JSIIMeta,
|
|
455
455
|
jsii_type="aws-cdk-lib.aws_logs.CfnAccountPolicy",
|
|
456
456
|
):
|
|
457
|
-
'''Creates or updates an
|
|
457
|
+
'''Creates or updates an account-level data protection policy or subscription filter policy that applies to all log groups or a subset of log groups in the account.
|
|
458
458
|
|
|
459
459
|
*Data protection policy*
|
|
460
460
|
|
|
@@ -3513,7 +3513,7 @@ class CfnQueryDefinition(
|
|
|
3513
3513
|
'''
|
|
3514
3514
|
:param scope: Scope in which this resource is defined.
|
|
3515
3515
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
3516
|
-
:param name: A name for the query definition.
|
|
3516
|
+
:param name: A name for the query definition. .. epigraph:: You can use the name to create a folder structure for your queries. To create a folder, use a forward slash (/) to prefix your desired query name with your desired folder name. For example, ``/ *folder-name* / *query-name*`` .
|
|
3517
3517
|
:param query_string: The query string to use for this query definition. For more information, see `CloudWatch Logs Insights Query Syntax <https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html>`_ .
|
|
3518
3518
|
:param log_group_names: Use this parameter if you want the query to query only certain log groups.
|
|
3519
3519
|
'''
|
|
@@ -3633,7 +3633,7 @@ class CfnQueryDefinitionProps:
|
|
|
3633
3633
|
) -> None:
|
|
3634
3634
|
'''Properties for defining a ``CfnQueryDefinition``.
|
|
3635
3635
|
|
|
3636
|
-
:param name: A name for the query definition.
|
|
3636
|
+
:param name: A name for the query definition. .. epigraph:: You can use the name to create a folder structure for your queries. To create a folder, use a forward slash (/) to prefix your desired query name with your desired folder name. For example, ``/ *folder-name* / *query-name*`` .
|
|
3637
3637
|
:param query_string: The query string to use for this query definition. For more information, see `CloudWatch Logs Insights Query Syntax <https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html>`_ .
|
|
3638
3638
|
:param log_group_names: Use this parameter if you want the query to query only certain log groups.
|
|
3639
3639
|
|
|
@@ -3670,6 +3670,10 @@ class CfnQueryDefinitionProps:
|
|
|
3670
3670
|
def name(self) -> builtins.str:
|
|
3671
3671
|
'''A name for the query definition.
|
|
3672
3672
|
|
|
3673
|
+
.. epigraph::
|
|
3674
|
+
|
|
3675
|
+
You can use the name to create a folder structure for your queries. To create a folder, use a forward slash (/) to prefix your desired query name with your desired folder name. For example, ``/ *folder-name* / *query-name*`` .
|
|
3676
|
+
|
|
3673
3677
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-querydefinition.html#cfn-logs-querydefinition-name
|
|
3674
3678
|
'''
|
|
3675
3679
|
result = self._values.get("name")
|
|
@@ -2330,7 +2330,7 @@ class CfnDevice(
|
|
|
2330
2330
|
@builtins.property
|
|
2331
2331
|
@jsii.member(jsii_name="attrCreatedAt")
|
|
2332
2332
|
def attr_created_at(self) -> builtins.str:
|
|
2333
|
-
'''The time that the device was created.
|
|
2333
|
+
'''The date and time that the device was created.
|
|
2334
2334
|
|
|
2335
2335
|
:cloudformationAttribute: CreatedAt
|
|
2336
2336
|
'''
|
|
@@ -361,7 +361,7 @@ class CfnCollection(
|
|
|
361
361
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
362
362
|
:param name: The name of the collection. Collection names must meet the following criteria: - Starts with a lowercase letter - Unique to your account and AWS Region - Contains between 3 and 28 characters - Contains only lowercase letters a-z, the numbers 0-9, and the hyphen (-)
|
|
363
363
|
:param description: A description of the collection.
|
|
364
|
-
:param standby_replicas:
|
|
364
|
+
:param standby_replicas: Indicates whether standby replicas should be used for a collection.
|
|
365
365
|
:param tags: An arbitrary set of tags (key–value pairs) to associate with the collection. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
|
|
366
366
|
:param type: The type of collection. Possible values are ``SEARCH`` , ``TIMESERIES`` , and ``VECTORSEARCH`` . For more information, see `Choosing a collection type <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-overview.html#serverless-usecase>`_ .
|
|
367
367
|
'''
|
|
@@ -493,7 +493,7 @@ class CfnCollection(
|
|
|
493
493
|
@builtins.property
|
|
494
494
|
@jsii.member(jsii_name="standbyReplicas")
|
|
495
495
|
def standby_replicas(self) -> typing.Optional[builtins.str]:
|
|
496
|
-
'''
|
|
496
|
+
'''Indicates whether standby replicas should be used for a collection.'''
|
|
497
497
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "standbyReplicas"))
|
|
498
498
|
|
|
499
499
|
@standby_replicas.setter
|
|
@@ -555,7 +555,7 @@ class CfnCollectionProps:
|
|
|
555
555
|
|
|
556
556
|
:param name: The name of the collection. Collection names must meet the following criteria: - Starts with a lowercase letter - Unique to your account and AWS Region - Contains between 3 and 28 characters - Contains only lowercase letters a-z, the numbers 0-9, and the hyphen (-)
|
|
557
557
|
:param description: A description of the collection.
|
|
558
|
-
:param standby_replicas:
|
|
558
|
+
:param standby_replicas: Indicates whether standby replicas should be used for a collection.
|
|
559
559
|
:param tags: An arbitrary set of tags (key–value pairs) to associate with the collection. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
|
|
560
560
|
:param type: The type of collection. Possible values are ``SEARCH`` , ``TIMESERIES`` , and ``VECTORSEARCH`` . For more information, see `Choosing a collection type <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-overview.html#serverless-usecase>`_ .
|
|
561
561
|
|
|
@@ -628,7 +628,7 @@ class CfnCollectionProps:
|
|
|
628
628
|
|
|
629
629
|
@builtins.property
|
|
630
630
|
def standby_replicas(self) -> typing.Optional[builtins.str]:
|
|
631
|
-
'''
|
|
631
|
+
'''Indicates whether standby replicas should be used for a collection.
|
|
632
632
|
|
|
633
633
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-collection.html#cfn-opensearchserverless-collection-standbyreplicas
|
|
634
634
|
'''
|
aws_cdk/aws_osis/__init__.py
CHANGED
|
@@ -133,8 +133,8 @@ class CfnPipeline(
|
|
|
133
133
|
:param min_units: The minimum pipeline capacity, in Ingestion Compute Units (ICUs).
|
|
134
134
|
:param pipeline_configuration_body: The Data Prepper pipeline configuration in YAML format.
|
|
135
135
|
:param pipeline_name: The name of the pipeline.
|
|
136
|
-
:param buffer_options: Options that specify the configuration of a persistent buffer. To configure how OpenSearch Ingestion encrypts this data, set the EncryptionAtRestOptions.
|
|
137
|
-
:param encryption_at_rest_options: Options to control how OpenSearch encrypts
|
|
136
|
+
:param buffer_options: Options that specify the configuration of a persistent buffer. To configure how OpenSearch Ingestion encrypts this data, set the ``EncryptionAtRestOptions`` . For more information, see `Persistent buffering <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/osis-features-overview.html#persistent-buffering>`_ .
|
|
137
|
+
:param encryption_at_rest_options: Options to control how OpenSearch encrypts buffer data.
|
|
138
138
|
:param log_publishing_options: Key-value pairs that represent log publishing settings.
|
|
139
139
|
:param tags: List of tags to add to the pipeline upon creation.
|
|
140
140
|
:param vpc_options: Options that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint.
|
|
@@ -302,7 +302,7 @@ class CfnPipeline(
|
|
|
302
302
|
def encryption_at_rest_options(
|
|
303
303
|
self,
|
|
304
304
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPipeline.EncryptionAtRestOptionsProperty"]]:
|
|
305
|
-
'''Options to control how OpenSearch encrypts
|
|
305
|
+
'''Options to control how OpenSearch encrypts buffer data.'''
|
|
306
306
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPipeline.EncryptionAtRestOptionsProperty"]], jsii.get(self, "encryptionAtRestOptions"))
|
|
307
307
|
|
|
308
308
|
@encryption_at_rest_options.setter
|
|
@@ -377,7 +377,7 @@ class CfnPipeline(
|
|
|
377
377
|
) -> None:
|
|
378
378
|
'''Options that specify the configuration of a persistent buffer.
|
|
379
379
|
|
|
380
|
-
To configure how OpenSearch Ingestion encrypts this data, set the EncryptionAtRestOptions.
|
|
380
|
+
To configure how OpenSearch Ingestion encrypts this data, set the ``EncryptionAtRestOptions`` . For more information, see `Persistent buffering <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/osis-features-overview.html#persistent-buffering>`_ .
|
|
381
381
|
|
|
382
382
|
:param persistent_buffer_enabled: Whether persistent buffering should be enabled.
|
|
383
383
|
|
|
@@ -433,7 +433,7 @@ class CfnPipeline(
|
|
|
433
433
|
def __init__(self, *, log_group: builtins.str) -> None:
|
|
434
434
|
'''The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch.
|
|
435
435
|
|
|
436
|
-
:param log_group: The name of the CloudWatch Logs group to send pipeline logs to. You can specify an existing log group or create a new one. For example, ``/aws/OpenSearchService/
|
|
436
|
+
:param log_group: The name of the CloudWatch Logs group to send pipeline logs to. You can specify an existing log group or create a new one. For example, ``/aws/vendedlogs/OpenSearchService/pipelines`` .
|
|
437
437
|
|
|
438
438
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-osis-pipeline-cloudwatchlogdestination.html
|
|
439
439
|
:exampleMetadata: fixture=_generated
|
|
@@ -459,7 +459,7 @@ class CfnPipeline(
|
|
|
459
459
|
def log_group(self) -> builtins.str:
|
|
460
460
|
'''The name of the CloudWatch Logs group to send pipeline logs to.
|
|
461
461
|
|
|
462
|
-
You can specify an existing log group or create a new one. For example, ``/aws/OpenSearchService/
|
|
462
|
+
You can specify an existing log group or create a new one. For example, ``/aws/vendedlogs/OpenSearchService/pipelines`` .
|
|
463
463
|
|
|
464
464
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-osis-pipeline-cloudwatchlogdestination.html#cfn-osis-pipeline-cloudwatchlogdestination-loggroup
|
|
465
465
|
'''
|
|
@@ -485,9 +485,9 @@ class CfnPipeline(
|
|
|
485
485
|
)
|
|
486
486
|
class EncryptionAtRestOptionsProperty:
|
|
487
487
|
def __init__(self, *, kms_key_arn: builtins.str) -> None:
|
|
488
|
-
'''Options to control how OpenSearch encrypts
|
|
488
|
+
'''Options to control how OpenSearch encrypts buffer data.
|
|
489
489
|
|
|
490
|
-
:param kms_key_arn: The ARN of the KMS key used to encrypt data
|
|
490
|
+
:param kms_key_arn: The ARN of the KMS key used to encrypt buffer data. By default, data is encrypted using an AWS owned key.
|
|
491
491
|
|
|
492
492
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-osis-pipeline-encryptionatrestoptions.html
|
|
493
493
|
:exampleMetadata: fixture=_generated
|
|
@@ -511,7 +511,7 @@ class CfnPipeline(
|
|
|
511
511
|
|
|
512
512
|
@builtins.property
|
|
513
513
|
def kms_key_arn(self) -> builtins.str:
|
|
514
|
-
'''The ARN of the KMS key used to encrypt data
|
|
514
|
+
'''The ARN of the KMS key used to encrypt buffer data.
|
|
515
515
|
|
|
516
516
|
By default, data is encrypted using an AWS owned key.
|
|
517
517
|
|
|
@@ -825,8 +825,8 @@ class CfnPipelineProps:
|
|
|
825
825
|
:param min_units: The minimum pipeline capacity, in Ingestion Compute Units (ICUs).
|
|
826
826
|
:param pipeline_configuration_body: The Data Prepper pipeline configuration in YAML format.
|
|
827
827
|
:param pipeline_name: The name of the pipeline.
|
|
828
|
-
:param buffer_options: Options that specify the configuration of a persistent buffer. To configure how OpenSearch Ingestion encrypts this data, set the EncryptionAtRestOptions.
|
|
829
|
-
:param encryption_at_rest_options: Options to control how OpenSearch encrypts
|
|
828
|
+
:param buffer_options: Options that specify the configuration of a persistent buffer. To configure how OpenSearch Ingestion encrypts this data, set the ``EncryptionAtRestOptions`` . For more information, see `Persistent buffering <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/osis-features-overview.html#persistent-buffering>`_ .
|
|
829
|
+
:param encryption_at_rest_options: Options to control how OpenSearch encrypts buffer data.
|
|
830
830
|
:param log_publishing_options: Key-value pairs that represent log publishing settings.
|
|
831
831
|
:param tags: List of tags to add to the pipeline upon creation.
|
|
832
832
|
:param vpc_options: Options that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint.
|
|
@@ -945,7 +945,7 @@ class CfnPipelineProps:
|
|
|
945
945
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPipeline.BufferOptionsProperty]]:
|
|
946
946
|
'''Options that specify the configuration of a persistent buffer.
|
|
947
947
|
|
|
948
|
-
To configure how OpenSearch Ingestion encrypts this data, set the EncryptionAtRestOptions.
|
|
948
|
+
To configure how OpenSearch Ingestion encrypts this data, set the ``EncryptionAtRestOptions`` . For more information, see `Persistent buffering <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/osis-features-overview.html#persistent-buffering>`_ .
|
|
949
949
|
|
|
950
950
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-osis-pipeline.html#cfn-osis-pipeline-bufferoptions
|
|
951
951
|
'''
|
|
@@ -956,7 +956,7 @@ class CfnPipelineProps:
|
|
|
956
956
|
def encryption_at_rest_options(
|
|
957
957
|
self,
|
|
958
958
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPipeline.EncryptionAtRestOptionsProperty]]:
|
|
959
|
-
'''Options to control how OpenSearch encrypts
|
|
959
|
+
'''Options to control how OpenSearch encrypts buffer data.
|
|
960
960
|
|
|
961
961
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-osis-pipeline.html#cfn-osis-pipeline-encryptionatrestoptions
|
|
962
962
|
'''
|
|
@@ -1101,7 +1101,7 @@ class CfnSolution(
|
|
|
1101
1101
|
):
|
|
1102
1102
|
'''An object that provides information about a solution.
|
|
1103
1103
|
|
|
1104
|
-
A solution
|
|
1104
|
+
A solution includes the custom recipe, customized parameters, and trained models (Solution Versions) that Amazon Personalize uses to generate recommendations.
|
|
1105
1105
|
|
|
1106
1106
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-solution.html
|
|
1107
1107
|
:cloudformationResource: AWS::Personalize::Solution
|
aws_cdk/aws_pinpoint/__init__.py
CHANGED
|
@@ -8990,7 +8990,7 @@ class CfnEventStream(
|
|
|
8990
8990
|
:param scope: Scope in which this resource is defined.
|
|
8991
8991
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
8992
8992
|
:param application_id: The unique identifier for the Amazon Pinpoint application that you want to export data from.
|
|
8993
|
-
:param destination_stream_arn: The Amazon Resource Name (ARN) of the Amazon Kinesis
|
|
8993
|
+
:param destination_stream_arn: The Amazon Resource Name (ARN) of the Amazon Kinesis Data Stream or Amazon Kinesis Data Firehose delivery stream that you want to publish event data to. For a Kinesis Data Stream, the ARN format is: ``arn:aws:kinesis: region : account-id :stream/ stream_name`` For a Kinesis Data Firehose delivery stream, the ARN format is: ``arn:aws:firehose: region : account-id :deliverystream/ stream_name``
|
|
8994
8994
|
:param role_arn: The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account.
|
|
8995
8995
|
'''
|
|
8996
8996
|
if __debug__:
|
|
@@ -9064,7 +9064,7 @@ class CfnEventStream(
|
|
|
9064
9064
|
@builtins.property
|
|
9065
9065
|
@jsii.member(jsii_name="destinationStreamArn")
|
|
9066
9066
|
def destination_stream_arn(self) -> builtins.str:
|
|
9067
|
-
'''The Amazon Resource Name (ARN) of the Amazon Kinesis
|
|
9067
|
+
'''The Amazon Resource Name (ARN) of the Amazon Kinesis Data Stream or Amazon Kinesis Data Firehose delivery stream that you want to publish event data to.'''
|
|
9068
9068
|
return typing.cast(builtins.str, jsii.get(self, "destinationStreamArn"))
|
|
9069
9069
|
|
|
9070
9070
|
@destination_stream_arn.setter
|
|
@@ -9108,7 +9108,7 @@ class CfnEventStreamProps:
|
|
|
9108
9108
|
'''Properties for defining a ``CfnEventStream``.
|
|
9109
9109
|
|
|
9110
9110
|
:param application_id: The unique identifier for the Amazon Pinpoint application that you want to export data from.
|
|
9111
|
-
:param destination_stream_arn: The Amazon Resource Name (ARN) of the Amazon Kinesis
|
|
9111
|
+
:param destination_stream_arn: The Amazon Resource Name (ARN) of the Amazon Kinesis Data Stream or Amazon Kinesis Data Firehose delivery stream that you want to publish event data to. For a Kinesis Data Stream, the ARN format is: ``arn:aws:kinesis: region : account-id :stream/ stream_name`` For a Kinesis Data Firehose delivery stream, the ARN format is: ``arn:aws:firehose: region : account-id :deliverystream/ stream_name``
|
|
9112
9112
|
:param role_arn: The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account.
|
|
9113
9113
|
|
|
9114
9114
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-eventstream.html
|
|
@@ -9149,9 +9149,9 @@ class CfnEventStreamProps:
|
|
|
9149
9149
|
|
|
9150
9150
|
@builtins.property
|
|
9151
9151
|
def destination_stream_arn(self) -> builtins.str:
|
|
9152
|
-
'''The Amazon Resource Name (ARN) of the Amazon Kinesis
|
|
9152
|
+
'''The Amazon Resource Name (ARN) of the Amazon Kinesis Data Stream or Amazon Kinesis Data Firehose delivery stream that you want to publish event data to.
|
|
9153
9153
|
|
|
9154
|
-
For a Kinesis
|
|
9154
|
+
For a Kinesis Data Stream, the ARN format is: ``arn:aws:kinesis: region : account-id :stream/ stream_name``
|
|
9155
9155
|
|
|
9156
9156
|
For a Kinesis Data Firehose delivery stream, the ARN format is: ``arn:aws:firehose: region : account-id :deliverystream/ stream_name``
|
|
9157
9157
|
|
aws_cdk/aws_pipes/__init__.py
CHANGED
|
@@ -5324,19 +5324,16 @@ class CfnPipe(
|
|
|
5324
5324
|
|
|
5325
5325
|
# source_queue: sqs.Queue
|
|
5326
5326
|
# target_queue: sqs.Queue
|
|
5327
|
-
# loggroup: logs.LogGroup
|
|
5328
|
-
|
|
5329
5327
|
|
|
5330
|
-
pipe = pipes.Pipe(self, "Pipe",
|
|
5331
|
-
source=SqsSource(source_queue),
|
|
5332
|
-
target=SqsTarget(target_queue),
|
|
5333
5328
|
|
|
5334
|
-
|
|
5335
|
-
|
|
5329
|
+
pipe_source = sources.SqsSource(source_queue,
|
|
5330
|
+
batch_size=10,
|
|
5331
|
+
maximum_batching_window=cdk.Duration.seconds(10)
|
|
5332
|
+
)
|
|
5336
5333
|
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5334
|
+
pipe = pipes.Pipe(self, "Pipe",
|
|
5335
|
+
source=pipe_source,
|
|
5336
|
+
target=SomeTarget(target_queue)
|
|
5340
5337
|
)
|
|
5341
5338
|
'''
|
|
5342
5339
|
if __debug__:
|