aws-cdk-lib 2.159.1__py3-none-any.whl → 2.160.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 CHANGED
@@ -35,7 +35,7 @@ import aws_cdk.cloud_assembly_schema._jsii
35
35
  import constructs._jsii
36
36
 
37
37
  __jsii_assembly__ = jsii.JSIIAssembly.load(
38
- "aws-cdk-lib", "2.159.1", __name__[0:-6], "aws-cdk-lib@2.159.1.jsii.tgz"
38
+ "aws-cdk-lib", "2.160.0", __name__[0:-6], "aws-cdk-lib@2.160.0.jsii.tgz"
39
39
  )
40
40
 
41
41
  __all__ = [
@@ -1045,8 +1045,8 @@ Here's an example:
1045
1045
  # This is the Stack containing a simple ECS Service that uses the provided ContainerImage.
1046
1046
  #
1047
1047
  class EcsAppStack(cdk.Stack):
1048
- def __init__(self, scope, id, *, image, description=None, env=None, stackName=None, tags=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
1049
- super().__init__(scope, id, image=image, description=description, env=env, stackName=stackName, tags=tags, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
1048
+ def __init__(self, scope, id, *, image, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
1049
+ super().__init__(scope, id, image=image, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
1050
1050
 
1051
1051
  task_definition = ecs.TaskDefinition(self, "TaskDefinition",
1052
1052
  compatibility=ecs.Compatibility.FARGATE,
@@ -1070,8 +1070,8 @@ class EcsAppStack(cdk.Stack):
1070
1070
  #
1071
1071
  class PipelineStack(cdk.Stack):
1072
1072
 
1073
- def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
1074
- super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
1073
+ def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
1074
+ super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
1075
1075
 
1076
1076
  # ********* ECS part ****************
1077
1077
 
@@ -12962,6 +12962,15 @@ class IUserPool(_IResource_c80c4260, typing_extensions.Protocol):
12962
12962
  '''
12963
12963
  ...
12964
12964
 
12965
+ @builtins.property
12966
+ @jsii.member(jsii_name="userPoolProviderName")
12967
+ def user_pool_provider_name(self) -> builtins.str:
12968
+ '''The provider name of this user pool resource.
12969
+
12970
+ :attribute: true
12971
+ '''
12972
+ ...
12973
+
12965
12974
  @jsii.member(jsii_name="addClient")
12966
12975
  def add_client(
12967
12976
  self,
@@ -13097,6 +13106,15 @@ class _IUserPoolProxy(
13097
13106
  '''
13098
13107
  return typing.cast(builtins.str, jsii.get(self, "userPoolId"))
13099
13108
 
13109
+ @builtins.property
13110
+ @jsii.member(jsii_name="userPoolProviderName")
13111
+ def user_pool_provider_name(self) -> builtins.str:
13112
+ '''The provider name of this user pool resource.
13113
+
13114
+ :attribute: true
13115
+ '''
13116
+ return typing.cast(builtins.str, jsii.get(self, "userPoolProviderName"))
13117
+
13100
13118
  @jsii.member(jsii_name="addClient")
13101
13119
  def add_client(
13102
13120
  self,
@@ -108,8 +108,8 @@ import aws_cdk as cdk
108
108
 
109
109
  class FooStack(cdk.Stack):
110
110
 
111
- def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
112
- super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
111
+ def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
112
+ super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
113
113
 
114
114
  self.global_table = dynamodb.TableV2(self, "GlobalTable",
115
115
  partition_key=dynamodb.Attribute(name="pk", type=dynamodb.AttributeType.STRING),
@@ -118,8 +118,8 @@ class FooStack(cdk.Stack):
118
118
  )
119
119
 
120
120
  class BarStack(cdk.Stack):
121
- def __init__(self, scope, id, *, replicaTable, description=None, env=None, stackName=None, tags=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
122
- super().__init__(scope, id, replicaTable=replicaTable, description=description, env=env, stackName=stackName, tags=tags, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
121
+ def __init__(self, scope, id, *, replicaTable, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
122
+ super().__init__(scope, id, replicaTable=replicaTable, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
123
123
 
124
124
  # user is given grantWriteData permissions to replica in us-east-1
125
125
  replica_table.grant_write_data(user)
@@ -604,8 +604,8 @@ instance around:
604
604
  #
605
605
  class Stack1(cdk.Stack):
606
606
 
607
- def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
608
- super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
607
+ def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
608
+ super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
609
609
 
610
610
  self.vpc = ec2.Vpc(self, "VPC")
611
611
 
@@ -613,8 +613,8 @@ class Stack1(cdk.Stack):
613
613
  # Stack2 consumes the VPC
614
614
  #
615
615
  class Stack2(cdk.Stack):
616
- def __init__(self, scope, id, *, vpc, description=None, env=None, stackName=None, tags=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
617
- super().__init__(scope, id, vpc=vpc, description=description, env=env, stackName=stackName, tags=tags, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
616
+ def __init__(self, scope, id, *, vpc, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
617
+ super().__init__(scope, id, vpc=vpc, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
618
618
 
619
619
  # Pass the VPC to a construct that needs it
620
620
  ConstructThatTakesAVpc(self, "Construct",
@@ -75030,6 +75030,11 @@ class InterfaceVpcEndpointAwsService(
75030
75030
  def COMPREHEND_MEDICAL(cls) -> "InterfaceVpcEndpointAwsService":
75031
75031
  return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "COMPREHEND_MEDICAL"))
75032
75032
 
75033
+ @jsii.python.classproperty
75034
+ @jsii.member(jsii_name="COMPUTE_OPTIMIZER")
75035
+ def COMPUTE_OPTIMIZER(cls) -> "InterfaceVpcEndpointAwsService":
75036
+ return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "COMPUTE_OPTIMIZER"))
75037
+
75033
75038
  @jsii.python.classproperty
75034
75039
  @jsii.member(jsii_name="CONFIG")
75035
75040
  def CONFIG(cls) -> "InterfaceVpcEndpointAwsService":
@@ -75345,6 +75350,11 @@ class InterfaceVpcEndpointAwsService(
75345
75350
  def GROUNDSTATION(cls) -> "InterfaceVpcEndpointAwsService":
75346
75351
  return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "GROUNDSTATION"))
75347
75352
 
75353
+ @jsii.python.classproperty
75354
+ @jsii.member(jsii_name="GUARDDUTY")
75355
+ def GUARDDUTY(cls) -> "InterfaceVpcEndpointAwsService":
75356
+ return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "GUARDDUTY"))
75357
+
75348
75358
  @jsii.python.classproperty
75349
75359
  @jsii.member(jsii_name="GUARDDUTY_DATA")
75350
75360
  def GUARDDUTY_DATA(cls) -> "InterfaceVpcEndpointAwsService":
@@ -75355,6 +75365,11 @@ class InterfaceVpcEndpointAwsService(
75355
75365
  def GUARDDUTY_DATA_FIPS(cls) -> "InterfaceVpcEndpointAwsService":
75356
75366
  return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "GUARDDUTY_DATA_FIPS"))
75357
75367
 
75368
+ @jsii.python.classproperty
75369
+ @jsii.member(jsii_name="GUARDDUTY_FIPS")
75370
+ def GUARDDUTY_FIPS(cls) -> "InterfaceVpcEndpointAwsService":
75371
+ return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "GUARDDUTY_FIPS"))
75372
+
75358
75373
  @jsii.python.classproperty
75359
75374
  @jsii.member(jsii_name="HEALTH_IMAGING")
75360
75375
  def HEALTH_IMAGING(cls) -> "InterfaceVpcEndpointAwsService":
@@ -76036,6 +76051,11 @@ class InterfaceVpcEndpointAwsService(
76036
76051
  def SERVER_MIGRATION_SERVICE_FIPS(cls) -> "InterfaceVpcEndpointAwsService":
76037
76052
  return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "SERVER_MIGRATION_SERVICE_FIPS"))
76038
76053
 
76054
+ @jsii.python.classproperty
76055
+ @jsii.member(jsii_name="SERVERLESS_APPLICATION_REPOSITORY")
76056
+ def SERVERLESS_APPLICATION_REPOSITORY(cls) -> "InterfaceVpcEndpointAwsService":
76057
+ return typing.cast("InterfaceVpcEndpointAwsService", jsii.sget(cls, "SERVERLESS_APPLICATION_REPOSITORY"))
76058
+
76039
76059
  @jsii.python.classproperty
76040
76060
  @jsii.member(jsii_name="SERVICE_CATALOG")
76041
76061
  def SERVICE_CATALOG(cls) -> "InterfaceVpcEndpointAwsService":
@@ -35250,8 +35250,8 @@ class TagParameterContainerImage(
35250
35250
  # This is the Stack containing a simple ECS Service that uses the provided ContainerImage.
35251
35251
  #
35252
35252
  class EcsAppStack(cdk.Stack):
35253
- def __init__(self, scope, id, *, image, description=None, env=None, stackName=None, tags=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
35254
- super().__init__(scope, id, image=image, description=description, env=env, stackName=stackName, tags=tags, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
35253
+ def __init__(self, scope, id, *, image, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
35254
+ super().__init__(scope, id, image=image, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
35255
35255
 
35256
35256
  task_definition = ecs.TaskDefinition(self, "TaskDefinition",
35257
35257
  compatibility=ecs.Compatibility.FARGATE,
@@ -35275,8 +35275,8 @@ class TagParameterContainerImage(
35275
35275
  #
35276
35276
  class PipelineStack(cdk.Stack):
35277
35277
 
35278
- def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
35279
- super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
35278
+ def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
35279
+ super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
35280
35280
 
35281
35281
  # ********* ECS part ****************
35282
35282
 
@@ -58,16 +58,16 @@ pass the construct to the other stack:
58
58
  #
59
59
  class KeyStack(cdk.Stack):
60
60
 
61
- def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
62
- super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
61
+ def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
62
+ super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
63
63
  self.key = kms.Key(self, "MyKey", removal_policy=cdk.RemovalPolicy.DESTROY)
64
64
 
65
65
  #
66
66
  # Stack that uses the key
67
67
  #
68
68
  class UseStack(cdk.Stack):
69
- def __init__(self, scope, id, *, key, description=None, env=None, stackName=None, tags=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
70
- super().__init__(scope, id, key=key, description=description, env=env, stackName=stackName, tags=tags, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
69
+ def __init__(self, scope, id, *, key, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
70
+ super().__init__(scope, id, key=key, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
71
71
 
72
72
  # Use the IKey object here.
73
73
  kms.Alias(self, "Alias",
@@ -1419,6 +1419,8 @@ When enabled, AWS Lambda checks every code deployment and verifies that the code
1419
1419
  For more information, see [Configuring code signing for AWS Lambda](https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html).
1420
1420
  The following code configures a function with code signing.
1421
1421
 
1422
+ Please note the code will not be automatically signed before deployment. To ensure your code is properly signed, you'll need to conduct the code signing process either through the AWS CLI (Command Line Interface) [start-signing-job](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/signer/start-signing-job.html) or by accessing the AWS Signer console.
1423
+
1422
1424
  ```python
1423
1425
  import aws_cdk.aws_signer as signer
1424
1426
 
@@ -6408,33 +6408,36 @@ class LogGroupProps:
6408
6408
 
6409
6409
  Example::
6410
6410
 
6411
- # vpc: ec2.Vpc
6411
+ import aws_cdk.aws_kinesisfirehose_alpha as kinesisfirehose
6412
+ import aws_cdk.aws_kinesisfirehose_destinations_alpha as destinations
6412
6413
 
6413
- kms_key = kms.Key(self, "KmsKey")
6414
6414
 
6415
- # Pass the KMS key in the `encryptionKey` field to associate the key to the log group
6416
- log_group = logs.LogGroup(self, "LogGroup",
6417
- encryption_key=kms_key
6415
+ log_group_destination = logs.LogGroup(self, "LogGroupLambdaAudit",
6416
+ log_group_name="auditDestinationForCDK"
6418
6417
  )
6419
6418
 
6420
- # Pass the KMS key in the `encryptionKey` field to associate the key to the S3 bucket
6421
- exec_bucket = s3.Bucket(self, "EcsExecBucket",
6422
- encryption_key=kms_key
6419
+ bucket = s3.Bucket(self, "audit-bucket")
6420
+ s3_destination = destinations.S3Bucket(bucket)
6421
+
6422
+ delivery_stream = kinesisfirehose.DeliveryStream(self, "Delivery Stream",
6423
+ destinations=[s3_destination]
6423
6424
  )
6424
6425
 
6425
- cluster = ecs.Cluster(self, "Cluster",
6426
- vpc=vpc,
6427
- execute_command_configuration=ecs.ExecuteCommandConfiguration(
6428
- kms_key=kms_key,
6429
- log_configuration=ecs.ExecuteCommandLogConfiguration(
6430
- cloud_watch_log_group=log_group,
6431
- cloud_watch_encryption_enabled=True,
6432
- s3_bucket=exec_bucket,
6433
- s3_encryption_enabled=True,
6434
- s3_key_prefix="exec-command-output"
6435
- ),
6436
- logging=ecs.ExecuteCommandLogging.OVERRIDE
6437
- )
6426
+ data_protection_policy = logs.DataProtectionPolicy(
6427
+ name="data protection policy",
6428
+ description="policy description",
6429
+ identifiers=[logs.DataIdentifier.DRIVERSLICENSE_US, # managed data identifier
6430
+ logs.DataIdentifier("EmailAddress"), # forward compatibility for new managed data identifiers
6431
+ logs.CustomDataIdentifier("EmployeeId", "EmployeeId-\\d{9}")
6432
+ ], # custom data identifier
6433
+ log_group_audit_destination=log_group_destination,
6434
+ s3_bucket_audit_destination=bucket,
6435
+ delivery_stream_name_audit_destination=delivery_stream.delivery_stream_name
6436
+ )
6437
+
6438
+ logs.LogGroup(self, "LogGroupLambda",
6439
+ log_group_name="cdkIntegLogGroup",
6440
+ data_protection_policy=data_protection_policy
6438
6441
  )
6439
6442
  '''
6440
6443
  if __debug__:
@@ -37520,6 +37520,12 @@ class SqlServerEngineVersion(
37520
37520
  '''Version "13.00.6441.1.v1".'''
37521
37521
  return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_13_00_6441_1_V1"))
37522
37522
 
37523
+ @jsii.python.classproperty
37524
+ @jsii.member(jsii_name="VER_13_00_6445_1_V1")
37525
+ def VER_13_00_6445_1_V1(cls) -> "SqlServerEngineVersion":
37526
+ '''Version "13.00.6445.1.v1".'''
37527
+ return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_13_00_6445_1_V1"))
37528
+
37523
37529
  @jsii.python.classproperty
37524
37530
  @jsii.member(jsii_name="VER_14")
37525
37531
  def VER_14(cls) -> "SqlServerEngineVersion":
@@ -37652,6 +37658,12 @@ class SqlServerEngineVersion(
37652
37658
  '''Version "14.00.3471.2.v1 ".'''
37653
37659
  return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_14_00_3471_2_V1"))
37654
37660
 
37661
+ @jsii.python.classproperty
37662
+ @jsii.member(jsii_name="VER_14_00_3475_1_V1")
37663
+ def VER_14_00_3475_1_V1(cls) -> "SqlServerEngineVersion":
37664
+ '''Version "14.00.3475.1.v1 ".'''
37665
+ return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_14_00_3475_1_V1"))
37666
+
37655
37667
  @jsii.python.classproperty
37656
37668
  @jsii.member(jsii_name="VER_15")
37657
37669
  def VER_15(cls) -> "SqlServerEngineVersion":
@@ -37748,6 +37760,12 @@ class SqlServerEngineVersion(
37748
37760
  '''Version "15.00.4385.2.v1".'''
37749
37761
  return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_15_00_4385_2_V1"))
37750
37762
 
37763
+ @jsii.python.classproperty
37764
+ @jsii.member(jsii_name="VER_15_00_4390_2_V1")
37765
+ def VER_15_00_4390_2_V1(cls) -> "SqlServerEngineVersion":
37766
+ '''Version "15.00.4390.2.v1".'''
37767
+ return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_15_00_4390_2_V1"))
37768
+
37751
37769
  @jsii.python.classproperty
37752
37770
  @jsii.member(jsii_name="VER_16")
37753
37771
  def VER_16(cls) -> "SqlServerEngineVersion":
@@ -37802,6 +37820,12 @@ class SqlServerEngineVersion(
37802
37820
  '''Version "16.00.4135.4.v1".'''
37803
37821
  return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_16_00_4135_4_V1"))
37804
37822
 
37823
+ @jsii.python.classproperty
37824
+ @jsii.member(jsii_name="VER_16_00_4140_3_V1")
37825
+ def VER_16_00_4140_3_V1(cls) -> "SqlServerEngineVersion":
37826
+ '''Version "16.00.4140.3.v1".'''
37827
+ return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_16_00_4140_3_V1"))
37828
+
37805
37829
  @builtins.property
37806
37830
  @jsii.member(jsii_name="sqlServerFullVersion")
37807
37831
  def sql_server_full_version(self) -> builtins.str:
@@ -183,8 +183,8 @@ To use a bucket in a different stack in the same CDK application, pass the objec
183
183
  #
184
184
  class Producer(Stack):
185
185
 
186
- def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
187
- super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
186
+ def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
187
+ super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
188
188
 
189
189
  bucket = s3.Bucket(self, "MyBucket",
190
190
  removal_policy=cdk.RemovalPolicy.DESTROY
@@ -195,8 +195,8 @@ class Producer(Stack):
195
195
  # Stack that consumes the bucket
196
196
  #
197
197
  class Consumer(Stack):
198
- def __init__(self, scope, id, *, userBucket, description=None, env=None, stackName=None, tags=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
199
- super().__init__(scope, id, userBucket=userBucket, description=description, env=env, stackName=stackName, tags=tags, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
198
+ def __init__(self, scope, id, *, userBucket, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
199
+ super().__init__(scope, id, userBucket=userBucket, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
200
200
 
201
201
  user = iam.User(self, "MyUser")
202
202
  user_bucket.grant_read_write(user)