aws-cdk-lib 2.175.1__py3-none-any.whl → 2.176.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 +15 -6
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.175.1.jsii.tgz → aws-cdk-lib@2.176.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +159 -7
- aws_cdk/aws_appconfig/__init__.py +106 -24
- aws_cdk/aws_appsync/__init__.py +3 -3
- aws_cdk/aws_backup/__init__.py +18 -84
- aws_cdk/aws_cleanrooms/__init__.py +77 -34
- aws_cdk/aws_cloudformation/__init__.py +4 -2
- aws_cdk/aws_cloudfront/experimental/__init__.py +1 -1
- aws_cdk/aws_cloudwatch/__init__.py +53 -49
- aws_cdk/aws_codebuild/__init__.py +36 -0
- aws_cdk/aws_cognito/__init__.py +228 -219
- aws_cdk/aws_customerprofiles/__init__.py +1060 -0
- aws_cdk/aws_docdb/__init__.py +29 -9
- aws_cdk/aws_dynamodb/__init__.py +77 -58
- aws_cdk/aws_ec2/__init__.py +11 -8
- aws_cdk/aws_ecs/__init__.py +100 -35
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +41 -5
- aws_cdk/aws_healthlake/__init__.py +36 -40
- aws_cdk/aws_lambda/__init__.py +8 -8
- aws_cdk/aws_lambda_event_sources/__init__.py +9 -9
- aws_cdk/aws_lex/__init__.py +105 -0
- aws_cdk/aws_mediaconvert/__init__.py +7 -3
- aws_cdk/aws_organizations/__init__.py +5 -9
- aws_cdk/aws_rds/__init__.py +83 -8
- aws_cdk/aws_resiliencehub/__init__.py +41 -0
- aws_cdk/aws_s3/__init__.py +5 -5
- aws_cdk/aws_ses/__init__.py +25 -4
- aws_cdk/aws_ssm/__init__.py +9 -2
- aws_cdk/aws_ssmquicksetup/__init__.py +84 -84
- aws_cdk/aws_sso/__init__.py +9 -5
- aws_cdk/cx_api/__init__.py +25 -4
- {aws_cdk_lib-2.175.1.dist-info → aws_cdk_lib-2.176.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.175.1.dist-info → aws_cdk_lib-2.176.0.dist-info}/RECORD +39 -40
- aws_cdk/aws_iot1click/__init__.py +0 -1193
- {aws_cdk_lib-2.175.1.dist-info → aws_cdk_lib-2.176.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.175.1.dist-info → aws_cdk_lib-2.176.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.175.1.dist-info → aws_cdk_lib-2.176.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.175.1.dist-info → aws_cdk_lib-2.176.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_rds/__init__.py
CHANGED
|
@@ -1664,7 +1664,7 @@ rds.DatabaseCluster(self, "LimitlessDatabaseCluster",
|
|
|
1664
1664
|
version=rds.AuroraPostgresEngineVersion.VER_16_4_LIMITLESS
|
|
1665
1665
|
),
|
|
1666
1666
|
vpc=vpc,
|
|
1667
|
-
|
|
1667
|
+
cluster_scalability_type=rds.ClusterScalabilityType.LIMITLESS,
|
|
1668
1668
|
# Requires enabling Performance Insights
|
|
1669
1669
|
enable_performance_insights=True,
|
|
1670
1670
|
performance_insight_retention=rds.PerformanceInsightRetention.MONTHS_1,
|
|
@@ -19600,6 +19600,28 @@ class ClusterInstanceType(
|
|
|
19600
19600
|
|
|
19601
19601
|
@jsii.enum(jsii_type="aws-cdk-lib.aws_rds.ClusterScailabilityType")
|
|
19602
19602
|
class ClusterScailabilityType(enum.Enum):
|
|
19603
|
+
'''(deprecated) The scalability mode of the Aurora DB cluster.
|
|
19604
|
+
|
|
19605
|
+
:deprecated: Use ClusterScalabilityType instead. This will be removed in the next major version.
|
|
19606
|
+
|
|
19607
|
+
:stability: deprecated
|
|
19608
|
+
'''
|
|
19609
|
+
|
|
19610
|
+
STANDARD = "STANDARD"
|
|
19611
|
+
'''(deprecated) The cluster uses normal DB instance creation.
|
|
19612
|
+
|
|
19613
|
+
:stability: deprecated
|
|
19614
|
+
'''
|
|
19615
|
+
LIMITLESS = "LIMITLESS"
|
|
19616
|
+
'''(deprecated) The cluster operates as an Aurora Limitless Database, allowing you to create a DB shard group for horizontal scaling (sharding) capabilities.
|
|
19617
|
+
|
|
19618
|
+
:see: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/limitless.html
|
|
19619
|
+
:stability: deprecated
|
|
19620
|
+
'''
|
|
19621
|
+
|
|
19622
|
+
|
|
19623
|
+
@jsii.enum(jsii_type="aws-cdk-lib.aws_rds.ClusterScalabilityType")
|
|
19624
|
+
class ClusterScalabilityType(enum.Enum):
|
|
19603
19625
|
'''The scalability mode of the Aurora DB cluster.
|
|
19604
19626
|
|
|
19605
19627
|
:exampleMetadata: infused
|
|
@@ -19614,7 +19636,7 @@ class ClusterScailabilityType(enum.Enum):
|
|
|
19614
19636
|
version=rds.AuroraPostgresEngineVersion.VER_16_4_LIMITLESS
|
|
19615
19637
|
),
|
|
19616
19638
|
vpc=vpc,
|
|
19617
|
-
|
|
19639
|
+
cluster_scalability_type=rds.ClusterScalabilityType.LIMITLESS,
|
|
19618
19640
|
# Requires enabling Performance Insights
|
|
19619
19641
|
enable_performance_insights=True,
|
|
19620
19642
|
performance_insight_retention=rds.PerformanceInsightRetention.MONTHS_1,
|
|
@@ -20777,6 +20799,7 @@ class DatabaseClusterEngine(
|
|
|
20777
20799
|
"cloudwatch_logs_retention_role": "cloudwatchLogsRetentionRole",
|
|
20778
20800
|
"cluster_identifier": "clusterIdentifier",
|
|
20779
20801
|
"cluster_scailability_type": "clusterScailabilityType",
|
|
20802
|
+
"cluster_scalability_type": "clusterScalabilityType",
|
|
20780
20803
|
"copy_tags_to_snapshot": "copyTagsToSnapshot",
|
|
20781
20804
|
"credentials": "credentials",
|
|
20782
20805
|
"default_database_name": "defaultDatabaseName",
|
|
@@ -20834,6 +20857,7 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
20834
20857
|
cloudwatch_logs_retention_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
20835
20858
|
cluster_identifier: typing.Optional[builtins.str] = None,
|
|
20836
20859
|
cluster_scailability_type: typing.Optional[ClusterScailabilityType] = None,
|
|
20860
|
+
cluster_scalability_type: typing.Optional[ClusterScalabilityType] = None,
|
|
20837
20861
|
copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
|
|
20838
20862
|
credentials: typing.Optional[Credentials] = None,
|
|
20839
20863
|
default_database_name: typing.Optional[builtins.str] = None,
|
|
@@ -20887,7 +20911,8 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
20887
20911
|
:param cloudwatch_logs_retention: The number of days log events are kept in CloudWatch Logs. When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to ``Infinity``. Default: - logs never expire
|
|
20888
20912
|
:param cloudwatch_logs_retention_role: The IAM role for the Lambda function associated with the custom resource that sets the retention policy. Default: - a new role is created.
|
|
20889
20913
|
:param cluster_identifier: An optional identifier for the cluster. Default: - A name is automatically generated.
|
|
20890
|
-
:param cluster_scailability_type: Specifies the scalability mode of the Aurora DB cluster. Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD. Default: ClusterScailabilityType.STANDARD
|
|
20914
|
+
:param cluster_scailability_type: (deprecated) [Misspelled] Specifies the scalability mode of the Aurora DB cluster. Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD. Default: ClusterScailabilityType.STANDARD
|
|
20915
|
+
:param cluster_scalability_type: Specifies the scalability mode of the Aurora DB cluster. Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD. Default: ClusterScalabilityType.STANDARD
|
|
20891
20916
|
:param copy_tags_to_snapshot: Whether to copy tags to the snapshot when a snapshot is created. Default: - true
|
|
20892
20917
|
:param credentials: (deprecated) Credentials for the administrative user. Note - using this prop only works with ``Credentials.fromPassword()`` with the username of the snapshot, ``Credentials.fromUsername()`` with the username and password of the snapshot or ``Credentials.fromSecret()`` with a secret containing the username and password of the snapshot. Default: - A username of 'admin' (or 'postgres' for PostgreSQL) and SecretsManager-generated password that **will not be applied** to the cluster, use ``snapshotCredentials`` for the correct behavior.
|
|
20893
20918
|
:param default_database_name: Name of a database which is automatically created inside the cluster. Default: - Database is not created in cluster.
|
|
@@ -20961,6 +20986,7 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
20961
20986
|
check_type(argname="argument cloudwatch_logs_retention_role", value=cloudwatch_logs_retention_role, expected_type=type_hints["cloudwatch_logs_retention_role"])
|
|
20962
20987
|
check_type(argname="argument cluster_identifier", value=cluster_identifier, expected_type=type_hints["cluster_identifier"])
|
|
20963
20988
|
check_type(argname="argument cluster_scailability_type", value=cluster_scailability_type, expected_type=type_hints["cluster_scailability_type"])
|
|
20989
|
+
check_type(argname="argument cluster_scalability_type", value=cluster_scalability_type, expected_type=type_hints["cluster_scalability_type"])
|
|
20964
20990
|
check_type(argname="argument copy_tags_to_snapshot", value=copy_tags_to_snapshot, expected_type=type_hints["copy_tags_to_snapshot"])
|
|
20965
20991
|
check_type(argname="argument credentials", value=credentials, expected_type=type_hints["credentials"])
|
|
20966
20992
|
check_type(argname="argument default_database_name", value=default_database_name, expected_type=type_hints["default_database_name"])
|
|
@@ -21022,6 +21048,8 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
21022
21048
|
self._values["cluster_identifier"] = cluster_identifier
|
|
21023
21049
|
if cluster_scailability_type is not None:
|
|
21024
21050
|
self._values["cluster_scailability_type"] = cluster_scailability_type
|
|
21051
|
+
if cluster_scalability_type is not None:
|
|
21052
|
+
self._values["cluster_scalability_type"] = cluster_scalability_type
|
|
21025
21053
|
if copy_tags_to_snapshot is not None:
|
|
21026
21054
|
self._values["copy_tags_to_snapshot"] = copy_tags_to_snapshot
|
|
21027
21055
|
if credentials is not None:
|
|
@@ -21203,15 +21231,30 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
21203
21231
|
|
|
21204
21232
|
@builtins.property
|
|
21205
21233
|
def cluster_scailability_type(self) -> typing.Optional[ClusterScailabilityType]:
|
|
21206
|
-
'''Specifies the scalability mode of the Aurora DB cluster.
|
|
21234
|
+
'''(deprecated) [Misspelled] Specifies the scalability mode of the Aurora DB cluster.
|
|
21207
21235
|
|
|
21208
21236
|
Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD.
|
|
21209
21237
|
|
|
21210
21238
|
:default: ClusterScailabilityType.STANDARD
|
|
21239
|
+
|
|
21240
|
+
:deprecated: Use clusterScalabilityType instead. This will be removed in the next major version.
|
|
21241
|
+
|
|
21242
|
+
:stability: deprecated
|
|
21211
21243
|
'''
|
|
21212
21244
|
result = self._values.get("cluster_scailability_type")
|
|
21213
21245
|
return typing.cast(typing.Optional[ClusterScailabilityType], result)
|
|
21214
21246
|
|
|
21247
|
+
@builtins.property
|
|
21248
|
+
def cluster_scalability_type(self) -> typing.Optional[ClusterScalabilityType]:
|
|
21249
|
+
'''Specifies the scalability mode of the Aurora DB cluster.
|
|
21250
|
+
|
|
21251
|
+
Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD.
|
|
21252
|
+
|
|
21253
|
+
:default: ClusterScalabilityType.STANDARD
|
|
21254
|
+
'''
|
|
21255
|
+
result = self._values.get("cluster_scalability_type")
|
|
21256
|
+
return typing.cast(typing.Optional[ClusterScalabilityType], result)
|
|
21257
|
+
|
|
21215
21258
|
@builtins.property
|
|
21216
21259
|
def copy_tags_to_snapshot(self) -> typing.Optional[builtins.bool]:
|
|
21217
21260
|
'''Whether to copy tags to the snapshot when a snapshot is created.
|
|
@@ -21716,6 +21759,7 @@ class DatabaseClusterFromSnapshotProps:
|
|
|
21716
21759
|
"cloudwatch_logs_retention_role": "cloudwatchLogsRetentionRole",
|
|
21717
21760
|
"cluster_identifier": "clusterIdentifier",
|
|
21718
21761
|
"cluster_scailability_type": "clusterScailabilityType",
|
|
21762
|
+
"cluster_scalability_type": "clusterScalabilityType",
|
|
21719
21763
|
"copy_tags_to_snapshot": "copyTagsToSnapshot",
|
|
21720
21764
|
"credentials": "credentials",
|
|
21721
21765
|
"default_database_name": "defaultDatabaseName",
|
|
@@ -21771,6 +21815,7 @@ class DatabaseClusterProps:
|
|
|
21771
21815
|
cloudwatch_logs_retention_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
21772
21816
|
cluster_identifier: typing.Optional[builtins.str] = None,
|
|
21773
21817
|
cluster_scailability_type: typing.Optional[ClusterScailabilityType] = None,
|
|
21818
|
+
cluster_scalability_type: typing.Optional[ClusterScalabilityType] = None,
|
|
21774
21819
|
copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
|
|
21775
21820
|
credentials: typing.Optional[Credentials] = None,
|
|
21776
21821
|
default_database_name: typing.Optional[builtins.str] = None,
|
|
@@ -21822,7 +21867,8 @@ class DatabaseClusterProps:
|
|
|
21822
21867
|
:param cloudwatch_logs_retention: The number of days log events are kept in CloudWatch Logs. When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to ``Infinity``. Default: - logs never expire
|
|
21823
21868
|
:param cloudwatch_logs_retention_role: The IAM role for the Lambda function associated with the custom resource that sets the retention policy. Default: - a new role is created.
|
|
21824
21869
|
:param cluster_identifier: An optional identifier for the cluster. Default: - A name is automatically generated.
|
|
21825
|
-
:param cluster_scailability_type: Specifies the scalability mode of the Aurora DB cluster. Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD. Default: ClusterScailabilityType.STANDARD
|
|
21870
|
+
:param cluster_scailability_type: (deprecated) [Misspelled] Specifies the scalability mode of the Aurora DB cluster. Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD. Default: ClusterScailabilityType.STANDARD
|
|
21871
|
+
:param cluster_scalability_type: Specifies the scalability mode of the Aurora DB cluster. Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD. Default: ClusterScalabilityType.STANDARD
|
|
21826
21872
|
:param copy_tags_to_snapshot: Whether to copy tags to the snapshot when a snapshot is created. Default: - true
|
|
21827
21873
|
:param credentials: Credentials for the administrative user. Default: - A username of 'admin' (or 'postgres' for PostgreSQL) and SecretsManager-generated password
|
|
21828
21874
|
:param default_database_name: Name of a database which is automatically created inside the cluster. Default: - Database is not created in cluster.
|
|
@@ -21903,6 +21949,7 @@ class DatabaseClusterProps:
|
|
|
21903
21949
|
check_type(argname="argument cloudwatch_logs_retention_role", value=cloudwatch_logs_retention_role, expected_type=type_hints["cloudwatch_logs_retention_role"])
|
|
21904
21950
|
check_type(argname="argument cluster_identifier", value=cluster_identifier, expected_type=type_hints["cluster_identifier"])
|
|
21905
21951
|
check_type(argname="argument cluster_scailability_type", value=cluster_scailability_type, expected_type=type_hints["cluster_scailability_type"])
|
|
21952
|
+
check_type(argname="argument cluster_scalability_type", value=cluster_scalability_type, expected_type=type_hints["cluster_scalability_type"])
|
|
21906
21953
|
check_type(argname="argument copy_tags_to_snapshot", value=copy_tags_to_snapshot, expected_type=type_hints["copy_tags_to_snapshot"])
|
|
21907
21954
|
check_type(argname="argument credentials", value=credentials, expected_type=type_hints["credentials"])
|
|
21908
21955
|
check_type(argname="argument default_database_name", value=default_database_name, expected_type=type_hints["default_database_name"])
|
|
@@ -21962,6 +22009,8 @@ class DatabaseClusterProps:
|
|
|
21962
22009
|
self._values["cluster_identifier"] = cluster_identifier
|
|
21963
22010
|
if cluster_scailability_type is not None:
|
|
21964
22011
|
self._values["cluster_scailability_type"] = cluster_scailability_type
|
|
22012
|
+
if cluster_scalability_type is not None:
|
|
22013
|
+
self._values["cluster_scalability_type"] = cluster_scalability_type
|
|
21965
22014
|
if copy_tags_to_snapshot is not None:
|
|
21966
22015
|
self._values["copy_tags_to_snapshot"] = copy_tags_to_snapshot
|
|
21967
22016
|
if credentials is not None:
|
|
@@ -22130,15 +22179,30 @@ class DatabaseClusterProps:
|
|
|
22130
22179
|
|
|
22131
22180
|
@builtins.property
|
|
22132
22181
|
def cluster_scailability_type(self) -> typing.Optional[ClusterScailabilityType]:
|
|
22133
|
-
'''Specifies the scalability mode of the Aurora DB cluster.
|
|
22182
|
+
'''(deprecated) [Misspelled] Specifies the scalability mode of the Aurora DB cluster.
|
|
22134
22183
|
|
|
22135
22184
|
Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD.
|
|
22136
22185
|
|
|
22137
22186
|
:default: ClusterScailabilityType.STANDARD
|
|
22187
|
+
|
|
22188
|
+
:deprecated: Use clusterScalabilityType instead. This will be removed in the next major version.
|
|
22189
|
+
|
|
22190
|
+
:stability: deprecated
|
|
22138
22191
|
'''
|
|
22139
22192
|
result = self._values.get("cluster_scailability_type")
|
|
22140
22193
|
return typing.cast(typing.Optional[ClusterScailabilityType], result)
|
|
22141
22194
|
|
|
22195
|
+
@builtins.property
|
|
22196
|
+
def cluster_scalability_type(self) -> typing.Optional[ClusterScalabilityType]:
|
|
22197
|
+
'''Specifies the scalability mode of the Aurora DB cluster.
|
|
22198
|
+
|
|
22199
|
+
Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD.
|
|
22200
|
+
|
|
22201
|
+
:default: ClusterScalabilityType.STANDARD
|
|
22202
|
+
'''
|
|
22203
|
+
result = self._values.get("cluster_scalability_type")
|
|
22204
|
+
return typing.cast(typing.Optional[ClusterScalabilityType], result)
|
|
22205
|
+
|
|
22142
22206
|
@builtins.property
|
|
22143
22207
|
def copy_tags_to_snapshot(self) -> typing.Optional[builtins.bool]:
|
|
22144
22208
|
'''Whether to copy tags to the snapshot when a snapshot is created.
|
|
@@ -41389,6 +41453,7 @@ class DatabaseClusterFromSnapshot(
|
|
|
41389
41453
|
cloudwatch_logs_retention_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
41390
41454
|
cluster_identifier: typing.Optional[builtins.str] = None,
|
|
41391
41455
|
cluster_scailability_type: typing.Optional[ClusterScailabilityType] = None,
|
|
41456
|
+
cluster_scalability_type: typing.Optional[ClusterScalabilityType] = None,
|
|
41392
41457
|
copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
|
|
41393
41458
|
credentials: typing.Optional[Credentials] = None,
|
|
41394
41459
|
default_database_name: typing.Optional[builtins.str] = None,
|
|
@@ -41443,7 +41508,8 @@ class DatabaseClusterFromSnapshot(
|
|
|
41443
41508
|
:param cloudwatch_logs_retention: The number of days log events are kept in CloudWatch Logs. When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to ``Infinity``. Default: - logs never expire
|
|
41444
41509
|
:param cloudwatch_logs_retention_role: The IAM role for the Lambda function associated with the custom resource that sets the retention policy. Default: - a new role is created.
|
|
41445
41510
|
:param cluster_identifier: An optional identifier for the cluster. Default: - A name is automatically generated.
|
|
41446
|
-
:param cluster_scailability_type: Specifies the scalability mode of the Aurora DB cluster. Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD. Default: ClusterScailabilityType.STANDARD
|
|
41511
|
+
:param cluster_scailability_type: (deprecated) [Misspelled] Specifies the scalability mode of the Aurora DB cluster. Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD. Default: ClusterScailabilityType.STANDARD
|
|
41512
|
+
:param cluster_scalability_type: Specifies the scalability mode of the Aurora DB cluster. Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD. Default: ClusterScalabilityType.STANDARD
|
|
41447
41513
|
:param copy_tags_to_snapshot: Whether to copy tags to the snapshot when a snapshot is created. Default: - true
|
|
41448
41514
|
:param credentials: (deprecated) Credentials for the administrative user. Note - using this prop only works with ``Credentials.fromPassword()`` with the username of the snapshot, ``Credentials.fromUsername()`` with the username and password of the snapshot or ``Credentials.fromSecret()`` with a secret containing the username and password of the snapshot. Default: - A username of 'admin' (or 'postgres' for PostgreSQL) and SecretsManager-generated password that **will not be applied** to the cluster, use ``snapshotCredentials`` for the correct behavior.
|
|
41449
41515
|
:param default_database_name: Name of a database which is automatically created inside the cluster. Default: - Database is not created in cluster.
|
|
@@ -41501,6 +41567,7 @@ class DatabaseClusterFromSnapshot(
|
|
|
41501
41567
|
cloudwatch_logs_retention_role=cloudwatch_logs_retention_role,
|
|
41502
41568
|
cluster_identifier=cluster_identifier,
|
|
41503
41569
|
cluster_scailability_type=cluster_scailability_type,
|
|
41570
|
+
cluster_scalability_type=cluster_scalability_type,
|
|
41504
41571
|
copy_tags_to_snapshot=copy_tags_to_snapshot,
|
|
41505
41572
|
credentials=credentials,
|
|
41506
41573
|
default_database_name=default_database_name,
|
|
@@ -45480,6 +45547,7 @@ class DatabaseCluster(
|
|
|
45480
45547
|
cloudwatch_logs_retention_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
45481
45548
|
cluster_identifier: typing.Optional[builtins.str] = None,
|
|
45482
45549
|
cluster_scailability_type: typing.Optional[ClusterScailabilityType] = None,
|
|
45550
|
+
cluster_scalability_type: typing.Optional[ClusterScalabilityType] = None,
|
|
45483
45551
|
copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
|
|
45484
45552
|
credentials: typing.Optional[Credentials] = None,
|
|
45485
45553
|
default_database_name: typing.Optional[builtins.str] = None,
|
|
@@ -45532,7 +45600,8 @@ class DatabaseCluster(
|
|
|
45532
45600
|
:param cloudwatch_logs_retention: The number of days log events are kept in CloudWatch Logs. When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to ``Infinity``. Default: - logs never expire
|
|
45533
45601
|
:param cloudwatch_logs_retention_role: The IAM role for the Lambda function associated with the custom resource that sets the retention policy. Default: - a new role is created.
|
|
45534
45602
|
:param cluster_identifier: An optional identifier for the cluster. Default: - A name is automatically generated.
|
|
45535
|
-
:param cluster_scailability_type: Specifies the scalability mode of the Aurora DB cluster. Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD. Default: ClusterScailabilityType.STANDARD
|
|
45603
|
+
:param cluster_scailability_type: (deprecated) [Misspelled] Specifies the scalability mode of the Aurora DB cluster. Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD. Default: ClusterScailabilityType.STANDARD
|
|
45604
|
+
:param cluster_scalability_type: Specifies the scalability mode of the Aurora DB cluster. Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD. Default: ClusterScalabilityType.STANDARD
|
|
45536
45605
|
:param copy_tags_to_snapshot: Whether to copy tags to the snapshot when a snapshot is created. Default: - true
|
|
45537
45606
|
:param credentials: Credentials for the administrative user. Default: - A username of 'admin' (or 'postgres' for PostgreSQL) and SecretsManager-generated password
|
|
45538
45607
|
:param default_database_name: Name of a database which is automatically created inside the cluster. Default: - Database is not created in cluster.
|
|
@@ -45588,6 +45657,7 @@ class DatabaseCluster(
|
|
|
45588
45657
|
cloudwatch_logs_retention_role=cloudwatch_logs_retention_role,
|
|
45589
45658
|
cluster_identifier=cluster_identifier,
|
|
45590
45659
|
cluster_scailability_type=cluster_scailability_type,
|
|
45660
|
+
cluster_scalability_type=cluster_scalability_type,
|
|
45591
45661
|
copy_tags_to_snapshot=copy_tags_to_snapshot,
|
|
45592
45662
|
credentials=credentials,
|
|
45593
45663
|
default_database_name=default_database_name,
|
|
@@ -46483,6 +46553,7 @@ __all__ = [
|
|
|
46483
46553
|
"ClusterInstanceProps",
|
|
46484
46554
|
"ClusterInstanceType",
|
|
46485
46555
|
"ClusterScailabilityType",
|
|
46556
|
+
"ClusterScalabilityType",
|
|
46486
46557
|
"CommonRotationUserOptions",
|
|
46487
46558
|
"Credentials",
|
|
46488
46559
|
"CredentialsBaseOptions",
|
|
@@ -49263,6 +49334,7 @@ def _typecheckingstub__1e44b5aef872ca17869a17181382f06cd0166bdbe07e2c33701d3bf1e
|
|
|
49263
49334
|
cloudwatch_logs_retention_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
49264
49335
|
cluster_identifier: typing.Optional[builtins.str] = None,
|
|
49265
49336
|
cluster_scailability_type: typing.Optional[ClusterScailabilityType] = None,
|
|
49337
|
+
cluster_scalability_type: typing.Optional[ClusterScalabilityType] = None,
|
|
49266
49338
|
copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
|
|
49267
49339
|
credentials: typing.Optional[Credentials] = None,
|
|
49268
49340
|
default_database_name: typing.Optional[builtins.str] = None,
|
|
@@ -49319,6 +49391,7 @@ def _typecheckingstub__a32e21c90ab65d3cfdb3b7ef2a0d741ba1528ec8824cd1817d1e485b4
|
|
|
49319
49391
|
cloudwatch_logs_retention_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
49320
49392
|
cluster_identifier: typing.Optional[builtins.str] = None,
|
|
49321
49393
|
cluster_scailability_type: typing.Optional[ClusterScailabilityType] = None,
|
|
49394
|
+
cluster_scalability_type: typing.Optional[ClusterScalabilityType] = None,
|
|
49322
49395
|
copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
|
|
49323
49396
|
credentials: typing.Optional[Credentials] = None,
|
|
49324
49397
|
default_database_name: typing.Optional[builtins.str] = None,
|
|
@@ -50533,6 +50606,7 @@ def _typecheckingstub__d1a2e259091e12a41b0f5818df495769518e049ebcc89ed340ffc7ba4
|
|
|
50533
50606
|
cloudwatch_logs_retention_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
50534
50607
|
cluster_identifier: typing.Optional[builtins.str] = None,
|
|
50535
50608
|
cluster_scailability_type: typing.Optional[ClusterScailabilityType] = None,
|
|
50609
|
+
cluster_scalability_type: typing.Optional[ClusterScalabilityType] = None,
|
|
50536
50610
|
copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
|
|
50537
50611
|
credentials: typing.Optional[Credentials] = None,
|
|
50538
50612
|
default_database_name: typing.Optional[builtins.str] = None,
|
|
@@ -51024,6 +51098,7 @@ def _typecheckingstub__c6184cbbefaa372690b9776dafecbf5857cf9bfbab91d1666aad22c56
|
|
|
51024
51098
|
cloudwatch_logs_retention_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
51025
51099
|
cluster_identifier: typing.Optional[builtins.str] = None,
|
|
51026
51100
|
cluster_scailability_type: typing.Optional[ClusterScailabilityType] = None,
|
|
51101
|
+
cluster_scalability_type: typing.Optional[ClusterScalabilityType] = None,
|
|
51027
51102
|
copy_tags_to_snapshot: typing.Optional[builtins.bool] = None,
|
|
51028
51103
|
credentials: typing.Optional[Credentials] = None,
|
|
51029
51104
|
default_database_name: typing.Optional[builtins.str] = None,
|
|
@@ -128,6 +128,7 @@ class CfnApp(
|
|
|
128
128
|
cross_account_role_arns=["crossAccountRoleArns"],
|
|
129
129
|
invoker_role_name="invokerRoleName"
|
|
130
130
|
),
|
|
131
|
+
regulatory_policy_arn="regulatoryPolicyArn",
|
|
131
132
|
resiliency_policy_arn="resiliencyPolicyArn",
|
|
132
133
|
tags={
|
|
133
134
|
"tags_key": "tags"
|
|
@@ -147,6 +148,7 @@ class CfnApp(
|
|
|
147
148
|
description: typing.Optional[builtins.str] = None,
|
|
148
149
|
event_subscriptions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApp.EventSubscriptionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
149
150
|
permission_model: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApp.PermissionModelProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
151
|
+
regulatory_policy_arn: typing.Optional[builtins.str] = None,
|
|
150
152
|
resiliency_policy_arn: typing.Optional[builtins.str] = None,
|
|
151
153
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
152
154
|
) -> None:
|
|
@@ -160,6 +162,7 @@ class CfnApp(
|
|
|
160
162
|
:param description: Optional description for an application.
|
|
161
163
|
:param event_subscriptions: The list of events you would like to subscribe and get notification for. Currently, AWS Resilience Hub supports notifications only for *Drift detected* and *Scheduled assessment failure* events.
|
|
162
164
|
:param permission_model: Defines the roles and credentials that AWS Resilience Hub would use while creating the application, importing its resources, and running an assessment.
|
|
165
|
+
:param regulatory_policy_arn: Amazon Resource Name (ARN) of the Regulatory Policy.
|
|
163
166
|
:param resiliency_policy_arn: The Amazon Resource Name (ARN) of the resiliency policy.
|
|
164
167
|
:param tags: Tags assigned to the resource. A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.
|
|
165
168
|
'''
|
|
@@ -175,6 +178,7 @@ class CfnApp(
|
|
|
175
178
|
description=description,
|
|
176
179
|
event_subscriptions=event_subscriptions,
|
|
177
180
|
permission_model=permission_model,
|
|
181
|
+
regulatory_policy_arn=regulatory_policy_arn,
|
|
178
182
|
resiliency_policy_arn=resiliency_policy_arn,
|
|
179
183
|
tags=tags,
|
|
180
184
|
)
|
|
@@ -346,6 +350,19 @@ class CfnApp(
|
|
|
346
350
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
347
351
|
jsii.set(self, "permissionModel", value) # pyright: ignore[reportArgumentType]
|
|
348
352
|
|
|
353
|
+
@builtins.property
|
|
354
|
+
@jsii.member(jsii_name="regulatoryPolicyArn")
|
|
355
|
+
def regulatory_policy_arn(self) -> typing.Optional[builtins.str]:
|
|
356
|
+
'''Amazon Resource Name (ARN) of the Regulatory Policy.'''
|
|
357
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "regulatoryPolicyArn"))
|
|
358
|
+
|
|
359
|
+
@regulatory_policy_arn.setter
|
|
360
|
+
def regulatory_policy_arn(self, value: typing.Optional[builtins.str]) -> None:
|
|
361
|
+
if __debug__:
|
|
362
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cdb1fca52784c0725f4b57948dc7b1b7e1dffb05effe36f5ee6c00ae93c44230)
|
|
363
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
364
|
+
jsii.set(self, "regulatoryPolicyArn", value) # pyright: ignore[reportArgumentType]
|
|
365
|
+
|
|
349
366
|
@builtins.property
|
|
350
367
|
@jsii.member(jsii_name="resiliencyPolicyArn")
|
|
351
368
|
def resiliency_policy_arn(self) -> typing.Optional[builtins.str]:
|
|
@@ -879,6 +896,7 @@ class CfnApp(
|
|
|
879
896
|
"description": "description",
|
|
880
897
|
"event_subscriptions": "eventSubscriptions",
|
|
881
898
|
"permission_model": "permissionModel",
|
|
899
|
+
"regulatory_policy_arn": "regulatoryPolicyArn",
|
|
882
900
|
"resiliency_policy_arn": "resiliencyPolicyArn",
|
|
883
901
|
"tags": "tags",
|
|
884
902
|
},
|
|
@@ -894,6 +912,7 @@ class CfnAppProps:
|
|
|
894
912
|
description: typing.Optional[builtins.str] = None,
|
|
895
913
|
event_subscriptions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.EventSubscriptionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
896
914
|
permission_model: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.PermissionModelProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
915
|
+
regulatory_policy_arn: typing.Optional[builtins.str] = None,
|
|
897
916
|
resiliency_policy_arn: typing.Optional[builtins.str] = None,
|
|
898
917
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
899
918
|
) -> None:
|
|
@@ -906,6 +925,7 @@ class CfnAppProps:
|
|
|
906
925
|
:param description: Optional description for an application.
|
|
907
926
|
:param event_subscriptions: The list of events you would like to subscribe and get notification for. Currently, AWS Resilience Hub supports notifications only for *Drift detected* and *Scheduled assessment failure* events.
|
|
908
927
|
:param permission_model: Defines the roles and credentials that AWS Resilience Hub would use while creating the application, importing its resources, and running an assessment.
|
|
928
|
+
:param regulatory_policy_arn: Amazon Resource Name (ARN) of the Regulatory Policy.
|
|
909
929
|
:param resiliency_policy_arn: The Amazon Resource Name (ARN) of the resiliency policy.
|
|
910
930
|
:param tags: Tags assigned to the resource. A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.
|
|
911
931
|
|
|
@@ -956,6 +976,7 @@ class CfnAppProps:
|
|
|
956
976
|
cross_account_role_arns=["crossAccountRoleArns"],
|
|
957
977
|
invoker_role_name="invokerRoleName"
|
|
958
978
|
),
|
|
979
|
+
regulatory_policy_arn="regulatoryPolicyArn",
|
|
959
980
|
resiliency_policy_arn="resiliencyPolicyArn",
|
|
960
981
|
tags={
|
|
961
982
|
"tags_key": "tags"
|
|
@@ -971,6 +992,7 @@ class CfnAppProps:
|
|
|
971
992
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
972
993
|
check_type(argname="argument event_subscriptions", value=event_subscriptions, expected_type=type_hints["event_subscriptions"])
|
|
973
994
|
check_type(argname="argument permission_model", value=permission_model, expected_type=type_hints["permission_model"])
|
|
995
|
+
check_type(argname="argument regulatory_policy_arn", value=regulatory_policy_arn, expected_type=type_hints["regulatory_policy_arn"])
|
|
974
996
|
check_type(argname="argument resiliency_policy_arn", value=resiliency_policy_arn, expected_type=type_hints["resiliency_policy_arn"])
|
|
975
997
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
976
998
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
@@ -986,6 +1008,8 @@ class CfnAppProps:
|
|
|
986
1008
|
self._values["event_subscriptions"] = event_subscriptions
|
|
987
1009
|
if permission_model is not None:
|
|
988
1010
|
self._values["permission_model"] = permission_model
|
|
1011
|
+
if regulatory_policy_arn is not None:
|
|
1012
|
+
self._values["regulatory_policy_arn"] = regulatory_policy_arn
|
|
989
1013
|
if resiliency_policy_arn is not None:
|
|
990
1014
|
self._values["resiliency_policy_arn"] = resiliency_policy_arn
|
|
991
1015
|
if tags is not None:
|
|
@@ -1256,6 +1280,15 @@ class CfnAppProps:
|
|
|
1256
1280
|
result = self._values.get("permission_model")
|
|
1257
1281
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApp.PermissionModelProperty]], result)
|
|
1258
1282
|
|
|
1283
|
+
@builtins.property
|
|
1284
|
+
def regulatory_policy_arn(self) -> typing.Optional[builtins.str]:
|
|
1285
|
+
'''Amazon Resource Name (ARN) of the Regulatory Policy.
|
|
1286
|
+
|
|
1287
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-app.html#cfn-resiliencehub-app-regulatorypolicyarn
|
|
1288
|
+
'''
|
|
1289
|
+
result = self._values.get("regulatory_policy_arn")
|
|
1290
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1291
|
+
|
|
1259
1292
|
@builtins.property
|
|
1260
1293
|
def resiliency_policy_arn(self) -> typing.Optional[builtins.str]:
|
|
1261
1294
|
'''The Amazon Resource Name (ARN) of the resiliency policy.
|
|
@@ -1746,6 +1779,7 @@ def _typecheckingstub__303e76fc3650422653be00dea7484c071f68688b86b0b136d647cee73
|
|
|
1746
1779
|
description: typing.Optional[builtins.str] = None,
|
|
1747
1780
|
event_subscriptions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.EventSubscriptionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1748
1781
|
permission_model: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.PermissionModelProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1782
|
+
regulatory_policy_arn: typing.Optional[builtins.str] = None,
|
|
1749
1783
|
resiliency_policy_arn: typing.Optional[builtins.str] = None,
|
|
1750
1784
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1751
1785
|
) -> None:
|
|
@@ -1806,6 +1840,12 @@ def _typecheckingstub__2e15df41e400e8a9cff1ec67cfe4cdb6224b7e0faa1f84a7164a3aff0
|
|
|
1806
1840
|
"""Type checking stubs"""
|
|
1807
1841
|
pass
|
|
1808
1842
|
|
|
1843
|
+
def _typecheckingstub__cdb1fca52784c0725f4b57948dc7b1b7e1dffb05effe36f5ee6c00ae93c44230(
|
|
1844
|
+
value: typing.Optional[builtins.str],
|
|
1845
|
+
) -> None:
|
|
1846
|
+
"""Type checking stubs"""
|
|
1847
|
+
pass
|
|
1848
|
+
|
|
1809
1849
|
def _typecheckingstub__ce4ee431bd44e41d23a7b0df5a1d235166dfde2dcb98cb013d61da840d20b025(
|
|
1810
1850
|
value: typing.Optional[builtins.str],
|
|
1811
1851
|
) -> None:
|
|
@@ -1867,6 +1907,7 @@ def _typecheckingstub__d4cbfaccc19fec8c2bd3f0ad17cdc9d5c9a66dbdcc7077312163442e7
|
|
|
1867
1907
|
description: typing.Optional[builtins.str] = None,
|
|
1868
1908
|
event_subscriptions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.EventSubscriptionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1869
1909
|
permission_model: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.PermissionModelProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1910
|
+
regulatory_policy_arn: typing.Optional[builtins.str] = None,
|
|
1870
1911
|
resiliency_policy_arn: typing.Optional[builtins.str] = None,
|
|
1871
1912
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1872
1913
|
) -> None:
|
aws_cdk/aws_s3/__init__.py
CHANGED
|
@@ -1986,7 +1986,7 @@ class BucketProps:
|
|
|
1986
1986
|
:param encryption_key: External KMS key to use for bucket encryption. The ``encryption`` property must be either not specified or set to ``KMS`` or ``DSSE``. An error will be emitted if ``encryption`` is set to ``UNENCRYPTED`` or ``S3_MANAGED``. Default: - If ``encryption`` is set to ``KMS`` and this property is undefined, a new KMS key will be created and associated with this bucket.
|
|
1987
1987
|
:param enforce_ssl: Enforces SSL for requests. S3.5 of the AWS Foundational Security Best Practices Regarding S3. Default: false
|
|
1988
1988
|
:param event_bridge_enabled: Whether this bucket should send notifications to Amazon EventBridge or not. Default: false
|
|
1989
|
-
:param intelligent_tiering_configurations:
|
|
1989
|
+
:param intelligent_tiering_configurations: Intelligent Tiering Configurations. Default: No Intelligent Tiiering Configurations.
|
|
1990
1990
|
:param inventories: The inventory configuration of the bucket. Default: - No inventory configuration
|
|
1991
1991
|
:param lifecycle_rules: Rules that define how Amazon S3 manages objects during their lifetime. Default: - No lifecycle rules.
|
|
1992
1992
|
:param metrics: The metrics configuration of this bucket. Default: - No metrics configuration.
|
|
@@ -2265,7 +2265,7 @@ class BucketProps:
|
|
|
2265
2265
|
def intelligent_tiering_configurations(
|
|
2266
2266
|
self,
|
|
2267
2267
|
) -> typing.Optional[typing.List["IntelligentTieringConfiguration"]]:
|
|
2268
|
-
'''
|
|
2268
|
+
'''Intelligent Tiering Configurations.
|
|
2269
2269
|
|
|
2270
2270
|
:default: No Intelligent Tiiering Configurations.
|
|
2271
2271
|
|
|
@@ -10231,7 +10231,7 @@ class CfnBucket(
|
|
|
10231
10231
|
|
|
10232
10232
|
:param storage_class: The storage class to which you want the object to transition.
|
|
10233
10233
|
:param transition_date: Indicates when objects are transitioned to the specified storage class. The date value must be in ISO 8601 format. The time is always midnight UTC.
|
|
10234
|
-
:param transition_in_days: Indicates the number of days after creation when objects are transitioned to the specified storage class.
|
|
10234
|
+
:param transition_in_days: Indicates the number of days after creation when objects are transitioned to the specified storage class. If the specified storage class is ``INTELLIGENT_TIERING`` , ``GLACIER_IR`` , ``GLACIER`` , or ``DEEP_ARCHIVE`` , valid values are ``0`` or positive integers. If the specified storage class is ``STANDARD_IA`` or ``ONEZONE_IA`` , valid values are positive integers greater than ``30`` . Be aware that some storage classes have a minimum storage duration and that you're charged for transitioning objects before their minimum storage duration. For more information, see `Constraints and considerations for transitions <https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-transition-general-considerations.html#lifecycle-configuration-constraints>`_ in the *Amazon S3 User Guide* .
|
|
10235
10235
|
|
|
10236
10236
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-transition.html
|
|
10237
10237
|
:exampleMetadata: fixture=_generated
|
|
@@ -10290,7 +10290,7 @@ class CfnBucket(
|
|
|
10290
10290
|
def transition_in_days(self) -> typing.Optional[jsii.Number]:
|
|
10291
10291
|
'''Indicates the number of days after creation when objects are transitioned to the specified storage class.
|
|
10292
10292
|
|
|
10293
|
-
|
|
10293
|
+
If the specified storage class is ``INTELLIGENT_TIERING`` , ``GLACIER_IR`` , ``GLACIER`` , or ``DEEP_ARCHIVE`` , valid values are ``0`` or positive integers. If the specified storage class is ``STANDARD_IA`` or ``ONEZONE_IA`` , valid values are positive integers greater than ``30`` . Be aware that some storage classes have a minimum storage duration and that you're charged for transitioning objects before their minimum storage duration. For more information, see `Constraints and considerations for transitions <https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-transition-general-considerations.html#lifecycle-configuration-constraints>`_ in the *Amazon S3 User Guide* .
|
|
10294
10294
|
|
|
10295
10295
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-transition.html#cfn-s3-bucket-transition-transitionindays
|
|
10296
10296
|
'''
|
|
@@ -19696,7 +19696,7 @@ class Bucket(
|
|
|
19696
19696
|
:param encryption_key: External KMS key to use for bucket encryption. The ``encryption`` property must be either not specified or set to ``KMS`` or ``DSSE``. An error will be emitted if ``encryption`` is set to ``UNENCRYPTED`` or ``S3_MANAGED``. Default: - If ``encryption`` is set to ``KMS`` and this property is undefined, a new KMS key will be created and associated with this bucket.
|
|
19697
19697
|
:param enforce_ssl: Enforces SSL for requests. S3.5 of the AWS Foundational Security Best Practices Regarding S3. Default: false
|
|
19698
19698
|
:param event_bridge_enabled: Whether this bucket should send notifications to Amazon EventBridge or not. Default: false
|
|
19699
|
-
:param intelligent_tiering_configurations:
|
|
19699
|
+
:param intelligent_tiering_configurations: Intelligent Tiering Configurations. Default: No Intelligent Tiiering Configurations.
|
|
19700
19700
|
:param inventories: The inventory configuration of the bucket. Default: - No inventory configuration
|
|
19701
19701
|
:param lifecycle_rules: Rules that define how Amazon S3 manages objects during their lifetime. Default: - No lifecycle rules.
|
|
19702
19702
|
:param metrics: The metrics configuration of this bucket. Default: - No metrics configuration.
|
aws_cdk/aws_ses/__init__.py
CHANGED
|
@@ -772,7 +772,8 @@ class CfnConfigurationSet(
|
|
|
772
772
|
suppressed_reasons=["suppressedReasons"]
|
|
773
773
|
),
|
|
774
774
|
tracking_options=ses.CfnConfigurationSet.TrackingOptionsProperty(
|
|
775
|
-
custom_redirect_domain="customRedirectDomain"
|
|
775
|
+
custom_redirect_domain="customRedirectDomain",
|
|
776
|
+
https_policy="httpsPolicy"
|
|
776
777
|
),
|
|
777
778
|
vdm_options=ses.CfnConfigurationSet.VdmOptionsProperty(
|
|
778
779
|
dashboard_options=ses.CfnConfigurationSet.DashboardOptionsProperty(
|
|
@@ -1370,13 +1371,17 @@ class CfnConfigurationSet(
|
|
|
1370
1371
|
@jsii.data_type(
|
|
1371
1372
|
jsii_type="aws-cdk-lib.aws_ses.CfnConfigurationSet.TrackingOptionsProperty",
|
|
1372
1373
|
jsii_struct_bases=[],
|
|
1373
|
-
name_mapping={
|
|
1374
|
+
name_mapping={
|
|
1375
|
+
"custom_redirect_domain": "customRedirectDomain",
|
|
1376
|
+
"https_policy": "httpsPolicy",
|
|
1377
|
+
},
|
|
1374
1378
|
)
|
|
1375
1379
|
class TrackingOptionsProperty:
|
|
1376
1380
|
def __init__(
|
|
1377
1381
|
self,
|
|
1378
1382
|
*,
|
|
1379
1383
|
custom_redirect_domain: typing.Optional[builtins.str] = None,
|
|
1384
|
+
https_policy: typing.Optional[builtins.str] = None,
|
|
1380
1385
|
) -> None:
|
|
1381
1386
|
'''An object that defines the tracking options for a configuration set.
|
|
1382
1387
|
|
|
@@ -1387,6 +1392,7 @@ class CfnConfigurationSet(
|
|
|
1387
1392
|
For more information, see `Configuring Custom Domains to Handle Open and Click Tracking <https://docs.aws.amazon.com/ses/latest/dg/configure-custom-open-click-domains.html>`_ in the *Amazon SES Developer Guide* .
|
|
1388
1393
|
|
|
1389
1394
|
:param custom_redirect_domain: The custom subdomain that is used to redirect email recipients to the Amazon SES event tracking domain.
|
|
1395
|
+
:param https_policy: The https policy to use for tracking open and click events.
|
|
1390
1396
|
|
|
1391
1397
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationset-trackingoptions.html
|
|
1392
1398
|
:exampleMetadata: fixture=_generated
|
|
@@ -1398,15 +1404,19 @@ class CfnConfigurationSet(
|
|
|
1398
1404
|
from aws_cdk import aws_ses as ses
|
|
1399
1405
|
|
|
1400
1406
|
tracking_options_property = ses.CfnConfigurationSet.TrackingOptionsProperty(
|
|
1401
|
-
custom_redirect_domain="customRedirectDomain"
|
|
1407
|
+
custom_redirect_domain="customRedirectDomain",
|
|
1408
|
+
https_policy="httpsPolicy"
|
|
1402
1409
|
)
|
|
1403
1410
|
'''
|
|
1404
1411
|
if __debug__:
|
|
1405
1412
|
type_hints = typing.get_type_hints(_typecheckingstub__9cb3a7d8357d451a88f3bdd86fea15ef7d167ba61579a61a8e1fe9eb6bfa73f2)
|
|
1406
1413
|
check_type(argname="argument custom_redirect_domain", value=custom_redirect_domain, expected_type=type_hints["custom_redirect_domain"])
|
|
1414
|
+
check_type(argname="argument https_policy", value=https_policy, expected_type=type_hints["https_policy"])
|
|
1407
1415
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1408
1416
|
if custom_redirect_domain is not None:
|
|
1409
1417
|
self._values["custom_redirect_domain"] = custom_redirect_domain
|
|
1418
|
+
if https_policy is not None:
|
|
1419
|
+
self._values["https_policy"] = https_policy
|
|
1410
1420
|
|
|
1411
1421
|
@builtins.property
|
|
1412
1422
|
def custom_redirect_domain(self) -> typing.Optional[builtins.str]:
|
|
@@ -1417,6 +1427,15 @@ class CfnConfigurationSet(
|
|
|
1417
1427
|
result = self._values.get("custom_redirect_domain")
|
|
1418
1428
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1419
1429
|
|
|
1430
|
+
@builtins.property
|
|
1431
|
+
def https_policy(self) -> typing.Optional[builtins.str]:
|
|
1432
|
+
'''The https policy to use for tracking open and click events.
|
|
1433
|
+
|
|
1434
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationset-trackingoptions.html#cfn-ses-configurationset-trackingoptions-httpspolicy
|
|
1435
|
+
'''
|
|
1436
|
+
result = self._values.get("https_policy")
|
|
1437
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1438
|
+
|
|
1420
1439
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1421
1440
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1422
1441
|
|
|
@@ -2380,7 +2399,8 @@ class CfnConfigurationSetProps:
|
|
|
2380
2399
|
suppressed_reasons=["suppressedReasons"]
|
|
2381
2400
|
),
|
|
2382
2401
|
tracking_options=ses.CfnConfigurationSet.TrackingOptionsProperty(
|
|
2383
|
-
custom_redirect_domain="customRedirectDomain"
|
|
2402
|
+
custom_redirect_domain="customRedirectDomain",
|
|
2403
|
+
https_policy="httpsPolicy"
|
|
2384
2404
|
),
|
|
2385
2405
|
vdm_options=ses.CfnConfigurationSet.VdmOptionsProperty(
|
|
2386
2406
|
dashboard_options=ses.CfnConfigurationSet.DashboardOptionsProperty(
|
|
@@ -16937,6 +16957,7 @@ def _typecheckingstub__8d9a9f4a0b048a750b42ffb05bbf2f29193ab82552fe268e651a27bc5
|
|
|
16937
16957
|
def _typecheckingstub__9cb3a7d8357d451a88f3bdd86fea15ef7d167ba61579a61a8e1fe9eb6bfa73f2(
|
|
16938
16958
|
*,
|
|
16939
16959
|
custom_redirect_domain: typing.Optional[builtins.str] = None,
|
|
16960
|
+
https_policy: typing.Optional[builtins.str] = None,
|
|
16940
16961
|
) -> None:
|
|
16941
16962
|
"""Type checking stubs"""
|
|
16942
16963
|
pass
|
aws_cdk/aws_ssm/__init__.py
CHANGED
|
@@ -4700,6 +4700,9 @@ class CfnParameter(
|
|
|
4700
4700
|
To add, update, or remove tags during stack update, you must have IAM permissions for both ``ssm:AddTagsToResource`` and ``ssm:RemoveTagsFromResource`` . For more information, see `Managing Access Using Policies <https://docs.aws.amazon.com/systems-manager/latest/userguide/security-iam.html#security_iam_access-manage>`_ in the *AWS Systems Manager User Guide* .
|
|
4701
4701
|
|
|
4702
4702
|
For information about valid values for parameters, see `About requirements and constraints for parameter names <https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html#sysman-parameter-name-constraints>`_ in the *AWS Systems Manager User Guide* and `PutParameter <https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_PutParameter.html>`_ in the *AWS Systems Manager API Reference* .
|
|
4703
|
+
.. epigraph::
|
|
4704
|
+
|
|
4705
|
+
Parameters of type ``SecureString`` are not supported by AWS CloudFormation .
|
|
4703
4706
|
|
|
4704
4707
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-parameter.html
|
|
4705
4708
|
:cloudformationResource: AWS::SSM::Parameter
|
|
@@ -4746,7 +4749,7 @@ class CfnParameter(
|
|
|
4746
4749
|
'''
|
|
4747
4750
|
:param scope: Scope in which this resource is defined.
|
|
4748
4751
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
4749
|
-
:param type: The type of parameter.
|
|
4752
|
+
:param type: The type of parameter. .. epigraph:: Parameters of type ``SecureString`` are not supported by AWS CloudFormation .
|
|
4750
4753
|
:param value: The parameter value. .. epigraph:: If type is ``StringList`` , the system returns a comma-separated string with no spaces between commas in the ``Value`` field.
|
|
4751
4754
|
:param allowed_pattern: A regular expression used to validate the parameter value. For example, for ``String`` types with values restricted to numbers, you can specify the following: ``AllowedPattern=^\\d+$``
|
|
4752
4755
|
:param data_type: The data type of the parameter, such as ``text`` or ``aws:ec2:image`` . The default is ``text`` .
|
|
@@ -4987,7 +4990,7 @@ class CfnParameterProps:
|
|
|
4987
4990
|
) -> None:
|
|
4988
4991
|
'''Properties for defining a ``CfnParameter``.
|
|
4989
4992
|
|
|
4990
|
-
:param type: The type of parameter.
|
|
4993
|
+
:param type: The type of parameter. .. epigraph:: Parameters of type ``SecureString`` are not supported by AWS CloudFormation .
|
|
4991
4994
|
:param value: The parameter value. .. epigraph:: If type is ``StringList`` , the system returns a comma-separated string with no spaces between commas in the ``Value`` field.
|
|
4992
4995
|
:param allowed_pattern: A regular expression used to validate the parameter value. For example, for ``String`` types with values restricted to numbers, you can specify the following: ``AllowedPattern=^\\d+$``
|
|
4993
4996
|
:param data_type: The data type of the parameter, such as ``text`` or ``aws:ec2:image`` . The default is ``text`` .
|
|
@@ -5056,6 +5059,10 @@ class CfnParameterProps:
|
|
|
5056
5059
|
def type(self) -> builtins.str:
|
|
5057
5060
|
'''The type of parameter.
|
|
5058
5061
|
|
|
5062
|
+
.. epigraph::
|
|
5063
|
+
|
|
5064
|
+
Parameters of type ``SecureString`` are not supported by AWS CloudFormation .
|
|
5065
|
+
|
|
5059
5066
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-parameter.html#cfn-ssm-parameter-type
|
|
5060
5067
|
'''
|
|
5061
5068
|
result = self._values.get("type")
|