aws-cdk-lib 2.148.0__py3-none-any.whl → 2.149.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.148.0.jsii.tgz → aws-cdk-lib@2.149.0.jsii.tgz} +0 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +16 -12
- aws_cdk/aws_bedrock/__init__.py +30 -2
- aws_cdk/aws_codebuild/__init__.py +57 -5
- aws_cdk/aws_codecommit/__init__.py +103 -0
- aws_cdk/aws_codedeploy/__init__.py +251 -5
- aws_cdk/aws_codepipeline/__init__.py +69 -0
- aws_cdk/aws_codestarnotifications/__init__.py +90 -4
- aws_cdk/aws_deadline/__init__.py +9 -15
- aws_cdk/aws_dms/__init__.py +10 -10
- aws_cdk/aws_ec2/__init__.py +4 -0
- aws_cdk/aws_emr/__init__.py +8 -8
- aws_cdk/aws_events/__init__.py +1 -13
- aws_cdk/aws_kinesisanalytics/__init__.py +11 -11
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +11 -11
- aws_cdk/aws_rds/__init__.py +3 -3
- aws_cdk/aws_rolesanywhere/__init__.py +22 -13
- aws_cdk/aws_route53profiles/__init__.py +4 -4
- aws_cdk/aws_s3/__init__.py +15 -117
- aws_cdk/aws_ses/__init__.py +119 -102
- aws_cdk/aws_stepfunctions_tasks/__init__.py +209 -16
- aws_cdk/aws_verifiedpermissions/__init__.py +7 -9
- aws_cdk/aws_wafv2/__init__.py +10 -16
- aws_cdk/aws_workspaces/__init__.py +86 -56
- {aws_cdk_lib-2.148.0.dist-info → aws_cdk_lib-2.149.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.148.0.dist-info → aws_cdk_lib-2.149.0.dist-info}/RECORD +31 -31
- {aws_cdk_lib-2.148.0.dist-info → aws_cdk_lib-2.149.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.148.0.dist-info → aws_cdk_lib-2.149.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.148.0.dist-info → aws_cdk_lib-2.149.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.148.0.dist-info → aws_cdk_lib-2.149.0.dist-info}/top_level.txt +0 -0
|
@@ -580,7 +580,7 @@ class CfnApplication(
|
|
|
580
580
|
|
|
581
581
|
:param application_code_configuration: The code location and type parameters for a Managed Service for Apache Flink application.
|
|
582
582
|
:param application_snapshot_configuration: Describes whether snapshots are enabled for a Managed Service for Apache Flink application.
|
|
583
|
-
:param application_system_rollback_configuration: Describes whether system
|
|
583
|
+
:param application_system_rollback_configuration: Describes whether system rollbacks are enabled for a Managed Service for Apache Flink application.
|
|
584
584
|
:param environment_properties: Describes execution properties for a Managed Service for Apache Flink application.
|
|
585
585
|
:param flink_application_configuration: The creation and update parameters for a Managed Service for Apache Flink application.
|
|
586
586
|
:param sql_application_configuration: The creation and update parameters for a SQL-based Kinesis Data Analytics application.
|
|
@@ -792,7 +792,7 @@ class CfnApplication(
|
|
|
792
792
|
def application_system_rollback_configuration(
|
|
793
793
|
self,
|
|
794
794
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.ApplicationSystemRollbackConfigurationProperty"]]:
|
|
795
|
-
'''Describes whether system
|
|
795
|
+
'''Describes whether system rollbacks are enabled for a Managed Service for Apache Flink application.
|
|
796
796
|
|
|
797
797
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationconfiguration.html#cfn-kinesisanalyticsv2-application-applicationconfiguration-applicationsystemrollbackconfiguration
|
|
798
798
|
'''
|
|
@@ -1070,9 +1070,9 @@ class CfnApplication(
|
|
|
1070
1070
|
*,
|
|
1071
1071
|
rollback_enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
1072
1072
|
) -> None:
|
|
1073
|
-
'''Describes
|
|
1073
|
+
'''Describes the system rollback configuration for a Managed Service for Apache Flink application.
|
|
1074
1074
|
|
|
1075
|
-
:param rollback_enabled: Describes whether system
|
|
1075
|
+
:param rollback_enabled: Describes whether system rollbacks are enabled for a Managed Service for Apache Flink application.
|
|
1076
1076
|
|
|
1077
1077
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationsystemrollbackconfiguration.html
|
|
1078
1078
|
:exampleMetadata: fixture=_generated
|
|
@@ -1098,7 +1098,7 @@ class CfnApplication(
|
|
|
1098
1098
|
def rollback_enabled(
|
|
1099
1099
|
self,
|
|
1100
1100
|
) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
1101
|
-
'''Describes whether system
|
|
1101
|
+
'''Describes whether system rollbacks are enabled for a Managed Service for Apache Flink application.
|
|
1102
1102
|
|
|
1103
1103
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationsystemrollbackconfiguration.html#cfn-kinesisanalyticsv2-application-applicationsystemrollbackconfiguration-rollbackenabled
|
|
1104
1104
|
'''
|
|
@@ -1287,12 +1287,12 @@ class CfnApplication(
|
|
|
1287
1287
|
) -> None:
|
|
1288
1288
|
'''Describes an application's checkpointing configuration.
|
|
1289
1289
|
|
|
1290
|
-
Checkpointing is the process of persisting application state for fault tolerance. For more information, see `Checkpoints for Fault Tolerance <https://docs.aws.amazon.com/https://
|
|
1290
|
+
Checkpointing is the process of persisting application state for fault tolerance. For more information, see `Checkpoints for Fault Tolerance <https://docs.aws.amazon.com/https://nightlies.apache.org/flink/flink-docs-master/docs/dev/datastream/fault-tolerance/checkpointing/>`_ in the `Apache Flink Documentation <https://docs.aws.amazon.com/https://nightlies.apache.org/flink/flink-docs-master>`_ .
|
|
1291
1291
|
|
|
1292
1292
|
:param configuration_type: Describes whether the application uses Managed Service for Apache Flink' default checkpointing behavior. You must set this property to ``CUSTOM`` in order to set the ``CheckpointingEnabled`` , ``CheckpointInterval`` , or ``MinPauseBetweenCheckpoints`` parameters. .. epigraph:: If this value is set to ``DEFAULT`` , the application will use the following values, even if they are set to other values using APIs or application code: - *CheckpointingEnabled:* true - *CheckpointInterval:* 60000 - *MinPauseBetweenCheckpoints:* 5000
|
|
1293
1293
|
:param checkpointing_enabled: Describes whether checkpointing is enabled for a Managed Service for Apache Flink application. .. epigraph:: If ``CheckpointConfiguration.ConfigurationType`` is ``DEFAULT`` , the application will use a ``CheckpointingEnabled`` value of ``true`` , even if this value is set to another value using this API or in application code.
|
|
1294
1294
|
:param checkpoint_interval: Describes the interval in milliseconds between checkpoint operations. .. epigraph:: If ``CheckpointConfiguration.ConfigurationType`` is ``DEFAULT`` , the application will use a ``CheckpointInterval`` value of 60000, even if this value is set to another value using this API or in application code.
|
|
1295
|
-
:param min_pause_between_checkpoints: Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start. If a checkpoint operation takes longer than the ``CheckpointInterval`` , the application otherwise performs continual checkpoint operations. For more information, see `Tuning Checkpointing <https://docs.aws.amazon.com/https://
|
|
1295
|
+
:param min_pause_between_checkpoints: Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start. If a checkpoint operation takes longer than the ``CheckpointInterval`` , the application otherwise performs continual checkpoint operations. For more information, see `Tuning Checkpointing <https://docs.aws.amazon.com/https://nightlies.apache.org/flink/flink-docs-master/docs/ops/state/large_state_tuning/#tuning-checkpointing>`_ in the `Apache Flink Documentation <https://docs.aws.amazon.com/https://nightlies.apache.org/flink/flink-docs-master>`_ . .. epigraph:: If ``CheckpointConfiguration.ConfigurationType`` is ``DEFAULT`` , the application will use a ``MinPauseBetweenCheckpoints`` value of 5000, even if this value is set using this API or in application code.
|
|
1296
1296
|
|
|
1297
1297
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-checkpointconfiguration.html
|
|
1298
1298
|
:exampleMetadata: fixture=_generated
|
|
@@ -1379,7 +1379,7 @@ class CfnApplication(
|
|
|
1379
1379
|
def min_pause_between_checkpoints(self) -> typing.Optional[jsii.Number]:
|
|
1380
1380
|
'''Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start.
|
|
1381
1381
|
|
|
1382
|
-
If a checkpoint operation takes longer than the ``CheckpointInterval`` , the application otherwise performs continual checkpoint operations. For more information, see `Tuning Checkpointing <https://docs.aws.amazon.com/https://
|
|
1382
|
+
If a checkpoint operation takes longer than the ``CheckpointInterval`` , the application otherwise performs continual checkpoint operations. For more information, see `Tuning Checkpointing <https://docs.aws.amazon.com/https://nightlies.apache.org/flink/flink-docs-master/docs/ops/state/large_state_tuning/#tuning-checkpointing>`_ in the `Apache Flink Documentation <https://docs.aws.amazon.com/https://nightlies.apache.org/flink/flink-docs-master>`_ .
|
|
1383
1383
|
.. epigraph::
|
|
1384
1384
|
|
|
1385
1385
|
If ``CheckpointConfiguration.ConfigurationType`` is ``DEFAULT`` , the application will use a ``MinPauseBetweenCheckpoints`` value of 5000, even if this value is set using this API or in application code.
|
|
@@ -1860,7 +1860,7 @@ class CfnApplication(
|
|
|
1860
1860
|
) -> None:
|
|
1861
1861
|
'''Describes the starting parameters for a Managed Service for Apache Flink application.
|
|
1862
1862
|
|
|
1863
|
-
:param allow_non_restored_state: When restoring from a snapshot, specifies whether the runtime is allowed to skip a state that cannot be mapped to the new program. This will happen if the program is updated between snapshots to remove stateful parameters, and state data in the snapshot no longer corresponds to valid application data. For more information, see `Allowing Non-Restored State <https://docs.aws.amazon.com/https://
|
|
1863
|
+
:param allow_non_restored_state: When restoring from a snapshot, specifies whether the runtime is allowed to skip a state that cannot be mapped to the new program. This will happen if the program is updated between snapshots to remove stateful parameters, and state data in the snapshot no longer corresponds to valid application data. For more information, see `Allowing Non-Restored State <https://docs.aws.amazon.com/https://nightlies.apache.org/flink/flink-docs-master/docs/ops/state/savepoints/#allowing-non-restored-state>`_ in the `Apache Flink documentation <https://docs.aws.amazon.com/https://nightlies.apache.org/flink/flink-docs-master>`_ . .. epigraph:: This value defaults to ``false`` . If you update your application without specifying this parameter, ``AllowNonRestoredState`` will be set to ``false`` , even if it was previously set to ``true`` .
|
|
1864
1864
|
|
|
1865
1865
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-flinkrunconfiguration.html
|
|
1866
1866
|
:exampleMetadata: fixture=_generated
|
|
@@ -1888,7 +1888,7 @@ class CfnApplication(
|
|
|
1888
1888
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1889
1889
|
'''When restoring from a snapshot, specifies whether the runtime is allowed to skip a state that cannot be mapped to the new program.
|
|
1890
1890
|
|
|
1891
|
-
This will happen if the program is updated between snapshots to remove stateful parameters, and state data in the snapshot no longer corresponds to valid application data. For more information, see `Allowing Non-Restored State <https://docs.aws.amazon.com/https://
|
|
1891
|
+
This will happen if the program is updated between snapshots to remove stateful parameters, and state data in the snapshot no longer corresponds to valid application data. For more information, see `Allowing Non-Restored State <https://docs.aws.amazon.com/https://nightlies.apache.org/flink/flink-docs-master/docs/ops/state/savepoints/#allowing-non-restored-state>`_ in the `Apache Flink documentation <https://docs.aws.amazon.com/https://nightlies.apache.org/flink/flink-docs-master>`_ .
|
|
1892
1892
|
.. epigraph::
|
|
1893
1893
|
|
|
1894
1894
|
This value defaults to ``false`` . If you update your application without specifying this parameter, ``AllowNonRestoredState`` will be set to ``false`` , even if it was previously set to ``true`` .
|
|
@@ -2891,7 +2891,7 @@ class CfnApplication(
|
|
|
2891
2891
|
) -> None:
|
|
2892
2892
|
'''Describes parameters for how a Flink-based Kinesis Data Analytics application executes multiple tasks simultaneously.
|
|
2893
2893
|
|
|
2894
|
-
For more information about parallelism, see `Parallel Execution <https://docs.aws.amazon.com/https://
|
|
2894
|
+
For more information about parallelism, see `Parallel Execution <https://docs.aws.amazon.com/https://nightlies.apache.org/flink/flink-docs-master/docs/dev/datastream/execution/parallel/>`_ in the `Apache Flink Documentation <https://docs.aws.amazon.com/https://nightlies.apache.org/flink/flink-docs-master>`_ .
|
|
2895
2895
|
|
|
2896
2896
|
:param configuration_type: Describes whether the application uses the default parallelism for the Managed Service for Apache Flink service. You must set this property to ``CUSTOM`` in order to change your application's ``AutoScalingEnabled`` , ``Parallelism`` , or ``ParallelismPerKPU`` properties.
|
|
2897
2897
|
:param auto_scaling_enabled: Describes whether the Managed Service for Apache Flink service can increase the parallelism of the application in response to increased throughput.
|
aws_cdk/aws_rds/__init__.py
CHANGED
|
@@ -9800,7 +9800,7 @@ class CfnDBInstance(
|
|
|
9800
9800
|
ca_identifier: typing.Optional[builtins.str] = None,
|
|
9801
9801
|
valid_till: typing.Optional[builtins.str] = None,
|
|
9802
9802
|
) -> None:
|
|
9803
|
-
'''
|
|
9803
|
+
'''The details of the DB instance’s server certificate.
|
|
9804
9804
|
|
|
9805
9805
|
For more information, see `Using SSL/TLS to encrypt a connection to a DB instance <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html>`_ in the *Amazon RDS User Guide* and `Using SSL/TLS to encrypt a connection to a DB cluster <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html>`_ in the *Amazon Aurora User Guide* .
|
|
9806
9806
|
|
|
@@ -10117,7 +10117,7 @@ class CfnDBInstance(
|
|
|
10117
10117
|
'''The ``ProcessorFeature`` property type specifies the processor features of a DB instance class status.
|
|
10118
10118
|
|
|
10119
10119
|
:param name: The name of the processor feature. Valid names are ``coreCount`` and ``threadsPerCore`` .
|
|
10120
|
-
:param value: The value of a processor feature
|
|
10120
|
+
:param value: The value of a processor feature.
|
|
10121
10121
|
|
|
10122
10122
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbinstance-processorfeature.html
|
|
10123
10123
|
:exampleMetadata: fixture=_generated
|
|
@@ -10156,7 +10156,7 @@ class CfnDBInstance(
|
|
|
10156
10156
|
|
|
10157
10157
|
@builtins.property
|
|
10158
10158
|
def value(self) -> typing.Optional[builtins.str]:
|
|
10159
|
-
'''The value of a processor feature
|
|
10159
|
+
'''The value of a processor feature.
|
|
10160
10160
|
|
|
10161
10161
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbinstance-processorfeature.html#cfn-rds-dbinstance-processorfeature-value
|
|
10162
10162
|
'''
|
|
@@ -100,10 +100,10 @@ class CfnCRL(
|
|
|
100
100
|
'''
|
|
101
101
|
:param scope: Scope in which this resource is defined.
|
|
102
102
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
103
|
-
:param crl_data:
|
|
104
|
-
:param name:
|
|
105
|
-
:param enabled:
|
|
106
|
-
:param tags:
|
|
103
|
+
:param crl_data: The x509 v3 specified certificate revocation list (CRL).
|
|
104
|
+
:param name: The name of the certificate revocation list (CRL).
|
|
105
|
+
:param enabled: Specifies whether the certificate revocation list (CRL) is enabled.
|
|
106
|
+
:param tags: A list of tags to attach to the certificate revocation list (CRL).
|
|
107
107
|
:param trust_anchor_arn: The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.
|
|
108
108
|
'''
|
|
109
109
|
if __debug__:
|
|
@@ -153,7 +153,8 @@ class CfnCRL(
|
|
|
153
153
|
@builtins.property
|
|
154
154
|
@jsii.member(jsii_name="attrCrlId")
|
|
155
155
|
def attr_crl_id(self) -> builtins.str:
|
|
156
|
-
'''
|
|
156
|
+
'''The unique primary identifier of the Crl.
|
|
157
|
+
|
|
157
158
|
:cloudformationAttribute: CrlId
|
|
158
159
|
'''
|
|
159
160
|
return typing.cast(builtins.str, jsii.get(self, "attrCrlId"))
|
|
@@ -172,6 +173,7 @@ class CfnCRL(
|
|
|
172
173
|
@builtins.property
|
|
173
174
|
@jsii.member(jsii_name="crlData")
|
|
174
175
|
def crl_data(self) -> builtins.str:
|
|
176
|
+
'''The x509 v3 specified certificate revocation list (CRL).'''
|
|
175
177
|
return typing.cast(builtins.str, jsii.get(self, "crlData"))
|
|
176
178
|
|
|
177
179
|
@crl_data.setter
|
|
@@ -184,6 +186,7 @@ class CfnCRL(
|
|
|
184
186
|
@builtins.property
|
|
185
187
|
@jsii.member(jsii_name="name")
|
|
186
188
|
def name(self) -> builtins.str:
|
|
189
|
+
'''The name of the certificate revocation list (CRL).'''
|
|
187
190
|
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
188
191
|
|
|
189
192
|
@name.setter
|
|
@@ -198,6 +201,7 @@ class CfnCRL(
|
|
|
198
201
|
def enabled(
|
|
199
202
|
self,
|
|
200
203
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
204
|
+
'''Specifies whether the certificate revocation list (CRL) is enabled.'''
|
|
201
205
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "enabled"))
|
|
202
206
|
|
|
203
207
|
@enabled.setter
|
|
@@ -213,6 +217,7 @@ class CfnCRL(
|
|
|
213
217
|
@builtins.property
|
|
214
218
|
@jsii.member(jsii_name="tagsRaw")
|
|
215
219
|
def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
220
|
+
'''A list of tags to attach to the certificate revocation list (CRL).'''
|
|
216
221
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tagsRaw"))
|
|
217
222
|
|
|
218
223
|
@tags_raw.setter
|
|
@@ -259,10 +264,10 @@ class CfnCRLProps:
|
|
|
259
264
|
) -> None:
|
|
260
265
|
'''Properties for defining a ``CfnCRL``.
|
|
261
266
|
|
|
262
|
-
:param crl_data:
|
|
263
|
-
:param name:
|
|
264
|
-
:param enabled:
|
|
265
|
-
:param tags:
|
|
267
|
+
:param crl_data: The x509 v3 specified certificate revocation list (CRL).
|
|
268
|
+
:param name: The name of the certificate revocation list (CRL).
|
|
269
|
+
:param enabled: Specifies whether the certificate revocation list (CRL) is enabled.
|
|
270
|
+
:param tags: A list of tags to attach to the certificate revocation list (CRL).
|
|
266
271
|
:param trust_anchor_arn: The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.
|
|
267
272
|
|
|
268
273
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-crl.html
|
|
@@ -307,7 +312,8 @@ class CfnCRLProps:
|
|
|
307
312
|
|
|
308
313
|
@builtins.property
|
|
309
314
|
def crl_data(self) -> builtins.str:
|
|
310
|
-
'''
|
|
315
|
+
'''The x509 v3 specified certificate revocation list (CRL).
|
|
316
|
+
|
|
311
317
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-crl.html#cfn-rolesanywhere-crl-crldata
|
|
312
318
|
'''
|
|
313
319
|
result = self._values.get("crl_data")
|
|
@@ -316,7 +322,8 @@ class CfnCRLProps:
|
|
|
316
322
|
|
|
317
323
|
@builtins.property
|
|
318
324
|
def name(self) -> builtins.str:
|
|
319
|
-
'''
|
|
325
|
+
'''The name of the certificate revocation list (CRL).
|
|
326
|
+
|
|
320
327
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-crl.html#cfn-rolesanywhere-crl-name
|
|
321
328
|
'''
|
|
322
329
|
result = self._values.get("name")
|
|
@@ -327,7 +334,8 @@ class CfnCRLProps:
|
|
|
327
334
|
def enabled(
|
|
328
335
|
self,
|
|
329
336
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
330
|
-
'''
|
|
337
|
+
'''Specifies whether the certificate revocation list (CRL) is enabled.
|
|
338
|
+
|
|
331
339
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-crl.html#cfn-rolesanywhere-crl-enabled
|
|
332
340
|
'''
|
|
333
341
|
result = self._values.get("enabled")
|
|
@@ -335,7 +343,8 @@ class CfnCRLProps:
|
|
|
335
343
|
|
|
336
344
|
@builtins.property
|
|
337
345
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
338
|
-
'''
|
|
346
|
+
'''A list of tags to attach to the certificate revocation list (CRL).
|
|
347
|
+
|
|
339
348
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-crl.html#cfn-rolesanywhere-crl-tags
|
|
340
349
|
'''
|
|
341
350
|
result = self._values.get("tags")
|
|
@@ -257,7 +257,7 @@ class CfnProfileAssociation(
|
|
|
257
257
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
258
258
|
:param name: Name of the Profile association.
|
|
259
259
|
:param profile_id: ID of the Profile.
|
|
260
|
-
:param resource_id: The
|
|
260
|
+
:param resource_id: The ID of the VPC.
|
|
261
261
|
:param arn: The Amazon Resource Name (ARN) of the profile association to a VPC.
|
|
262
262
|
:param tags: An array of key-value pairs to apply to this resource.
|
|
263
263
|
'''
|
|
@@ -354,7 +354,7 @@ class CfnProfileAssociation(
|
|
|
354
354
|
@builtins.property
|
|
355
355
|
@jsii.member(jsii_name="resourceId")
|
|
356
356
|
def resource_id(self) -> builtins.str:
|
|
357
|
-
'''The
|
|
357
|
+
'''The ID of the VPC.'''
|
|
358
358
|
return typing.cast(builtins.str, jsii.get(self, "resourceId"))
|
|
359
359
|
|
|
360
360
|
@resource_id.setter
|
|
@@ -416,7 +416,7 @@ class CfnProfileAssociationProps:
|
|
|
416
416
|
|
|
417
417
|
:param name: Name of the Profile association.
|
|
418
418
|
:param profile_id: ID of the Profile.
|
|
419
|
-
:param resource_id: The
|
|
419
|
+
:param resource_id: The ID of the VPC.
|
|
420
420
|
:param arn: The Amazon Resource Name (ARN) of the profile association to a VPC.
|
|
421
421
|
:param tags: An array of key-value pairs to apply to this resource.
|
|
422
422
|
|
|
@@ -481,7 +481,7 @@ class CfnProfileAssociationProps:
|
|
|
481
481
|
|
|
482
482
|
@builtins.property
|
|
483
483
|
def resource_id(self) -> builtins.str:
|
|
484
|
-
'''The
|
|
484
|
+
'''The ID of the VPC.
|
|
485
485
|
|
|
486
486
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-resourceid
|
|
487
487
|
'''
|
aws_cdk/aws_s3/__init__.py
CHANGED
|
@@ -17080,128 +17080,26 @@ class Location:
|
|
|
17080
17080
|
:param object_key: The path inside the Bucket where the object is located at.
|
|
17081
17081
|
:param object_version: The S3 object version.
|
|
17082
17082
|
|
|
17083
|
-
:exampleMetadata:
|
|
17083
|
+
:exampleMetadata: infused
|
|
17084
17084
|
|
|
17085
17085
|
Example::
|
|
17086
17086
|
|
|
17087
|
-
|
|
17088
|
-
|
|
17089
|
-
|
|
17090
|
-
|
|
17091
|
-
handler="index.handler",
|
|
17092
|
-
runtime=lambda_.Runtime.NODEJS_LATEST
|
|
17093
|
-
)
|
|
17094
|
-
# other resources that your Lambda needs, added to the lambdaStack...
|
|
17095
|
-
|
|
17096
|
-
pipeline_stack = cdk.Stack(app, "PipelineStack")
|
|
17097
|
-
pipeline = codepipeline.Pipeline(pipeline_stack, "Pipeline",
|
|
17098
|
-
cross_account_keys=True
|
|
17099
|
-
)
|
|
17100
|
-
|
|
17101
|
-
# add the source code repository containing this code to your Pipeline,
|
|
17102
|
-
# and the source code of the Lambda Function, if they're separate
|
|
17103
|
-
cdk_source_output = codepipeline.Artifact()
|
|
17104
|
-
cdk_source_action = codepipeline_actions.CodeCommitSourceAction(
|
|
17105
|
-
repository=codecommit.Repository(pipeline_stack, "CdkCodeRepo",
|
|
17106
|
-
repository_name="CdkCodeRepo"
|
|
17107
|
-
),
|
|
17108
|
-
action_name="CdkCode_Source",
|
|
17109
|
-
output=cdk_source_output
|
|
17110
|
-
)
|
|
17111
|
-
lambda_source_output = codepipeline.Artifact()
|
|
17112
|
-
lambda_source_action = codepipeline_actions.CodeCommitSourceAction(
|
|
17113
|
-
repository=codecommit.Repository(pipeline_stack, "LambdaCodeRepo",
|
|
17114
|
-
repository_name="LambdaCodeRepo"
|
|
17087
|
+
start_query_execution_job = tasks.AthenaStartQueryExecution(self, "Start Athena Query",
|
|
17088
|
+
query_string=sfn.JsonPath.string_at("$.queryString"),
|
|
17089
|
+
query_execution_context=tasks.QueryExecutionContext(
|
|
17090
|
+
database_name="mydatabase"
|
|
17115
17091
|
),
|
|
17116
|
-
|
|
17117
|
-
|
|
17118
|
-
|
|
17119
|
-
|
|
17120
|
-
|
|
17121
|
-
|
|
17122
|
-
|
|
17123
|
-
|
|
17124
|
-
# synthesize the Lambda CDK template, using CodeBuild
|
|
17125
|
-
# the below values are just examples, assuming your CDK code is in TypeScript/JavaScript -
|
|
17126
|
-
# adjust the build environment and/or commands accordingly
|
|
17127
|
-
cdk_build_project = codebuild.Project(pipeline_stack, "CdkBuildProject",
|
|
17128
|
-
environment=codebuild.BuildEnvironment(
|
|
17129
|
-
build_image=codebuild.LinuxBuildImage.STANDARD_7_0
|
|
17130
|
-
),
|
|
17131
|
-
build_spec=codebuild.BuildSpec.from_object({
|
|
17132
|
-
"version": "0.2",
|
|
17133
|
-
"phases": {
|
|
17134
|
-
"install": {
|
|
17135
|
-
"commands": "npm install"
|
|
17136
|
-
},
|
|
17137
|
-
"build": {
|
|
17138
|
-
"commands": ["npm run build", "npm run cdk synth LambdaStack -- -o ."
|
|
17139
|
-
]
|
|
17140
|
-
}
|
|
17141
|
-
},
|
|
17142
|
-
"artifacts": {
|
|
17143
|
-
"files": "LambdaStack.template.yaml"
|
|
17144
|
-
}
|
|
17145
|
-
})
|
|
17146
|
-
)
|
|
17147
|
-
cdk_build_output = codepipeline.Artifact()
|
|
17148
|
-
cdk_build_action = codepipeline_actions.CodeBuildAction(
|
|
17149
|
-
action_name="CDK_Build",
|
|
17150
|
-
project=cdk_build_project,
|
|
17151
|
-
input=cdk_source_output,
|
|
17152
|
-
outputs=[cdk_build_output]
|
|
17153
|
-
)
|
|
17154
|
-
|
|
17155
|
-
# build your Lambda code, using CodeBuild
|
|
17156
|
-
# again, this example assumes your Lambda is written in TypeScript/JavaScript -
|
|
17157
|
-
# make sure to adjust the build environment and/or commands if they don't match your specific situation
|
|
17158
|
-
lambda_build_project = codebuild.Project(pipeline_stack, "LambdaBuildProject",
|
|
17159
|
-
environment=codebuild.BuildEnvironment(
|
|
17160
|
-
build_image=codebuild.LinuxBuildImage.STANDARD_7_0
|
|
17161
|
-
),
|
|
17162
|
-
build_spec=codebuild.BuildSpec.from_object({
|
|
17163
|
-
"version": "0.2",
|
|
17164
|
-
"phases": {
|
|
17165
|
-
"install": {
|
|
17166
|
-
"commands": "npm install"
|
|
17167
|
-
},
|
|
17168
|
-
"build": {
|
|
17169
|
-
"commands": "npm run build"
|
|
17170
|
-
}
|
|
17171
|
-
},
|
|
17172
|
-
"artifacts": {
|
|
17173
|
-
"files": ["index.js", "node_modules/**/*"
|
|
17174
|
-
]
|
|
17175
|
-
}
|
|
17176
|
-
})
|
|
17177
|
-
)
|
|
17178
|
-
lambda_build_output = codepipeline.Artifact()
|
|
17179
|
-
lambda_build_action = codepipeline_actions.CodeBuildAction(
|
|
17180
|
-
action_name="Lambda_Build",
|
|
17181
|
-
project=lambda_build_project,
|
|
17182
|
-
input=lambda_source_output,
|
|
17183
|
-
outputs=[lambda_build_output]
|
|
17184
|
-
)
|
|
17185
|
-
|
|
17186
|
-
pipeline.add_stage(
|
|
17187
|
-
stage_name="Build",
|
|
17188
|
-
actions=[cdk_build_action, lambda_build_action]
|
|
17189
|
-
)
|
|
17190
|
-
|
|
17191
|
-
# finally, deploy your Lambda Stack
|
|
17192
|
-
pipeline.add_stage(
|
|
17193
|
-
stage_name="Deploy",
|
|
17194
|
-
actions=[
|
|
17195
|
-
codepipeline_actions.CloudFormationCreateUpdateStackAction(
|
|
17196
|
-
action_name="Lambda_CFN_Deploy",
|
|
17197
|
-
template_path=cdk_build_output.at_path("LambdaStack.template.yaml"),
|
|
17198
|
-
stack_name="LambdaStackDeployedName",
|
|
17199
|
-
admin_permissions=True,
|
|
17200
|
-
parameter_overrides=lambda_code.assign(lambda_build_output.s3_location),
|
|
17201
|
-
extra_inputs=[lambda_build_output
|
|
17202
|
-
]
|
|
17092
|
+
result_configuration=tasks.ResultConfiguration(
|
|
17093
|
+
encryption_configuration=tasks.EncryptionConfiguration(
|
|
17094
|
+
encryption_option=tasks.EncryptionOption.S3_MANAGED
|
|
17095
|
+
),
|
|
17096
|
+
output_location=s3.Location(
|
|
17097
|
+
bucket_name="query-results-bucket",
|
|
17098
|
+
object_key="folder"
|
|
17203
17099
|
)
|
|
17204
|
-
|
|
17100
|
+
),
|
|
17101
|
+
execution_parameters=["param1", "param2"],
|
|
17102
|
+
result_reuse_configuration_max_age=Duration.minutes(100)
|
|
17205
17103
|
)
|
|
17206
17104
|
'''
|
|
17207
17105
|
if __debug__:
|