aws-cdk-lib 2.210.0__py3-none-any.whl → 2.212.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 +404 -54
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.210.0.jsii.tgz → aws-cdk-lib@2.212.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +2 -1
- aws_cdk/aws_apigateway/__init__.py +2 -0
- aws_cdk/aws_apigatewayv2/__init__.py +1798 -74
- aws_cdk/aws_appconfig/__init__.py +9 -0
- aws_cdk/aws_appintegrations/__init__.py +395 -0
- aws_cdk/aws_arcregionswitch/__init__.py +5080 -0
- aws_cdk/aws_athena/__init__.py +23 -19
- aws_cdk/aws_autoscaling/__init__.py +6 -6
- aws_cdk/aws_batch/__init__.py +725 -55
- aws_cdk/aws_bedrock/__init__.py +18 -0
- aws_cdk/aws_billingconductor/__init__.py +3 -3
- aws_cdk/aws_cassandra/__init__.py +28 -1
- aws_cdk/aws_cloudfront/__init__.py +39 -8
- aws_cdk/aws_codebuild/__init__.py +122 -0
- aws_cdk/aws_codepipeline/__init__.py +51 -50
- aws_cdk/aws_cognito/__init__.py +9 -2
- aws_cdk/aws_connect/__init__.py +40 -15
- aws_cdk/aws_datazone/__init__.py +118 -77
- aws_cdk/aws_dax/__init__.py +39 -0
- aws_cdk/aws_deadline/__init__.py +166 -7
- aws_cdk/aws_docdb/__init__.py +20 -11
- aws_cdk/aws_dynamodb/__init__.py +246 -36
- aws_cdk/aws_ec2/__init__.py +1044 -111
- aws_cdk/aws_ecr/__init__.py +274 -0
- aws_cdk/aws_ecs/__init__.py +1637 -137
- aws_cdk/aws_eks/__init__.py +53 -3
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +31 -17
- aws_cdk/aws_entityresolution/__init__.py +240 -45
- aws_cdk/aws_evs/__init__.py +20 -45
- aws_cdk/aws_gameliftstreams/__init__.py +7 -6
- aws_cdk/aws_glue/__init__.py +18 -9
- aws_cdk/aws_guardduty/__init__.py +1233 -113
- aws_cdk/aws_imagebuilder/__init__.py +34 -20
- aws_cdk/aws_inspectorv2/__init__.py +1516 -0
- aws_cdk/aws_iot/__init__.py +387 -0
- aws_cdk/aws_iotsitewise/__init__.py +1247 -139
- aws_cdk/aws_ivs/__init__.py +443 -33
- aws_cdk/aws_kinesisfirehose/__init__.py +2 -0
- aws_cdk/aws_lakeformation/__init__.py +1 -1
- aws_cdk/aws_lambda/__init__.py +9 -9
- aws_cdk/aws_lightsail/__init__.py +590 -0
- aws_cdk/aws_logs/__init__.py +97 -3
- aws_cdk/aws_medialive/__init__.py +270 -7
- aws_cdk/aws_mediapackagev2/__init__.py +204 -6
- aws_cdk/aws_neptune/__init__.py +41 -2
- aws_cdk/aws_networkfirewall/__init__.py +490 -134
- aws_cdk/aws_observabilityadmin/__init__.py +1468 -0
- aws_cdk/aws_omics/__init__.py +1 -1
- aws_cdk/aws_opensearchserverless/__init__.py +2 -2
- aws_cdk/aws_opensearchservice/__init__.py +128 -0
- aws_cdk/aws_opsworks/__init__.py +125 -125
- aws_cdk/aws_opsworkscm/__init__.py +1 -53
- aws_cdk/aws_pcs/__init__.py +49 -5
- aws_cdk/aws_qbusiness/__init__.py +3 -3
- aws_cdk/aws_quicksight/__init__.py +188 -83
- aws_cdk/aws_rds/__init__.py +245 -103
- aws_cdk/aws_s3/__init__.py +56 -1
- aws_cdk/aws_s3express/__init__.py +56 -1
- aws_cdk/aws_s3tables/__init__.py +2 -2
- aws_cdk/aws_sagemaker/__init__.py +4080 -223
- aws_cdk/aws_ses/__init__.py +172 -9
- aws_cdk/aws_sqs/__init__.py +4 -3
- aws_cdk/aws_ssm/__init__.py +8 -4
- aws_cdk/aws_stepfunctions_tasks/__init__.py +16 -9
- aws_cdk/aws_synthetics/__init__.py +116 -0
- aws_cdk/aws_verifiedpermissions/__init__.py +23 -2
- aws_cdk/aws_wisdom/__init__.py +2 -2
- aws_cdk/aws_workspacesweb/__init__.py +949 -157
- aws_cdk/cx_api/__init__.py +22 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/METADATA +335 -15
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/RECORD +78 -76
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_s3/__init__.py
CHANGED
|
@@ -3782,7 +3782,7 @@ class CfnAccessGrantsLocationProps:
|
|
|
3782
3782
|
)
|
|
3783
3783
|
|
|
3784
3784
|
|
|
3785
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
3785
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
3786
3786
|
class CfnAccessPoint(
|
|
3787
3787
|
_CfnResource_9df397a6,
|
|
3788
3788
|
metaclass=jsii.JSIIMeta,
|
|
@@ -3815,6 +3815,10 @@ class CfnAccessPoint(
|
|
|
3815
3815
|
ignore_public_acls=False,
|
|
3816
3816
|
restrict_public_buckets=False
|
|
3817
3817
|
),
|
|
3818
|
+
tags=[CfnTag(
|
|
3819
|
+
key="key",
|
|
3820
|
+
value="value"
|
|
3821
|
+
)],
|
|
3818
3822
|
vpc_configuration=s3.CfnAccessPoint.VpcConfigurationProperty(
|
|
3819
3823
|
vpc_id="vpcId"
|
|
3820
3824
|
)
|
|
@@ -3831,6 +3835,7 @@ class CfnAccessPoint(
|
|
|
3831
3835
|
name: typing.Optional[builtins.str] = None,
|
|
3832
3836
|
policy: typing.Any = None,
|
|
3833
3837
|
public_access_block_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAccessPoint.PublicAccessBlockConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3838
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3834
3839
|
vpc_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAccessPoint.VpcConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3835
3840
|
) -> None:
|
|
3836
3841
|
'''
|
|
@@ -3841,6 +3846,7 @@ class CfnAccessPoint(
|
|
|
3841
3846
|
:param name: The name of this access point. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the access point name.
|
|
3842
3847
|
:param policy: The access point policy associated with this access point.
|
|
3843
3848
|
:param public_access_block_configuration: The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see `The Meaning of "Public" <https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status>`_ in the *Amazon S3 User Guide* .
|
|
3849
|
+
:param tags: An array of tags that you can apply to access points. Tags are key-value pairs of metadata used to categorize your access points and control access. For more information, see `Using tags for attribute-based access control (ABAC) <https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#using-tags-for-abac>`_ .
|
|
3844
3850
|
:param vpc_configuration: The Virtual Private Cloud (VPC) configuration for this access point, if one exists.
|
|
3845
3851
|
'''
|
|
3846
3852
|
if __debug__:
|
|
@@ -3853,6 +3859,7 @@ class CfnAccessPoint(
|
|
|
3853
3859
|
name=name,
|
|
3854
3860
|
policy=policy,
|
|
3855
3861
|
public_access_block_configuration=public_access_block_configuration,
|
|
3862
|
+
tags=tags,
|
|
3856
3863
|
vpc_configuration=vpc_configuration,
|
|
3857
3864
|
)
|
|
3858
3865
|
|
|
@@ -3928,6 +3935,12 @@ class CfnAccessPoint(
|
|
|
3928
3935
|
'''
|
|
3929
3936
|
return typing.cast(builtins.str, jsii.get(self, "attrNetworkOrigin"))
|
|
3930
3937
|
|
|
3938
|
+
@builtins.property
|
|
3939
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
3940
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
3941
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
3942
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
3943
|
+
|
|
3931
3944
|
@builtins.property
|
|
3932
3945
|
@jsii.member(jsii_name="cfnProperties")
|
|
3933
3946
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -4003,6 +4016,19 @@ class CfnAccessPoint(
|
|
|
4003
4016
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4004
4017
|
jsii.set(self, "publicAccessBlockConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
4005
4018
|
|
|
4019
|
+
@builtins.property
|
|
4020
|
+
@jsii.member(jsii_name="tags")
|
|
4021
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
4022
|
+
'''An array of tags that you can apply to access points.'''
|
|
4023
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
4024
|
+
|
|
4025
|
+
@tags.setter
|
|
4026
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
4027
|
+
if __debug__:
|
|
4028
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d6c41b842366f80d771c24147e6f4bdb868bf8899c3f03b128339e380a158e19)
|
|
4029
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4030
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
4031
|
+
|
|
4006
4032
|
@builtins.property
|
|
4007
4033
|
@jsii.member(jsii_name="vpcConfiguration")
|
|
4008
4034
|
def vpc_configuration(
|
|
@@ -4217,6 +4243,7 @@ class CfnAccessPoint(
|
|
|
4217
4243
|
"name": "name",
|
|
4218
4244
|
"policy": "policy",
|
|
4219
4245
|
"public_access_block_configuration": "publicAccessBlockConfiguration",
|
|
4246
|
+
"tags": "tags",
|
|
4220
4247
|
"vpc_configuration": "vpcConfiguration",
|
|
4221
4248
|
},
|
|
4222
4249
|
)
|
|
@@ -4229,6 +4256,7 @@ class CfnAccessPointProps:
|
|
|
4229
4256
|
name: typing.Optional[builtins.str] = None,
|
|
4230
4257
|
policy: typing.Any = None,
|
|
4231
4258
|
public_access_block_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.PublicAccessBlockConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4259
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4232
4260
|
vpc_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.VpcConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4233
4261
|
) -> None:
|
|
4234
4262
|
'''Properties for defining a ``CfnAccessPoint``.
|
|
@@ -4238,6 +4266,7 @@ class CfnAccessPointProps:
|
|
|
4238
4266
|
:param name: The name of this access point. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the access point name.
|
|
4239
4267
|
:param policy: The access point policy associated with this access point.
|
|
4240
4268
|
:param public_access_block_configuration: The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see `The Meaning of "Public" <https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status>`_ in the *Amazon S3 User Guide* .
|
|
4269
|
+
:param tags: An array of tags that you can apply to access points. Tags are key-value pairs of metadata used to categorize your access points and control access. For more information, see `Using tags for attribute-based access control (ABAC) <https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#using-tags-for-abac>`_ .
|
|
4241
4270
|
:param vpc_configuration: The Virtual Private Cloud (VPC) configuration for this access point, if one exists.
|
|
4242
4271
|
|
|
4243
4272
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html
|
|
@@ -4264,6 +4293,10 @@ class CfnAccessPointProps:
|
|
|
4264
4293
|
ignore_public_acls=False,
|
|
4265
4294
|
restrict_public_buckets=False
|
|
4266
4295
|
),
|
|
4296
|
+
tags=[CfnTag(
|
|
4297
|
+
key="key",
|
|
4298
|
+
value="value"
|
|
4299
|
+
)],
|
|
4267
4300
|
vpc_configuration=s3.CfnAccessPoint.VpcConfigurationProperty(
|
|
4268
4301
|
vpc_id="vpcId"
|
|
4269
4302
|
)
|
|
@@ -4276,6 +4309,7 @@ class CfnAccessPointProps:
|
|
|
4276
4309
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
4277
4310
|
check_type(argname="argument policy", value=policy, expected_type=type_hints["policy"])
|
|
4278
4311
|
check_type(argname="argument public_access_block_configuration", value=public_access_block_configuration, expected_type=type_hints["public_access_block_configuration"])
|
|
4312
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
4279
4313
|
check_type(argname="argument vpc_configuration", value=vpc_configuration, expected_type=type_hints["vpc_configuration"])
|
|
4280
4314
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4281
4315
|
"bucket": bucket,
|
|
@@ -4288,6 +4322,8 @@ class CfnAccessPointProps:
|
|
|
4288
4322
|
self._values["policy"] = policy
|
|
4289
4323
|
if public_access_block_configuration is not None:
|
|
4290
4324
|
self._values["public_access_block_configuration"] = public_access_block_configuration
|
|
4325
|
+
if tags is not None:
|
|
4326
|
+
self._values["tags"] = tags
|
|
4291
4327
|
if vpc_configuration is not None:
|
|
4292
4328
|
self._values["vpc_configuration"] = vpc_configuration
|
|
4293
4329
|
|
|
@@ -4343,6 +4379,17 @@ class CfnAccessPointProps:
|
|
|
4343
4379
|
result = self._values.get("public_access_block_configuration")
|
|
4344
4380
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAccessPoint.PublicAccessBlockConfigurationProperty]], result)
|
|
4345
4381
|
|
|
4382
|
+
@builtins.property
|
|
4383
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
4384
|
+
'''An array of tags that you can apply to access points.
|
|
4385
|
+
|
|
4386
|
+
Tags are key-value pairs of metadata used to categorize your access points and control access. For more information, see `Using tags for attribute-based access control (ABAC) <https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#using-tags-for-abac>`_ .
|
|
4387
|
+
|
|
4388
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html#cfn-s3-accesspoint-tags
|
|
4389
|
+
'''
|
|
4390
|
+
result = self._values.get("tags")
|
|
4391
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
4392
|
+
|
|
4346
4393
|
@builtins.property
|
|
4347
4394
|
def vpc_configuration(
|
|
4348
4395
|
self,
|
|
@@ -22648,6 +22695,7 @@ def _typecheckingstub__effa13924691e4b61b906bb0dc0bd5da8dfc4d4cbd167af0fe9491358
|
|
|
22648
22695
|
name: typing.Optional[builtins.str] = None,
|
|
22649
22696
|
policy: typing.Any = None,
|
|
22650
22697
|
public_access_block_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.PublicAccessBlockConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
22698
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
22651
22699
|
vpc_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.VpcConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
22652
22700
|
) -> None:
|
|
22653
22701
|
"""Type checking stubs"""
|
|
@@ -22695,6 +22743,12 @@ def _typecheckingstub__f1674ffbc32679c9e6b98201180481c7cd25fa6b6b1611ce89faf76ad
|
|
|
22695
22743
|
"""Type checking stubs"""
|
|
22696
22744
|
pass
|
|
22697
22745
|
|
|
22746
|
+
def _typecheckingstub__d6c41b842366f80d771c24147e6f4bdb868bf8899c3f03b128339e380a158e19(
|
|
22747
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
22748
|
+
) -> None:
|
|
22749
|
+
"""Type checking stubs"""
|
|
22750
|
+
pass
|
|
22751
|
+
|
|
22698
22752
|
def _typecheckingstub__a49ee3ddcfdce1bcd8c198e3823a2490c2f4ac82647902a91b701dbc61ab86b8(
|
|
22699
22753
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAccessPoint.VpcConfigurationProperty]],
|
|
22700
22754
|
) -> None:
|
|
@@ -22725,6 +22779,7 @@ def _typecheckingstub__78747b8f8c95f80def774b788cce8b1ff46ec71c89a1b755270401066
|
|
|
22725
22779
|
name: typing.Optional[builtins.str] = None,
|
|
22726
22780
|
policy: typing.Any = None,
|
|
22727
22781
|
public_access_block_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.PublicAccessBlockConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
22782
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
22728
22783
|
vpc_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.VpcConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
22729
22784
|
) -> None:
|
|
22730
22785
|
"""Type checking stubs"""
|
|
@@ -79,7 +79,7 @@ from .. import (
|
|
|
79
79
|
)
|
|
80
80
|
|
|
81
81
|
|
|
82
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
82
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
83
83
|
class CfnAccessPoint(
|
|
84
84
|
_CfnResource_9df397a6,
|
|
85
85
|
metaclass=jsii.JSIIMeta,
|
|
@@ -118,6 +118,10 @@ class CfnAccessPoint(
|
|
|
118
118
|
permissions=["permissions"],
|
|
119
119
|
prefixes=["prefixes"]
|
|
120
120
|
),
|
|
121
|
+
tags=[CfnTag(
|
|
122
|
+
key="key",
|
|
123
|
+
value="value"
|
|
124
|
+
)],
|
|
121
125
|
vpc_configuration=s3express.CfnAccessPoint.VpcConfigurationProperty(
|
|
122
126
|
vpc_id="vpcId"
|
|
123
127
|
)
|
|
@@ -135,6 +139,7 @@ class CfnAccessPoint(
|
|
|
135
139
|
policy: typing.Any = None,
|
|
136
140
|
public_access_block_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAccessPoint.PublicAccessBlockConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
137
141
|
scope: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAccessPoint.ScopeProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
142
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
138
143
|
vpc_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAccessPoint.VpcConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
139
144
|
) -> None:
|
|
140
145
|
'''
|
|
@@ -146,6 +151,7 @@ class CfnAccessPoint(
|
|
|
146
151
|
:param policy: The access point policy associated with the specified access point.
|
|
147
152
|
:param public_access_block_configuration: Public access is blocked by default to access points for directory buckets.
|
|
148
153
|
:param scope: You can use the access point scope to restrict access to specific prefixes, API operations, or a combination of both. For more information, see `Manage the scope of your access points for directory buckets. <https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-directory-buckets-manage-scope.html>`_
|
|
154
|
+
:param tags: An array of tags that you can apply to access points. Tags are key-value pairs of metadata used to categorize your access points and control access. For more information, see `Using tags for attribute-based access control (ABAC) <https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#using-tags-for-abac>`_ .
|
|
149
155
|
:param vpc_configuration: If you include this field, Amazon S3 restricts access to this access point to requests from the specified virtual private cloud (VPC).
|
|
150
156
|
'''
|
|
151
157
|
if __debug__:
|
|
@@ -159,6 +165,7 @@ class CfnAccessPoint(
|
|
|
159
165
|
policy=policy,
|
|
160
166
|
public_access_block_configuration=public_access_block_configuration,
|
|
161
167
|
scope=scope,
|
|
168
|
+
tags=tags,
|
|
162
169
|
vpc_configuration=vpc_configuration,
|
|
163
170
|
)
|
|
164
171
|
|
|
@@ -212,6 +219,12 @@ class CfnAccessPoint(
|
|
|
212
219
|
'''
|
|
213
220
|
return typing.cast(builtins.str, jsii.get(self, "attrNetworkOrigin"))
|
|
214
221
|
|
|
222
|
+
@builtins.property
|
|
223
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
224
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
225
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
226
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
227
|
+
|
|
215
228
|
@builtins.property
|
|
216
229
|
@jsii.member(jsii_name="cfnProperties")
|
|
217
230
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -305,6 +318,19 @@ class CfnAccessPoint(
|
|
|
305
318
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
306
319
|
jsii.set(self, "scope", value) # pyright: ignore[reportArgumentType]
|
|
307
320
|
|
|
321
|
+
@builtins.property
|
|
322
|
+
@jsii.member(jsii_name="tags")
|
|
323
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
324
|
+
'''An array of tags that you can apply to access points.'''
|
|
325
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
326
|
+
|
|
327
|
+
@tags.setter
|
|
328
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
329
|
+
if __debug__:
|
|
330
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0e608b2906b65b5e91d11512e46e4a81458516822fd076cc4c4cfa631021f147)
|
|
331
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
332
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
333
|
+
|
|
308
334
|
@builtins.property
|
|
309
335
|
@jsii.member(jsii_name="vpcConfiguration")
|
|
310
336
|
def vpc_configuration(
|
|
@@ -590,6 +616,7 @@ class CfnAccessPoint(
|
|
|
590
616
|
"policy": "policy",
|
|
591
617
|
"public_access_block_configuration": "publicAccessBlockConfiguration",
|
|
592
618
|
"scope": "scope",
|
|
619
|
+
"tags": "tags",
|
|
593
620
|
"vpc_configuration": "vpcConfiguration",
|
|
594
621
|
},
|
|
595
622
|
)
|
|
@@ -603,6 +630,7 @@ class CfnAccessPointProps:
|
|
|
603
630
|
policy: typing.Any = None,
|
|
604
631
|
public_access_block_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.PublicAccessBlockConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
605
632
|
scope: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.ScopeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
633
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
606
634
|
vpc_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.VpcConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
607
635
|
) -> None:
|
|
608
636
|
'''Properties for defining a ``CfnAccessPoint``.
|
|
@@ -613,6 +641,7 @@ class CfnAccessPointProps:
|
|
|
613
641
|
:param policy: The access point policy associated with the specified access point.
|
|
614
642
|
:param public_access_block_configuration: Public access is blocked by default to access points for directory buckets.
|
|
615
643
|
:param scope: You can use the access point scope to restrict access to specific prefixes, API operations, or a combination of both. For more information, see `Manage the scope of your access points for directory buckets. <https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-directory-buckets-manage-scope.html>`_
|
|
644
|
+
:param tags: An array of tags that you can apply to access points. Tags are key-value pairs of metadata used to categorize your access points and control access. For more information, see `Using tags for attribute-based access control (ABAC) <https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#using-tags-for-abac>`_ .
|
|
616
645
|
:param vpc_configuration: If you include this field, Amazon S3 restricts access to this access point to requests from the specified virtual private cloud (VPC).
|
|
617
646
|
|
|
618
647
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-accesspoint.html
|
|
@@ -643,6 +672,10 @@ class CfnAccessPointProps:
|
|
|
643
672
|
permissions=["permissions"],
|
|
644
673
|
prefixes=["prefixes"]
|
|
645
674
|
),
|
|
675
|
+
tags=[CfnTag(
|
|
676
|
+
key="key",
|
|
677
|
+
value="value"
|
|
678
|
+
)],
|
|
646
679
|
vpc_configuration=s3express.CfnAccessPoint.VpcConfigurationProperty(
|
|
647
680
|
vpc_id="vpcId"
|
|
648
681
|
)
|
|
@@ -656,6 +689,7 @@ class CfnAccessPointProps:
|
|
|
656
689
|
check_type(argname="argument policy", value=policy, expected_type=type_hints["policy"])
|
|
657
690
|
check_type(argname="argument public_access_block_configuration", value=public_access_block_configuration, expected_type=type_hints["public_access_block_configuration"])
|
|
658
691
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
692
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
659
693
|
check_type(argname="argument vpc_configuration", value=vpc_configuration, expected_type=type_hints["vpc_configuration"])
|
|
660
694
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
661
695
|
"bucket": bucket,
|
|
@@ -670,6 +704,8 @@ class CfnAccessPointProps:
|
|
|
670
704
|
self._values["public_access_block_configuration"] = public_access_block_configuration
|
|
671
705
|
if scope is not None:
|
|
672
706
|
self._values["scope"] = scope
|
|
707
|
+
if tags is not None:
|
|
708
|
+
self._values["tags"] = tags
|
|
673
709
|
if vpc_configuration is not None:
|
|
674
710
|
self._values["vpc_configuration"] = vpc_configuration
|
|
675
711
|
|
|
@@ -736,6 +772,17 @@ class CfnAccessPointProps:
|
|
|
736
772
|
result = self._values.get("scope")
|
|
737
773
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAccessPoint.ScopeProperty]], result)
|
|
738
774
|
|
|
775
|
+
@builtins.property
|
|
776
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
777
|
+
'''An array of tags that you can apply to access points.
|
|
778
|
+
|
|
779
|
+
Tags are key-value pairs of metadata used to categorize your access points and control access. For more information, see `Using tags for attribute-based access control (ABAC) <https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#using-tags-for-abac>`_ .
|
|
780
|
+
|
|
781
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-accesspoint.html#cfn-s3express-accesspoint-tags
|
|
782
|
+
'''
|
|
783
|
+
result = self._values.get("tags")
|
|
784
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
785
|
+
|
|
739
786
|
@builtins.property
|
|
740
787
|
def vpc_configuration(
|
|
741
788
|
self,
|
|
@@ -2019,6 +2066,7 @@ def _typecheckingstub__e5fc3ca5d7f872be531c5db2f2626dbbab094b459144a7d293c09461f
|
|
|
2019
2066
|
policy: typing.Any = None,
|
|
2020
2067
|
public_access_block_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.PublicAccessBlockConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2021
2068
|
scope: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.ScopeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2069
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2022
2070
|
vpc_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.VpcConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2023
2071
|
) -> None:
|
|
2024
2072
|
"""Type checking stubs"""
|
|
@@ -2072,6 +2120,12 @@ def _typecheckingstub__48d7fd3100a689dec8bdc6613bf9b51376dd53745e5ef8f3e45a997d4
|
|
|
2072
2120
|
"""Type checking stubs"""
|
|
2073
2121
|
pass
|
|
2074
2122
|
|
|
2123
|
+
def _typecheckingstub__0e608b2906b65b5e91d11512e46e4a81458516822fd076cc4c4cfa631021f147(
|
|
2124
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
2125
|
+
) -> None:
|
|
2126
|
+
"""Type checking stubs"""
|
|
2127
|
+
pass
|
|
2128
|
+
|
|
2075
2129
|
def _typecheckingstub__854fbbe66a8f2a9a585ce20da917f5abf17e2ec117ac4321757853590651821a(
|
|
2076
2130
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAccessPoint.VpcConfigurationProperty]],
|
|
2077
2131
|
) -> None:
|
|
@@ -2111,6 +2165,7 @@ def _typecheckingstub__2ec03a7d5826304628784add6c3daf7da7d66e0c0d94fd92f203f6842
|
|
|
2111
2165
|
policy: typing.Any = None,
|
|
2112
2166
|
public_access_block_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.PublicAccessBlockConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2113
2167
|
scope: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.ScopeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2168
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2114
2169
|
vpc_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.VpcConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2115
2170
|
) -> None:
|
|
2116
2171
|
"""Type checking stubs"""
|
aws_cdk/aws_s3tables/__init__.py
CHANGED
|
@@ -1267,7 +1267,7 @@ class CfnTableBucketPolicy(
|
|
|
1267
1267
|
metaclass=jsii.JSIIMeta,
|
|
1268
1268
|
jsii_type="aws-cdk-lib.aws_s3tables.CfnTableBucketPolicy",
|
|
1269
1269
|
):
|
|
1270
|
-
'''Creates a new
|
|
1270
|
+
'''Creates a new table bucket policy or replaces an existing table bucket policy for a table bucket.
|
|
1271
1271
|
|
|
1272
1272
|
For more information, see `Adding a table bucket policy <https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-bucket-policy.html#table-bucket-policy-add>`_ in the *Amazon Simple Storage Service User Guide* .
|
|
1273
1273
|
|
|
@@ -1568,7 +1568,7 @@ class CfnTablePolicy(
|
|
|
1568
1568
|
metaclass=jsii.JSIIMeta,
|
|
1569
1569
|
jsii_type="aws-cdk-lib.aws_s3tables.CfnTablePolicy",
|
|
1570
1570
|
):
|
|
1571
|
-
'''Creates a new
|
|
1571
|
+
'''Creates a new table policy or replaces an existing table policy for a table.
|
|
1572
1572
|
|
|
1573
1573
|
For more information, see `Adding a table policy <https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-table-policy.html#table-policy-add>`_ in the *Amazon Simple Storage Service User Guide* .
|
|
1574
1574
|
|