aws-cdk-lib 2.178.2__py3-none-any.whl → 2.180.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +83 -41
- aws_cdk/_jsii/__init__.py +1 -2
- aws_cdk/_jsii/{aws-cdk-lib@2.178.2.jsii.tgz → aws-cdk-lib@2.180.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +47 -0
- aws_cdk/aws_apigateway/__init__.py +176 -35
- aws_cdk/aws_apigatewayv2/__init__.py +151 -32
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +348 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +8 -8
- aws_cdk/aws_appsync/__init__.py +10 -7
- aws_cdk/aws_backup/__init__.py +89 -0
- aws_cdk/aws_batch/__init__.py +89 -50
- aws_cdk/aws_bedrock/__init__.py +506 -62
- aws_cdk/aws_cloudfront/__init__.py +1037 -146
- aws_cdk/aws_cloudfront_origins/__init__.py +1338 -144
- aws_cdk/aws_cloudtrail/__init__.py +4 -8
- aws_cdk/aws_cloudwatch/__init__.py +1 -1
- aws_cdk/aws_codebuild/__init__.py +218 -2
- aws_cdk/aws_codepipeline/__init__.py +113 -28
- aws_cdk/aws_codepipeline_actions/__init__.py +554 -63
- aws_cdk/aws_codestar/__init__.py +2 -1
- aws_cdk/aws_cognito/__init__.py +676 -29
- aws_cdk/aws_connect/__init__.py +257 -0
- aws_cdk/aws_datasync/__init__.py +279 -50
- aws_cdk/aws_deadline/__init__.py +683 -6
- aws_cdk/aws_directoryservice/__init__.py +9 -4
- aws_cdk/aws_dlm/__init__.py +2 -2
- aws_cdk/aws_dms/__init__.py +3 -3
- aws_cdk/aws_dynamodb/__init__.py +0 -54
- aws_cdk/aws_ec2/__init__.py +402 -130
- aws_cdk/aws_ecs/__init__.py +28 -43
- aws_cdk/aws_efs/__init__.py +1 -1
- aws_cdk/aws_eks/__init__.py +560 -182
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +112 -27
- aws_cdk/aws_emrcontainers/__init__.py +44 -1
- aws_cdk/aws_events/__init__.py +17 -26
- aws_cdk/aws_events_targets/__init__.py +303 -16
- aws_cdk/aws_fms/__init__.py +5 -5
- aws_cdk/aws_fsx/__init__.py +5 -4
- aws_cdk/aws_glue/__init__.py +161 -0
- aws_cdk/aws_groundstation/__init__.py +23 -1
- aws_cdk/aws_iam/__init__.py +15 -15
- aws_cdk/aws_iot/__init__.py +7 -0
- aws_cdk/aws_ivs/__init__.py +254 -77
- aws_cdk/aws_kinesis/__init__.py +689 -35
- aws_cdk/aws_lambda/__init__.py +10 -15
- aws_cdk/aws_lambda_event_sources/__init__.py +175 -2
- aws_cdk/aws_logs/__init__.py +62 -13
- aws_cdk/aws_medialive/__init__.py +314 -4
- aws_cdk/aws_opensearchserverless/__init__.py +19 -0
- aws_cdk/aws_pinpoint/__init__.py +14 -9
- aws_cdk/aws_rds/__init__.py +246 -82
- aws_cdk/aws_s3/__init__.py +287 -9
- aws_cdk/aws_s3objectlambda/__init__.py +2 -2
- aws_cdk/aws_ses/__init__.py +228 -8
- aws_cdk/aws_ssm/__init__.py +4 -5
- aws_cdk/aws_stepfunctions/__init__.py +301 -70
- aws_cdk/aws_stepfunctions_tasks/__init__.py +269 -163
- aws_cdk/aws_supportapp/__init__.py +7 -7
- aws_cdk/aws_transfer/__init__.py +820 -2
- aws_cdk/aws_wafv2/__init__.py +17 -9
- aws_cdk/custom_resources/__init__.py +23 -26
- aws_cdk/cx_api/__init__.py +16 -0
- aws_cdk/pipelines/__init__.py +2 -2
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/METADATA +1 -2
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/RECORD +69 -70
- aws_cdk/lambda_layer_kubectl/__init__.py +0 -107
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_s3/__init__.py
CHANGED
|
@@ -968,7 +968,7 @@ For more information, please refer to https://docs.aws.amazon.com/AmazonS3/lates
|
|
|
968
968
|
|
|
969
969
|
> **NOTE:** AWS managed keys don't allow cross-account use, and therefore can't be used to perform cross-account replication.
|
|
970
970
|
|
|
971
|
-
If you need to
|
|
971
|
+
If you need to override the bucket ownership to destination account pass the account value to the method to provide permissions to override bucket owner.
|
|
972
972
|
`addReplicationPolicy(bucket.replicationRoleArn, true, '11111111111')`;
|
|
973
973
|
|
|
974
974
|
However, if the destination bucket is a referenced bucket, CDK cannot set the bucket policy,
|
|
@@ -4338,6 +4338,7 @@ class CfnBucket(
|
|
|
4338
4338
|
inventory_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBucket.InventoryConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
4339
4339
|
lifecycle_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBucket.LifecycleConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4340
4340
|
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBucket.LoggingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4341
|
+
metadata_table_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBucket.MetadataTableConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4341
4342
|
metrics_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBucket.MetricsConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
4342
4343
|
notification_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBucket.NotificationConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4343
4344
|
object_lock_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBucket.ObjectLockConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -4362,6 +4363,7 @@ class CfnBucket(
|
|
|
4362
4363
|
:param inventory_configurations: Specifies the inventory configuration for an Amazon S3 bucket. For more information, see `GET Bucket inventory <https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETInventoryConfig.html>`_ in the *Amazon S3 API Reference* .
|
|
4363
4364
|
:param lifecycle_configuration: Specifies the lifecycle configuration for objects in an Amazon S3 bucket. For more information, see `Object Lifecycle Management <https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html>`_ in the *Amazon S3 User Guide* .
|
|
4364
4365
|
:param logging_configuration: Settings that define where logs are stored.
|
|
4366
|
+
:param metadata_table_configuration: The metadata table configuration of an Amazon S3 general purpose bucket. For more information, see `Accelerating data discovery with S3 Metadata <https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html>`_ and `Setting up permissions for configuring metadata tables <https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html>`_ .
|
|
4365
4367
|
:param metrics_configurations: Specifies a metrics configuration for the CloudWatch request metrics (specified by the metrics configuration ID) from an Amazon S3 bucket. If you're updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. If you don't include the elements you want to keep, they are erased. For more information, see `PutBucketMetricsConfiguration <https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTMetricConfiguration.html>`_ .
|
|
4366
4368
|
:param notification_configuration: Configuration that defines how Amazon S3 handles bucket notifications.
|
|
4367
4369
|
:param object_lock_configuration: .. epigraph:: This operation is not supported for directory buckets. Places an Object Lock configuration on the specified bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket. For more information, see `Locking Objects <https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html>`_ . .. epigraph:: - The ``DefaultRetention`` settings require both a mode and a period. - The ``DefaultRetention`` period can be either ``Days`` or ``Years`` but you must select one. You cannot specify ``Days`` and ``Years`` at the same time. - You can enable Object Lock for new or existing buckets. For more information, see `Configuring Object Lock <https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-configure.html>`_ .
|
|
@@ -4388,6 +4390,7 @@ class CfnBucket(
|
|
|
4388
4390
|
inventory_configurations=inventory_configurations,
|
|
4389
4391
|
lifecycle_configuration=lifecycle_configuration,
|
|
4390
4392
|
logging_configuration=logging_configuration,
|
|
4393
|
+
metadata_table_configuration=metadata_table_configuration,
|
|
4391
4394
|
metrics_configurations=metrics_configurations,
|
|
4392
4395
|
notification_configuration=notification_configuration,
|
|
4393
4396
|
object_lock_configuration=object_lock_configuration,
|
|
@@ -4467,6 +4470,32 @@ class CfnBucket(
|
|
|
4467
4470
|
'''
|
|
4468
4471
|
return typing.cast(builtins.str, jsii.get(self, "attrDualStackDomainName"))
|
|
4469
4472
|
|
|
4473
|
+
@builtins.property
|
|
4474
|
+
@jsii.member(jsii_name="attrMetadataTableConfigurationS3TablesDestinationTableArn")
|
|
4475
|
+
def attr_metadata_table_configuration_s3_tables_destination_table_arn(
|
|
4476
|
+
self,
|
|
4477
|
+
) -> builtins.str:
|
|
4478
|
+
'''The Amazon Resource Name (ARN) for the metadata table in the metadata table configuration.
|
|
4479
|
+
|
|
4480
|
+
The specified metadata table name must be unique within the ``aws_s3_metadata`` namespace in the destination table bucket.
|
|
4481
|
+
|
|
4482
|
+
:cloudformationAttribute: MetadataTableConfiguration.S3TablesDestination.TableArn
|
|
4483
|
+
'''
|
|
4484
|
+
return typing.cast(builtins.str, jsii.get(self, "attrMetadataTableConfigurationS3TablesDestinationTableArn"))
|
|
4485
|
+
|
|
4486
|
+
@builtins.property
|
|
4487
|
+
@jsii.member(jsii_name="attrMetadataTableConfigurationS3TablesDestinationTableNamespace")
|
|
4488
|
+
def attr_metadata_table_configuration_s3_tables_destination_table_namespace(
|
|
4489
|
+
self,
|
|
4490
|
+
) -> builtins.str:
|
|
4491
|
+
'''The table bucket namespace for the metadata table in your metadata table configuration.
|
|
4492
|
+
|
|
4493
|
+
This value is always ``aws_s3_metadata`` .
|
|
4494
|
+
|
|
4495
|
+
:cloudformationAttribute: MetadataTableConfiguration.S3TablesDestination.TableNamespace
|
|
4496
|
+
'''
|
|
4497
|
+
return typing.cast(builtins.str, jsii.get(self, "attrMetadataTableConfigurationS3TablesDestinationTableNamespace"))
|
|
4498
|
+
|
|
4470
4499
|
@builtins.property
|
|
4471
4500
|
@jsii.member(jsii_name="attrRegionalDomainName")
|
|
4472
4501
|
def attr_regional_domain_name(self) -> builtins.str:
|
|
@@ -4674,6 +4703,24 @@ class CfnBucket(
|
|
|
4674
4703
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4675
4704
|
jsii.set(self, "loggingConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
4676
4705
|
|
|
4706
|
+
@builtins.property
|
|
4707
|
+
@jsii.member(jsii_name="metadataTableConfiguration")
|
|
4708
|
+
def metadata_table_configuration(
|
|
4709
|
+
self,
|
|
4710
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBucket.MetadataTableConfigurationProperty"]]:
|
|
4711
|
+
'''The metadata table configuration of an Amazon S3 general purpose bucket.'''
|
|
4712
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBucket.MetadataTableConfigurationProperty"]], jsii.get(self, "metadataTableConfiguration"))
|
|
4713
|
+
|
|
4714
|
+
@metadata_table_configuration.setter
|
|
4715
|
+
def metadata_table_configuration(
|
|
4716
|
+
self,
|
|
4717
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBucket.MetadataTableConfigurationProperty"]],
|
|
4718
|
+
) -> None:
|
|
4719
|
+
if __debug__:
|
|
4720
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fd29cd03877c191999cfea4d853581d72ddc33cf57cc7d4cba47336d1b9943ec)
|
|
4721
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4722
|
+
jsii.set(self, "metadataTableConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
4723
|
+
|
|
4677
4724
|
@builtins.property
|
|
4678
4725
|
@jsii.member(jsii_name="metricsConfigurations")
|
|
4679
4726
|
def metrics_configurations(
|
|
@@ -6643,6 +6690,75 @@ class CfnBucket(
|
|
|
6643
6690
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
6644
6691
|
)
|
|
6645
6692
|
|
|
6693
|
+
@jsii.data_type(
|
|
6694
|
+
jsii_type="aws-cdk-lib.aws_s3.CfnBucket.MetadataTableConfigurationProperty",
|
|
6695
|
+
jsii_struct_bases=[],
|
|
6696
|
+
name_mapping={"s3_tables_destination": "s3TablesDestination"},
|
|
6697
|
+
)
|
|
6698
|
+
class MetadataTableConfigurationProperty:
|
|
6699
|
+
def __init__(
|
|
6700
|
+
self,
|
|
6701
|
+
*,
|
|
6702
|
+
s3_tables_destination: typing.Union[_IResolvable_da3f097b, typing.Union["CfnBucket.S3TablesDestinationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
6703
|
+
) -> None:
|
|
6704
|
+
'''The metadata table configuration of an Amazon S3 general purpose bucket.
|
|
6705
|
+
|
|
6706
|
+
For more information, see `Accelerating data discovery with S3 Metadata <https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html>`_ and `Setting up permissions for configuring metadata tables <https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html>`_ .
|
|
6707
|
+
|
|
6708
|
+
:param s3_tables_destination: The destination information for the metadata table configuration. The destination table bucket must be in the same Region and AWS account as the general purpose bucket. The specified metadata table name must be unique within the ``aws_s3_metadata`` namespace in the destination table bucket.
|
|
6709
|
+
|
|
6710
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-metadatatableconfiguration.html
|
|
6711
|
+
:exampleMetadata: fixture=_generated
|
|
6712
|
+
|
|
6713
|
+
Example::
|
|
6714
|
+
|
|
6715
|
+
# The code below shows an example of how to instantiate this type.
|
|
6716
|
+
# The values are placeholders you should change.
|
|
6717
|
+
from aws_cdk import aws_s3 as s3
|
|
6718
|
+
|
|
6719
|
+
metadata_table_configuration_property = s3.CfnBucket.MetadataTableConfigurationProperty(
|
|
6720
|
+
s3_tables_destination=s3.CfnBucket.S3TablesDestinationProperty(
|
|
6721
|
+
table_bucket_arn="tableBucketArn",
|
|
6722
|
+
table_name="tableName",
|
|
6723
|
+
|
|
6724
|
+
# the properties below are optional
|
|
6725
|
+
table_arn="tableArn",
|
|
6726
|
+
table_namespace="tableNamespace"
|
|
6727
|
+
)
|
|
6728
|
+
)
|
|
6729
|
+
'''
|
|
6730
|
+
if __debug__:
|
|
6731
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5ca454da0b88593246b2d389c687410262b1687eb76eddb67e9375ebad28093f)
|
|
6732
|
+
check_type(argname="argument s3_tables_destination", value=s3_tables_destination, expected_type=type_hints["s3_tables_destination"])
|
|
6733
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
6734
|
+
"s3_tables_destination": s3_tables_destination,
|
|
6735
|
+
}
|
|
6736
|
+
|
|
6737
|
+
@builtins.property
|
|
6738
|
+
def s3_tables_destination(
|
|
6739
|
+
self,
|
|
6740
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnBucket.S3TablesDestinationProperty"]:
|
|
6741
|
+
'''The destination information for the metadata table configuration.
|
|
6742
|
+
|
|
6743
|
+
The destination table bucket must be in the same Region and AWS account as the general purpose bucket. The specified metadata table name must be unique within the ``aws_s3_metadata`` namespace in the destination table bucket.
|
|
6744
|
+
|
|
6745
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-metadatatableconfiguration.html#cfn-s3-bucket-metadatatableconfiguration-s3tablesdestination
|
|
6746
|
+
'''
|
|
6747
|
+
result = self._values.get("s3_tables_destination")
|
|
6748
|
+
assert result is not None, "Required property 's3_tables_destination' is missing"
|
|
6749
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnBucket.S3TablesDestinationProperty"], result)
|
|
6750
|
+
|
|
6751
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6752
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6753
|
+
|
|
6754
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6755
|
+
return not (rhs == self)
|
|
6756
|
+
|
|
6757
|
+
def __repr__(self) -> str:
|
|
6758
|
+
return "MetadataTableConfigurationProperty(%s)" % ", ".join(
|
|
6759
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6760
|
+
)
|
|
6761
|
+
|
|
6646
6762
|
@jsii.data_type(
|
|
6647
6763
|
jsii_type="aws-cdk-lib.aws_s3.CfnBucket.MetricsConfigurationProperty",
|
|
6648
6764
|
jsii_struct_bases=[],
|
|
@@ -9198,7 +9314,7 @@ class CfnBucket(
|
|
|
9198
9314
|
*,
|
|
9199
9315
|
status: builtins.str,
|
|
9200
9316
|
abort_incomplete_multipart_upload: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBucket.AbortIncompleteMultipartUploadProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9201
|
-
expiration_date: typing.Optional[typing.Union[
|
|
9317
|
+
expiration_date: typing.Optional[typing.Union[datetime.datetime, _IResolvable_da3f097b]] = None,
|
|
9202
9318
|
expiration_in_days: typing.Optional[jsii.Number] = None,
|
|
9203
9319
|
expired_object_delete_marker: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
9204
9320
|
id: typing.Optional[builtins.str] = None,
|
|
@@ -9378,7 +9494,7 @@ class CfnBucket(
|
|
|
9378
9494
|
@builtins.property
|
|
9379
9495
|
def expiration_date(
|
|
9380
9496
|
self,
|
|
9381
|
-
) -> typing.Optional[typing.Union[
|
|
9497
|
+
) -> typing.Optional[typing.Union[datetime.datetime, _IResolvable_da3f097b]]:
|
|
9382
9498
|
'''Indicates when objects are deleted from Amazon S3 and Amazon S3 Glacier.
|
|
9383
9499
|
|
|
9384
9500
|
The date value must be in ISO 8601 format. The time is always midnight UTC. If you specify an expiration and transition time, you must use the same time unit for both properties (either in days or by date). The expiration time must also be later than the transition time.
|
|
@@ -9386,7 +9502,7 @@ class CfnBucket(
|
|
|
9386
9502
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html#cfn-s3-bucket-rule-expirationdate
|
|
9387
9503
|
'''
|
|
9388
9504
|
result = self._values.get("expiration_date")
|
|
9389
|
-
return typing.cast(typing.Optional[typing.Union[
|
|
9505
|
+
return typing.cast(typing.Optional[typing.Union[datetime.datetime, _IResolvable_da3f097b]], result)
|
|
9390
9506
|
|
|
9391
9507
|
@builtins.property
|
|
9392
9508
|
def expiration_in_days(self) -> typing.Optional[jsii.Number]:
|
|
@@ -9616,6 +9732,124 @@ class CfnBucket(
|
|
|
9616
9732
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
9617
9733
|
)
|
|
9618
9734
|
|
|
9735
|
+
@jsii.data_type(
|
|
9736
|
+
jsii_type="aws-cdk-lib.aws_s3.CfnBucket.S3TablesDestinationProperty",
|
|
9737
|
+
jsii_struct_bases=[],
|
|
9738
|
+
name_mapping={
|
|
9739
|
+
"table_bucket_arn": "tableBucketArn",
|
|
9740
|
+
"table_name": "tableName",
|
|
9741
|
+
"table_arn": "tableArn",
|
|
9742
|
+
"table_namespace": "tableNamespace",
|
|
9743
|
+
},
|
|
9744
|
+
)
|
|
9745
|
+
class S3TablesDestinationProperty:
|
|
9746
|
+
def __init__(
|
|
9747
|
+
self,
|
|
9748
|
+
*,
|
|
9749
|
+
table_bucket_arn: builtins.str,
|
|
9750
|
+
table_name: builtins.str,
|
|
9751
|
+
table_arn: typing.Optional[builtins.str] = None,
|
|
9752
|
+
table_namespace: typing.Optional[builtins.str] = None,
|
|
9753
|
+
) -> None:
|
|
9754
|
+
'''The destination information for the metadata table configuration.
|
|
9755
|
+
|
|
9756
|
+
The destination table bucket must be in the same Region and AWS account as the general purpose bucket. The specified metadata table name must be unique within the ``aws_s3_metadata`` namespace in the destination table bucket.
|
|
9757
|
+
|
|
9758
|
+
:param table_bucket_arn: The Amazon Resource Name (ARN) for the table bucket that's specified as the destination in the metadata table configuration. The destination table bucket must be in the same Region and AWS account as the general purpose bucket.
|
|
9759
|
+
:param table_name: The name for the metadata table in your metadata table configuration. The specified metadata table name must be unique within the ``aws_s3_metadata`` namespace in the destination table bucket.
|
|
9760
|
+
:param table_arn: The Amazon Resource Name (ARN) for the metadata table in the metadata table configuration. The specified metadata table name must be unique within the ``aws_s3_metadata`` namespace in the destination table bucket.
|
|
9761
|
+
:param table_namespace: The table bucket namespace for the metadata table in your metadata table configuration. This value is always ``aws_s3_metadata`` .
|
|
9762
|
+
|
|
9763
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-s3tablesdestination.html
|
|
9764
|
+
:exampleMetadata: fixture=_generated
|
|
9765
|
+
|
|
9766
|
+
Example::
|
|
9767
|
+
|
|
9768
|
+
# The code below shows an example of how to instantiate this type.
|
|
9769
|
+
# The values are placeholders you should change.
|
|
9770
|
+
from aws_cdk import aws_s3 as s3
|
|
9771
|
+
|
|
9772
|
+
s3_tables_destination_property = s3.CfnBucket.S3TablesDestinationProperty(
|
|
9773
|
+
table_bucket_arn="tableBucketArn",
|
|
9774
|
+
table_name="tableName",
|
|
9775
|
+
|
|
9776
|
+
# the properties below are optional
|
|
9777
|
+
table_arn="tableArn",
|
|
9778
|
+
table_namespace="tableNamespace"
|
|
9779
|
+
)
|
|
9780
|
+
'''
|
|
9781
|
+
if __debug__:
|
|
9782
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2b00b025304aa1e9221f7dd0e5257b2dafa092b90d70814a96dfccbb229f01e7)
|
|
9783
|
+
check_type(argname="argument table_bucket_arn", value=table_bucket_arn, expected_type=type_hints["table_bucket_arn"])
|
|
9784
|
+
check_type(argname="argument table_name", value=table_name, expected_type=type_hints["table_name"])
|
|
9785
|
+
check_type(argname="argument table_arn", value=table_arn, expected_type=type_hints["table_arn"])
|
|
9786
|
+
check_type(argname="argument table_namespace", value=table_namespace, expected_type=type_hints["table_namespace"])
|
|
9787
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
9788
|
+
"table_bucket_arn": table_bucket_arn,
|
|
9789
|
+
"table_name": table_name,
|
|
9790
|
+
}
|
|
9791
|
+
if table_arn is not None:
|
|
9792
|
+
self._values["table_arn"] = table_arn
|
|
9793
|
+
if table_namespace is not None:
|
|
9794
|
+
self._values["table_namespace"] = table_namespace
|
|
9795
|
+
|
|
9796
|
+
@builtins.property
|
|
9797
|
+
def table_bucket_arn(self) -> builtins.str:
|
|
9798
|
+
'''The Amazon Resource Name (ARN) for the table bucket that's specified as the destination in the metadata table configuration.
|
|
9799
|
+
|
|
9800
|
+
The destination table bucket must be in the same Region and AWS account as the general purpose bucket.
|
|
9801
|
+
|
|
9802
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-s3tablesdestination.html#cfn-s3-bucket-s3tablesdestination-tablebucketarn
|
|
9803
|
+
'''
|
|
9804
|
+
result = self._values.get("table_bucket_arn")
|
|
9805
|
+
assert result is not None, "Required property 'table_bucket_arn' is missing"
|
|
9806
|
+
return typing.cast(builtins.str, result)
|
|
9807
|
+
|
|
9808
|
+
@builtins.property
|
|
9809
|
+
def table_name(self) -> builtins.str:
|
|
9810
|
+
'''The name for the metadata table in your metadata table configuration.
|
|
9811
|
+
|
|
9812
|
+
The specified metadata table name must be unique within the ``aws_s3_metadata`` namespace in the destination table bucket.
|
|
9813
|
+
|
|
9814
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-s3tablesdestination.html#cfn-s3-bucket-s3tablesdestination-tablename
|
|
9815
|
+
'''
|
|
9816
|
+
result = self._values.get("table_name")
|
|
9817
|
+
assert result is not None, "Required property 'table_name' is missing"
|
|
9818
|
+
return typing.cast(builtins.str, result)
|
|
9819
|
+
|
|
9820
|
+
@builtins.property
|
|
9821
|
+
def table_arn(self) -> typing.Optional[builtins.str]:
|
|
9822
|
+
'''The Amazon Resource Name (ARN) for the metadata table in the metadata table configuration.
|
|
9823
|
+
|
|
9824
|
+
The specified metadata table name must be unique within the ``aws_s3_metadata`` namespace in the destination table bucket.
|
|
9825
|
+
|
|
9826
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-s3tablesdestination.html#cfn-s3-bucket-s3tablesdestination-tablearn
|
|
9827
|
+
'''
|
|
9828
|
+
result = self._values.get("table_arn")
|
|
9829
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
9830
|
+
|
|
9831
|
+
@builtins.property
|
|
9832
|
+
def table_namespace(self) -> typing.Optional[builtins.str]:
|
|
9833
|
+
'''The table bucket namespace for the metadata table in your metadata table configuration.
|
|
9834
|
+
|
|
9835
|
+
This value is always ``aws_s3_metadata`` .
|
|
9836
|
+
|
|
9837
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-s3tablesdestination.html#cfn-s3-bucket-s3tablesdestination-tablenamespace
|
|
9838
|
+
'''
|
|
9839
|
+
result = self._values.get("table_namespace")
|
|
9840
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
9841
|
+
|
|
9842
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
9843
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
9844
|
+
|
|
9845
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
9846
|
+
return not (rhs == self)
|
|
9847
|
+
|
|
9848
|
+
def __repr__(self) -> str:
|
|
9849
|
+
return "S3TablesDestinationProperty(%s)" % ", ".join(
|
|
9850
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
9851
|
+
)
|
|
9852
|
+
|
|
9619
9853
|
@jsii.data_type(
|
|
9620
9854
|
jsii_type="aws-cdk-lib.aws_s3.CfnBucket.ServerSideEncryptionByDefaultProperty",
|
|
9621
9855
|
jsii_struct_bases=[],
|
|
@@ -10351,7 +10585,7 @@ class CfnBucket(
|
|
|
10351
10585
|
self,
|
|
10352
10586
|
*,
|
|
10353
10587
|
storage_class: builtins.str,
|
|
10354
|
-
transition_date: typing.Optional[typing.Union[
|
|
10588
|
+
transition_date: typing.Optional[typing.Union[datetime.datetime, _IResolvable_da3f097b]] = None,
|
|
10355
10589
|
transition_in_days: typing.Optional[jsii.Number] = None,
|
|
10356
10590
|
) -> None:
|
|
10357
10591
|
'''Specifies when an object transitions to a specified storage class.
|
|
@@ -10405,7 +10639,7 @@ class CfnBucket(
|
|
|
10405
10639
|
@builtins.property
|
|
10406
10640
|
def transition_date(
|
|
10407
10641
|
self,
|
|
10408
|
-
) -> typing.Optional[typing.Union[
|
|
10642
|
+
) -> typing.Optional[typing.Union[datetime.datetime, _IResolvable_da3f097b]]:
|
|
10409
10643
|
'''Indicates when objects are transitioned to the specified storage class.
|
|
10410
10644
|
|
|
10411
10645
|
The date value must be in ISO 8601 format. The time is always midnight UTC.
|
|
@@ -10413,7 +10647,7 @@ class CfnBucket(
|
|
|
10413
10647
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-transition.html#cfn-s3-bucket-transition-transitiondate
|
|
10414
10648
|
'''
|
|
10415
10649
|
result = self._values.get("transition_date")
|
|
10416
|
-
return typing.cast(typing.Optional[typing.Union[
|
|
10650
|
+
return typing.cast(typing.Optional[typing.Union[datetime.datetime, _IResolvable_da3f097b]], result)
|
|
10417
10651
|
|
|
10418
10652
|
@builtins.property
|
|
10419
10653
|
def transition_in_days(self) -> typing.Optional[jsii.Number]:
|
|
@@ -10885,6 +11119,7 @@ class CfnBucketPolicyProps:
|
|
|
10885
11119
|
"inventory_configurations": "inventoryConfigurations",
|
|
10886
11120
|
"lifecycle_configuration": "lifecycleConfiguration",
|
|
10887
11121
|
"logging_configuration": "loggingConfiguration",
|
|
11122
|
+
"metadata_table_configuration": "metadataTableConfiguration",
|
|
10888
11123
|
"metrics_configurations": "metricsConfigurations",
|
|
10889
11124
|
"notification_configuration": "notificationConfiguration",
|
|
10890
11125
|
"object_lock_configuration": "objectLockConfiguration",
|
|
@@ -10911,6 +11146,7 @@ class CfnBucketProps:
|
|
|
10911
11146
|
inventory_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBucket.InventoryConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
10912
11147
|
lifecycle_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBucket.LifecycleConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10913
11148
|
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBucket.LoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11149
|
+
metadata_table_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBucket.MetadataTableConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10914
11150
|
metrics_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBucket.MetricsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
10915
11151
|
notification_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBucket.NotificationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10916
11152
|
object_lock_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBucket.ObjectLockConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -10934,6 +11170,7 @@ class CfnBucketProps:
|
|
|
10934
11170
|
:param inventory_configurations: Specifies the inventory configuration for an Amazon S3 bucket. For more information, see `GET Bucket inventory <https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETInventoryConfig.html>`_ in the *Amazon S3 API Reference* .
|
|
10935
11171
|
:param lifecycle_configuration: Specifies the lifecycle configuration for objects in an Amazon S3 bucket. For more information, see `Object Lifecycle Management <https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html>`_ in the *Amazon S3 User Guide* .
|
|
10936
11172
|
:param logging_configuration: Settings that define where logs are stored.
|
|
11173
|
+
:param metadata_table_configuration: The metadata table configuration of an Amazon S3 general purpose bucket. For more information, see `Accelerating data discovery with S3 Metadata <https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html>`_ and `Setting up permissions for configuring metadata tables <https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html>`_ .
|
|
10937
11174
|
:param metrics_configurations: Specifies a metrics configuration for the CloudWatch request metrics (specified by the metrics configuration ID) from an Amazon S3 bucket. If you're updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. If you don't include the elements you want to keep, they are erased. For more information, see `PutBucketMetricsConfiguration <https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTMetricConfiguration.html>`_ .
|
|
10938
11175
|
:param notification_configuration: Configuration that defines how Amazon S3 handles bucket notifications.
|
|
10939
11176
|
:param object_lock_configuration: .. epigraph:: This operation is not supported for directory buckets. Places an Object Lock configuration on the specified bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket. For more information, see `Locking Objects <https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html>`_ . .. epigraph:: - The ``DefaultRetention`` settings require both a mode and a period. - The ``DefaultRetention`` period can be either ``Days`` or ``Years`` but you must select one. You cannot specify ``Days`` and ``Years`` at the same time. - You can enable Object Lock for new or existing buckets. For more information, see `Configuring Object Lock <https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-configure.html>`_ .
|
|
@@ -10972,6 +11209,7 @@ class CfnBucketProps:
|
|
|
10972
11209
|
check_type(argname="argument inventory_configurations", value=inventory_configurations, expected_type=type_hints["inventory_configurations"])
|
|
10973
11210
|
check_type(argname="argument lifecycle_configuration", value=lifecycle_configuration, expected_type=type_hints["lifecycle_configuration"])
|
|
10974
11211
|
check_type(argname="argument logging_configuration", value=logging_configuration, expected_type=type_hints["logging_configuration"])
|
|
11212
|
+
check_type(argname="argument metadata_table_configuration", value=metadata_table_configuration, expected_type=type_hints["metadata_table_configuration"])
|
|
10975
11213
|
check_type(argname="argument metrics_configurations", value=metrics_configurations, expected_type=type_hints["metrics_configurations"])
|
|
10976
11214
|
check_type(argname="argument notification_configuration", value=notification_configuration, expected_type=type_hints["notification_configuration"])
|
|
10977
11215
|
check_type(argname="argument object_lock_configuration", value=object_lock_configuration, expected_type=type_hints["object_lock_configuration"])
|
|
@@ -11003,6 +11241,8 @@ class CfnBucketProps:
|
|
|
11003
11241
|
self._values["lifecycle_configuration"] = lifecycle_configuration
|
|
11004
11242
|
if logging_configuration is not None:
|
|
11005
11243
|
self._values["logging_configuration"] = logging_configuration
|
|
11244
|
+
if metadata_table_configuration is not None:
|
|
11245
|
+
self._values["metadata_table_configuration"] = metadata_table_configuration
|
|
11006
11246
|
if metrics_configurations is not None:
|
|
11007
11247
|
self._values["metrics_configurations"] = metrics_configurations
|
|
11008
11248
|
if notification_configuration is not None:
|
|
@@ -11155,6 +11395,19 @@ class CfnBucketProps:
|
|
|
11155
11395
|
result = self._values.get("logging_configuration")
|
|
11156
11396
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnBucket.LoggingConfigurationProperty]], result)
|
|
11157
11397
|
|
|
11398
|
+
@builtins.property
|
|
11399
|
+
def metadata_table_configuration(
|
|
11400
|
+
self,
|
|
11401
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnBucket.MetadataTableConfigurationProperty]]:
|
|
11402
|
+
'''The metadata table configuration of an Amazon S3 general purpose bucket.
|
|
11403
|
+
|
|
11404
|
+
For more information, see `Accelerating data discovery with S3 Metadata <https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html>`_ and `Setting up permissions for configuring metadata tables <https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html>`_ .
|
|
11405
|
+
|
|
11406
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-metadatatableconfiguration
|
|
11407
|
+
'''
|
|
11408
|
+
result = self._values.get("metadata_table_configuration")
|
|
11409
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnBucket.MetadataTableConfigurationProperty]], result)
|
|
11410
|
+
|
|
11158
11411
|
@builtins.property
|
|
11159
11412
|
def metrics_configurations(
|
|
11160
11413
|
self,
|
|
@@ -21367,6 +21620,7 @@ def _typecheckingstub__0cfa39e37f5fa17b8234ce2f712ef5cf3bf2c262914967924c19a67f6
|
|
|
21367
21620
|
inventory_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBucket.InventoryConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
21368
21621
|
lifecycle_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBucket.LifecycleConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
21369
21622
|
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBucket.LoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
21623
|
+
metadata_table_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBucket.MetadataTableConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
21370
21624
|
metrics_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBucket.MetricsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
21371
21625
|
notification_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBucket.NotificationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
21372
21626
|
object_lock_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBucket.ObjectLockConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -21453,6 +21707,12 @@ def _typecheckingstub__4b77f03fd3b3677eb1438ce6b2a3991e386c73bd8744df53f5e4ba5ea
|
|
|
21453
21707
|
"""Type checking stubs"""
|
|
21454
21708
|
pass
|
|
21455
21709
|
|
|
21710
|
+
def _typecheckingstub__fd29cd03877c191999cfea4d853581d72ddc33cf57cc7d4cba47336d1b9943ec(
|
|
21711
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnBucket.MetadataTableConfigurationProperty]],
|
|
21712
|
+
) -> None:
|
|
21713
|
+
"""Type checking stubs"""
|
|
21714
|
+
pass
|
|
21715
|
+
|
|
21456
21716
|
def _typecheckingstub__eac9036be4bb48ceb77f2042d6e2e3fb403dcb81f8655b8537b4075e2a39cc3b(
|
|
21457
21717
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnBucket.MetricsConfigurationProperty]]]],
|
|
21458
21718
|
) -> None:
|
|
@@ -21676,6 +21936,13 @@ def _typecheckingstub__01491815d16a808a2dce4d193703181c42183e3e002a73f20f0f129d4
|
|
|
21676
21936
|
"""Type checking stubs"""
|
|
21677
21937
|
pass
|
|
21678
21938
|
|
|
21939
|
+
def _typecheckingstub__5ca454da0b88593246b2d389c687410262b1687eb76eddb67e9375ebad28093f(
|
|
21940
|
+
*,
|
|
21941
|
+
s3_tables_destination: typing.Union[_IResolvable_da3f097b, typing.Union[CfnBucket.S3TablesDestinationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
21942
|
+
) -> None:
|
|
21943
|
+
"""Type checking stubs"""
|
|
21944
|
+
pass
|
|
21945
|
+
|
|
21679
21946
|
def _typecheckingstub__ad42f7d497f9da61528b895926b56b4a48de1121e97039ba589509b4f56b32f7(
|
|
21680
21947
|
*,
|
|
21681
21948
|
id: builtins.str,
|
|
@@ -21896,7 +22163,7 @@ def _typecheckingstub__8e0ac4f7540cd419a3dec0eaac50412f82617bc7d551fc1e59c7f74fc
|
|
|
21896
22163
|
*,
|
|
21897
22164
|
status: builtins.str,
|
|
21898
22165
|
abort_incomplete_multipart_upload: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBucket.AbortIncompleteMultipartUploadProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
21899
|
-
expiration_date: typing.Optional[typing.Union[
|
|
22166
|
+
expiration_date: typing.Optional[typing.Union[datetime.datetime, _IResolvable_da3f097b]] = None,
|
|
21900
22167
|
expiration_in_days: typing.Optional[jsii.Number] = None,
|
|
21901
22168
|
expired_object_delete_marker: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
21902
22169
|
id: typing.Optional[builtins.str] = None,
|
|
@@ -21921,6 +22188,16 @@ def _typecheckingstub__399f22f0ecf376ec0f80fa257ef8f4314d781b8ec104cb06be889163a
|
|
|
21921
22188
|
"""Type checking stubs"""
|
|
21922
22189
|
pass
|
|
21923
22190
|
|
|
22191
|
+
def _typecheckingstub__2b00b025304aa1e9221f7dd0e5257b2dafa092b90d70814a96dfccbb229f01e7(
|
|
22192
|
+
*,
|
|
22193
|
+
table_bucket_arn: builtins.str,
|
|
22194
|
+
table_name: builtins.str,
|
|
22195
|
+
table_arn: typing.Optional[builtins.str] = None,
|
|
22196
|
+
table_namespace: typing.Optional[builtins.str] = None,
|
|
22197
|
+
) -> None:
|
|
22198
|
+
"""Type checking stubs"""
|
|
22199
|
+
pass
|
|
22200
|
+
|
|
21924
22201
|
def _typecheckingstub__3229cd2c18436533dcead472d0996d4ebdc1c905ed61303c4f652cc5f84be6dd(
|
|
21925
22202
|
*,
|
|
21926
22203
|
sse_algorithm: builtins.str,
|
|
@@ -21995,7 +22272,7 @@ def _typecheckingstub__61064b6f15baa1adf9875a5a9c1452ffb113a830c366901a5c329f68e
|
|
|
21995
22272
|
def _typecheckingstub__059ebb238cf9b04909ed5652db39411b1d94456b4d2b5be3691ee93d81136a68(
|
|
21996
22273
|
*,
|
|
21997
22274
|
storage_class: builtins.str,
|
|
21998
|
-
transition_date: typing.Optional[typing.Union[
|
|
22275
|
+
transition_date: typing.Optional[typing.Union[datetime.datetime, _IResolvable_da3f097b]] = None,
|
|
21999
22276
|
transition_in_days: typing.Optional[jsii.Number] = None,
|
|
22000
22277
|
) -> None:
|
|
22001
22278
|
"""Type checking stubs"""
|
|
@@ -22072,6 +22349,7 @@ def _typecheckingstub__658a4165ec8804b9770871bbb27764713f55dc53e9c9e990dca120e77
|
|
|
22072
22349
|
inventory_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBucket.InventoryConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
22073
22350
|
lifecycle_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBucket.LifecycleConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
22074
22351
|
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBucket.LoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
22352
|
+
metadata_table_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBucket.MetadataTableConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
22075
22353
|
metrics_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBucket.MetricsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
22076
22354
|
notification_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBucket.NotificationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
22077
22355
|
object_lock_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBucket.ObjectLockConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -867,7 +867,7 @@ class CfnAccessPoint(
|
|
|
867
867
|
) -> None:
|
|
868
868
|
'''A configuration used when creating an Object Lambda Access Point transformation.
|
|
869
869
|
|
|
870
|
-
:param actions: A container for the action of an Object Lambda Access Point configuration. Valid inputs are ``GetObject`` , ``HeadObject`` , ``
|
|
870
|
+
:param actions: A container for the action of an Object Lambda Access Point configuration. Valid inputs are ``GetObject`` , ``HeadObject`` , ``ListObject`` , and ``ListObjectV2`` .
|
|
871
871
|
:param content_transformation: A container for the content transformation of an Object Lambda Access Point configuration. Can include the FunctionArn and FunctionPayload. For more information, see `AwsLambdaTransformation <https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_AwsLambdaTransformation.html>`_ in the *Amazon S3 API Reference* .
|
|
872
872
|
|
|
873
873
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3objectlambda-accesspoint-transformationconfiguration.html
|
|
@@ -899,7 +899,7 @@ class CfnAccessPoint(
|
|
|
899
899
|
def actions(self) -> typing.List[builtins.str]:
|
|
900
900
|
'''A container for the action of an Object Lambda Access Point configuration.
|
|
901
901
|
|
|
902
|
-
Valid inputs are ``GetObject`` , ``HeadObject`` , ``
|
|
902
|
+
Valid inputs are ``GetObject`` , ``HeadObject`` , ``ListObject`` , and ``ListObjectV2`` .
|
|
903
903
|
|
|
904
904
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3objectlambda-accesspoint-transformationconfiguration.html#cfn-s3objectlambda-accesspoint-transformationconfiguration-actions
|
|
905
905
|
'''
|