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_bedrock/__init__.py
CHANGED
|
@@ -36281,6 +36281,12 @@ class FoundationModelIdentifier(
|
|
|
36281
36281
|
'''
|
|
36282
36282
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "ANTHROPIC_CLAUDE_INSTANT_V1_2_100K"))
|
|
36283
36283
|
|
|
36284
|
+
@jsii.python.classproperty
|
|
36285
|
+
@jsii.member(jsii_name="ANTHROPIC_CLAUDE_OPUS_4_1_20250805_V1_0")
|
|
36286
|
+
def ANTHROPIC_CLAUDE_OPUS_4_1_20250805_V1_0(cls) -> "FoundationModelIdentifier":
|
|
36287
|
+
'''Base model "anthropic.claude-opus-4-1-20250805-v1:0".'''
|
|
36288
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "ANTHROPIC_CLAUDE_OPUS_4_1_20250805_V1_0"))
|
|
36289
|
+
|
|
36284
36290
|
@jsii.python.classproperty
|
|
36285
36291
|
@jsii.member(jsii_name="ANTHROPIC_CLAUDE_OPUS_4_20250514_V1_0")
|
|
36286
36292
|
def ANTHROPIC_CLAUDE_OPUS_4_20250514_V1_0(cls) -> "FoundationModelIdentifier":
|
|
@@ -36656,6 +36662,18 @@ class FoundationModelIdentifier(
|
|
|
36656
36662
|
'''Base model "mistral.mistral-small-2402-v1:0".'''
|
|
36657
36663
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "MISTRAL_SMALL_V0_1"))
|
|
36658
36664
|
|
|
36665
|
+
@jsii.python.classproperty
|
|
36666
|
+
@jsii.member(jsii_name="OPENAI_GPT_OSS_120B_1")
|
|
36667
|
+
def OPENAI_GPT_OSS_120_B_1(cls) -> "FoundationModelIdentifier":
|
|
36668
|
+
'''Base model "openai.gpt-oss-120b-1:0".'''
|
|
36669
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "OPENAI_GPT_OSS_120B_1"))
|
|
36670
|
+
|
|
36671
|
+
@jsii.python.classproperty
|
|
36672
|
+
@jsii.member(jsii_name="OPENAI_GPT_OSS_20B_1")
|
|
36673
|
+
def OPENAI_GPT_OSS_20_B_1(cls) -> "FoundationModelIdentifier":
|
|
36674
|
+
'''Base model "openai.gpt-oss-20b-1:0".'''
|
|
36675
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "OPENAI_GPT_OSS_20B_1"))
|
|
36676
|
+
|
|
36659
36677
|
@jsii.python.classproperty
|
|
36660
36678
|
@jsii.member(jsii_name="STABILITY_SD3_5_LARGE_V1_0")
|
|
36661
36679
|
def STABILITY_SD3_5_LARGE_V1_0(cls) -> "FoundationModelIdentifier":
|
|
@@ -1271,11 +1271,11 @@ class CfnCustomLineItem(
|
|
|
1271
1271
|
) -> None:
|
|
1272
1272
|
'''A representation of the line item filter for your custom line item.
|
|
1273
1273
|
|
|
1274
|
-
You can use line item filters to include or exclude specific resource values from the billing group's total cost. For example, if you create a custom line item and you want to filter out a value, such as Savings
|
|
1274
|
+
You can use line item filters to include or exclude specific resource values from the billing group's total cost. For example, if you create a custom line item and you want to filter out a value, such as Savings Plans discounts, you can update ``LineItemFilter`` to exclude it.
|
|
1275
1275
|
|
|
1276
1276
|
:param attribute: The attribute of the line item filter. This specifies what attribute that you can filter on.
|
|
1277
1277
|
:param match_option: The match criteria of the line item filter. This parameter specifies whether not to include the resource value from the billing group total cost.
|
|
1278
|
-
:param values: The values of the line item filter. This specifies the values to filter on. Currently, you can only exclude Savings
|
|
1278
|
+
:param values: The values of the line item filter. This specifies the values to filter on. Currently, you can only exclude Savings Plans discounts.
|
|
1279
1279
|
|
|
1280
1280
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-billingconductor-customlineitem-lineitemfilter.html
|
|
1281
1281
|
:exampleMetadata: fixture=_generated
|
|
@@ -1331,7 +1331,7 @@ class CfnCustomLineItem(
|
|
|
1331
1331
|
def values(self) -> typing.List[builtins.str]:
|
|
1332
1332
|
'''The values of the line item filter.
|
|
1333
1333
|
|
|
1334
|
-
This specifies the values to filter on. Currently, you can only exclude Savings
|
|
1334
|
+
This specifies the values to filter on. Currently, you can only exclude Savings Plans discounts.
|
|
1335
1335
|
|
|
1336
1336
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-billingconductor-customlineitem-lineitemfilter.html#cfn-billingconductor-customlineitem-lineitemfilter-values
|
|
1337
1337
|
'''
|
|
@@ -531,6 +531,10 @@ class CfnTable(
|
|
|
531
531
|
status="status",
|
|
532
532
|
|
|
533
533
|
# the properties below are optional
|
|
534
|
+
tags=[CfnTag(
|
|
535
|
+
key="key",
|
|
536
|
+
value="value"
|
|
537
|
+
)],
|
|
534
538
|
view_type="viewType"
|
|
535
539
|
),
|
|
536
540
|
client_side_timestamps_enabled=False,
|
|
@@ -1256,13 +1260,14 @@ class CfnTable(
|
|
|
1256
1260
|
@jsii.data_type(
|
|
1257
1261
|
jsii_type="aws-cdk-lib.aws_cassandra.CfnTable.CdcSpecificationProperty",
|
|
1258
1262
|
jsii_struct_bases=[],
|
|
1259
|
-
name_mapping={"status": "status", "view_type": "viewType"},
|
|
1263
|
+
name_mapping={"status": "status", "tags": "tags", "view_type": "viewType"},
|
|
1260
1264
|
)
|
|
1261
1265
|
class CdcSpecificationProperty:
|
|
1262
1266
|
def __init__(
|
|
1263
1267
|
self,
|
|
1264
1268
|
*,
|
|
1265
1269
|
status: builtins.str,
|
|
1270
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1266
1271
|
view_type: typing.Optional[builtins.str] = None,
|
|
1267
1272
|
) -> None:
|
|
1268
1273
|
'''The settings for the CDC stream of a table.
|
|
@@ -1270,6 +1275,7 @@ class CfnTable(
|
|
|
1270
1275
|
For more information about CDC streams, see `Working with change data capture (CDC) streams in Amazon Keyspaces <https://docs.aws.amazon.com/keyspaces/latest/devguide/cdc.html>`_ in the *Amazon Keyspaces Developer Guide* .
|
|
1271
1276
|
|
|
1272
1277
|
:param status: The status of the CDC stream. You can enable or disable a stream for a table.
|
|
1278
|
+
:param tags: The tags (key-value pairs) that you want to apply to the stream.
|
|
1273
1279
|
:param view_type: The view type specifies the changes Amazon Keyspaces records for each changed row in the stream. After you create the stream, you can't make changes to this selection. The options are: - ``NEW_AND_OLD_IMAGES`` - both versions of the row, before and after the change. This is the default. - ``NEW_IMAGE`` - the version of the row after the change. - ``OLD_IMAGE`` - the version of the row before the change. - ``KEYS_ONLY`` - the partition and clustering keys of the row that was changed. Default: - "NEW_AND_OLD_IMAGES"
|
|
1274
1280
|
|
|
1275
1281
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-cdcspecification.html
|
|
@@ -1285,16 +1291,23 @@ class CfnTable(
|
|
|
1285
1291
|
status="status",
|
|
1286
1292
|
|
|
1287
1293
|
# the properties below are optional
|
|
1294
|
+
tags=[CfnTag(
|
|
1295
|
+
key="key",
|
|
1296
|
+
value="value"
|
|
1297
|
+
)],
|
|
1288
1298
|
view_type="viewType"
|
|
1289
1299
|
)
|
|
1290
1300
|
'''
|
|
1291
1301
|
if __debug__:
|
|
1292
1302
|
type_hints = typing.get_type_hints(_typecheckingstub__504eaef70818f1cb4ead5434397a50494cf33314a00fe4e3045dad5cdcd7b160)
|
|
1293
1303
|
check_type(argname="argument status", value=status, expected_type=type_hints["status"])
|
|
1304
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1294
1305
|
check_type(argname="argument view_type", value=view_type, expected_type=type_hints["view_type"])
|
|
1295
1306
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1296
1307
|
"status": status,
|
|
1297
1308
|
}
|
|
1309
|
+
if tags is not None:
|
|
1310
|
+
self._values["tags"] = tags
|
|
1298
1311
|
if view_type is not None:
|
|
1299
1312
|
self._values["view_type"] = view_type
|
|
1300
1313
|
|
|
@@ -1310,6 +1323,15 @@ class CfnTable(
|
|
|
1310
1323
|
assert result is not None, "Required property 'status' is missing"
|
|
1311
1324
|
return typing.cast(builtins.str, result)
|
|
1312
1325
|
|
|
1326
|
+
@builtins.property
|
|
1327
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1328
|
+
'''The tags (key-value pairs) that you want to apply to the stream.
|
|
1329
|
+
|
|
1330
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-cdcspecification.html#cfn-cassandra-table-cdcspecification-tags
|
|
1331
|
+
'''
|
|
1332
|
+
result = self._values.get("tags")
|
|
1333
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
1334
|
+
|
|
1313
1335
|
@builtins.property
|
|
1314
1336
|
def view_type(self) -> typing.Optional[builtins.str]:
|
|
1315
1337
|
'''The view type specifies the changes Amazon Keyspaces records for each changed row in the stream.
|
|
@@ -2100,6 +2122,10 @@ class CfnTableProps:
|
|
|
2100
2122
|
status="status",
|
|
2101
2123
|
|
|
2102
2124
|
# the properties below are optional
|
|
2125
|
+
tags=[CfnTag(
|
|
2126
|
+
key="key",
|
|
2127
|
+
value="value"
|
|
2128
|
+
)],
|
|
2103
2129
|
view_type="viewType"
|
|
2104
2130
|
),
|
|
2105
2131
|
client_side_timestamps_enabled=False,
|
|
@@ -2992,6 +3018,7 @@ def _typecheckingstub__1b57c6da9515480ece2b86b6971f8563bcf0c49dab50c8c6e234c443b
|
|
|
2992
3018
|
def _typecheckingstub__504eaef70818f1cb4ead5434397a50494cf33314a00fe4e3045dad5cdcd7b160(
|
|
2993
3019
|
*,
|
|
2994
3020
|
status: builtins.str,
|
|
3021
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2995
3022
|
view_type: typing.Optional[builtins.str] = None,
|
|
2996
3023
|
) -> None:
|
|
2997
3024
|
"""Type checking stubs"""
|
|
@@ -7191,6 +7191,7 @@ class CfnDistribution(
|
|
|
7191
7191
|
"origin_protocol_policy": "originProtocolPolicy",
|
|
7192
7192
|
"http_port": "httpPort",
|
|
7193
7193
|
"https_port": "httpsPort",
|
|
7194
|
+
"ip_address_type": "ipAddressType",
|
|
7194
7195
|
"origin_keepalive_timeout": "originKeepaliveTimeout",
|
|
7195
7196
|
"origin_read_timeout": "originReadTimeout",
|
|
7196
7197
|
"origin_ssl_protocols": "originSslProtocols",
|
|
@@ -7203,6 +7204,7 @@ class CfnDistribution(
|
|
|
7203
7204
|
origin_protocol_policy: builtins.str,
|
|
7204
7205
|
http_port: typing.Optional[jsii.Number] = None,
|
|
7205
7206
|
https_port: typing.Optional[jsii.Number] = None,
|
|
7207
|
+
ip_address_type: typing.Optional[builtins.str] = None,
|
|
7206
7208
|
origin_keepalive_timeout: typing.Optional[jsii.Number] = None,
|
|
7207
7209
|
origin_read_timeout: typing.Optional[jsii.Number] = None,
|
|
7208
7210
|
origin_ssl_protocols: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -7214,8 +7216,9 @@ class CfnDistribution(
|
|
|
7214
7216
|
:param origin_protocol_policy: Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Valid values are:. - ``http-only`` – CloudFront always uses HTTP to connect to the origin. - ``match-viewer`` – CloudFront connects to the origin using the same protocol that the viewer used to connect to CloudFront. - ``https-only`` – CloudFront always uses HTTPS to connect to the origin.
|
|
7215
7217
|
:param http_port: The HTTP port that CloudFront uses to connect to the origin. Specify the HTTP port that the origin listens on. Default: - 80
|
|
7216
7218
|
:param https_port: The HTTPS port that CloudFront uses to connect to the origin. Specify the HTTPS port that the origin listens on. Default: - 443
|
|
7219
|
+
:param ip_address_type:
|
|
7217
7220
|
:param origin_keepalive_timeout: Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 5 seconds. For more information, see `Keep-alive timeout (custom origins only) <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginKeepaliveTimeout>`_ in the *Amazon CloudFront Developer Guide* . Default: - 5
|
|
7218
|
-
:param origin_read_timeout: Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the *origin response timeout* . The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 30 seconds. For more information, see `Response timeout
|
|
7221
|
+
:param origin_read_timeout: Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the *origin response timeout* . The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 30 seconds. For more information, see `Response timeout <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginResponseTimeout>`_ in the *Amazon CloudFront Developer Guide* . Default: - 30
|
|
7219
7222
|
:param origin_ssl_protocols: Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS. Valid values include ``SSLv3`` , ``TLSv1`` , ``TLSv1.1`` , and ``TLSv1.2`` . For more information, see `Minimum Origin SSL Protocol <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginSSLProtocols>`_ in the *Amazon CloudFront Developer Guide* .
|
|
7220
7223
|
|
|
7221
7224
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customoriginconfig.html
|
|
@@ -7233,6 +7236,7 @@ class CfnDistribution(
|
|
|
7233
7236
|
# the properties below are optional
|
|
7234
7237
|
http_port=123,
|
|
7235
7238
|
https_port=123,
|
|
7239
|
+
ip_address_type="ipAddressType",
|
|
7236
7240
|
origin_keepalive_timeout=123,
|
|
7237
7241
|
origin_read_timeout=123,
|
|
7238
7242
|
origin_ssl_protocols=["originSslProtocols"]
|
|
@@ -7243,6 +7247,7 @@ class CfnDistribution(
|
|
|
7243
7247
|
check_type(argname="argument origin_protocol_policy", value=origin_protocol_policy, expected_type=type_hints["origin_protocol_policy"])
|
|
7244
7248
|
check_type(argname="argument http_port", value=http_port, expected_type=type_hints["http_port"])
|
|
7245
7249
|
check_type(argname="argument https_port", value=https_port, expected_type=type_hints["https_port"])
|
|
7250
|
+
check_type(argname="argument ip_address_type", value=ip_address_type, expected_type=type_hints["ip_address_type"])
|
|
7246
7251
|
check_type(argname="argument origin_keepalive_timeout", value=origin_keepalive_timeout, expected_type=type_hints["origin_keepalive_timeout"])
|
|
7247
7252
|
check_type(argname="argument origin_read_timeout", value=origin_read_timeout, expected_type=type_hints["origin_read_timeout"])
|
|
7248
7253
|
check_type(argname="argument origin_ssl_protocols", value=origin_ssl_protocols, expected_type=type_hints["origin_ssl_protocols"])
|
|
@@ -7253,6 +7258,8 @@ class CfnDistribution(
|
|
|
7253
7258
|
self._values["http_port"] = http_port
|
|
7254
7259
|
if https_port is not None:
|
|
7255
7260
|
self._values["https_port"] = https_port
|
|
7261
|
+
if ip_address_type is not None:
|
|
7262
|
+
self._values["ip_address_type"] = ip_address_type
|
|
7256
7263
|
if origin_keepalive_timeout is not None:
|
|
7257
7264
|
self._values["origin_keepalive_timeout"] = origin_keepalive_timeout
|
|
7258
7265
|
if origin_read_timeout is not None:
|
|
@@ -7300,6 +7307,14 @@ class CfnDistribution(
|
|
|
7300
7307
|
result = self._values.get("https_port")
|
|
7301
7308
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
7302
7309
|
|
|
7310
|
+
@builtins.property
|
|
7311
|
+
def ip_address_type(self) -> typing.Optional[builtins.str]:
|
|
7312
|
+
'''
|
|
7313
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customoriginconfig.html#cfn-cloudfront-distribution-customoriginconfig-ipaddresstype
|
|
7314
|
+
'''
|
|
7315
|
+
result = self._values.get("ip_address_type")
|
|
7316
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7317
|
+
|
|
7303
7318
|
@builtins.property
|
|
7304
7319
|
def origin_keepalive_timeout(self) -> typing.Optional[jsii.Number]:
|
|
7305
7320
|
'''Specifies how long, in seconds, CloudFront persists its connection to the origin.
|
|
@@ -7321,7 +7336,7 @@ class CfnDistribution(
|
|
|
7321
7336
|
|
|
7322
7337
|
This is also known as the *origin response timeout* . The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 30 seconds.
|
|
7323
7338
|
|
|
7324
|
-
For more information, see `Response timeout
|
|
7339
|
+
For more information, see `Response timeout <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginResponseTimeout>`_ in the *Amazon CloudFront Developer Guide* .
|
|
7325
7340
|
|
|
7326
7341
|
:default: - 30
|
|
7327
7342
|
|
|
@@ -9940,7 +9955,7 @@ class CfnDistribution(
|
|
|
9940
9955
|
:param origin_custom_headers: A list of HTTP header names and values that CloudFront adds to the requests that it sends to the origin. For more information, see `Adding Custom Headers to Origin Requests <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/add-origin-custom-headers.html>`_ in the *Amazon CloudFront Developer Guide* .
|
|
9941
9956
|
:param origin_path: An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin. For more information, see `Origin Path <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginPath>`_ in the *Amazon CloudFront Developer Guide* . Default: - ""
|
|
9942
9957
|
:param origin_shield: CloudFront Origin Shield. Using Origin Shield can help reduce the load on your origin. For more information, see `Using Origin Shield <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html>`_ in the *Amazon CloudFront Developer Guide* .
|
|
9943
|
-
:param response_completion_timeout:
|
|
9958
|
+
:param response_completion_timeout: The time (in seconds) that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. The value for ``ResponseCompletionTimeout`` must be equal to or greater than the value for ``OriginReadTimeout`` . If you don't set a value for ``ResponseCompletionTimeout`` , CloudFront doesn't enforce a maximum value. For more information, see `Response completion timeout <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#response-completion-timeout>`_ in the *Amazon CloudFront Developer Guide* .
|
|
9944
9959
|
:param s3_origin_config: Use this type to specify an origin that is an Amazon S3 bucket that is not configured with static website hosting. To specify any other type of origin, including an Amazon S3 bucket that is configured with static website hosting, use the ``CustomOriginConfig`` type instead.
|
|
9945
9960
|
:param vpc_origin_config: The VPC origin configuration.
|
|
9946
9961
|
|
|
@@ -9966,6 +9981,7 @@ class CfnDistribution(
|
|
|
9966
9981
|
# the properties below are optional
|
|
9967
9982
|
http_port=123,
|
|
9968
9983
|
https_port=123,
|
|
9984
|
+
ip_address_type="ipAddressType",
|
|
9969
9985
|
origin_keepalive_timeout=123,
|
|
9970
9986
|
origin_read_timeout=123,
|
|
9971
9987
|
origin_ssl_protocols=["originSslProtocols"]
|
|
@@ -10150,7 +10166,14 @@ class CfnDistribution(
|
|
|
10150
10166
|
|
|
10151
10167
|
@builtins.property
|
|
10152
10168
|
def response_completion_timeout(self) -> typing.Optional[jsii.Number]:
|
|
10153
|
-
'''
|
|
10169
|
+
'''The time (in seconds) that a request from CloudFront to the origin can stay open and wait for a response.
|
|
10170
|
+
|
|
10171
|
+
If the complete response isn't received from the origin by this time, CloudFront ends the connection.
|
|
10172
|
+
|
|
10173
|
+
The value for ``ResponseCompletionTimeout`` must be equal to or greater than the value for ``OriginReadTimeout`` . If you don't set a value for ``ResponseCompletionTimeout`` , CloudFront doesn't enforce a maximum value.
|
|
10174
|
+
|
|
10175
|
+
For more information, see `Response completion timeout <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#response-completion-timeout>`_ in the *Amazon CloudFront Developer Guide* .
|
|
10176
|
+
|
|
10154
10177
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html#cfn-cloudfront-distribution-origin-responsecompletiontimeout
|
|
10155
10178
|
'''
|
|
10156
10179
|
result = self._values.get("response_completion_timeout")
|
|
@@ -10442,7 +10465,7 @@ class CfnDistribution(
|
|
|
10442
10465
|
If the origin is a custom origin or an S3 bucket that is configured as a website endpoint, use the ``CustomOriginConfig`` element instead.
|
|
10443
10466
|
|
|
10444
10467
|
:param origin_access_identity: .. epigraph:: If you're using origin access control (OAC) instead of origin access identity, specify an empty ``OriginAccessIdentity`` element. For more information, see `Restricting access to an AWS <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-origin.html>`_ in the *Amazon CloudFront Developer Guide* . The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that viewers can *only* access objects in an Amazon S3 bucket through CloudFront. The format of the value is: ``origin-access-identity/cloudfront/ID-of-origin-access-identity`` The ``*ID-of-origin-access-identity*`` is the value that CloudFront returned in the ``ID`` element when you created the origin access identity. If you want viewers to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty ``OriginAccessIdentity`` element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty ``OriginAccessIdentity`` element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity. For more information about the origin access identity, see `Serving Private Content through CloudFront <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html>`_ in the *Amazon CloudFront Developer Guide* . Default: - ""
|
|
10445
|
-
:param origin_read_timeout: Default: - 30
|
|
10468
|
+
:param origin_read_timeout: Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the *origin response timeout* . The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 30 seconds. For more information, see `Response timeout <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginResponseTimeout>`_ in the *Amazon CloudFront Developer Guide* . Default: - 30
|
|
10446
10469
|
|
|
10447
10470
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-s3originconfig.html
|
|
10448
10471
|
:exampleMetadata: fixture=_generated
|
|
@@ -10499,7 +10522,12 @@ class CfnDistribution(
|
|
|
10499
10522
|
|
|
10500
10523
|
@builtins.property
|
|
10501
10524
|
def origin_read_timeout(self) -> typing.Optional[jsii.Number]:
|
|
10502
|
-
'''
|
|
10525
|
+
'''Specifies how long, in seconds, CloudFront waits for a response from the origin.
|
|
10526
|
+
|
|
10527
|
+
This is also known as the *origin response timeout* . The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 30 seconds.
|
|
10528
|
+
|
|
10529
|
+
For more information, see `Response timeout <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginResponseTimeout>`_ in the *Amazon CloudFront Developer Guide* .
|
|
10530
|
+
|
|
10503
10531
|
:default: - 30
|
|
10504
10532
|
|
|
10505
10533
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-s3originconfig.html#cfn-cloudfront-distribution-s3originconfig-originreadtimeout
|
|
@@ -10957,7 +10985,7 @@ class CfnDistribution(
|
|
|
10957
10985
|
|
|
10958
10986
|
:param vpc_origin_id: The VPC origin ID.
|
|
10959
10987
|
:param origin_keepalive_timeout: Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 5 seconds. For more information, see `Keep-alive timeout (custom origins only) <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginKeepaliveTimeout>`_ in the *Amazon CloudFront Developer Guide* . Default: - 5
|
|
10960
|
-
:param origin_read_timeout: Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the *origin response timeout* . The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 30 seconds. For more information, see `Response timeout
|
|
10988
|
+
:param origin_read_timeout: Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the *origin response timeout* . The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 30 seconds. For more information, see `Response timeout <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginResponseTimeout>`_ in the *Amazon CloudFront Developer Guide* . Default: - 30
|
|
10961
10989
|
|
|
10962
10990
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-vpcoriginconfig.html
|
|
10963
10991
|
:exampleMetadata: fixture=_generated
|
|
@@ -11020,7 +11048,7 @@ class CfnDistribution(
|
|
|
11020
11048
|
|
|
11021
11049
|
This is also known as the *origin response timeout* . The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 30 seconds.
|
|
11022
11050
|
|
|
11023
|
-
For more information, see `Response timeout
|
|
11051
|
+
For more information, see `Response timeout <https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginResponseTimeout>`_ in the *Amazon CloudFront Developer Guide* .
|
|
11024
11052
|
|
|
11025
11053
|
:default: - 30
|
|
11026
11054
|
|
|
@@ -11230,6 +11258,7 @@ class CfnDistributionProps:
|
|
|
11230
11258
|
# the properties below are optional
|
|
11231
11259
|
http_port=123,
|
|
11232
11260
|
https_port=123,
|
|
11261
|
+
ip_address_type="ipAddressType",
|
|
11233
11262
|
origin_keepalive_timeout=123,
|
|
11234
11263
|
origin_read_timeout=123,
|
|
11235
11264
|
origin_ssl_protocols=["originSslProtocols"]
|
|
@@ -22925,6 +22954,7 @@ class OriginBindConfig:
|
|
|
22925
22954
|
# the properties below are optional
|
|
22926
22955
|
http_port=123,
|
|
22927
22956
|
https_port=123,
|
|
22957
|
+
ip_address_type="ipAddressType",
|
|
22928
22958
|
origin_keepalive_timeout=123,
|
|
22929
22959
|
origin_read_timeout=123,
|
|
22930
22960
|
origin_ssl_protocols=["originSslProtocols"]
|
|
@@ -30450,6 +30480,7 @@ def _typecheckingstub__4818766b050bad18cc83a1490771aa31b5eaddfe75b97673cb8c97008
|
|
|
30450
30480
|
origin_protocol_policy: builtins.str,
|
|
30451
30481
|
http_port: typing.Optional[jsii.Number] = None,
|
|
30452
30482
|
https_port: typing.Optional[jsii.Number] = None,
|
|
30483
|
+
ip_address_type: typing.Optional[builtins.str] = None,
|
|
30453
30484
|
origin_keepalive_timeout: typing.Optional[jsii.Number] = None,
|
|
30454
30485
|
origin_read_timeout: typing.Optional[jsii.Number] = None,
|
|
30455
30486
|
origin_ssl_protocols: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -3752,6 +3752,12 @@ class CfnProject(
|
|
|
3752
3752
|
# the properties below are optional
|
|
3753
3753
|
exclude_matched_pattern=False
|
|
3754
3754
|
)]],
|
|
3755
|
+
pull_request_build_policy=codebuild.CfnProject.PullRequestBuildPolicyProperty(
|
|
3756
|
+
requires_comment_approval="requiresCommentApproval",
|
|
3757
|
+
|
|
3758
|
+
# the properties below are optional
|
|
3759
|
+
approver_roles=["approverRoles"]
|
|
3760
|
+
),
|
|
3755
3761
|
scope_configuration=codebuild.CfnProject.ScopeConfigurationProperty(
|
|
3756
3762
|
name="name",
|
|
3757
3763
|
|
|
@@ -5980,6 +5986,7 @@ class CfnProject(
|
|
|
5980
5986
|
name_mapping={
|
|
5981
5987
|
"build_type": "buildType",
|
|
5982
5988
|
"filter_groups": "filterGroups",
|
|
5989
|
+
"pull_request_build_policy": "pullRequestBuildPolicy",
|
|
5983
5990
|
"scope_configuration": "scopeConfiguration",
|
|
5984
5991
|
"webhook": "webhook",
|
|
5985
5992
|
},
|
|
@@ -5990,6 +5997,7 @@ class CfnProject(
|
|
|
5990
5997
|
*,
|
|
5991
5998
|
build_type: typing.Optional[builtins.str] = None,
|
|
5992
5999
|
filter_groups: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnProject.WebhookFilterProperty", typing.Dict[builtins.str, typing.Any]]]]]]]] = None,
|
|
6000
|
+
pull_request_build_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnProject.PullRequestBuildPolicyProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5993
6001
|
scope_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnProject.ScopeConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5994
6002
|
webhook: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
5995
6003
|
) -> None:
|
|
@@ -6001,6 +6009,7 @@ class CfnProject(
|
|
|
6001
6009
|
|
|
6002
6010
|
:param build_type: Specifies the type of build this webhook will trigger. Allowed values are:. - **BUILD** - A single build - **BUILD_BATCH** - A batch build
|
|
6003
6011
|
:param filter_groups: A list of lists of ``WebhookFilter`` objects used to determine which webhook events are triggered. At least one ``WebhookFilter`` in the array must specify ``EVENT`` as its type.
|
|
6012
|
+
:param pull_request_build_policy:
|
|
6004
6013
|
:param scope_configuration: Contains configuration information about the scope for a webhook.
|
|
6005
6014
|
:param webhook: Specifies whether or not to begin automatically rebuilding the source code every time a code change is pushed to the repository.
|
|
6006
6015
|
|
|
@@ -6022,6 +6031,12 @@ class CfnProject(
|
|
|
6022
6031
|
# the properties below are optional
|
|
6023
6032
|
exclude_matched_pattern=False
|
|
6024
6033
|
)]],
|
|
6034
|
+
pull_request_build_policy=codebuild.CfnProject.PullRequestBuildPolicyProperty(
|
|
6035
|
+
requires_comment_approval="requiresCommentApproval",
|
|
6036
|
+
|
|
6037
|
+
# the properties below are optional
|
|
6038
|
+
approver_roles=["approverRoles"]
|
|
6039
|
+
),
|
|
6025
6040
|
scope_configuration=codebuild.CfnProject.ScopeConfigurationProperty(
|
|
6026
6041
|
name="name",
|
|
6027
6042
|
|
|
@@ -6036,6 +6051,7 @@ class CfnProject(
|
|
|
6036
6051
|
type_hints = typing.get_type_hints(_typecheckingstub__d2709928946ab49717544a38f5b4471ef55c9bf0ed8e39f24de9210b8c729a70)
|
|
6037
6052
|
check_type(argname="argument build_type", value=build_type, expected_type=type_hints["build_type"])
|
|
6038
6053
|
check_type(argname="argument filter_groups", value=filter_groups, expected_type=type_hints["filter_groups"])
|
|
6054
|
+
check_type(argname="argument pull_request_build_policy", value=pull_request_build_policy, expected_type=type_hints["pull_request_build_policy"])
|
|
6039
6055
|
check_type(argname="argument scope_configuration", value=scope_configuration, expected_type=type_hints["scope_configuration"])
|
|
6040
6056
|
check_type(argname="argument webhook", value=webhook, expected_type=type_hints["webhook"])
|
|
6041
6057
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
@@ -6043,6 +6059,8 @@ class CfnProject(
|
|
|
6043
6059
|
self._values["build_type"] = build_type
|
|
6044
6060
|
if filter_groups is not None:
|
|
6045
6061
|
self._values["filter_groups"] = filter_groups
|
|
6062
|
+
if pull_request_build_policy is not None:
|
|
6063
|
+
self._values["pull_request_build_policy"] = pull_request_build_policy
|
|
6046
6064
|
if scope_configuration is not None:
|
|
6047
6065
|
self._values["scope_configuration"] = scope_configuration
|
|
6048
6066
|
if webhook is not None:
|
|
@@ -6073,6 +6091,16 @@ class CfnProject(
|
|
|
6073
6091
|
result = self._values.get("filter_groups")
|
|
6074
6092
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnProject.WebhookFilterProperty"]]]]]], result)
|
|
6075
6093
|
|
|
6094
|
+
@builtins.property
|
|
6095
|
+
def pull_request_build_policy(
|
|
6096
|
+
self,
|
|
6097
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnProject.PullRequestBuildPolicyProperty"]]:
|
|
6098
|
+
'''
|
|
6099
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projecttriggers.html#cfn-codebuild-project-projecttriggers-pullrequestbuildpolicy
|
|
6100
|
+
'''
|
|
6101
|
+
result = self._values.get("pull_request_build_policy")
|
|
6102
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnProject.PullRequestBuildPolicyProperty"]], result)
|
|
6103
|
+
|
|
6076
6104
|
@builtins.property
|
|
6077
6105
|
def scope_configuration(
|
|
6078
6106
|
self,
|
|
@@ -6106,6 +6134,79 @@ class CfnProject(
|
|
|
6106
6134
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
6107
6135
|
)
|
|
6108
6136
|
|
|
6137
|
+
@jsii.data_type(
|
|
6138
|
+
jsii_type="aws-cdk-lib.aws_codebuild.CfnProject.PullRequestBuildPolicyProperty",
|
|
6139
|
+
jsii_struct_bases=[],
|
|
6140
|
+
name_mapping={
|
|
6141
|
+
"requires_comment_approval": "requiresCommentApproval",
|
|
6142
|
+
"approver_roles": "approverRoles",
|
|
6143
|
+
},
|
|
6144
|
+
)
|
|
6145
|
+
class PullRequestBuildPolicyProperty:
|
|
6146
|
+
def __init__(
|
|
6147
|
+
self,
|
|
6148
|
+
*,
|
|
6149
|
+
requires_comment_approval: builtins.str,
|
|
6150
|
+
approver_roles: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
6151
|
+
) -> None:
|
|
6152
|
+
'''
|
|
6153
|
+
:param requires_comment_approval:
|
|
6154
|
+
:param approver_roles:
|
|
6155
|
+
|
|
6156
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-pullrequestbuildpolicy.html
|
|
6157
|
+
:exampleMetadata: fixture=_generated
|
|
6158
|
+
|
|
6159
|
+
Example::
|
|
6160
|
+
|
|
6161
|
+
# The code below shows an example of how to instantiate this type.
|
|
6162
|
+
# The values are placeholders you should change.
|
|
6163
|
+
from aws_cdk import aws_codebuild as codebuild
|
|
6164
|
+
|
|
6165
|
+
pull_request_build_policy_property = codebuild.CfnProject.PullRequestBuildPolicyProperty(
|
|
6166
|
+
requires_comment_approval="requiresCommentApproval",
|
|
6167
|
+
|
|
6168
|
+
# the properties below are optional
|
|
6169
|
+
approver_roles=["approverRoles"]
|
|
6170
|
+
)
|
|
6171
|
+
'''
|
|
6172
|
+
if __debug__:
|
|
6173
|
+
type_hints = typing.get_type_hints(_typecheckingstub__dc1eee42ab44fe674f81f814cf0b3916fe0be36f2eb0f8f6b963c3bbd44441fd)
|
|
6174
|
+
check_type(argname="argument requires_comment_approval", value=requires_comment_approval, expected_type=type_hints["requires_comment_approval"])
|
|
6175
|
+
check_type(argname="argument approver_roles", value=approver_roles, expected_type=type_hints["approver_roles"])
|
|
6176
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
6177
|
+
"requires_comment_approval": requires_comment_approval,
|
|
6178
|
+
}
|
|
6179
|
+
if approver_roles is not None:
|
|
6180
|
+
self._values["approver_roles"] = approver_roles
|
|
6181
|
+
|
|
6182
|
+
@builtins.property
|
|
6183
|
+
def requires_comment_approval(self) -> builtins.str:
|
|
6184
|
+
'''
|
|
6185
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-pullrequestbuildpolicy.html#cfn-codebuild-project-pullrequestbuildpolicy-requirescommentapproval
|
|
6186
|
+
'''
|
|
6187
|
+
result = self._values.get("requires_comment_approval")
|
|
6188
|
+
assert result is not None, "Required property 'requires_comment_approval' is missing"
|
|
6189
|
+
return typing.cast(builtins.str, result)
|
|
6190
|
+
|
|
6191
|
+
@builtins.property
|
|
6192
|
+
def approver_roles(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
6193
|
+
'''
|
|
6194
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-pullrequestbuildpolicy.html#cfn-codebuild-project-pullrequestbuildpolicy-approverroles
|
|
6195
|
+
'''
|
|
6196
|
+
result = self._values.get("approver_roles")
|
|
6197
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
6198
|
+
|
|
6199
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6200
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6201
|
+
|
|
6202
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6203
|
+
return not (rhs == self)
|
|
6204
|
+
|
|
6205
|
+
def __repr__(self) -> str:
|
|
6206
|
+
return "PullRequestBuildPolicyProperty(%s)" % ", ".join(
|
|
6207
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6208
|
+
)
|
|
6209
|
+
|
|
6109
6210
|
@jsii.data_type(
|
|
6110
6211
|
jsii_type="aws-cdk-lib.aws_codebuild.CfnProject.RegistryCredentialProperty",
|
|
6111
6212
|
jsii_struct_bases=[],
|
|
@@ -7266,6 +7367,12 @@ class CfnProjectProps:
|
|
|
7266
7367
|
# the properties below are optional
|
|
7267
7368
|
exclude_matched_pattern=False
|
|
7268
7369
|
)]],
|
|
7370
|
+
pull_request_build_policy=codebuild.CfnProject.PullRequestBuildPolicyProperty(
|
|
7371
|
+
requires_comment_approval="requiresCommentApproval",
|
|
7372
|
+
|
|
7373
|
+
# the properties below are optional
|
|
7374
|
+
approver_roles=["approverRoles"]
|
|
7375
|
+
),
|
|
7269
7376
|
scope_configuration=codebuild.CfnProject.ScopeConfigurationProperty(
|
|
7270
7377
|
name="name",
|
|
7271
7378
|
|
|
@@ -16713,6 +16820,12 @@ class SourceConfig:
|
|
|
16713
16820
|
# the properties below are optional
|
|
16714
16821
|
exclude_matched_pattern=False
|
|
16715
16822
|
)]],
|
|
16823
|
+
pull_request_build_policy=codebuild.CfnProject.PullRequestBuildPolicyProperty(
|
|
16824
|
+
requires_comment_approval="requiresCommentApproval",
|
|
16825
|
+
|
|
16826
|
+
# the properties below are optional
|
|
16827
|
+
approver_roles=["approverRoles"]
|
|
16828
|
+
),
|
|
16716
16829
|
scope_configuration=codebuild.CfnProject.ScopeConfigurationProperty(
|
|
16717
16830
|
name="name",
|
|
16718
16831
|
|
|
@@ -19690,12 +19803,21 @@ def _typecheckingstub__d2709928946ab49717544a38f5b4471ef55c9bf0ed8e39f24de9210b8
|
|
|
19690
19803
|
*,
|
|
19691
19804
|
build_type: typing.Optional[builtins.str] = None,
|
|
19692
19805
|
filter_groups: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnProject.WebhookFilterProperty, typing.Dict[builtins.str, typing.Any]]]]]]]] = None,
|
|
19806
|
+
pull_request_build_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnProject.PullRequestBuildPolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
19693
19807
|
scope_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnProject.ScopeConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
19694
19808
|
webhook: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
19695
19809
|
) -> None:
|
|
19696
19810
|
"""Type checking stubs"""
|
|
19697
19811
|
pass
|
|
19698
19812
|
|
|
19813
|
+
def _typecheckingstub__dc1eee42ab44fe674f81f814cf0b3916fe0be36f2eb0f8f6b963c3bbd44441fd(
|
|
19814
|
+
*,
|
|
19815
|
+
requires_comment_approval: builtins.str,
|
|
19816
|
+
approver_roles: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
19817
|
+
) -> None:
|
|
19818
|
+
"""Type checking stubs"""
|
|
19819
|
+
pass
|
|
19820
|
+
|
|
19699
19821
|
def _typecheckingstub__34506e4fd8833ff5e97909e986461de67b898a74b028bcfb34d1d8c370d767a9(
|
|
19700
19822
|
*,
|
|
19701
19823
|
credential: builtins.str,
|