aws-cdk-lib 2.143.0__py3-none-any.whl → 2.144.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/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.143.0.jsii.tgz → aws-cdk-lib@2.144.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +1 -0
- aws_cdk/aws_appconfig/__init__.py +132 -1
- aws_cdk/aws_bedrock/__init__.py +48 -0
- aws_cdk/aws_chatbot/__init__.py +111 -2
- aws_cdk/aws_cloudfront/experimental/__init__.py +65 -9
- aws_cdk/aws_codebuild/__init__.py +226 -0
- aws_cdk/aws_dynamodb/__init__.py +309 -3
- aws_cdk/aws_ec2/__init__.py +70 -28
- aws_cdk/aws_ecs_patterns/__init__.py +89 -7
- aws_cdk/aws_fsx/__init__.py +4 -4
- aws_cdk/aws_glue/__init__.py +39 -0
- aws_cdk/aws_lambda/__init__.py +593 -42
- aws_cdk/aws_lambda_nodejs/__init__.py +160 -13
- aws_cdk/aws_medialive/__init__.py +20 -2
- aws_cdk/aws_rds/__init__.py +27 -19
- aws_cdk/aws_s3/__init__.py +21 -0
- aws_cdk/aws_s3_deployment/__init__.py +3 -2
- aws_cdk/aws_stepfunctions/__init__.py +53 -24
- aws_cdk/aws_stepfunctions_tasks/__init__.py +763 -16
- aws_cdk/triggers/__init__.py +65 -9
- {aws_cdk_lib-2.143.0.dist-info → aws_cdk_lib-2.144.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.143.0.dist-info → aws_cdk_lib-2.144.0.dist-info}/RECORD +28 -28
- {aws_cdk_lib-2.143.0.dist-info → aws_cdk_lib-2.144.0.dist-info}/WHEEL +1 -1
- {aws_cdk_lib-2.143.0.dist-info → aws_cdk_lib-2.144.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.143.0.dist-info → aws_cdk_lib-2.144.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.143.0.dist-info → aws_cdk_lib-2.144.0.dist-info}/top_level.txt +0 -0
|
@@ -2039,7 +2039,14 @@ class CfnFleet(
|
|
|
2039
2039
|
base_capacity=123,
|
|
2040
2040
|
compute_type="computeType",
|
|
2041
2041
|
environment_type="environmentType",
|
|
2042
|
+
fleet_service_role="fleetServiceRole",
|
|
2043
|
+
fleet_vpc_config=codebuild.CfnFleet.VpcConfigProperty(
|
|
2044
|
+
security_group_ids=["securityGroupIds"],
|
|
2045
|
+
subnets=["subnets"],
|
|
2046
|
+
vpc_id="vpcId"
|
|
2047
|
+
),
|
|
2042
2048
|
name="name",
|
|
2049
|
+
overflow_behavior="overflowBehavior",
|
|
2043
2050
|
tags=[CfnTag(
|
|
2044
2051
|
key="key",
|
|
2045
2052
|
value="value"
|
|
@@ -2055,7 +2062,10 @@ class CfnFleet(
|
|
|
2055
2062
|
base_capacity: typing.Optional[jsii.Number] = None,
|
|
2056
2063
|
compute_type: typing.Optional[builtins.str] = None,
|
|
2057
2064
|
environment_type: typing.Optional[builtins.str] = None,
|
|
2065
|
+
fleet_service_role: typing.Optional[builtins.str] = None,
|
|
2066
|
+
fleet_vpc_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.VpcConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2058
2067
|
name: typing.Optional[builtins.str] = None,
|
|
2068
|
+
overflow_behavior: typing.Optional[builtins.str] = None,
|
|
2059
2069
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2060
2070
|
) -> None:
|
|
2061
2071
|
'''
|
|
@@ -2064,7 +2074,10 @@ class CfnFleet(
|
|
|
2064
2074
|
:param base_capacity: The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
|
|
2065
2075
|
:param compute_type: Information about the compute resources the compute fleet uses. Available values include:. - ``BUILD_GENERAL1_SMALL`` : Use up to 3 GB memory and 2 vCPUs for builds. - ``BUILD_GENERAL1_MEDIUM`` : Use up to 7 GB memory and 4 vCPUs for builds. - ``BUILD_GENERAL1_LARGE`` : Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_XLARGE`` : Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_2XLARGE`` : Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed. If you use ``BUILD_GENERAL1_SMALL`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 3 GB memory and 2 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 4 GB 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 15 GB memory and 8 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 16 GB memory and 8 vCPUs on ARM-based processors for builds. 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.*
|
|
2066
2076
|
: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* .
|
|
2077
|
+
:param fleet_service_role:
|
|
2078
|
+
:param fleet_vpc_config:
|
|
2067
2079
|
:param name: The name of the compute fleet.
|
|
2080
|
+
:param overflow_behavior:
|
|
2068
2081
|
:param tags: A list of tag key and value pairs associated with this compute fleet. These tags are available for use by AWS services that support AWS CodeBuild compute fleet tags.
|
|
2069
2082
|
'''
|
|
2070
2083
|
if __debug__:
|
|
@@ -2075,7 +2088,10 @@ class CfnFleet(
|
|
|
2075
2088
|
base_capacity=base_capacity,
|
|
2076
2089
|
compute_type=compute_type,
|
|
2077
2090
|
environment_type=environment_type,
|
|
2091
|
+
fleet_service_role=fleet_service_role,
|
|
2092
|
+
fleet_vpc_config=fleet_vpc_config,
|
|
2078
2093
|
name=name,
|
|
2094
|
+
overflow_behavior=overflow_behavior,
|
|
2079
2095
|
tags=tags,
|
|
2080
2096
|
)
|
|
2081
2097
|
|
|
@@ -2173,6 +2189,35 @@ class CfnFleet(
|
|
|
2173
2189
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2174
2190
|
jsii.set(self, "environmentType", value)
|
|
2175
2191
|
|
|
2192
|
+
@builtins.property
|
|
2193
|
+
@jsii.member(jsii_name="fleetServiceRole")
|
|
2194
|
+
def fleet_service_role(self) -> typing.Optional[builtins.str]:
|
|
2195
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "fleetServiceRole"))
|
|
2196
|
+
|
|
2197
|
+
@fleet_service_role.setter
|
|
2198
|
+
def fleet_service_role(self, value: typing.Optional[builtins.str]) -> None:
|
|
2199
|
+
if __debug__:
|
|
2200
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0b52d1cb270ba8d5003bf566dbe54e74e91dc4a1bb45f3b32037d9188035304a)
|
|
2201
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2202
|
+
jsii.set(self, "fleetServiceRole", value)
|
|
2203
|
+
|
|
2204
|
+
@builtins.property
|
|
2205
|
+
@jsii.member(jsii_name="fleetVpcConfig")
|
|
2206
|
+
def fleet_vpc_config(
|
|
2207
|
+
self,
|
|
2208
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.VpcConfigProperty"]]:
|
|
2209
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.VpcConfigProperty"]], jsii.get(self, "fleetVpcConfig"))
|
|
2210
|
+
|
|
2211
|
+
@fleet_vpc_config.setter
|
|
2212
|
+
def fleet_vpc_config(
|
|
2213
|
+
self,
|
|
2214
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.VpcConfigProperty"]],
|
|
2215
|
+
) -> None:
|
|
2216
|
+
if __debug__:
|
|
2217
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c66d1798050c93d95746b1057fb5b75bf773869be3796e773defefc3ad1bb1fc)
|
|
2218
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2219
|
+
jsii.set(self, "fleetVpcConfig", value)
|
|
2220
|
+
|
|
2176
2221
|
@builtins.property
|
|
2177
2222
|
@jsii.member(jsii_name="name")
|
|
2178
2223
|
def name(self) -> typing.Optional[builtins.str]:
|
|
@@ -2186,6 +2231,18 @@ class CfnFleet(
|
|
|
2186
2231
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2187
2232
|
jsii.set(self, "name", value)
|
|
2188
2233
|
|
|
2234
|
+
@builtins.property
|
|
2235
|
+
@jsii.member(jsii_name="overflowBehavior")
|
|
2236
|
+
def overflow_behavior(self) -> typing.Optional[builtins.str]:
|
|
2237
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "overflowBehavior"))
|
|
2238
|
+
|
|
2239
|
+
@overflow_behavior.setter
|
|
2240
|
+
def overflow_behavior(self, value: typing.Optional[builtins.str]) -> None:
|
|
2241
|
+
if __debug__:
|
|
2242
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bf36f41fa1ee306ba1e159a2bd108d828ec990d8ed85038c3b823cc85f71473d)
|
|
2243
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2244
|
+
jsii.set(self, "overflowBehavior", value)
|
|
2245
|
+
|
|
2189
2246
|
@builtins.property
|
|
2190
2247
|
@jsii.member(jsii_name="tags")
|
|
2191
2248
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -2199,6 +2256,91 @@ class CfnFleet(
|
|
|
2199
2256
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2200
2257
|
jsii.set(self, "tags", value)
|
|
2201
2258
|
|
|
2259
|
+
@jsii.data_type(
|
|
2260
|
+
jsii_type="aws-cdk-lib.aws_codebuild.CfnFleet.VpcConfigProperty",
|
|
2261
|
+
jsii_struct_bases=[],
|
|
2262
|
+
name_mapping={
|
|
2263
|
+
"security_group_ids": "securityGroupIds",
|
|
2264
|
+
"subnets": "subnets",
|
|
2265
|
+
"vpc_id": "vpcId",
|
|
2266
|
+
},
|
|
2267
|
+
)
|
|
2268
|
+
class VpcConfigProperty:
|
|
2269
|
+
def __init__(
|
|
2270
|
+
self,
|
|
2271
|
+
*,
|
|
2272
|
+
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2273
|
+
subnets: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2274
|
+
vpc_id: typing.Optional[builtins.str] = None,
|
|
2275
|
+
) -> None:
|
|
2276
|
+
'''
|
|
2277
|
+
:param security_group_ids:
|
|
2278
|
+
:param subnets:
|
|
2279
|
+
:param vpc_id:
|
|
2280
|
+
|
|
2281
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-vpcconfig.html
|
|
2282
|
+
:exampleMetadata: fixture=_generated
|
|
2283
|
+
|
|
2284
|
+
Example::
|
|
2285
|
+
|
|
2286
|
+
# The code below shows an example of how to instantiate this type.
|
|
2287
|
+
# The values are placeholders you should change.
|
|
2288
|
+
from aws_cdk import aws_codebuild as codebuild
|
|
2289
|
+
|
|
2290
|
+
vpc_config_property = codebuild.CfnFleet.VpcConfigProperty(
|
|
2291
|
+
security_group_ids=["securityGroupIds"],
|
|
2292
|
+
subnets=["subnets"],
|
|
2293
|
+
vpc_id="vpcId"
|
|
2294
|
+
)
|
|
2295
|
+
'''
|
|
2296
|
+
if __debug__:
|
|
2297
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6ba59299fe003e8819b5e5009d9de74accb150da03c0400a31b1d1f07a39fef1)
|
|
2298
|
+
check_type(argname="argument security_group_ids", value=security_group_ids, expected_type=type_hints["security_group_ids"])
|
|
2299
|
+
check_type(argname="argument subnets", value=subnets, expected_type=type_hints["subnets"])
|
|
2300
|
+
check_type(argname="argument vpc_id", value=vpc_id, expected_type=type_hints["vpc_id"])
|
|
2301
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2302
|
+
if security_group_ids is not None:
|
|
2303
|
+
self._values["security_group_ids"] = security_group_ids
|
|
2304
|
+
if subnets is not None:
|
|
2305
|
+
self._values["subnets"] = subnets
|
|
2306
|
+
if vpc_id is not None:
|
|
2307
|
+
self._values["vpc_id"] = vpc_id
|
|
2308
|
+
|
|
2309
|
+
@builtins.property
|
|
2310
|
+
def security_group_ids(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2311
|
+
'''
|
|
2312
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-vpcconfig.html#cfn-codebuild-fleet-vpcconfig-securitygroupids
|
|
2313
|
+
'''
|
|
2314
|
+
result = self._values.get("security_group_ids")
|
|
2315
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2316
|
+
|
|
2317
|
+
@builtins.property
|
|
2318
|
+
def subnets(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2319
|
+
'''
|
|
2320
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-vpcconfig.html#cfn-codebuild-fleet-vpcconfig-subnets
|
|
2321
|
+
'''
|
|
2322
|
+
result = self._values.get("subnets")
|
|
2323
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2324
|
+
|
|
2325
|
+
@builtins.property
|
|
2326
|
+
def vpc_id(self) -> typing.Optional[builtins.str]:
|
|
2327
|
+
'''
|
|
2328
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-vpcconfig.html#cfn-codebuild-fleet-vpcconfig-vpcid
|
|
2329
|
+
'''
|
|
2330
|
+
result = self._values.get("vpc_id")
|
|
2331
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2332
|
+
|
|
2333
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2334
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2335
|
+
|
|
2336
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2337
|
+
return not (rhs == self)
|
|
2338
|
+
|
|
2339
|
+
def __repr__(self) -> str:
|
|
2340
|
+
return "VpcConfigProperty(%s)" % ", ".join(
|
|
2341
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2342
|
+
)
|
|
2343
|
+
|
|
2202
2344
|
|
|
2203
2345
|
@jsii.data_type(
|
|
2204
2346
|
jsii_type="aws-cdk-lib.aws_codebuild.CfnFleetProps",
|
|
@@ -2207,7 +2349,10 @@ class CfnFleet(
|
|
|
2207
2349
|
"base_capacity": "baseCapacity",
|
|
2208
2350
|
"compute_type": "computeType",
|
|
2209
2351
|
"environment_type": "environmentType",
|
|
2352
|
+
"fleet_service_role": "fleetServiceRole",
|
|
2353
|
+
"fleet_vpc_config": "fleetVpcConfig",
|
|
2210
2354
|
"name": "name",
|
|
2355
|
+
"overflow_behavior": "overflowBehavior",
|
|
2211
2356
|
"tags": "tags",
|
|
2212
2357
|
},
|
|
2213
2358
|
)
|
|
@@ -2218,7 +2363,10 @@ class CfnFleetProps:
|
|
|
2218
2363
|
base_capacity: typing.Optional[jsii.Number] = None,
|
|
2219
2364
|
compute_type: typing.Optional[builtins.str] = None,
|
|
2220
2365
|
environment_type: typing.Optional[builtins.str] = None,
|
|
2366
|
+
fleet_service_role: typing.Optional[builtins.str] = None,
|
|
2367
|
+
fleet_vpc_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.VpcConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2221
2368
|
name: typing.Optional[builtins.str] = None,
|
|
2369
|
+
overflow_behavior: typing.Optional[builtins.str] = None,
|
|
2222
2370
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2223
2371
|
) -> None:
|
|
2224
2372
|
'''Properties for defining a ``CfnFleet``.
|
|
@@ -2226,7 +2374,10 @@ class CfnFleetProps:
|
|
|
2226
2374
|
:param base_capacity: The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
|
|
2227
2375
|
:param compute_type: Information about the compute resources the compute fleet uses. Available values include:. - ``BUILD_GENERAL1_SMALL`` : Use up to 3 GB memory and 2 vCPUs for builds. - ``BUILD_GENERAL1_MEDIUM`` : Use up to 7 GB memory and 4 vCPUs for builds. - ``BUILD_GENERAL1_LARGE`` : Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_XLARGE`` : Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_2XLARGE`` : Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed. If you use ``BUILD_GENERAL1_SMALL`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 3 GB memory and 2 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 4 GB 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 15 GB memory and 8 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 16 GB memory and 8 vCPUs on ARM-based processors for builds. 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.*
|
|
2228
2376
|
: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* .
|
|
2377
|
+
:param fleet_service_role:
|
|
2378
|
+
:param fleet_vpc_config:
|
|
2229
2379
|
:param name: The name of the compute fleet.
|
|
2380
|
+
:param overflow_behavior:
|
|
2230
2381
|
:param tags: A list of tag key and value pairs associated with this compute fleet. These tags are available for use by AWS services that support AWS CodeBuild compute fleet tags.
|
|
2231
2382
|
|
|
2232
2383
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-fleet.html
|
|
@@ -2242,7 +2393,14 @@ class CfnFleetProps:
|
|
|
2242
2393
|
base_capacity=123,
|
|
2243
2394
|
compute_type="computeType",
|
|
2244
2395
|
environment_type="environmentType",
|
|
2396
|
+
fleet_service_role="fleetServiceRole",
|
|
2397
|
+
fleet_vpc_config=codebuild.CfnFleet.VpcConfigProperty(
|
|
2398
|
+
security_group_ids=["securityGroupIds"],
|
|
2399
|
+
subnets=["subnets"],
|
|
2400
|
+
vpc_id="vpcId"
|
|
2401
|
+
),
|
|
2245
2402
|
name="name",
|
|
2403
|
+
overflow_behavior="overflowBehavior",
|
|
2246
2404
|
tags=[CfnTag(
|
|
2247
2405
|
key="key",
|
|
2248
2406
|
value="value"
|
|
@@ -2254,7 +2412,10 @@ class CfnFleetProps:
|
|
|
2254
2412
|
check_type(argname="argument base_capacity", value=base_capacity, expected_type=type_hints["base_capacity"])
|
|
2255
2413
|
check_type(argname="argument compute_type", value=compute_type, expected_type=type_hints["compute_type"])
|
|
2256
2414
|
check_type(argname="argument environment_type", value=environment_type, expected_type=type_hints["environment_type"])
|
|
2415
|
+
check_type(argname="argument fleet_service_role", value=fleet_service_role, expected_type=type_hints["fleet_service_role"])
|
|
2416
|
+
check_type(argname="argument fleet_vpc_config", value=fleet_vpc_config, expected_type=type_hints["fleet_vpc_config"])
|
|
2257
2417
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
2418
|
+
check_type(argname="argument overflow_behavior", value=overflow_behavior, expected_type=type_hints["overflow_behavior"])
|
|
2258
2419
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
2259
2420
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2260
2421
|
if base_capacity is not None:
|
|
@@ -2263,8 +2424,14 @@ class CfnFleetProps:
|
|
|
2263
2424
|
self._values["compute_type"] = compute_type
|
|
2264
2425
|
if environment_type is not None:
|
|
2265
2426
|
self._values["environment_type"] = environment_type
|
|
2427
|
+
if fleet_service_role is not None:
|
|
2428
|
+
self._values["fleet_service_role"] = fleet_service_role
|
|
2429
|
+
if fleet_vpc_config is not None:
|
|
2430
|
+
self._values["fleet_vpc_config"] = fleet_vpc_config
|
|
2266
2431
|
if name is not None:
|
|
2267
2432
|
self._values["name"] = name
|
|
2433
|
+
if overflow_behavior is not None:
|
|
2434
|
+
self._values["overflow_behavior"] = overflow_behavior
|
|
2268
2435
|
if tags is not None:
|
|
2269
2436
|
self._values["tags"] = tags
|
|
2270
2437
|
|
|
@@ -2323,6 +2490,24 @@ class CfnFleetProps:
|
|
|
2323
2490
|
result = self._values.get("environment_type")
|
|
2324
2491
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2325
2492
|
|
|
2493
|
+
@builtins.property
|
|
2494
|
+
def fleet_service_role(self) -> typing.Optional[builtins.str]:
|
|
2495
|
+
'''
|
|
2496
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-fleet.html#cfn-codebuild-fleet-fleetservicerole
|
|
2497
|
+
'''
|
|
2498
|
+
result = self._values.get("fleet_service_role")
|
|
2499
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2500
|
+
|
|
2501
|
+
@builtins.property
|
|
2502
|
+
def fleet_vpc_config(
|
|
2503
|
+
self,
|
|
2504
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFleet.VpcConfigProperty]]:
|
|
2505
|
+
'''
|
|
2506
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-fleet.html#cfn-codebuild-fleet-fleetvpcconfig
|
|
2507
|
+
'''
|
|
2508
|
+
result = self._values.get("fleet_vpc_config")
|
|
2509
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFleet.VpcConfigProperty]], result)
|
|
2510
|
+
|
|
2326
2511
|
@builtins.property
|
|
2327
2512
|
def name(self) -> typing.Optional[builtins.str]:
|
|
2328
2513
|
'''The name of the compute fleet.
|
|
@@ -2332,6 +2517,14 @@ class CfnFleetProps:
|
|
|
2332
2517
|
result = self._values.get("name")
|
|
2333
2518
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2334
2519
|
|
|
2520
|
+
@builtins.property
|
|
2521
|
+
def overflow_behavior(self) -> typing.Optional[builtins.str]:
|
|
2522
|
+
'''
|
|
2523
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-fleet.html#cfn-codebuild-fleet-overflowbehavior
|
|
2524
|
+
'''
|
|
2525
|
+
result = self._values.get("overflow_behavior")
|
|
2526
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2527
|
+
|
|
2335
2528
|
@builtins.property
|
|
2336
2529
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
2337
2530
|
'''A list of tag key and value pairs associated with this compute fleet.
|
|
@@ -16192,7 +16385,10 @@ def _typecheckingstub__081dd1a893dcfd34d3fe760e75a2377d2c6fbce3f4d815a8e141bcdc0
|
|
|
16192
16385
|
base_capacity: typing.Optional[jsii.Number] = None,
|
|
16193
16386
|
compute_type: typing.Optional[builtins.str] = None,
|
|
16194
16387
|
environment_type: typing.Optional[builtins.str] = None,
|
|
16388
|
+
fleet_service_role: typing.Optional[builtins.str] = None,
|
|
16389
|
+
fleet_vpc_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.VpcConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
16195
16390
|
name: typing.Optional[builtins.str] = None,
|
|
16391
|
+
overflow_behavior: typing.Optional[builtins.str] = None,
|
|
16196
16392
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
16197
16393
|
) -> None:
|
|
16198
16394
|
"""Type checking stubs"""
|
|
@@ -16228,24 +16424,54 @@ def _typecheckingstub__4d5a42169d2cc02d25a87396b652a3dc9007739395cd74f9639d93a05
|
|
|
16228
16424
|
"""Type checking stubs"""
|
|
16229
16425
|
pass
|
|
16230
16426
|
|
|
16427
|
+
def _typecheckingstub__0b52d1cb270ba8d5003bf566dbe54e74e91dc4a1bb45f3b32037d9188035304a(
|
|
16428
|
+
value: typing.Optional[builtins.str],
|
|
16429
|
+
) -> None:
|
|
16430
|
+
"""Type checking stubs"""
|
|
16431
|
+
pass
|
|
16432
|
+
|
|
16433
|
+
def _typecheckingstub__c66d1798050c93d95746b1057fb5b75bf773869be3796e773defefc3ad1bb1fc(
|
|
16434
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFleet.VpcConfigProperty]],
|
|
16435
|
+
) -> None:
|
|
16436
|
+
"""Type checking stubs"""
|
|
16437
|
+
pass
|
|
16438
|
+
|
|
16231
16439
|
def _typecheckingstub__81a1c2090a083488d8e471132fa655912efe0a0fbc6ff93d4665fff305cc8b48(
|
|
16232
16440
|
value: typing.Optional[builtins.str],
|
|
16233
16441
|
) -> None:
|
|
16234
16442
|
"""Type checking stubs"""
|
|
16235
16443
|
pass
|
|
16236
16444
|
|
|
16445
|
+
def _typecheckingstub__bf36f41fa1ee306ba1e159a2bd108d828ec990d8ed85038c3b823cc85f71473d(
|
|
16446
|
+
value: typing.Optional[builtins.str],
|
|
16447
|
+
) -> None:
|
|
16448
|
+
"""Type checking stubs"""
|
|
16449
|
+
pass
|
|
16450
|
+
|
|
16237
16451
|
def _typecheckingstub__dd8d232a7a18b97fcd2d21d60ea770b5fdd85dd8808e961cb9b071d34e6af4ee(
|
|
16238
16452
|
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
16239
16453
|
) -> None:
|
|
16240
16454
|
"""Type checking stubs"""
|
|
16241
16455
|
pass
|
|
16242
16456
|
|
|
16457
|
+
def _typecheckingstub__6ba59299fe003e8819b5e5009d9de74accb150da03c0400a31b1d1f07a39fef1(
|
|
16458
|
+
*,
|
|
16459
|
+
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
16460
|
+
subnets: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
16461
|
+
vpc_id: typing.Optional[builtins.str] = None,
|
|
16462
|
+
) -> None:
|
|
16463
|
+
"""Type checking stubs"""
|
|
16464
|
+
pass
|
|
16465
|
+
|
|
16243
16466
|
def _typecheckingstub__0f3b2fbc34cebb084c954d70b833a508d545b12a4280ff0f8020065e729f8b06(
|
|
16244
16467
|
*,
|
|
16245
16468
|
base_capacity: typing.Optional[jsii.Number] = None,
|
|
16246
16469
|
compute_type: typing.Optional[builtins.str] = None,
|
|
16247
16470
|
environment_type: typing.Optional[builtins.str] = None,
|
|
16471
|
+
fleet_service_role: typing.Optional[builtins.str] = None,
|
|
16472
|
+
fleet_vpc_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.VpcConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
16248
16473
|
name: typing.Optional[builtins.str] = None,
|
|
16474
|
+
overflow_behavior: typing.Optional[builtins.str] = None,
|
|
16249
16475
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
16250
16476
|
) -> None:
|
|
16251
16477
|
"""Type checking stubs"""
|