aws-cdk-lib 2.209.1__py3-none-any.whl → 2.211.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 +6 -11
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.209.1.jsii.tgz → aws-cdk-lib@2.211.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +2 -1
- aws_cdk/aws_appconfig/__init__.py +9 -0
- aws_cdk/aws_arcregionswitch/__init__.py +4962 -0
- aws_cdk/aws_athena/__init__.py +23 -19
- aws_cdk/aws_autoscaling/__init__.py +6 -6
- aws_cdk/aws_batch/__init__.py +721 -51
- aws_cdk/aws_cassandra/__init__.py +28 -1
- aws_cdk/aws_cloudfront/__init__.py +20 -8
- aws_cdk/aws_cognito/__init__.py +9 -2
- aws_cdk/aws_datazone/__init__.py +118 -77
- aws_cdk/aws_dax/__init__.py +39 -0
- aws_cdk/aws_deadline/__init__.py +155 -7
- aws_cdk/aws_docdb/__init__.py +20 -11
- aws_cdk/aws_dynamodb/__init__.py +160 -20
- aws_cdk/aws_ec2/__init__.py +978 -256
- aws_cdk/aws_ecr/__init__.py +274 -0
- aws_cdk/aws_ecs/__init__.py +335 -220
- aws_cdk/aws_eks/__init__.py +51 -3
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +9 -7
- aws_cdk/aws_entityresolution/__init__.py +240 -45
- aws_cdk/aws_evs/__init__.py +20 -45
- 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_kms/__init__.py +15 -0
- aws_cdk/aws_lambda/__init__.py +3 -3
- 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_opensearchserverless/__init__.py +2 -2
- aws_cdk/aws_opsworks/__init__.py +125 -125
- aws_cdk/aws_opsworkscm/__init__.py +1 -53
- aws_cdk/aws_pcs/__init__.py +36 -0
- aws_cdk/aws_qbusiness/__init__.py +3 -3
- aws_cdk/aws_quicksight/__init__.py +107 -0
- aws_cdk/aws_rds/__init__.py +274 -0
- aws_cdk/aws_s3/__init__.py +56 -1
- aws_cdk/aws_s3express/__init__.py +52 -1
- aws_cdk/aws_sagemaker/__init__.py +4033 -218
- aws_cdk/aws_ses/__init__.py +172 -9
- aws_cdk/aws_ssm/__init__.py +8 -4
- 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_lib-2.209.1.dist-info → aws_cdk_lib-2.211.0.dist-info}/METADATA +8 -8
- {aws_cdk_lib-2.209.1.dist-info → aws_cdk_lib-2.211.0.dist-info}/RECORD +58 -56
- {aws_cdk_lib-2.209.1.dist-info → aws_cdk_lib-2.211.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.209.1.dist-info → aws_cdk_lib-2.211.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.209.1.dist-info → aws_cdk_lib-2.211.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.209.1.dist-info → aws_cdk_lib-2.211.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:
|
|
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,18 @@ 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
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
325
|
+
|
|
326
|
+
@tags.setter
|
|
327
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
328
|
+
if __debug__:
|
|
329
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0e608b2906b65b5e91d11512e46e4a81458516822fd076cc4c4cfa631021f147)
|
|
330
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
331
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
332
|
+
|
|
308
333
|
@builtins.property
|
|
309
334
|
@jsii.member(jsii_name="vpcConfiguration")
|
|
310
335
|
def vpc_configuration(
|
|
@@ -590,6 +615,7 @@ class CfnAccessPoint(
|
|
|
590
615
|
"policy": "policy",
|
|
591
616
|
"public_access_block_configuration": "publicAccessBlockConfiguration",
|
|
592
617
|
"scope": "scope",
|
|
618
|
+
"tags": "tags",
|
|
593
619
|
"vpc_configuration": "vpcConfiguration",
|
|
594
620
|
},
|
|
595
621
|
)
|
|
@@ -603,6 +629,7 @@ class CfnAccessPointProps:
|
|
|
603
629
|
policy: typing.Any = None,
|
|
604
630
|
public_access_block_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.PublicAccessBlockConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
605
631
|
scope: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.ScopeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
632
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
606
633
|
vpc_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.VpcConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
607
634
|
) -> None:
|
|
608
635
|
'''Properties for defining a ``CfnAccessPoint``.
|
|
@@ -613,6 +640,7 @@ class CfnAccessPointProps:
|
|
|
613
640
|
:param policy: The access point policy associated with the specified access point.
|
|
614
641
|
:param public_access_block_configuration: Public access is blocked by default to access points for directory buckets.
|
|
615
642
|
: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>`_
|
|
643
|
+
:param tags:
|
|
616
644
|
: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
645
|
|
|
618
646
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-accesspoint.html
|
|
@@ -643,6 +671,10 @@ class CfnAccessPointProps:
|
|
|
643
671
|
permissions=["permissions"],
|
|
644
672
|
prefixes=["prefixes"]
|
|
645
673
|
),
|
|
674
|
+
tags=[CfnTag(
|
|
675
|
+
key="key",
|
|
676
|
+
value="value"
|
|
677
|
+
)],
|
|
646
678
|
vpc_configuration=s3express.CfnAccessPoint.VpcConfigurationProperty(
|
|
647
679
|
vpc_id="vpcId"
|
|
648
680
|
)
|
|
@@ -656,6 +688,7 @@ class CfnAccessPointProps:
|
|
|
656
688
|
check_type(argname="argument policy", value=policy, expected_type=type_hints["policy"])
|
|
657
689
|
check_type(argname="argument public_access_block_configuration", value=public_access_block_configuration, expected_type=type_hints["public_access_block_configuration"])
|
|
658
690
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
691
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
659
692
|
check_type(argname="argument vpc_configuration", value=vpc_configuration, expected_type=type_hints["vpc_configuration"])
|
|
660
693
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
661
694
|
"bucket": bucket,
|
|
@@ -670,6 +703,8 @@ class CfnAccessPointProps:
|
|
|
670
703
|
self._values["public_access_block_configuration"] = public_access_block_configuration
|
|
671
704
|
if scope is not None:
|
|
672
705
|
self._values["scope"] = scope
|
|
706
|
+
if tags is not None:
|
|
707
|
+
self._values["tags"] = tags
|
|
673
708
|
if vpc_configuration is not None:
|
|
674
709
|
self._values["vpc_configuration"] = vpc_configuration
|
|
675
710
|
|
|
@@ -736,6 +771,14 @@ class CfnAccessPointProps:
|
|
|
736
771
|
result = self._values.get("scope")
|
|
737
772
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAccessPoint.ScopeProperty]], result)
|
|
738
773
|
|
|
774
|
+
@builtins.property
|
|
775
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
776
|
+
'''
|
|
777
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-accesspoint.html#cfn-s3express-accesspoint-tags
|
|
778
|
+
'''
|
|
779
|
+
result = self._values.get("tags")
|
|
780
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
781
|
+
|
|
739
782
|
@builtins.property
|
|
740
783
|
def vpc_configuration(
|
|
741
784
|
self,
|
|
@@ -2019,6 +2062,7 @@ def _typecheckingstub__e5fc3ca5d7f872be531c5db2f2626dbbab094b459144a7d293c09461f
|
|
|
2019
2062
|
policy: typing.Any = None,
|
|
2020
2063
|
public_access_block_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.PublicAccessBlockConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2021
2064
|
scope: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.ScopeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2065
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2022
2066
|
vpc_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.VpcConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2023
2067
|
) -> None:
|
|
2024
2068
|
"""Type checking stubs"""
|
|
@@ -2072,6 +2116,12 @@ def _typecheckingstub__48d7fd3100a689dec8bdc6613bf9b51376dd53745e5ef8f3e45a997d4
|
|
|
2072
2116
|
"""Type checking stubs"""
|
|
2073
2117
|
pass
|
|
2074
2118
|
|
|
2119
|
+
def _typecheckingstub__0e608b2906b65b5e91d11512e46e4a81458516822fd076cc4c4cfa631021f147(
|
|
2120
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
2121
|
+
) -> None:
|
|
2122
|
+
"""Type checking stubs"""
|
|
2123
|
+
pass
|
|
2124
|
+
|
|
2075
2125
|
def _typecheckingstub__854fbbe66a8f2a9a585ce20da917f5abf17e2ec117ac4321757853590651821a(
|
|
2076
2126
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAccessPoint.VpcConfigurationProperty]],
|
|
2077
2127
|
) -> None:
|
|
@@ -2111,6 +2161,7 @@ def _typecheckingstub__2ec03a7d5826304628784add6c3daf7da7d66e0c0d94fd92f203f6842
|
|
|
2111
2161
|
policy: typing.Any = None,
|
|
2112
2162
|
public_access_block_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.PublicAccessBlockConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2113
2163
|
scope: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.ScopeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2164
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2114
2165
|
vpc_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAccessPoint.VpcConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2115
2166
|
) -> None:
|
|
2116
2167
|
"""Type checking stubs"""
|