aws-cdk-lib 2.165.0__py3-none-any.whl → 2.167.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 +1 -1
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.165.0.jsii.tgz → aws-cdk-lib@2.167.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +9 -0
- aws_cdk/aws_appsync/__init__.py +2271 -359
- aws_cdk/aws_backup/__init__.py +57 -31
- aws_cdk/aws_bedrock/__init__.py +994 -197
- aws_cdk/aws_cleanrooms/__init__.py +66 -5
- aws_cdk/aws_cloudfront/__init__.py +21 -3
- aws_cdk/aws_cloudfront/experimental/__init__.py +3 -3
- aws_cdk/aws_codebuild/__init__.py +59 -29
- aws_cdk/aws_codepipeline/__init__.py +98 -5
- aws_cdk/aws_codestar/__init__.py +1 -1
- aws_cdk/aws_cognito/__init__.py +0 -8
- aws_cdk/aws_connect/__init__.py +1 -1
- aws_cdk/aws_datasync/__init__.py +60 -7
- aws_cdk/aws_devopsguru/__init__.py +2 -2
- aws_cdk/aws_dms/__init__.py +762 -0
- aws_cdk/aws_dynamodb/__init__.py +13 -8
- aws_cdk/aws_ec2/__init__.py +316 -11
- aws_cdk/aws_ecs/__init__.py +20 -7
- aws_cdk/aws_elasticache/__init__.py +16 -9
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +73 -46
- aws_cdk/aws_emrserverless/__init__.py +35 -33
- aws_cdk/aws_events/__init__.py +25 -30
- aws_cdk/aws_gamelift/__init__.py +52 -40
- aws_cdk/aws_inspectorv2/__init__.py +6 -12
- aws_cdk/aws_kinesis/__init__.py +297 -1
- aws_cdk/aws_kms/__init__.py +2 -0
- aws_cdk/aws_lambda/__init__.py +339 -22
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -3
- aws_cdk/aws_logs/__init__.py +214 -0
- aws_cdk/aws_m2/__init__.py +58 -58
- aws_cdk/aws_mediapackagev2/__init__.py +191 -0
- aws_cdk/aws_networkfirewall/__init__.py +14 -5
- aws_cdk/aws_nimblestudio/__init__.py +6 -103
- aws_cdk/aws_opensearchservice/__init__.py +969 -0
- aws_cdk/aws_pipes/__init__.py +1 -1
- aws_cdk/aws_qbusiness/__init__.py +2 -0
- aws_cdk/aws_quicksight/__init__.py +481 -10
- aws_cdk/aws_rds/__init__.py +667 -16
- aws_cdk/aws_route53/__init__.py +38 -12
- aws_cdk/aws_s3_assets/__init__.py +37 -0
- aws_cdk/aws_s3_deployment/__init__.py +18 -7
- aws_cdk/aws_sagemaker/__init__.py +61 -25
- aws_cdk/aws_secretsmanager/__init__.py +2 -1
- aws_cdk/aws_servicecatalog/__init__.py +52 -4
- aws_cdk/aws_ses/__init__.py +22 -1
- aws_cdk/aws_sqs/__init__.py +12 -9
- aws_cdk/aws_stepfunctions/__init__.py +8 -0
- aws_cdk/aws_synthetics/__init__.py +133 -1
- aws_cdk/aws_timestream/__init__.py +41 -0
- aws_cdk/aws_wisdom/__init__.py +2348 -54
- aws_cdk/triggers/__init__.py +3 -3
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/RECORD +60 -60
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/WHEEL +1 -1
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/top_level.txt +0 -0
|
@@ -785,6 +785,7 @@ class CfnCollaboration(
|
|
|
785
785
|
query_log_status="queryLogStatus",
|
|
786
786
|
|
|
787
787
|
# the properties below are optional
|
|
788
|
+
analytics_engine="analyticsEngine",
|
|
788
789
|
creator_payment_configuration=cleanrooms.CfnCollaboration.PaymentConfigurationProperty(
|
|
789
790
|
query_compute=cleanrooms.CfnCollaboration.QueryComputePaymentConfigProperty(
|
|
790
791
|
is_responsible=False
|
|
@@ -814,6 +815,7 @@ class CfnCollaboration(
|
|
|
814
815
|
members: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCollaboration.MemberSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
815
816
|
name: builtins.str,
|
|
816
817
|
query_log_status: builtins.str,
|
|
818
|
+
analytics_engine: typing.Optional[builtins.str] = None,
|
|
817
819
|
creator_payment_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCollaboration.PaymentConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
818
820
|
data_encryption_metadata: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCollaboration.DataEncryptionMetadataProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
819
821
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -827,6 +829,7 @@ class CfnCollaboration(
|
|
|
827
829
|
:param members: A list of initial members, not including the creator. This list is immutable.
|
|
828
830
|
:param name: A human-readable identifier provided by the collaboration owner. Display names are not unique.
|
|
829
831
|
:param query_log_status: An indicator as to whether query logging has been enabled or disabled for the collaboration.
|
|
832
|
+
:param analytics_engine:
|
|
830
833
|
:param creator_payment_configuration: An object representing the collaboration member's payment responsibilities set by the collaboration creator.
|
|
831
834
|
:param data_encryption_metadata: The settings for client-side encryption for cryptographic computing.
|
|
832
835
|
:param tags: An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
|
|
@@ -842,6 +845,7 @@ class CfnCollaboration(
|
|
|
842
845
|
members=members,
|
|
843
846
|
name=name,
|
|
844
847
|
query_log_status=query_log_status,
|
|
848
|
+
analytics_engine=analytics_engine,
|
|
845
849
|
creator_payment_configuration=creator_payment_configuration,
|
|
846
850
|
data_encryption_metadata=data_encryption_metadata,
|
|
847
851
|
tags=tags,
|
|
@@ -995,6 +999,18 @@ class CfnCollaboration(
|
|
|
995
999
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
996
1000
|
jsii.set(self, "queryLogStatus", value) # pyright: ignore[reportArgumentType]
|
|
997
1001
|
|
|
1002
|
+
@builtins.property
|
|
1003
|
+
@jsii.member(jsii_name="analyticsEngine")
|
|
1004
|
+
def analytics_engine(self) -> typing.Optional[builtins.str]:
|
|
1005
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "analyticsEngine"))
|
|
1006
|
+
|
|
1007
|
+
@analytics_engine.setter
|
|
1008
|
+
def analytics_engine(self, value: typing.Optional[builtins.str]) -> None:
|
|
1009
|
+
if __debug__:
|
|
1010
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1052deb6a86709adcf30bca5621af3b50e52d20c54f6e014b8baeaa998273732)
|
|
1011
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1012
|
+
jsii.set(self, "analyticsEngine", value) # pyright: ignore[reportArgumentType]
|
|
1013
|
+
|
|
998
1014
|
@builtins.property
|
|
999
1015
|
@jsii.member(jsii_name="creatorPaymentConfiguration")
|
|
1000
1016
|
def creator_payment_configuration(
|
|
@@ -1405,6 +1421,7 @@ class CfnCollaboration(
|
|
|
1405
1421
|
"members": "members",
|
|
1406
1422
|
"name": "name",
|
|
1407
1423
|
"query_log_status": "queryLogStatus",
|
|
1424
|
+
"analytics_engine": "analyticsEngine",
|
|
1408
1425
|
"creator_payment_configuration": "creatorPaymentConfiguration",
|
|
1409
1426
|
"data_encryption_metadata": "dataEncryptionMetadata",
|
|
1410
1427
|
"tags": "tags",
|
|
@@ -1420,6 +1437,7 @@ class CfnCollaborationProps:
|
|
|
1420
1437
|
members: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.MemberSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
1421
1438
|
name: builtins.str,
|
|
1422
1439
|
query_log_status: builtins.str,
|
|
1440
|
+
analytics_engine: typing.Optional[builtins.str] = None,
|
|
1423
1441
|
creator_payment_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.PaymentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1424
1442
|
data_encryption_metadata: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.DataEncryptionMetadataProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1425
1443
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -1432,6 +1450,7 @@ class CfnCollaborationProps:
|
|
|
1432
1450
|
:param members: A list of initial members, not including the creator. This list is immutable.
|
|
1433
1451
|
:param name: A human-readable identifier provided by the collaboration owner. Display names are not unique.
|
|
1434
1452
|
:param query_log_status: An indicator as to whether query logging has been enabled or disabled for the collaboration.
|
|
1453
|
+
:param analytics_engine:
|
|
1435
1454
|
:param creator_payment_configuration: An object representing the collaboration member's payment responsibilities set by the collaboration creator.
|
|
1436
1455
|
:param data_encryption_metadata: The settings for client-side encryption for cryptographic computing.
|
|
1437
1456
|
:param tags: An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
|
|
@@ -1465,6 +1484,7 @@ class CfnCollaborationProps:
|
|
|
1465
1484
|
query_log_status="queryLogStatus",
|
|
1466
1485
|
|
|
1467
1486
|
# the properties below are optional
|
|
1487
|
+
analytics_engine="analyticsEngine",
|
|
1468
1488
|
creator_payment_configuration=cleanrooms.CfnCollaboration.PaymentConfigurationProperty(
|
|
1469
1489
|
query_compute=cleanrooms.CfnCollaboration.QueryComputePaymentConfigProperty(
|
|
1470
1490
|
is_responsible=False
|
|
@@ -1490,6 +1510,7 @@ class CfnCollaborationProps:
|
|
|
1490
1510
|
check_type(argname="argument members", value=members, expected_type=type_hints["members"])
|
|
1491
1511
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
1492
1512
|
check_type(argname="argument query_log_status", value=query_log_status, expected_type=type_hints["query_log_status"])
|
|
1513
|
+
check_type(argname="argument analytics_engine", value=analytics_engine, expected_type=type_hints["analytics_engine"])
|
|
1493
1514
|
check_type(argname="argument creator_payment_configuration", value=creator_payment_configuration, expected_type=type_hints["creator_payment_configuration"])
|
|
1494
1515
|
check_type(argname="argument data_encryption_metadata", value=data_encryption_metadata, expected_type=type_hints["data_encryption_metadata"])
|
|
1495
1516
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
@@ -1501,6 +1522,8 @@ class CfnCollaborationProps:
|
|
|
1501
1522
|
"name": name,
|
|
1502
1523
|
"query_log_status": query_log_status,
|
|
1503
1524
|
}
|
|
1525
|
+
if analytics_engine is not None:
|
|
1526
|
+
self._values["analytics_engine"] = analytics_engine
|
|
1504
1527
|
if creator_payment_configuration is not None:
|
|
1505
1528
|
self._values["creator_payment_configuration"] = creator_payment_configuration
|
|
1506
1529
|
if data_encryption_metadata is not None:
|
|
@@ -1576,6 +1599,14 @@ class CfnCollaborationProps:
|
|
|
1576
1599
|
assert result is not None, "Required property 'query_log_status' is missing"
|
|
1577
1600
|
return typing.cast(builtins.str, result)
|
|
1578
1601
|
|
|
1602
|
+
@builtins.property
|
|
1603
|
+
def analytics_engine(self) -> typing.Optional[builtins.str]:
|
|
1604
|
+
'''
|
|
1605
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-collaboration.html#cfn-cleanrooms-collaboration-analyticsengine
|
|
1606
|
+
'''
|
|
1607
|
+
result = self._values.get("analytics_engine")
|
|
1608
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1609
|
+
|
|
1579
1610
|
@builtins.property
|
|
1580
1611
|
def creator_payment_configuration(
|
|
1581
1612
|
self,
|
|
@@ -5542,7 +5573,8 @@ class CfnMembership(
|
|
|
5542
5573
|
result_format="resultFormat",
|
|
5543
5574
|
|
|
5544
5575
|
# the properties below are optional
|
|
5545
|
-
key_prefix="keyPrefix"
|
|
5576
|
+
key_prefix="keyPrefix",
|
|
5577
|
+
single_file_output=False
|
|
5546
5578
|
)
|
|
5547
5579
|
),
|
|
5548
5580
|
|
|
@@ -5845,7 +5877,8 @@ class CfnMembership(
|
|
|
5845
5877
|
result_format="resultFormat",
|
|
5846
5878
|
|
|
5847
5879
|
# the properties below are optional
|
|
5848
|
-
key_prefix="keyPrefix"
|
|
5880
|
+
key_prefix="keyPrefix",
|
|
5881
|
+
single_file_output=False
|
|
5849
5882
|
)
|
|
5850
5883
|
)
|
|
5851
5884
|
'''
|
|
@@ -5915,7 +5948,8 @@ class CfnMembership(
|
|
|
5915
5948
|
result_format="resultFormat",
|
|
5916
5949
|
|
|
5917
5950
|
# the properties below are optional
|
|
5918
|
-
key_prefix="keyPrefix"
|
|
5951
|
+
key_prefix="keyPrefix",
|
|
5952
|
+
single_file_output=False
|
|
5919
5953
|
)
|
|
5920
5954
|
),
|
|
5921
5955
|
|
|
@@ -6035,6 +6069,7 @@ class CfnMembership(
|
|
|
6035
6069
|
"bucket": "bucket",
|
|
6036
6070
|
"result_format": "resultFormat",
|
|
6037
6071
|
"key_prefix": "keyPrefix",
|
|
6072
|
+
"single_file_output": "singleFileOutput",
|
|
6038
6073
|
},
|
|
6039
6074
|
)
|
|
6040
6075
|
class ProtectedQueryS3OutputConfigurationProperty:
|
|
@@ -6044,12 +6079,14 @@ class CfnMembership(
|
|
|
6044
6079
|
bucket: builtins.str,
|
|
6045
6080
|
result_format: builtins.str,
|
|
6046
6081
|
key_prefix: typing.Optional[builtins.str] = None,
|
|
6082
|
+
single_file_output: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
6047
6083
|
) -> None:
|
|
6048
6084
|
'''Contains the configuration to write the query results to S3.
|
|
6049
6085
|
|
|
6050
6086
|
:param bucket: The S3 bucket to unload the protected query results.
|
|
6051
6087
|
:param result_format: Intended file format of the result.
|
|
6052
6088
|
:param key_prefix: The S3 prefix to unload the protected query results.
|
|
6089
|
+
:param single_file_output:
|
|
6053
6090
|
|
|
6054
6091
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-protectedquerys3outputconfiguration.html
|
|
6055
6092
|
:exampleMetadata: fixture=_generated
|
|
@@ -6065,7 +6102,8 @@ class CfnMembership(
|
|
|
6065
6102
|
result_format="resultFormat",
|
|
6066
6103
|
|
|
6067
6104
|
# the properties below are optional
|
|
6068
|
-
key_prefix="keyPrefix"
|
|
6105
|
+
key_prefix="keyPrefix",
|
|
6106
|
+
single_file_output=False
|
|
6069
6107
|
)
|
|
6070
6108
|
'''
|
|
6071
6109
|
if __debug__:
|
|
@@ -6073,12 +6111,15 @@ class CfnMembership(
|
|
|
6073
6111
|
check_type(argname="argument bucket", value=bucket, expected_type=type_hints["bucket"])
|
|
6074
6112
|
check_type(argname="argument result_format", value=result_format, expected_type=type_hints["result_format"])
|
|
6075
6113
|
check_type(argname="argument key_prefix", value=key_prefix, expected_type=type_hints["key_prefix"])
|
|
6114
|
+
check_type(argname="argument single_file_output", value=single_file_output, expected_type=type_hints["single_file_output"])
|
|
6076
6115
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
6077
6116
|
"bucket": bucket,
|
|
6078
6117
|
"result_format": result_format,
|
|
6079
6118
|
}
|
|
6080
6119
|
if key_prefix is not None:
|
|
6081
6120
|
self._values["key_prefix"] = key_prefix
|
|
6121
|
+
if single_file_output is not None:
|
|
6122
|
+
self._values["single_file_output"] = single_file_output
|
|
6082
6123
|
|
|
6083
6124
|
@builtins.property
|
|
6084
6125
|
def bucket(self) -> builtins.str:
|
|
@@ -6109,6 +6150,16 @@ class CfnMembership(
|
|
|
6109
6150
|
result = self._values.get("key_prefix")
|
|
6110
6151
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
6111
6152
|
|
|
6153
|
+
@builtins.property
|
|
6154
|
+
def single_file_output(
|
|
6155
|
+
self,
|
|
6156
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
6157
|
+
'''
|
|
6158
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-protectedquerys3outputconfiguration.html#cfn-cleanrooms-membership-protectedquerys3outputconfiguration-singlefileoutput
|
|
6159
|
+
'''
|
|
6160
|
+
result = self._values.get("single_file_output")
|
|
6161
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
6162
|
+
|
|
6112
6163
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6113
6164
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6114
6165
|
|
|
@@ -6171,7 +6222,8 @@ class CfnMembershipProps:
|
|
|
6171
6222
|
result_format="resultFormat",
|
|
6172
6223
|
|
|
6173
6224
|
# the properties below are optional
|
|
6174
|
-
key_prefix="keyPrefix"
|
|
6225
|
+
key_prefix="keyPrefix",
|
|
6226
|
+
single_file_output=False
|
|
6175
6227
|
)
|
|
6176
6228
|
),
|
|
6177
6229
|
|
|
@@ -6849,6 +6901,7 @@ def _typecheckingstub__a8995527da9ce4212caf3c1fdf601e4947c02ff1e364e92811ac8635b
|
|
|
6849
6901
|
members: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.MemberSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
6850
6902
|
name: builtins.str,
|
|
6851
6903
|
query_log_status: builtins.str,
|
|
6904
|
+
analytics_engine: typing.Optional[builtins.str] = None,
|
|
6852
6905
|
creator_payment_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.PaymentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6853
6906
|
data_encryption_metadata: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.DataEncryptionMetadataProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6854
6907
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -6904,6 +6957,12 @@ def _typecheckingstub__fa852049fd80eee6c2543d7576eb0c8f60a43d90ca97006450c31d8a1
|
|
|
6904
6957
|
"""Type checking stubs"""
|
|
6905
6958
|
pass
|
|
6906
6959
|
|
|
6960
|
+
def _typecheckingstub__1052deb6a86709adcf30bca5621af3b50e52d20c54f6e014b8baeaa998273732(
|
|
6961
|
+
value: typing.Optional[builtins.str],
|
|
6962
|
+
) -> None:
|
|
6963
|
+
"""Type checking stubs"""
|
|
6964
|
+
pass
|
|
6965
|
+
|
|
6907
6966
|
def _typecheckingstub__991360bdd6af4d5b428da7f242ab1cc46f2a619a380ffdff6e2434a3e7541e84(
|
|
6908
6967
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCollaboration.PaymentConfigurationProperty]],
|
|
6909
6968
|
) -> None:
|
|
@@ -6964,6 +7023,7 @@ def _typecheckingstub__2049291a9933df94c4258b33838a3aa8100d0214a4519c3d84e6d70ed
|
|
|
6964
7023
|
members: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.MemberSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
6965
7024
|
name: builtins.str,
|
|
6966
7025
|
query_log_status: builtins.str,
|
|
7026
|
+
analytics_engine: typing.Optional[builtins.str] = None,
|
|
6967
7027
|
creator_payment_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.PaymentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6968
7028
|
data_encryption_metadata: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCollaboration.DataEncryptionMetadataProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6969
7029
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -7571,6 +7631,7 @@ def _typecheckingstub__a9188eb901d25d30e10ffe45a67a0477e30fc05a712c633d687872210
|
|
|
7571
7631
|
bucket: builtins.str,
|
|
7572
7632
|
result_format: builtins.str,
|
|
7573
7633
|
key_prefix: typing.Optional[builtins.str] = None,
|
|
7634
|
+
single_file_output: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
7574
7635
|
) -> None:
|
|
7575
7636
|
"""Type checking stubs"""
|
|
7576
7637
|
pass
|
|
@@ -1291,6 +1291,7 @@ from ..aws_iam import (
|
|
|
1291
1291
|
IRole as _IRole_235f5d8e,
|
|
1292
1292
|
)
|
|
1293
1293
|
from ..aws_kinesis import IStream as _IStream_4e2457d2
|
|
1294
|
+
from ..aws_kms import IKey as _IKey_5f11635f
|
|
1294
1295
|
from ..aws_lambda import IVersion as _IVersion_faf7234e
|
|
1295
1296
|
from ..aws_s3 import IBucket as _IBucket_42e086fd
|
|
1296
1297
|
from ..aws_s3_assets import AssetOptions as _AssetOptions_2aa69621
|
|
@@ -17724,6 +17725,7 @@ class ImportSource(
|
|
|
17724
17725
|
*,
|
|
17725
17726
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
17726
17727
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
17728
|
+
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
17727
17729
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
17728
17730
|
asset_hash_type: typing.Optional[_AssetHashType_05b67f2d] = None,
|
|
17729
17731
|
bundling: typing.Optional[typing.Union[_BundlingOptions_588cc936, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -17736,6 +17738,7 @@ class ImportSource(
|
|
|
17736
17738
|
:param path: the path to the local file.
|
|
17737
17739
|
:param deploy_time: Whether or not the asset needs to exist beyond deployment time; i.e. are copied over to a different location and not needed afterwards. Setting this property to true has an impact on the lifecycle of the asset, because we will assume that it is safe to delete after the CloudFormation deployment succeeds. For example, Lambda Function assets are copied over to Lambda during deployment. Therefore, it is not necessary to store the asset in S3, so we consider those deployTime assets. Default: false
|
|
17738
17740
|
:param readers: A list of principals that should be able to read this asset from S3. You can use ``asset.grantRead(principal)`` to grant read permissions later. Default: - No principals that can read file asset.
|
|
17741
|
+
:param source_kms_key: The ARN of the KMS key used to encrypt the handler code. Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
|
|
17739
17742
|
:param asset_hash: Specify a custom hash for this asset. If ``assetHashType`` is set it must be set to ``AssetHashType.CUSTOM``. For consistency, this custom hash will be SHA256 hashed and encoded as hex. The resulting hash will be the asset hash. NOTE: the hash is used in order to identify a specific revision of the asset, and used for optimizing and caching deployment activities related to this asset such as packaging, uploading to Amazon S3, etc. If you chose to customize the hash, you will need to make sure it is updated every time the asset changes, or otherwise it is possible that some deployments will not be invalidated. Default: - based on ``assetHashType``
|
|
17740
17743
|
:param asset_hash_type: Specifies the type of hash to calculate for this asset. If ``assetHash`` is configured, this option must be ``undefined`` or ``AssetHashType.CUSTOM``. Default: - the default is ``AssetHashType.SOURCE``, but if ``assetHash`` is explicitly specified this value defaults to ``AssetHashType.CUSTOM``.
|
|
17741
17744
|
:param bundling: Bundle the asset by executing a command in a Docker container or a custom bundling provider. The asset path will be mounted at ``/asset-input``. The Docker container is responsible for putting content at ``/asset-output``. The content at ``/asset-output`` will be zipped and used as the final asset. Default: - uploaded as-is to S3 if the asset is a regular file or a .zip file, archived into a .zip file and uploaded to S3 otherwise
|
|
@@ -17749,6 +17752,7 @@ class ImportSource(
|
|
|
17749
17752
|
options = _AssetOptions_2aa69621(
|
|
17750
17753
|
deploy_time=deploy_time,
|
|
17751
17754
|
readers=readers,
|
|
17755
|
+
source_kms_key=source_kms_key,
|
|
17752
17756
|
asset_hash=asset_hash,
|
|
17753
17757
|
asset_hash_type=asset_hash_type,
|
|
17754
17758
|
bundling=bundling,
|
|
@@ -17813,9 +17817,11 @@ class InlineImportSource(
|
|
|
17813
17817
|
import aws_cdk as cdk
|
|
17814
17818
|
from aws_cdk import aws_cloudfront as cloudfront
|
|
17815
17819
|
from aws_cdk import aws_iam as iam
|
|
17820
|
+
from aws_cdk import aws_kms as kms
|
|
17816
17821
|
|
|
17817
17822
|
# docker_image: cdk.DockerImage
|
|
17818
17823
|
# grantable: iam.IGrantable
|
|
17824
|
+
# key: kms.Key
|
|
17819
17825
|
# local_bundling: cdk.ILocalBundling
|
|
17820
17826
|
|
|
17821
17827
|
inline_import_source = cloudfront.InlineImportSource.from_asset("path",
|
|
@@ -17851,7 +17857,8 @@ class InlineImportSource(
|
|
|
17851
17857
|
exclude=["exclude"],
|
|
17852
17858
|
follow_symlinks=cdk.SymlinkFollowMode.NEVER,
|
|
17853
17859
|
ignore_mode=cdk.IgnoreMode.GLOB,
|
|
17854
|
-
readers=[grantable]
|
|
17860
|
+
readers=[grantable],
|
|
17861
|
+
source_kMSKey=key
|
|
17855
17862
|
)
|
|
17856
17863
|
'''
|
|
17857
17864
|
|
|
@@ -22008,9 +22015,11 @@ class S3ImportSource(
|
|
|
22008
22015
|
import aws_cdk as cdk
|
|
22009
22016
|
from aws_cdk import aws_cloudfront as cloudfront
|
|
22010
22017
|
from aws_cdk import aws_iam as iam
|
|
22018
|
+
from aws_cdk import aws_kms as kms
|
|
22011
22019
|
|
|
22012
22020
|
# docker_image: cdk.DockerImage
|
|
22013
22021
|
# grantable: iam.IGrantable
|
|
22022
|
+
# key: kms.Key
|
|
22014
22023
|
# local_bundling: cdk.ILocalBundling
|
|
22015
22024
|
|
|
22016
22025
|
s3_import_source = cloudfront.S3ImportSource.from_asset("path",
|
|
@@ -22046,7 +22055,8 @@ class S3ImportSource(
|
|
|
22046
22055
|
exclude=["exclude"],
|
|
22047
22056
|
follow_symlinks=cdk.SymlinkFollowMode.NEVER,
|
|
22048
22057
|
ignore_mode=cdk.IgnoreMode.GLOB,
|
|
22049
|
-
readers=[grantable]
|
|
22058
|
+
readers=[grantable],
|
|
22059
|
+
source_kMSKey=key
|
|
22050
22060
|
)
|
|
22051
22061
|
'''
|
|
22052
22062
|
|
|
@@ -23090,9 +23100,11 @@ class AssetImportSource(
|
|
|
23090
23100
|
import aws_cdk as cdk
|
|
23091
23101
|
from aws_cdk import aws_cloudfront as cloudfront
|
|
23092
23102
|
from aws_cdk import aws_iam as iam
|
|
23103
|
+
from aws_cdk import aws_kms as kms
|
|
23093
23104
|
|
|
23094
23105
|
# docker_image: cdk.DockerImage
|
|
23095
23106
|
# grantable: iam.IGrantable
|
|
23107
|
+
# key: kms.Key
|
|
23096
23108
|
# local_bundling: cdk.ILocalBundling
|
|
23097
23109
|
|
|
23098
23110
|
asset_import_source = cloudfront.AssetImportSource.from_asset("path",
|
|
@@ -23128,7 +23140,8 @@ class AssetImportSource(
|
|
|
23128
23140
|
exclude=["exclude"],
|
|
23129
23141
|
follow_symlinks=cdk.SymlinkFollowMode.NEVER,
|
|
23130
23142
|
ignore_mode=cdk.IgnoreMode.GLOB,
|
|
23131
|
-
readers=[grantable]
|
|
23143
|
+
readers=[grantable],
|
|
23144
|
+
source_kMSKey=key
|
|
23132
23145
|
)
|
|
23133
23146
|
'''
|
|
23134
23147
|
|
|
@@ -23138,6 +23151,7 @@ class AssetImportSource(
|
|
|
23138
23151
|
*,
|
|
23139
23152
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
23140
23153
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
23154
|
+
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
23141
23155
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
23142
23156
|
asset_hash_type: typing.Optional[_AssetHashType_05b67f2d] = None,
|
|
23143
23157
|
bundling: typing.Optional[typing.Union[_BundlingOptions_588cc936, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -23149,6 +23163,7 @@ class AssetImportSource(
|
|
|
23149
23163
|
:param path: the path to the local file.
|
|
23150
23164
|
:param deploy_time: Whether or not the asset needs to exist beyond deployment time; i.e. are copied over to a different location and not needed afterwards. Setting this property to true has an impact on the lifecycle of the asset, because we will assume that it is safe to delete after the CloudFormation deployment succeeds. For example, Lambda Function assets are copied over to Lambda during deployment. Therefore, it is not necessary to store the asset in S3, so we consider those deployTime assets. Default: false
|
|
23151
23165
|
:param readers: A list of principals that should be able to read this asset from S3. You can use ``asset.grantRead(principal)`` to grant read permissions later. Default: - No principals that can read file asset.
|
|
23166
|
+
:param source_kms_key: The ARN of the KMS key used to encrypt the handler code. Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
|
|
23152
23167
|
:param asset_hash: Specify a custom hash for this asset. If ``assetHashType`` is set it must be set to ``AssetHashType.CUSTOM``. For consistency, this custom hash will be SHA256 hashed and encoded as hex. The resulting hash will be the asset hash. NOTE: the hash is used in order to identify a specific revision of the asset, and used for optimizing and caching deployment activities related to this asset such as packaging, uploading to Amazon S3, etc. If you chose to customize the hash, you will need to make sure it is updated every time the asset changes, or otherwise it is possible that some deployments will not be invalidated. Default: - based on ``assetHashType``
|
|
23153
23168
|
:param asset_hash_type: Specifies the type of hash to calculate for this asset. If ``assetHash`` is configured, this option must be ``undefined`` or ``AssetHashType.CUSTOM``. Default: - the default is ``AssetHashType.SOURCE``, but if ``assetHash`` is explicitly specified this value defaults to ``AssetHashType.CUSTOM``.
|
|
23154
23169
|
:param bundling: Bundle the asset by executing a command in a Docker container or a custom bundling provider. The asset path will be mounted at ``/asset-input``. The Docker container is responsible for putting content at ``/asset-output``. The content at ``/asset-output`` will be zipped and used as the final asset. Default: - uploaded as-is to S3 if the asset is a regular file or a .zip file, archived into a .zip file and uploaded to S3 otherwise
|
|
@@ -23162,6 +23177,7 @@ class AssetImportSource(
|
|
|
23162
23177
|
options = _AssetOptions_2aa69621(
|
|
23163
23178
|
deploy_time=deploy_time,
|
|
23164
23179
|
readers=readers,
|
|
23180
|
+
source_kms_key=source_kms_key,
|
|
23165
23181
|
asset_hash=asset_hash,
|
|
23166
23182
|
asset_hash_type=asset_hash_type,
|
|
23167
23183
|
bundling=bundling,
|
|
@@ -26238,6 +26254,7 @@ def _typecheckingstub__f5d4750ca4d7703f815ca46be8b91e46ea0b813f42846026dff63e00f
|
|
|
26238
26254
|
*,
|
|
26239
26255
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
26240
26256
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
26257
|
+
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
26241
26258
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
26242
26259
|
asset_hash_type: typing.Optional[_AssetHashType_05b67f2d] = None,
|
|
26243
26260
|
bundling: typing.Optional[typing.Union[_BundlingOptions_588cc936, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -26817,6 +26834,7 @@ def _typecheckingstub__62441d3d3228ae5fb69aaca12e603944f07f9335dae80f70ce3b04e8e
|
|
|
26817
26834
|
*,
|
|
26818
26835
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
26819
26836
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
26837
|
+
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
26820
26838
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
26821
26839
|
asset_hash_type: typing.Optional[_AssetHashType_05b67f2d] = None,
|
|
26822
26840
|
bundling: typing.Optional[typing.Union[_BundlingOptions_588cc936, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -247,7 +247,7 @@ class EdgeFunction(
|
|
|
247
247
|
:param role: Lambda execution role. This is the role that will be assumed by the function upon execution. It controls the permissions that the function will have. The Role must be assumable by the 'lambda.amazonaws.com' service principal. The default Role automatically has permissions granted for Lambda execution. If you provide a Role, you must add the relevant AWS managed policies yourself. The relevant managed policies are "service-role/AWSLambdaBasicExecutionRole" and "service-role/AWSLambdaVPCAccessExecutionRole". Default: - A unique role will be generated for this lambda function. Both supplied and generated roles can always be changed by calling ``addToRolePolicy``.
|
|
248
248
|
:param runtime_management_mode: Sets the runtime management configuration for a function's version. Default: Auto
|
|
249
249
|
:param security_groups: The list of security groups to associate with the Lambda's network interfaces. Only used if 'vpc' is supplied. Default: - If the function is placed within a VPC and a security group is not specified, either by this or securityGroup prop, a dedicated security group will be created for this function.
|
|
250
|
-
:param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported
|
|
250
|
+
:param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported for Java 11, Java 17, Python 3.12, Python 3.13, and .NET 8 runtime Default: - No snapstart
|
|
251
251
|
:param system_log_level: (deprecated) Sets the system log level for the function. Default: "INFO"
|
|
252
252
|
:param system_log_level_v2: Sets the system log level for the function. Default: SystemLogLevel.INFO
|
|
253
253
|
:param timeout: The function execution time (in seconds) after which Lambda terminates the function. Because the execution time affects cost, set this value based on the function's expected execution time. Default: Duration.seconds(3)
|
|
@@ -1079,7 +1079,7 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
|
|
|
1079
1079
|
:param role: Lambda execution role. This is the role that will be assumed by the function upon execution. It controls the permissions that the function will have. The Role must be assumable by the 'lambda.amazonaws.com' service principal. The default Role automatically has permissions granted for Lambda execution. If you provide a Role, you must add the relevant AWS managed policies yourself. The relevant managed policies are "service-role/AWSLambdaBasicExecutionRole" and "service-role/AWSLambdaVPCAccessExecutionRole". Default: - A unique role will be generated for this lambda function. Both supplied and generated roles can always be changed by calling ``addToRolePolicy``.
|
|
1080
1080
|
:param runtime_management_mode: Sets the runtime management configuration for a function's version. Default: Auto
|
|
1081
1081
|
:param security_groups: The list of security groups to associate with the Lambda's network interfaces. Only used if 'vpc' is supplied. Default: - If the function is placed within a VPC and a security group is not specified, either by this or securityGroup prop, a dedicated security group will be created for this function.
|
|
1082
|
-
:param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported
|
|
1082
|
+
:param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported for Java 11, Java 17, Python 3.12, Python 3.13, and .NET 8 runtime Default: - No snapstart
|
|
1083
1083
|
:param system_log_level: (deprecated) Sets the system log level for the function. Default: "INFO"
|
|
1084
1084
|
:param system_log_level_v2: Sets the system log level for the function. Default: SystemLogLevel.INFO
|
|
1085
1085
|
:param timeout: The function execution time (in seconds) after which Lambda terminates the function. Because the execution time affects cost, set this value based on the function's expected execution time. Default: Duration.seconds(3)
|
|
@@ -1804,7 +1804,7 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
|
|
|
1804
1804
|
def snap_start(self) -> typing.Optional[_SnapStartConf_2ffaa769]:
|
|
1805
1805
|
'''Enable SnapStart for Lambda Function.
|
|
1806
1806
|
|
|
1807
|
-
SnapStart is currently supported
|
|
1807
|
+
SnapStart is currently supported for Java 11, Java 17, Python 3.12, Python 3.13, and .NET 8 runtime
|
|
1808
1808
|
|
|
1809
1809
|
:default: - No snapstart
|
|
1810
1810
|
'''
|
|
@@ -2192,8 +2192,8 @@ class CfnFleet(
|
|
|
2192
2192
|
:param scope: Scope in which this resource is defined.
|
|
2193
2193
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2194
2194
|
:param base_capacity: The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
|
|
2195
|
-
:param compute_type: Information about the compute resources the compute fleet uses. Available values include:. - ``BUILD_GENERAL1_SMALL`` : Use up to
|
|
2196
|
-
:param environment_type: The environment type of the compute fleet. - The environment type ``ARM_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). - The environment type ``LINUX_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_GPU_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). - The environment type ``WINDOWS_SERVER_2019_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). - The environment type ``WINDOWS_SERVER_2022_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). For more information, see `Build environment compute types <https://docs.aws.amazon.com//codebuild/latest/userguide/build-env-ref-compute-types.html>`_ in the *AWS CodeBuild user guide* .
|
|
2195
|
+
:param compute_type: Information about the compute resources the compute fleet uses. Available values include:. - ``ATTRIBUTE_BASED_COMPUTE`` : Specify the amount of vCPUs, memory, disk space, and the type of machine. .. epigraph:: If you use ``ATTRIBUTE_BASED_COMPUTE`` , you must define your attributes by using ``computeConfiguration`` . AWS CodeBuild will select the cheapest instance that satisfies your specified attributes. For more information, see `Reserved capacity environment types <https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment-reserved-capacity.types>`_ in the *AWS CodeBuild User Guide* . - ``BUILD_GENERAL1_SMALL`` : Use up to 4 GiB memory and 2 vCPUs for builds. - ``BUILD_GENERAL1_MEDIUM`` : Use up to 8 GiB memory and 4 vCPUs for builds. - ``BUILD_GENERAL1_LARGE`` : Use up to 16 GiB memory and 8 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_XLARGE`` : Use up to 72 GiB memory and 36 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_2XLARGE`` : Use up to 144 GiB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed. - ``BUILD_LAMBDA_1GB`` : Use up to 1 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_2GB`` : Use up to 2 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_4GB`` : Use up to 4 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_8GB`` : Use up to 8 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_10GB`` : Use up to 10 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . If you use ``BUILD_GENERAL1_SMALL`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 4 GiB memory and 2 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 16 GiB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 4 GiB memory and 2 vCPUs on ARM-based processors for builds. If you use ``BUILD_GENERAL1_LARGE`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 16 GiB memory and 8 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 255 GiB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 16 GiB memory and 8 vCPUs on ARM-based processors for builds. For more information, see `On-demand environment types <https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types>`_ in the *AWS CodeBuild User Guide.*
|
|
2196
|
+
:param environment_type: The environment type of the compute fleet. - The environment type ``ARM_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). - The environment type ``LINUX_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_GPU_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). - The environment type ``MAC_ARM`` is available only in regions US East (Ohio), US East (N. Virginia), US West (Oregon), Europe (Frankfurt), and Asia Pacific (Sydney). - The environment type ``WINDOWS_SERVER_2019_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). - The environment type ``WINDOWS_SERVER_2022_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). For more information, see `Build environment compute types <https://docs.aws.amazon.com//codebuild/latest/userguide/build-env-ref-compute-types.html>`_ in the *AWS CodeBuild user guide* .
|
|
2197
2197
|
:param fleet_service_role: The service role associated with the compute fleet. For more information, see `Allow a user to add a permission policy for a fleet service role <https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html>`_ in the *AWS CodeBuild User Guide* .
|
|
2198
2198
|
:param fleet_vpc_config: Information about the VPC configuration that AWS CodeBuild accesses.
|
|
2199
2199
|
:param image_id: The Amazon Machine Image (AMI) of the compute fleet.
|
|
@@ -2516,8 +2516,8 @@ class CfnFleetProps:
|
|
|
2516
2516
|
'''Properties for defining a ``CfnFleet``.
|
|
2517
2517
|
|
|
2518
2518
|
:param base_capacity: The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
|
|
2519
|
-
:param compute_type: Information about the compute resources the compute fleet uses. Available values include:. - ``BUILD_GENERAL1_SMALL`` : Use up to
|
|
2520
|
-
:param environment_type: The environment type of the compute fleet. - The environment type ``ARM_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). - The environment type ``LINUX_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_GPU_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). - The environment type ``WINDOWS_SERVER_2019_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). - The environment type ``WINDOWS_SERVER_2022_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). For more information, see `Build environment compute types <https://docs.aws.amazon.com//codebuild/latest/userguide/build-env-ref-compute-types.html>`_ in the *AWS CodeBuild user guide* .
|
|
2519
|
+
:param compute_type: Information about the compute resources the compute fleet uses. Available values include:. - ``ATTRIBUTE_BASED_COMPUTE`` : Specify the amount of vCPUs, memory, disk space, and the type of machine. .. epigraph:: If you use ``ATTRIBUTE_BASED_COMPUTE`` , you must define your attributes by using ``computeConfiguration`` . AWS CodeBuild will select the cheapest instance that satisfies your specified attributes. For more information, see `Reserved capacity environment types <https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment-reserved-capacity.types>`_ in the *AWS CodeBuild User Guide* . - ``BUILD_GENERAL1_SMALL`` : Use up to 4 GiB memory and 2 vCPUs for builds. - ``BUILD_GENERAL1_MEDIUM`` : Use up to 8 GiB memory and 4 vCPUs for builds. - ``BUILD_GENERAL1_LARGE`` : Use up to 16 GiB memory and 8 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_XLARGE`` : Use up to 72 GiB memory and 36 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_2XLARGE`` : Use up to 144 GiB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed. - ``BUILD_LAMBDA_1GB`` : Use up to 1 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_2GB`` : Use up to 2 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_4GB`` : Use up to 4 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_8GB`` : Use up to 8 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_10GB`` : Use up to 10 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . If you use ``BUILD_GENERAL1_SMALL`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 4 GiB memory and 2 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 16 GiB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 4 GiB memory and 2 vCPUs on ARM-based processors for builds. If you use ``BUILD_GENERAL1_LARGE`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 16 GiB memory and 8 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 255 GiB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 16 GiB memory and 8 vCPUs on ARM-based processors for builds. For more information, see `On-demand environment types <https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types>`_ in the *AWS CodeBuild User Guide.*
|
|
2520
|
+
:param environment_type: The environment type of the compute fleet. - The environment type ``ARM_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). - The environment type ``LINUX_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_GPU_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). - The environment type ``MAC_ARM`` is available only in regions US East (Ohio), US East (N. Virginia), US West (Oregon), Europe (Frankfurt), and Asia Pacific (Sydney). - The environment type ``WINDOWS_SERVER_2019_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). - The environment type ``WINDOWS_SERVER_2022_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). For more information, see `Build environment compute types <https://docs.aws.amazon.com//codebuild/latest/userguide/build-env-ref-compute-types.html>`_ in the *AWS CodeBuild user guide* .
|
|
2521
2521
|
:param fleet_service_role: The service role associated with the compute fleet. For more information, see `Allow a user to add a permission policy for a fleet service role <https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html>`_ in the *AWS CodeBuild User Guide* .
|
|
2522
2522
|
:param fleet_vpc_config: Information about the VPC configuration that AWS CodeBuild accesses.
|
|
2523
2523
|
:param image_id: The Amazon Machine Image (AMI) of the compute fleet.
|
|
@@ -2597,25 +2597,36 @@ class CfnFleetProps:
|
|
|
2597
2597
|
def compute_type(self) -> typing.Optional[builtins.str]:
|
|
2598
2598
|
'''Information about the compute resources the compute fleet uses. Available values include:.
|
|
2599
2599
|
|
|
2600
|
-
- ``
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2600
|
+
- ``ATTRIBUTE_BASED_COMPUTE`` : Specify the amount of vCPUs, memory, disk space, and the type of machine.
|
|
2601
|
+
|
|
2602
|
+
.. epigraph::
|
|
2603
|
+
|
|
2604
|
+
If you use ``ATTRIBUTE_BASED_COMPUTE`` , you must define your attributes by using ``computeConfiguration`` . AWS CodeBuild will select the cheapest instance that satisfies your specified attributes. For more information, see `Reserved capacity environment types <https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment-reserved-capacity.types>`_ in the *AWS CodeBuild User Guide* .
|
|
2605
|
+
|
|
2606
|
+
- ``BUILD_GENERAL1_SMALL`` : Use up to 4 GiB memory and 2 vCPUs for builds.
|
|
2607
|
+
- ``BUILD_GENERAL1_MEDIUM`` : Use up to 8 GiB memory and 4 vCPUs for builds.
|
|
2608
|
+
- ``BUILD_GENERAL1_LARGE`` : Use up to 16 GiB memory and 8 vCPUs for builds, depending on your environment type.
|
|
2609
|
+
- ``BUILD_GENERAL1_XLARGE`` : Use up to 72 GiB memory and 36 vCPUs for builds, depending on your environment type.
|
|
2610
|
+
- ``BUILD_GENERAL1_2XLARGE`` : Use up to 144 GiB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed.
|
|
2611
|
+
- ``BUILD_LAMBDA_1GB`` : Use up to 1 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` .
|
|
2612
|
+
- ``BUILD_LAMBDA_2GB`` : Use up to 2 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` .
|
|
2613
|
+
- ``BUILD_LAMBDA_4GB`` : Use up to 4 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` .
|
|
2614
|
+
- ``BUILD_LAMBDA_8GB`` : Use up to 8 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` .
|
|
2615
|
+
- ``BUILD_LAMBDA_10GB`` : Use up to 10 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` .
|
|
2605
2616
|
|
|
2606
2617
|
If you use ``BUILD_GENERAL1_SMALL`` :
|
|
2607
2618
|
|
|
2608
|
-
- For environment type ``LINUX_CONTAINER`` , you can use up to
|
|
2609
|
-
- For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 16
|
|
2610
|
-
- For environment type ``ARM_CONTAINER`` , you can use up to 4
|
|
2619
|
+
- For environment type ``LINUX_CONTAINER`` , you can use up to 4 GiB memory and 2 vCPUs for builds.
|
|
2620
|
+
- For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 16 GiB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
|
|
2621
|
+
- For environment type ``ARM_CONTAINER`` , you can use up to 4 GiB memory and 2 vCPUs on ARM-based processors for builds.
|
|
2611
2622
|
|
|
2612
2623
|
If you use ``BUILD_GENERAL1_LARGE`` :
|
|
2613
2624
|
|
|
2614
|
-
- For environment type ``LINUX_CONTAINER`` , you can use up to
|
|
2615
|
-
- For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 255
|
|
2616
|
-
- For environment type ``ARM_CONTAINER`` , you can use up to 16
|
|
2625
|
+
- For environment type ``LINUX_CONTAINER`` , you can use up to 16 GiB memory and 8 vCPUs for builds.
|
|
2626
|
+
- For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 255 GiB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
|
|
2627
|
+
- For environment type ``ARM_CONTAINER`` , you can use up to 16 GiB memory and 8 vCPUs on ARM-based processors for builds.
|
|
2617
2628
|
|
|
2618
|
-
For more information, see `
|
|
2629
|
+
For more information, see `On-demand environment types <https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types>`_ in the *AWS CodeBuild User Guide.*
|
|
2619
2630
|
|
|
2620
2631
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-fleet.html#cfn-codebuild-fleet-computetype
|
|
2621
2632
|
'''
|
|
@@ -2629,6 +2640,7 @@ class CfnFleetProps:
|
|
|
2629
2640
|
- The environment type ``ARM_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo).
|
|
2630
2641
|
- The environment type ``LINUX_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai).
|
|
2631
2642
|
- The environment type ``LINUX_GPU_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney).
|
|
2643
|
+
- The environment type ``MAC_ARM`` is available only in regions US East (Ohio), US East (N. Virginia), US West (Oregon), Europe (Frankfurt), and Asia Pacific (Sydney).
|
|
2632
2644
|
- The environment type ``WINDOWS_SERVER_2019_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland).
|
|
2633
2645
|
- The environment type ``WINDOWS_SERVER_2022_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai).
|
|
2634
2646
|
|
|
@@ -3985,7 +3997,7 @@ class CfnProject(
|
|
|
3985
3997
|
) -> None:
|
|
3986
3998
|
'''``Environment`` is a property of the `AWS::CodeBuild::Project <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html>`_ resource that specifies the environment for an AWS CodeBuild project.
|
|
3987
3999
|
|
|
3988
|
-
:param compute_type: The type of compute environment. This determines the number of CPU cores and memory the build environment uses. Available values include: - ``BUILD_GENERAL1_SMALL`` : Use up to
|
|
4000
|
+
:param compute_type: The type of compute environment. This determines the number of CPU cores and memory the build environment uses. Available values include: - ``ATTRIBUTE_BASED_COMPUTE`` : Specify the amount of vCPUs, memory, disk space, and the type of machine. .. epigraph:: If you use ``ATTRIBUTE_BASED_COMPUTE`` , you must define your attributes by using ``computeConfiguration`` . AWS CodeBuild will select the cheapest instance that satisfies your specified attributes. For more information, see `Reserved capacity environment types <https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment-reserved-capacity.types>`_ in the *AWS CodeBuild User Guide* . - ``BUILD_GENERAL1_SMALL`` : Use up to 4 GiB memory and 2 vCPUs for builds. - ``BUILD_GENERAL1_MEDIUM`` : Use up to 8 GiB memory and 4 vCPUs for builds. - ``BUILD_GENERAL1_LARGE`` : Use up to 16 GiB memory and 8 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_XLARGE`` : Use up to 72 GiB memory and 36 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_2XLARGE`` : Use up to 144 GiB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed. - ``BUILD_LAMBDA_1GB`` : Use up to 1 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_2GB`` : Use up to 2 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_4GB`` : Use up to 4 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_8GB`` : Use up to 8 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_10GB`` : Use up to 10 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . If you use ``BUILD_GENERAL1_SMALL`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 4 GiB memory and 2 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 16 GiB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 4 GiB memory and 2 vCPUs on ARM-based processors for builds. If you use ``BUILD_GENERAL1_LARGE`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 16 GiB memory and 8 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 255 GiB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 16 GiB memory and 8 vCPUs on ARM-based processors for builds. For more information, see `On-demand environment types <https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types>`_ in the *AWS CodeBuild User Guide.*
|
|
3989
4001
|
:param image: The image tag or image digest that identifies the Docker image to use for this build project. Use the following formats: - For an image tag: ``<registry>/<repository>:<tag>`` . For example, in the Docker repository that CodeBuild uses to manage its Docker images, this would be ``aws/codebuild/standard:4.0`` . - For an image digest: ``<registry>/<repository>@<digest>`` . For example, to specify an image with the digest "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf," use ``<registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf`` . For more information, see `Docker images provided by CodeBuild <https://docs.aws.amazon.com//codebuild/latest/userguide/build-env-ref-available.html>`_ in the *AWS CodeBuild user guide* .
|
|
3990
4002
|
:param type: The type of build environment to use for related builds. - The environment type ``ARM_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Sydney), and EU (Frankfurt). - The environment type ``LINUX_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney), China (Beijing), and China (Ningxia). - The environment type ``LINUX_GPU_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney) , China (Beijing), and China (Ningxia). - The environment types ``ARM_LAMBDA_CONTAINER`` and ``LINUX_LAMBDA_CONTAINER`` are available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Mumbai), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo), EU (Frankfurt), EU (Ireland), and South America (São Paulo). - The environment types ``WINDOWS_CONTAINER`` and ``WINDOWS_SERVER_2019_CONTAINER`` are available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), and EU (Ireland). .. epigraph:: If you're using compute fleets during project creation, ``type`` will be ignored. For more information, see `Build environment compute types <https://docs.aws.amazon.com//codebuild/latest/userguide/build-env-ref-compute-types.html>`_ in the *AWS CodeBuild user guide* .
|
|
3991
4003
|
:param certificate: The ARN of the Amazon S3 bucket, path prefix, and object key that contains the PEM-encoded certificate for the build project. For more information, see `certificate <https://docs.aws.amazon.com/codebuild/latest/userguide/create-project-cli.html#cli.environment.certificate>`_ in the *AWS CodeBuild User Guide* .
|
|
@@ -4064,18 +4076,36 @@ class CfnProject(
|
|
|
4064
4076
|
|
|
4065
4077
|
This determines the number of CPU cores and memory the build environment uses. Available values include:
|
|
4066
4078
|
|
|
4067
|
-
- ``
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
- ``
|
|
4074
|
-
- ``
|
|
4075
|
-
- ``
|
|
4076
|
-
- ``
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
+
- ``ATTRIBUTE_BASED_COMPUTE`` : Specify the amount of vCPUs, memory, disk space, and the type of machine.
|
|
4080
|
+
|
|
4081
|
+
.. epigraph::
|
|
4082
|
+
|
|
4083
|
+
If you use ``ATTRIBUTE_BASED_COMPUTE`` , you must define your attributes by using ``computeConfiguration`` . AWS CodeBuild will select the cheapest instance that satisfies your specified attributes. For more information, see `Reserved capacity environment types <https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment-reserved-capacity.types>`_ in the *AWS CodeBuild User Guide* .
|
|
4084
|
+
|
|
4085
|
+
- ``BUILD_GENERAL1_SMALL`` : Use up to 4 GiB memory and 2 vCPUs for builds.
|
|
4086
|
+
- ``BUILD_GENERAL1_MEDIUM`` : Use up to 8 GiB memory and 4 vCPUs for builds.
|
|
4087
|
+
- ``BUILD_GENERAL1_LARGE`` : Use up to 16 GiB memory and 8 vCPUs for builds, depending on your environment type.
|
|
4088
|
+
- ``BUILD_GENERAL1_XLARGE`` : Use up to 72 GiB memory and 36 vCPUs for builds, depending on your environment type.
|
|
4089
|
+
- ``BUILD_GENERAL1_2XLARGE`` : Use up to 144 GiB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed.
|
|
4090
|
+
- ``BUILD_LAMBDA_1GB`` : Use up to 1 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` .
|
|
4091
|
+
- ``BUILD_LAMBDA_2GB`` : Use up to 2 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` .
|
|
4092
|
+
- ``BUILD_LAMBDA_4GB`` : Use up to 4 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` .
|
|
4093
|
+
- ``BUILD_LAMBDA_8GB`` : Use up to 8 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` .
|
|
4094
|
+
- ``BUILD_LAMBDA_10GB`` : Use up to 10 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` .
|
|
4095
|
+
|
|
4096
|
+
If you use ``BUILD_GENERAL1_SMALL`` :
|
|
4097
|
+
|
|
4098
|
+
- For environment type ``LINUX_CONTAINER`` , you can use up to 4 GiB memory and 2 vCPUs for builds.
|
|
4099
|
+
- For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 16 GiB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds.
|
|
4100
|
+
- For environment type ``ARM_CONTAINER`` , you can use up to 4 GiB memory and 2 vCPUs on ARM-based processors for builds.
|
|
4101
|
+
|
|
4102
|
+
If you use ``BUILD_GENERAL1_LARGE`` :
|
|
4103
|
+
|
|
4104
|
+
- For environment type ``LINUX_CONTAINER`` , you can use up to 16 GiB memory and 8 vCPUs for builds.
|
|
4105
|
+
- For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 255 GiB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds.
|
|
4106
|
+
- For environment type ``ARM_CONTAINER`` , you can use up to 16 GiB memory and 8 vCPUs on ARM-based processors for builds.
|
|
4107
|
+
|
|
4108
|
+
For more information, see `On-demand environment types <https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types>`_ in the *AWS CodeBuild User Guide.*
|
|
4079
4109
|
|
|
4080
4110
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-computetype
|
|
4081
4111
|
'''
|