aws-cdk-lib 2.127.0__py3-none-any.whl → 2.129.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.

Files changed (103) hide show
  1. aws_cdk/__init__.py +6 -10
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.127.0.jsii.tgz → aws-cdk-lib@2.129.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +6 -24
  5. aws_cdk/aws_amplify/__init__.py +1 -2
  6. aws_cdk/aws_appconfig/__init__.py +0 -16
  7. aws_cdk/aws_applicationautoscaling/__init__.py +55 -22
  8. aws_cdk/aws_appstream/__init__.py +14 -14
  9. aws_cdk/aws_appsync/__init__.py +334 -3
  10. aws_cdk/aws_autoscaling/__init__.py +11 -7
  11. aws_cdk/aws_batch/__init__.py +137 -16
  12. aws_cdk/aws_cleanrooms/__init__.py +1 -2
  13. aws_cdk/aws_cloudformation/__init__.py +2 -10
  14. aws_cdk/aws_cloudfront/__init__.py +15 -8
  15. aws_cdk/aws_cloudfront/experimental/__init__.py +22 -0
  16. aws_cdk/aws_cloudfront_origins/__init__.py +332 -0
  17. aws_cdk/aws_cloudtrail/__init__.py +12 -2
  18. aws_cdk/aws_cloudwatch/__init__.py +925 -133
  19. aws_cdk/aws_codedeploy/__init__.py +69 -0
  20. aws_cdk/aws_codepipeline/__init__.py +1461 -111
  21. aws_cdk/aws_codepipeline_actions/__init__.py +40 -34
  22. aws_cdk/aws_cognito/__init__.py +0 -9
  23. aws_cdk/aws_config/__init__.py +2 -2
  24. aws_cdk/aws_connect/__init__.py +6 -1
  25. aws_cdk/aws_controltower/__init__.py +527 -7
  26. aws_cdk/aws_datasync/__init__.py +2 -2
  27. aws_cdk/aws_directoryservice/__init__.py +2 -3
  28. aws_cdk/aws_dynamodb/__init__.py +7 -0
  29. aws_cdk/aws_ec2/__init__.py +117 -210
  30. aws_cdk/aws_ecs/__init__.py +537 -3
  31. aws_cdk/aws_eks/__init__.py +1 -1
  32. aws_cdk/aws_elasticache/__init__.py +27 -20
  33. aws_cdk/aws_elasticloadbalancingv2/__init__.py +3 -4
  34. aws_cdk/aws_emr/__init__.py +23 -3
  35. aws_cdk/aws_events_targets/__init__.py +64 -20
  36. aws_cdk/aws_fis/__init__.py +4 -4
  37. aws_cdk/aws_frauddetector/__init__.py +3 -3
  38. aws_cdk/aws_globalaccelerator/__init__.py +2 -6
  39. aws_cdk/aws_glue/__init__.py +84 -55
  40. aws_cdk/aws_groundstation/__init__.py +8 -12
  41. aws_cdk/aws_guardduty/__init__.py +74 -70
  42. aws_cdk/aws_iam/__init__.py +16 -23
  43. aws_cdk/aws_imagebuilder/__init__.py +178 -156
  44. aws_cdk/aws_internetmonitor/__init__.py +12 -10
  45. aws_cdk/aws_iot/__init__.py +17 -10
  46. aws_cdk/aws_iotevents/__init__.py +4 -4
  47. aws_cdk/aws_iotfleetwise/__init__.py +10 -5
  48. aws_cdk/aws_iottwinmaker/__init__.py +3 -5
  49. aws_cdk/aws_iotwireless/__init__.py +35 -23
  50. aws_cdk/aws_kendra/__init__.py +36 -15
  51. aws_cdk/aws_kinesisfirehose/__init__.py +155 -114
  52. aws_cdk/aws_lambda/__init__.py +175 -15
  53. aws_cdk/aws_lambda_nodejs/__init__.py +22 -0
  54. aws_cdk/aws_lightsail/__init__.py +14 -18
  55. aws_cdk/aws_logs/__init__.py +15 -15
  56. aws_cdk/aws_mediaconnect/__init__.py +5 -3
  57. aws_cdk/aws_medialive/__init__.py +3 -12
  58. aws_cdk/aws_mediapackagev2/__init__.py +287 -286
  59. aws_cdk/aws_mediatailor/__init__.py +2 -2
  60. aws_cdk/aws_memorydb/__init__.py +2 -2
  61. aws_cdk/aws_msk/__init__.py +6 -3
  62. aws_cdk/aws_mwaa/__init__.py +10 -5
  63. aws_cdk/aws_neptunegraph/__init__.py +84 -66
  64. aws_cdk/aws_networkfirewall/__init__.py +5 -8
  65. aws_cdk/aws_networkmanager/__init__.py +3 -3
  66. aws_cdk/aws_nimblestudio/__init__.py +2 -4
  67. aws_cdk/aws_opensearchservice/__init__.py +6 -7
  68. aws_cdk/aws_osis/__init__.py +1 -3
  69. aws_cdk/aws_pinpoint/__init__.py +5 -5
  70. aws_cdk/aws_pipes/__init__.py +5 -5
  71. aws_cdk/aws_quicksight/__init__.py +5 -10
  72. aws_cdk/aws_rds/__init__.py +38 -21
  73. aws_cdk/aws_redshift/__init__.py +9 -5
  74. aws_cdk/aws_redshiftserverless/__init__.py +62 -38
  75. aws_cdk/aws_rolesanywhere/__init__.py +41 -53
  76. aws_cdk/aws_route53/__init__.py +532 -6
  77. aws_cdk/aws_route53recoverycontrol/__init__.py +1 -3
  78. aws_cdk/aws_route53recoveryreadiness/__init__.py +2 -2
  79. aws_cdk/aws_route53resolver/__init__.py +1 -4
  80. aws_cdk/aws_s3/__init__.py +12 -6
  81. aws_cdk/aws_s3_deployment/__init__.py +29 -0
  82. aws_cdk/aws_s3objectlambda/__init__.py +7 -4
  83. aws_cdk/aws_s3outposts/__init__.py +1 -1
  84. aws_cdk/aws_sagemaker/__init__.py +195 -11
  85. aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -3
  86. aws_cdk/aws_ses/__init__.py +166 -9
  87. aws_cdk/aws_sns/__init__.py +185 -38
  88. aws_cdk/aws_sqs/__init__.py +10 -12
  89. aws_cdk/aws_ssm/__init__.py +16 -16
  90. aws_cdk/aws_ssmincidents/__init__.py +1 -1
  91. aws_cdk/aws_synthetics/__init__.py +94 -21
  92. aws_cdk/aws_verifiedpermissions/__init__.py +1 -2
  93. aws_cdk/aws_vpclattice/__init__.py +8 -4
  94. aws_cdk/aws_wafv2/__init__.py +14 -59
  95. aws_cdk/aws_workspaces/__init__.py +5 -4
  96. aws_cdk/aws_workspacesweb/__init__.py +6 -12
  97. aws_cdk/triggers/__init__.py +22 -0
  98. {aws_cdk_lib-2.127.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/METADATA +1 -1
  99. {aws_cdk_lib-2.127.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/RECORD +103 -103
  100. {aws_cdk_lib-2.127.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/LICENSE +0 -0
  101. {aws_cdk_lib-2.127.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/NOTICE +0 -0
  102. {aws_cdk_lib-2.127.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/WHEEL +0 -0
  103. {aws_cdk_lib-2.127.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/top_level.txt +0 -0
@@ -146,9 +146,7 @@ class CfnCluster(
146
146
  @builtins.property
147
147
  @jsii.member(jsii_name="attrClusterEndpoints")
148
148
  def attr_cluster_endpoints(self) -> _IResolvable_da3f097b:
149
- '''An array of endpoints for the cluster.
150
-
151
- You specify one of these endpoints when you want to set or retrieve a routing control state in the cluster.
149
+ '''Endpoints for the cluster.
152
150
 
153
151
  :cloudformationAttribute: ClusterEndpoints
154
152
  '''
@@ -153,9 +153,9 @@ class CfnCell(
153
153
  @builtins.property
154
154
  @jsii.member(jsii_name="attrParentReadinessScopes")
155
155
  def attr_parent_readiness_scopes(self) -> typing.List[builtins.str]:
156
- '''The readiness scope for the cell, which can be the Amazon Resource Name (ARN) of a cell or the ARN of a recovery group.
156
+ '''The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN.
157
157
 
158
- Although this is a list, it can currently have only one element.
158
+ This is a list but currently can have only one element.
159
159
 
160
160
  :cloudformationAttribute: ParentReadinessScopes
161
161
  '''
@@ -3460,10 +3460,7 @@ class CfnResolverRule(
3460
3460
  @builtins.property
3461
3461
  @jsii.member(jsii_name="attrTargetIps")
3462
3462
  def attr_target_ips(self) -> _IResolvable_da3f097b:
3463
- '''When the value of ``RuleType`` is ``FORWARD`` , the IP addresses that the outbound endpoint forwards DNS queries to, typically the IP addresses for DNS resolvers on your network.
3464
-
3465
- This value isn't applicable when ``RuleType`` is ``SYSTEM`` .
3466
-
3463
+ '''
3467
3464
  :cloudformationAttribute: TargetIps
3468
3465
  '''
3469
3466
  return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrTargetIps"))
@@ -1279,12 +1279,16 @@ class BucketEncryption(enum.Enum):
1279
1279
 
1280
1280
  Example::
1281
1281
 
1282
- bucket = s3.Bucket(self, "MyEncryptedBucket",
1283
- encryption=s3.BucketEncryption.KMS
1284
- )
1282
+ from aws_cdk.aws_s3 import BucketEncryption
1283
+
1285
1284
 
1286
- # you can access the encryption key:
1287
- assert(bucket.encryption_key instanceof kms.Key)
1285
+ app = App(
1286
+ default_stack_synthesizer=AppStagingSynthesizer.default_resources(
1287
+ app_id="my-app-id",
1288
+ staging_bucket_encryption=BucketEncryption.S3_MANAGED,
1289
+ deployment_identities=DeploymentIdentities.cli_credentials()
1290
+ )
1291
+ )
1288
1292
  '''
1289
1293
 
1290
1294
  UNENCRYPTED = "UNENCRYPTED"
@@ -11692,7 +11696,9 @@ class CfnStorageLens(
11692
11696
  @builtins.property
11693
11697
  @jsii.member(jsii_name="attrStorageLensConfigurationStorageLensArn")
11694
11698
  def attr_storage_lens_configuration_storage_lens_arn(self) -> builtins.str:
11695
- '''The ARN for the Amazon S3 Storage Lens configuration.
11699
+ '''This property contains the details of the ARN of the S3 Storage Lens configuration.
11700
+
11701
+ This property is read-only.
11696
11702
 
11697
11703
  :cloudformationAttribute: StorageLensConfiguration.StorageLensArn
11698
11704
  '''
@@ -383,11 +383,14 @@ import aws_cdk.aws_lambda as lambda_
383
383
 
384
384
  # my_lambda_function: lambda.Function
385
385
  # destination_bucket: s3.Bucket
386
+ # (Optional) if provided, the resulting processed file would be uploaded to the destinationBucket under the destinationKey name.
387
+ # destination_key: str
386
388
  # role: iam.Role
387
389
 
388
390
 
389
391
  s3deploy.DeployTimeSubstitutedFile(self, "MyFile",
390
392
  source="my-file.yaml",
393
+ destination_key=destination_key,
391
394
  destination_bucket=destination_bucket,
392
395
  substitutions={
393
396
  "variable_name": my_lambda_function.function_name
@@ -1456,11 +1459,14 @@ class DeployTimeSubstitutedFile(
1456
1459
 
1457
1460
  # my_lambda_function: lambda.Function
1458
1461
  # destination_bucket: s3.Bucket
1462
+ # (Optional) if provided, the resulting processed file would be uploaded to the destinationBucket under the destinationKey name.
1463
+ # destination_key: str
1459
1464
  # role: iam.Role
1460
1465
 
1461
1466
 
1462
1467
  s3deploy.DeployTimeSubstitutedFile(self, "MyFile",
1463
1468
  source="my-file.yaml",
1469
+ destination_key=destination_key,
1464
1470
  destination_bucket=destination_bucket,
1465
1471
  substitutions={
1466
1472
  "variable_name": my_lambda_function.function_name
@@ -1477,6 +1483,7 @@ class DeployTimeSubstitutedFile(
1477
1483
  destination_bucket: _IBucket_42e086fd,
1478
1484
  source: builtins.str,
1479
1485
  substitutions: typing.Mapping[builtins.str, builtins.str],
1486
+ destination_key: typing.Optional[builtins.str] = None,
1480
1487
  role: typing.Optional[_IRole_235f5d8e] = None,
1481
1488
  ) -> None:
1482
1489
  '''
@@ -1485,6 +1492,7 @@ class DeployTimeSubstitutedFile(
1485
1492
  :param destination_bucket: The S3 bucket to sync the contents of the zip file to.
1486
1493
  :param source: Path to the user's local file.
1487
1494
  :param substitutions: User-defined substitutions to make in the file. Placeholders in the user's local file must be specified with double curly brackets and spaces. For example, if you use the key 'xxxx' in the file, it must be written as: {{ xxxx }} to be recognized by the construct as a substitution.
1495
+ :param destination_key: The object key in the destination bucket where the processed file would be written to. Default: - Fingerprint of the file content would be used as object key
1488
1496
  :param role: Execution role associated with this function. Default: - A role is automatically created
1489
1497
  '''
1490
1498
  if __debug__:
@@ -1495,6 +1503,7 @@ class DeployTimeSubstitutedFile(
1495
1503
  destination_bucket=destination_bucket,
1496
1504
  source=source,
1497
1505
  substitutions=substitutions,
1506
+ destination_key=destination_key,
1498
1507
  role=role,
1499
1508
  )
1500
1509
 
@@ -1518,6 +1527,7 @@ class DeployTimeSubstitutedFile(
1518
1527
  "destination_bucket": "destinationBucket",
1519
1528
  "source": "source",
1520
1529
  "substitutions": "substitutions",
1530
+ "destination_key": "destinationKey",
1521
1531
  "role": "role",
1522
1532
  },
1523
1533
  )
@@ -1528,12 +1538,14 @@ class DeployTimeSubstitutedFileProps:
1528
1538
  destination_bucket: _IBucket_42e086fd,
1529
1539
  source: builtins.str,
1530
1540
  substitutions: typing.Mapping[builtins.str, builtins.str],
1541
+ destination_key: typing.Optional[builtins.str] = None,
1531
1542
  role: typing.Optional[_IRole_235f5d8e] = None,
1532
1543
  ) -> None:
1533
1544
  '''
1534
1545
  :param destination_bucket: The S3 bucket to sync the contents of the zip file to.
1535
1546
  :param source: Path to the user's local file.
1536
1547
  :param substitutions: User-defined substitutions to make in the file. Placeholders in the user's local file must be specified with double curly brackets and spaces. For example, if you use the key 'xxxx' in the file, it must be written as: {{ xxxx }} to be recognized by the construct as a substitution.
1548
+ :param destination_key: The object key in the destination bucket where the processed file would be written to. Default: - Fingerprint of the file content would be used as object key
1537
1549
  :param role: Execution role associated with this function. Default: - A role is automatically created
1538
1550
 
1539
1551
  :exampleMetadata: infused
@@ -1545,11 +1557,14 @@ class DeployTimeSubstitutedFileProps:
1545
1557
 
1546
1558
  # my_lambda_function: lambda.Function
1547
1559
  # destination_bucket: s3.Bucket
1560
+ # (Optional) if provided, the resulting processed file would be uploaded to the destinationBucket under the destinationKey name.
1561
+ # destination_key: str
1548
1562
  # role: iam.Role
1549
1563
 
1550
1564
 
1551
1565
  s3deploy.DeployTimeSubstitutedFile(self, "MyFile",
1552
1566
  source="my-file.yaml",
1567
+ destination_key=destination_key,
1553
1568
  destination_bucket=destination_bucket,
1554
1569
  substitutions={
1555
1570
  "variable_name": my_lambda_function.function_name
@@ -1562,12 +1577,15 @@ class DeployTimeSubstitutedFileProps:
1562
1577
  check_type(argname="argument destination_bucket", value=destination_bucket, expected_type=type_hints["destination_bucket"])
1563
1578
  check_type(argname="argument source", value=source, expected_type=type_hints["source"])
1564
1579
  check_type(argname="argument substitutions", value=substitutions, expected_type=type_hints["substitutions"])
1580
+ check_type(argname="argument destination_key", value=destination_key, expected_type=type_hints["destination_key"])
1565
1581
  check_type(argname="argument role", value=role, expected_type=type_hints["role"])
1566
1582
  self._values: typing.Dict[builtins.str, typing.Any] = {
1567
1583
  "destination_bucket": destination_bucket,
1568
1584
  "source": source,
1569
1585
  "substitutions": substitutions,
1570
1586
  }
1587
+ if destination_key is not None:
1588
+ self._values["destination_key"] = destination_key
1571
1589
  if role is not None:
1572
1590
  self._values["role"] = role
1573
1591
 
@@ -1598,6 +1616,15 @@ class DeployTimeSubstitutedFileProps:
1598
1616
  assert result is not None, "Required property 'substitutions' is missing"
1599
1617
  return typing.cast(typing.Mapping[builtins.str, builtins.str], result)
1600
1618
 
1619
+ @builtins.property
1620
+ def destination_key(self) -> typing.Optional[builtins.str]:
1621
+ '''The object key in the destination bucket where the processed file would be written to.
1622
+
1623
+ :default: - Fingerprint of the file content would be used as object key
1624
+ '''
1625
+ result = self._values.get("destination_key")
1626
+ return typing.cast(typing.Optional[builtins.str], result)
1627
+
1601
1628
  @builtins.property
1602
1629
  def role(self) -> typing.Optional[_IRole_235f5d8e]:
1603
1630
  '''Execution role associated with this function.
@@ -2221,6 +2248,7 @@ def _typecheckingstub__949c9855e9b54e6de98791d11d29d611c30d018ab383262c46e50c147
2221
2248
  destination_bucket: _IBucket_42e086fd,
2222
2249
  source: builtins.str,
2223
2250
  substitutions: typing.Mapping[builtins.str, builtins.str],
2251
+ destination_key: typing.Optional[builtins.str] = None,
2224
2252
  role: typing.Optional[_IRole_235f5d8e] = None,
2225
2253
  ) -> None:
2226
2254
  """Type checking stubs"""
@@ -2231,6 +2259,7 @@ def _typecheckingstub__5f4f8459d8085fcf9b16b599923964d327352dc55d826fafc9ee9b97a
2231
2259
  destination_bucket: _IBucket_42e086fd,
2232
2260
  source: builtins.str,
2233
2261
  substitutions: typing.Mapping[builtins.str, builtins.str],
2262
+ destination_key: typing.Optional[builtins.str] = None,
2234
2263
  role: typing.Optional[_IRole_235f5d8e] = None,
2235
2264
  ) -> None:
2236
2265
  """Type checking stubs"""
@@ -148,8 +148,7 @@ class CfnAccessPoint(
148
148
  @builtins.property
149
149
  @jsii.member(jsii_name="attrAlias")
150
150
  def attr_alias(self) -> _IResolvable_da3f097b:
151
- '''The alias of the Object Lambda Access Point.
152
-
151
+ '''
153
152
  :cloudformationAttribute: Alias
154
153
  '''
155
154
  return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrAlias"))
@@ -157,7 +156,9 @@ class CfnAccessPoint(
157
156
  @builtins.property
158
157
  @jsii.member(jsii_name="attrAliasStatus")
159
158
  def attr_alias_status(self) -> builtins.str:
160
- '''The status of the Object Lambda alias.
159
+ '''The status of the Object Lambda Access Point alias.
160
+
161
+ Valid Values: ``PROVISIONING`` | ``READY`` .
161
162
 
162
163
  :cloudformationAttribute: Alias.Status
163
164
  '''
@@ -166,7 +167,9 @@ class CfnAccessPoint(
166
167
  @builtins.property
167
168
  @jsii.member(jsii_name="attrAliasValue")
168
169
  def attr_alias_value(self) -> builtins.str:
169
- '''The value of the Object Lambda alias.
170
+ '''The alias name value of the Object Lambda Access Point.
171
+
172
+ For example: ``myolap-1a4n8yjrb3kda96f67zwrwiiuse1a--ol-s3`` .
170
173
 
171
174
  :cloudformationAttribute: Alias.Value
172
175
  '''
@@ -1569,7 +1569,7 @@ class CfnEndpoint(
1569
1569
  @builtins.property
1570
1570
  @jsii.member(jsii_name="attrNetworkInterfaces")
1571
1571
  def attr_network_interfaces(self) -> _IResolvable_da3f097b:
1572
- '''The network interface of the endpoint.
1572
+ '''The network interfaces of the endpoint.
1573
1573
 
1574
1574
  :cloudformationAttribute: NetworkInterfaces
1575
1575
  '''
@@ -12486,6 +12486,7 @@ class CfnFeatureGroup(
12486
12486
  "enable_online_store": "enableOnlineStore",
12487
12487
  "security_config": "securityConfig",
12488
12488
  "storage_type": "storageType",
12489
+ "ttl_duration": "ttlDuration",
12489
12490
  },
12490
12491
  )
12491
12492
  class OnlineStoreConfigProperty:
@@ -12495,6 +12496,7 @@ class CfnFeatureGroup(
12495
12496
  enable_online_store: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
12496
12497
  security_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFeatureGroup.OnlineStoreSecurityConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
12497
12498
  storage_type: typing.Optional[builtins.str] = None,
12499
+ ttl_duration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFeatureGroup.TtlDurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
12498
12500
  ) -> None:
12499
12501
  '''Use this to specify the AWS Key Management Service (KMS) Key ID, or ``KMSKeyId`` , for at rest data encryption.
12500
12502
 
@@ -12505,6 +12507,7 @@ class CfnFeatureGroup(
12505
12507
  :param enable_online_store: Turn ``OnlineStore`` off by specifying ``False`` for the ``EnableOnlineStore`` flag. Turn ``OnlineStore`` on by specifying ``True`` for the ``EnableOnlineStore`` flag. The default value is ``False`` .
12506
12508
  :param security_config: Use to specify KMS Key ID ( ``KMSKeyId`` ) for at-rest encryption of your ``OnlineStore`` .
12507
12509
  :param storage_type: Option for different tiers of low latency storage for real-time data retrieval. - ``Standard`` : A managed low latency data store for feature groups. - ``InMemory`` : A managed data store for feature groups that supports very low latency retrieval.
12510
+ :param ttl_duration: TTL configuration of the feature group.
12508
12511
 
12509
12512
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-featuregroup-onlinestoreconfig.html
12510
12513
  :exampleMetadata: fixture=_generated
@@ -12520,7 +12523,11 @@ class CfnFeatureGroup(
12520
12523
  security_config=sagemaker.CfnFeatureGroup.OnlineStoreSecurityConfigProperty(
12521
12524
  kms_key_id="kmsKeyId"
12522
12525
  ),
12523
- storage_type="storageType"
12526
+ storage_type="storageType",
12527
+ ttl_duration=sagemaker.CfnFeatureGroup.TtlDurationProperty(
12528
+ unit="unit",
12529
+ value=123
12530
+ )
12524
12531
  )
12525
12532
  '''
12526
12533
  if __debug__:
@@ -12528,6 +12535,7 @@ class CfnFeatureGroup(
12528
12535
  check_type(argname="argument enable_online_store", value=enable_online_store, expected_type=type_hints["enable_online_store"])
12529
12536
  check_type(argname="argument security_config", value=security_config, expected_type=type_hints["security_config"])
12530
12537
  check_type(argname="argument storage_type", value=storage_type, expected_type=type_hints["storage_type"])
12538
+ check_type(argname="argument ttl_duration", value=ttl_duration, expected_type=type_hints["ttl_duration"])
12531
12539
  self._values: typing.Dict[builtins.str, typing.Any] = {}
12532
12540
  if enable_online_store is not None:
12533
12541
  self._values["enable_online_store"] = enable_online_store
@@ -12535,6 +12543,8 @@ class CfnFeatureGroup(
12535
12543
  self._values["security_config"] = security_config
12536
12544
  if storage_type is not None:
12537
12545
  self._values["storage_type"] = storage_type
12546
+ if ttl_duration is not None:
12547
+ self._values["ttl_duration"] = ttl_duration
12538
12548
 
12539
12549
  @builtins.property
12540
12550
  def enable_online_store(
@@ -12574,6 +12584,17 @@ class CfnFeatureGroup(
12574
12584
  result = self._values.get("storage_type")
12575
12585
  return typing.cast(typing.Optional[builtins.str], result)
12576
12586
 
12587
+ @builtins.property
12588
+ def ttl_duration(
12589
+ self,
12590
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFeatureGroup.TtlDurationProperty"]]:
12591
+ '''TTL configuration of the feature group.
12592
+
12593
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-featuregroup-onlinestoreconfig.html#cfn-sagemaker-featuregroup-onlinestoreconfig-ttlduration
12594
+ '''
12595
+ result = self._values.get("ttl_duration")
12596
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFeatureGroup.TtlDurationProperty"]], result)
12597
+
12577
12598
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
12578
12599
  return isinstance(rhs, self.__class__) and rhs._values == self._values
12579
12600
 
@@ -12833,6 +12854,76 @@ class CfnFeatureGroup(
12833
12854
  k + "=" + repr(v) for k, v in self._values.items()
12834
12855
  )
12835
12856
 
12857
+ @jsii.data_type(
12858
+ jsii_type="aws-cdk-lib.aws_sagemaker.CfnFeatureGroup.TtlDurationProperty",
12859
+ jsii_struct_bases=[],
12860
+ name_mapping={"unit": "unit", "value": "value"},
12861
+ )
12862
+ class TtlDurationProperty:
12863
+ def __init__(
12864
+ self,
12865
+ *,
12866
+ unit: typing.Optional[builtins.str] = None,
12867
+ value: typing.Optional[jsii.Number] = None,
12868
+ ) -> None:
12869
+ '''TTL configuration of the feature group.
12870
+
12871
+ :param unit: Unit of ttl configuration.
12872
+ :param value: Value of ttl configuration.
12873
+
12874
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-featuregroup-ttlduration.html
12875
+ :exampleMetadata: fixture=_generated
12876
+
12877
+ Example::
12878
+
12879
+ # The code below shows an example of how to instantiate this type.
12880
+ # The values are placeholders you should change.
12881
+ from aws_cdk import aws_sagemaker as sagemaker
12882
+
12883
+ ttl_duration_property = sagemaker.CfnFeatureGroup.TtlDurationProperty(
12884
+ unit="unit",
12885
+ value=123
12886
+ )
12887
+ '''
12888
+ if __debug__:
12889
+ type_hints = typing.get_type_hints(_typecheckingstub__fa489e49dd38138cfa086540aa4f5147cea22e4f7f0e4313176c224c7663ff32)
12890
+ check_type(argname="argument unit", value=unit, expected_type=type_hints["unit"])
12891
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
12892
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
12893
+ if unit is not None:
12894
+ self._values["unit"] = unit
12895
+ if value is not None:
12896
+ self._values["value"] = value
12897
+
12898
+ @builtins.property
12899
+ def unit(self) -> typing.Optional[builtins.str]:
12900
+ '''Unit of ttl configuration.
12901
+
12902
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-featuregroup-ttlduration.html#cfn-sagemaker-featuregroup-ttlduration-unit
12903
+ '''
12904
+ result = self._values.get("unit")
12905
+ return typing.cast(typing.Optional[builtins.str], result)
12906
+
12907
+ @builtins.property
12908
+ def value(self) -> typing.Optional[jsii.Number]:
12909
+ '''Value of ttl configuration.
12910
+
12911
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-featuregroup-ttlduration.html#cfn-sagemaker-featuregroup-ttlduration-value
12912
+ '''
12913
+ result = self._values.get("value")
12914
+ return typing.cast(typing.Optional[jsii.Number], result)
12915
+
12916
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
12917
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
12918
+
12919
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
12920
+ return not (rhs == self)
12921
+
12922
+ def __repr__(self) -> str:
12923
+ return "TtlDurationProperty(%s)" % ", ".join(
12924
+ k + "=" + repr(v) for k, v in self._values.items()
12925
+ )
12926
+
12836
12927
 
12837
12928
  @jsii.data_type(
12838
12929
  jsii_type="aws-cdk-lib.aws_sagemaker.CfnFeatureGroupProps",
@@ -14137,7 +14228,7 @@ class CfnInferenceComponent(
14137
14228
  @builtins.property
14138
14229
  @jsii.member(jsii_name="attrRuntimeConfigCurrentCopyCount")
14139
14230
  def attr_runtime_config_current_copy_count(self) -> jsii.Number:
14140
- '''The number of copies for the inference component.
14231
+ '''The number of runtime copies of the model container that are currently deployed.
14141
14232
 
14142
14233
  :cloudformationAttribute: RuntimeConfig.CurrentCopyCount
14143
14234
  '''
@@ -14146,7 +14237,7 @@ class CfnInferenceComponent(
14146
14237
  @builtins.property
14147
14238
  @jsii.member(jsii_name="attrRuntimeConfigDesiredCopyCount")
14148
14239
  def attr_runtime_config_desired_copy_count(self) -> jsii.Number:
14149
- '''The number of copies for the inference component.
14240
+ '''The number of runtime copies of the model container that you requested to deploy with the inference component.
14150
14241
 
14151
14242
  :cloudformationAttribute: RuntimeConfig.DesiredCopyCount
14152
14243
  '''
@@ -14606,8 +14697,8 @@ class CfnInferenceComponent(
14606
14697
  '''Runtime settings for a model that is deployed with an inference component.
14607
14698
 
14608
14699
  :param copy_count: The number of runtime copies of the model container to deploy with the inference component. Each copy can serve inference requests.
14609
- :param current_copy_count: The number of copies for the inference component.
14610
- :param desired_copy_count: The number of copies for the inference component.
14700
+ :param current_copy_count: The number of runtime copies of the model container that are currently deployed.
14701
+ :param desired_copy_count: The number of runtime copies of the model container that you requested to deploy with the inference component.
14611
14702
 
14612
14703
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentruntimeconfig.html
14613
14704
  :exampleMetadata: fixture=_generated
@@ -14650,7 +14741,7 @@ class CfnInferenceComponent(
14650
14741
 
14651
14742
  @builtins.property
14652
14743
  def current_copy_count(self) -> typing.Optional[jsii.Number]:
14653
- '''The number of copies for the inference component.
14744
+ '''The number of runtime copies of the model container that are currently deployed.
14654
14745
 
14655
14746
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentruntimeconfig.html#cfn-sagemaker-inferencecomponent-inferencecomponentruntimeconfig-currentcopycount
14656
14747
  '''
@@ -14659,7 +14750,7 @@ class CfnInferenceComponent(
14659
14750
 
14660
14751
  @builtins.property
14661
14752
  def desired_copy_count(self) -> typing.Optional[jsii.Number]:
14662
- '''The number of copies for the inference component.
14753
+ '''The number of runtime copies of the model container that you requested to deploy with the inference component.
14663
14754
 
14664
14755
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentruntimeconfig.html#cfn-sagemaker-inferencecomponent-inferencecomponentruntimeconfig-desiredcopycount
14665
14756
  '''
@@ -28429,7 +28520,7 @@ class CfnModelPackage(
28429
28520
  ) -> None:
28430
28521
  '''Contains metrics captured from a model.
28431
28522
 
28432
- :param bias: Metrics that measure bais in a model.
28523
+ :param bias: Metrics that measure bias in a model.
28433
28524
  :param explainability: Metrics that help explain a model.
28434
28525
  :param model_data_quality: Metrics that measure the quality of the input data for a model.
28435
28526
  :param model_quality: Metrics that measure the quality of a model.
@@ -28530,7 +28621,7 @@ class CfnModelPackage(
28530
28621
  def bias(
28531
28622
  self,
28532
28623
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnModelPackage.BiasProperty"]]:
28533
- '''Metrics that measure bais in a model.
28624
+ '''Metrics that measure bias in a model.
28534
28625
 
28535
28626
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-modelmetrics.html#cfn-sagemaker-modelpackage-modelmetrics-bias
28536
28627
  '''
@@ -43144,7 +43235,7 @@ class CfnWorkteam(
43144
43235
 
43145
43236
  A user group can be used in on or more work teams.
43146
43237
 
43147
- :param cognito_client_id: An identifier for an application client. You must create the app client ID using Amazon Cognito.
43238
+ :param cognito_client_id: An identifier for an application client. You must create the app client ID using Amazon Cognito .
43148
43239
  :param cognito_user_group: An identifier for a user group.
43149
43240
  :param cognito_user_pool: An identifier for a user pool. The user pool must be in the same region as the service that you are calling.
43150
43241
 
@@ -43178,7 +43269,7 @@ class CfnWorkteam(
43178
43269
  def cognito_client_id(self) -> builtins.str:
43179
43270
  '''An identifier for an application client.
43180
43271
 
43181
- You must create the app client ID using Amazon Cognito.
43272
+ You must create the app client ID using Amazon Cognito .
43182
43273
 
43183
43274
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-workteam-cognitomemberdefinition.html#cfn-sagemaker-workteam-cognitomemberdefinition-cognitoclientid
43184
43275
  '''
@@ -43639,6 +43730,83 @@ class _IEndpointProxy(
43639
43730
  typing.cast(typing.Any, IEndpoint).__jsii_proxy_class__ = lambda : _IEndpointProxy
43640
43731
 
43641
43732
 
43733
+ @jsii.interface(jsii_type="aws-cdk-lib.aws_sagemaker.IPipeline")
43734
+ class IPipeline(_IResource_c80c4260, typing_extensions.Protocol):
43735
+ '''The interface for a SageMaker Pipeline resource.'''
43736
+
43737
+ @builtins.property
43738
+ @jsii.member(jsii_name="pipelineArn")
43739
+ def pipeline_arn(self) -> builtins.str:
43740
+ '''The ARN of the pipeline.
43741
+
43742
+ :attribute: true
43743
+ '''
43744
+ ...
43745
+
43746
+ @builtins.property
43747
+ @jsii.member(jsii_name="pipelineName")
43748
+ def pipeline_name(self) -> builtins.str:
43749
+ '''The name of the pipeline.
43750
+
43751
+ :attribute: true
43752
+ '''
43753
+ ...
43754
+
43755
+ @jsii.member(jsii_name="grantStartPipelineExecution")
43756
+ def grant_start_pipeline_execution(
43757
+ self,
43758
+ grantee: _IGrantable_71c4f5de,
43759
+ ) -> _Grant_a7ae64f8:
43760
+ '''Permits an IAM principal to start this pipeline execution.
43761
+
43762
+ :param grantee: The principal to grant access to.
43763
+ '''
43764
+ ...
43765
+
43766
+
43767
+ class _IPipelineProxy(
43768
+ jsii.proxy_for(_IResource_c80c4260), # type: ignore[misc]
43769
+ ):
43770
+ '''The interface for a SageMaker Pipeline resource.'''
43771
+
43772
+ __jsii_type__: typing.ClassVar[str] = "aws-cdk-lib.aws_sagemaker.IPipeline"
43773
+
43774
+ @builtins.property
43775
+ @jsii.member(jsii_name="pipelineArn")
43776
+ def pipeline_arn(self) -> builtins.str:
43777
+ '''The ARN of the pipeline.
43778
+
43779
+ :attribute: true
43780
+ '''
43781
+ return typing.cast(builtins.str, jsii.get(self, "pipelineArn"))
43782
+
43783
+ @builtins.property
43784
+ @jsii.member(jsii_name="pipelineName")
43785
+ def pipeline_name(self) -> builtins.str:
43786
+ '''The name of the pipeline.
43787
+
43788
+ :attribute: true
43789
+ '''
43790
+ return typing.cast(builtins.str, jsii.get(self, "pipelineName"))
43791
+
43792
+ @jsii.member(jsii_name="grantStartPipelineExecution")
43793
+ def grant_start_pipeline_execution(
43794
+ self,
43795
+ grantee: _IGrantable_71c4f5de,
43796
+ ) -> _Grant_a7ae64f8:
43797
+ '''Permits an IAM principal to start this pipeline execution.
43798
+
43799
+ :param grantee: The principal to grant access to.
43800
+ '''
43801
+ if __debug__:
43802
+ type_hints = typing.get_type_hints(_typecheckingstub__b9a459ba6084dcb1137655c32a1f4427fdbd7b67e19993737856f0878eadaca6)
43803
+ check_type(argname="argument grantee", value=grantee, expected_type=type_hints["grantee"])
43804
+ return typing.cast(_Grant_a7ae64f8, jsii.invoke(self, "grantStartPipelineExecution", [grantee]))
43805
+
43806
+ # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
43807
+ typing.cast(typing.Any, IPipeline).__jsii_proxy_class__ = lambda : _IPipelineProxy
43808
+
43809
+
43642
43810
  __all__ = [
43643
43811
  "CfnApp",
43644
43812
  "CfnAppImageConfig",
@@ -43699,6 +43867,7 @@ __all__ = [
43699
43867
  "CfnWorkteam",
43700
43868
  "CfnWorkteamProps",
43701
43869
  "IEndpoint",
43870
+ "IPipeline",
43702
43871
  ]
43703
43872
 
43704
43873
  publication.publish()
@@ -45205,6 +45374,7 @@ def _typecheckingstub__4068ec17c64be821371cb37a174b97e325a38220882aa92f5b086d22a
45205
45374
  enable_online_store: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
45206
45375
  security_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFeatureGroup.OnlineStoreSecurityConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
45207
45376
  storage_type: typing.Optional[builtins.str] = None,
45377
+ ttl_duration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFeatureGroup.TtlDurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
45208
45378
  ) -> None:
45209
45379
  """Type checking stubs"""
45210
45380
  pass
@@ -45233,6 +45403,14 @@ def _typecheckingstub__6d458f28019d4b4a6f2a06acd0db6858b60dffb2d229940dd18dcb6dd
45233
45403
  """Type checking stubs"""
45234
45404
  pass
45235
45405
 
45406
+ def _typecheckingstub__fa489e49dd38138cfa086540aa4f5147cea22e4f7f0e4313176c224c7663ff32(
45407
+ *,
45408
+ unit: typing.Optional[builtins.str] = None,
45409
+ value: typing.Optional[jsii.Number] = None,
45410
+ ) -> None:
45411
+ """Type checking stubs"""
45412
+ pass
45413
+
45236
45414
  def _typecheckingstub__bb1e9da53f754dd8978f06cdc95c9101b0ef89f3b1a689ab0a1e92eacd0a0951(
45237
45415
  *,
45238
45416
  event_time_feature_name: builtins.str,
@@ -48806,3 +48984,9 @@ def _typecheckingstub__ea5ef6bb1dcef938d1b2e2e52237c3ada34985058999f3b8f52f983e5
48806
48984
  ) -> None:
48807
48985
  """Type checking stubs"""
48808
48986
  pass
48987
+
48988
+ def _typecheckingstub__b9a459ba6084dcb1137655c32a1f4427fdbd7b67e19993737856f0878eadaca6(
48989
+ grantee: _IGrantable_71c4f5de,
48990
+ ) -> None:
48991
+ """Type checking stubs"""
48992
+ pass
@@ -151,9 +151,9 @@ class CfnApplication(
151
151
  @builtins.property
152
152
  @jsii.member(jsii_name="attrApplicationTagKey")
153
153
  def attr_application_tag_key(self) -> builtins.str:
154
- '''The key of the AWS application tag, which is awsApplication.
154
+ '''The key of the AWS application tag, which is ``awsApplication`` .
155
155
 
156
- Applications created before 11/13/2023 or applications without the AWS application tag resource group return no value.
156
+ Applications created before 11/13/2023 or applications without the ``AppTag`` linked resource group return no value.
157
157
 
158
158
  :cloudformationAttribute: ApplicationTagKey
159
159
  '''
@@ -164,7 +164,7 @@ class CfnApplication(
164
164
  def attr_application_tag_value(self) -> builtins.str:
165
165
  '''The value of the AWS application tag, which is the identifier of an associated resource.
166
166
 
167
- Applications created before 11/13/2023 or applications without the AWS application tag resource group return no value.
167
+ Applications created before 11/13/2023 or applications without the ``AppTag`` linked resource group return no value.
168
168
 
169
169
  :cloudformationAttribute: ApplicationTagValue
170
170
  '''