aws-cdk-lib 2.171.0__py3-none-any.whl → 2.172.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 +471 -161
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.171.0.jsii.tgz → aws-cdk-lib@2.172.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +1314 -124
- aws_cdk/aws_appsync/__init__.py +159 -136
- aws_cdk/aws_autoscaling/__init__.py +81 -24
- aws_cdk/aws_bedrock/__init__.py +48 -0
- aws_cdk/aws_chatbot/__init__.py +775 -0
- aws_cdk/aws_cloudformation/__init__.py +240 -159
- aws_cdk/aws_cloudfront/__init__.py +11 -5
- aws_cdk/aws_cloudtrail/__init__.py +753 -0
- aws_cdk/aws_cognito/__init__.py +825 -4
- aws_cdk/aws_connect/__init__.py +429 -0
- aws_cdk/aws_customerprofiles/__init__.py +3148 -0
- aws_cdk/aws_ec2/__init__.py +872 -5
- aws_cdk/aws_ecs/__init__.py +12 -7
- aws_cdk/aws_eks/__init__.py +709 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +309 -55
- aws_cdk/aws_events/__init__.py +515 -8
- aws_cdk/aws_iot/__init__.py +42 -4
- aws_cdk/aws_iotfleetwise/__init__.py +510 -0
- aws_cdk/aws_iotsitewise/__init__.py +156 -0
- aws_cdk/aws_lambda/__init__.py +14 -8
- aws_cdk/aws_lambda_event_sources/__init__.py +2 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +11 -11
- aws_cdk/aws_m2/__init__.py +289 -0
- aws_cdk/aws_mwaa/__init__.py +6 -6
- aws_cdk/aws_opensearchserverless/__init__.py +249 -1
- aws_cdk/aws_pipes/__init__.py +14 -30
- aws_cdk/aws_qbusiness/__init__.py +3 -1
- aws_cdk/aws_quicksight/__init__.py +8270 -10
- aws_cdk/aws_rbin/__init__.py +53 -34
- aws_cdk/aws_rds/__init__.py +140 -8
- aws_cdk/aws_resourcegroups/__init__.py +349 -0
- aws_cdk/aws_route53_targets/__init__.py +82 -0
- aws_cdk/aws_route53resolver/__init__.py +15 -6
- aws_cdk/aws_s3express/__init__.py +403 -2
- aws_cdk/aws_sagemaker/__init__.py +124 -112
- aws_cdk/aws_ses/__init__.py +79 -41
- aws_cdk/aws_wisdom/__init__.py +4713 -172
- aws_cdk/aws_workspacesweb/__init__.py +1024 -0
- {aws_cdk_lib-2.171.0.dist-info → aws_cdk_lib-2.172.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.171.0.dist-info → aws_cdk_lib-2.172.0.dist-info}/RECORD +47 -47
- {aws_cdk_lib-2.171.0.dist-info → aws_cdk_lib-2.172.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.171.0.dist-info → aws_cdk_lib-2.172.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.171.0.dist-info → aws_cdk_lib-2.172.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.171.0.dist-info → aws_cdk_lib-2.172.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_appsync/__init__.py
CHANGED
|
@@ -12944,131 +12944,6 @@ class HttpDataSourceOptions(DataSourceOptions):
|
|
|
12944
12944
|
)
|
|
12945
12945
|
|
|
12946
12946
|
|
|
12947
|
-
@jsii.data_type(
|
|
12948
|
-
jsii_type="aws-cdk-lib.aws_appsync.HttpDataSourceProps",
|
|
12949
|
-
jsii_struct_bases=[BaseDataSourceProps],
|
|
12950
|
-
name_mapping={
|
|
12951
|
-
"api": "api",
|
|
12952
|
-
"description": "description",
|
|
12953
|
-
"name": "name",
|
|
12954
|
-
"endpoint": "endpoint",
|
|
12955
|
-
"authorization_config": "authorizationConfig",
|
|
12956
|
-
},
|
|
12957
|
-
)
|
|
12958
|
-
class HttpDataSourceProps(BaseDataSourceProps):
|
|
12959
|
-
def __init__(
|
|
12960
|
-
self,
|
|
12961
|
-
*,
|
|
12962
|
-
api: "IGraphqlApi",
|
|
12963
|
-
description: typing.Optional[builtins.str] = None,
|
|
12964
|
-
name: typing.Optional[builtins.str] = None,
|
|
12965
|
-
endpoint: builtins.str,
|
|
12966
|
-
authorization_config: typing.Optional[typing.Union[AwsIamConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
12967
|
-
) -> None:
|
|
12968
|
-
'''Properties for an AppSync http datasource.
|
|
12969
|
-
|
|
12970
|
-
:param api: The API to attach this data source to.
|
|
12971
|
-
:param description: the description of the data source. Default: - None
|
|
12972
|
-
:param name: The name of the data source. Default: - id of data source
|
|
12973
|
-
:param endpoint: The http endpoint.
|
|
12974
|
-
:param authorization_config: The authorization config in case the HTTP endpoint requires authorization. Default: - none
|
|
12975
|
-
|
|
12976
|
-
:exampleMetadata: fixture=_generated
|
|
12977
|
-
|
|
12978
|
-
Example::
|
|
12979
|
-
|
|
12980
|
-
# The code below shows an example of how to instantiate this type.
|
|
12981
|
-
# The values are placeholders you should change.
|
|
12982
|
-
from aws_cdk import aws_appsync as appsync
|
|
12983
|
-
|
|
12984
|
-
# graphql_api: appsync.GraphqlApi
|
|
12985
|
-
|
|
12986
|
-
http_data_source_props = appsync.HttpDataSourceProps(
|
|
12987
|
-
api=graphql_api,
|
|
12988
|
-
endpoint="endpoint",
|
|
12989
|
-
|
|
12990
|
-
# the properties below are optional
|
|
12991
|
-
authorization_config=appsync.AwsIamConfig(
|
|
12992
|
-
signing_region="signingRegion",
|
|
12993
|
-
signing_service_name="signingServiceName"
|
|
12994
|
-
),
|
|
12995
|
-
description="description",
|
|
12996
|
-
name="name"
|
|
12997
|
-
)
|
|
12998
|
-
'''
|
|
12999
|
-
if isinstance(authorization_config, dict):
|
|
13000
|
-
authorization_config = AwsIamConfig(**authorization_config)
|
|
13001
|
-
if __debug__:
|
|
13002
|
-
type_hints = typing.get_type_hints(_typecheckingstub__91183bd6fd5a10b6ae91fe2450b1ca1b99e291ac5b272e3c6ccfffaa26a2b05a)
|
|
13003
|
-
check_type(argname="argument api", value=api, expected_type=type_hints["api"])
|
|
13004
|
-
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
13005
|
-
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
13006
|
-
check_type(argname="argument endpoint", value=endpoint, expected_type=type_hints["endpoint"])
|
|
13007
|
-
check_type(argname="argument authorization_config", value=authorization_config, expected_type=type_hints["authorization_config"])
|
|
13008
|
-
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
13009
|
-
"api": api,
|
|
13010
|
-
"endpoint": endpoint,
|
|
13011
|
-
}
|
|
13012
|
-
if description is not None:
|
|
13013
|
-
self._values["description"] = description
|
|
13014
|
-
if name is not None:
|
|
13015
|
-
self._values["name"] = name
|
|
13016
|
-
if authorization_config is not None:
|
|
13017
|
-
self._values["authorization_config"] = authorization_config
|
|
13018
|
-
|
|
13019
|
-
@builtins.property
|
|
13020
|
-
def api(self) -> "IGraphqlApi":
|
|
13021
|
-
'''The API to attach this data source to.'''
|
|
13022
|
-
result = self._values.get("api")
|
|
13023
|
-
assert result is not None, "Required property 'api' is missing"
|
|
13024
|
-
return typing.cast("IGraphqlApi", result)
|
|
13025
|
-
|
|
13026
|
-
@builtins.property
|
|
13027
|
-
def description(self) -> typing.Optional[builtins.str]:
|
|
13028
|
-
'''the description of the data source.
|
|
13029
|
-
|
|
13030
|
-
:default: - None
|
|
13031
|
-
'''
|
|
13032
|
-
result = self._values.get("description")
|
|
13033
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
13034
|
-
|
|
13035
|
-
@builtins.property
|
|
13036
|
-
def name(self) -> typing.Optional[builtins.str]:
|
|
13037
|
-
'''The name of the data source.
|
|
13038
|
-
|
|
13039
|
-
:default: - id of data source
|
|
13040
|
-
'''
|
|
13041
|
-
result = self._values.get("name")
|
|
13042
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
13043
|
-
|
|
13044
|
-
@builtins.property
|
|
13045
|
-
def endpoint(self) -> builtins.str:
|
|
13046
|
-
'''The http endpoint.'''
|
|
13047
|
-
result = self._values.get("endpoint")
|
|
13048
|
-
assert result is not None, "Required property 'endpoint' is missing"
|
|
13049
|
-
return typing.cast(builtins.str, result)
|
|
13050
|
-
|
|
13051
|
-
@builtins.property
|
|
13052
|
-
def authorization_config(self) -> typing.Optional[AwsIamConfig]:
|
|
13053
|
-
'''The authorization config in case the HTTP endpoint requires authorization.
|
|
13054
|
-
|
|
13055
|
-
:default: - none
|
|
13056
|
-
'''
|
|
13057
|
-
result = self._values.get("authorization_config")
|
|
13058
|
-
return typing.cast(typing.Optional[AwsIamConfig], result)
|
|
13059
|
-
|
|
13060
|
-
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
13061
|
-
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
13062
|
-
|
|
13063
|
-
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
13064
|
-
return not (rhs == self)
|
|
13065
|
-
|
|
13066
|
-
def __repr__(self) -> str:
|
|
13067
|
-
return "HttpDataSourceProps(%s)" % ", ".join(
|
|
13068
|
-
k + "=" + repr(v) for k, v in self._values.items()
|
|
13069
|
-
)
|
|
13070
|
-
|
|
13071
|
-
|
|
13072
12947
|
@jsii.interface(jsii_type="aws-cdk-lib.aws_appsync.IAppsyncFunction")
|
|
13073
12948
|
class IAppsyncFunction(_IResource_c80c4260, typing_extensions.Protocol):
|
|
13074
12949
|
'''Interface for AppSync Functions.'''
|
|
@@ -18317,6 +18192,7 @@ class HttpDataSource(
|
|
|
18317
18192
|
*,
|
|
18318
18193
|
endpoint: builtins.str,
|
|
18319
18194
|
authorization_config: typing.Optional[typing.Union[AwsIamConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
18195
|
+
service_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
18320
18196
|
api: IGraphqlApi,
|
|
18321
18197
|
description: typing.Optional[builtins.str] = None,
|
|
18322
18198
|
name: typing.Optional[builtins.str] = None,
|
|
@@ -18326,6 +18202,7 @@ class HttpDataSource(
|
|
|
18326
18202
|
:param id: -
|
|
18327
18203
|
:param endpoint: The http endpoint.
|
|
18328
18204
|
:param authorization_config: The authorization config in case the HTTP endpoint requires authorization. Default: - none
|
|
18205
|
+
:param service_role: The IAM service role to be assumed by AppSync to interact with the data source. Default: - Create a new role
|
|
18329
18206
|
:param api: The API to attach this data source to.
|
|
18330
18207
|
:param description: the description of the data source. Default: - None
|
|
18331
18208
|
:param name: The name of the data source. Default: - id of data source
|
|
@@ -18337,6 +18214,7 @@ class HttpDataSource(
|
|
|
18337
18214
|
props = HttpDataSourceProps(
|
|
18338
18215
|
endpoint=endpoint,
|
|
18339
18216
|
authorization_config=authorization_config,
|
|
18217
|
+
service_role=service_role,
|
|
18340
18218
|
api=api,
|
|
18341
18219
|
description=description,
|
|
18342
18220
|
name=name,
|
|
@@ -18345,6 +18223,149 @@ class HttpDataSource(
|
|
|
18345
18223
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
18346
18224
|
|
|
18347
18225
|
|
|
18226
|
+
@jsii.data_type(
|
|
18227
|
+
jsii_type="aws-cdk-lib.aws_appsync.HttpDataSourceProps",
|
|
18228
|
+
jsii_struct_bases=[BackedDataSourceProps],
|
|
18229
|
+
name_mapping={
|
|
18230
|
+
"api": "api",
|
|
18231
|
+
"description": "description",
|
|
18232
|
+
"name": "name",
|
|
18233
|
+
"service_role": "serviceRole",
|
|
18234
|
+
"endpoint": "endpoint",
|
|
18235
|
+
"authorization_config": "authorizationConfig",
|
|
18236
|
+
},
|
|
18237
|
+
)
|
|
18238
|
+
class HttpDataSourceProps(BackedDataSourceProps):
|
|
18239
|
+
def __init__(
|
|
18240
|
+
self,
|
|
18241
|
+
*,
|
|
18242
|
+
api: IGraphqlApi,
|
|
18243
|
+
description: typing.Optional[builtins.str] = None,
|
|
18244
|
+
name: typing.Optional[builtins.str] = None,
|
|
18245
|
+
service_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
18246
|
+
endpoint: builtins.str,
|
|
18247
|
+
authorization_config: typing.Optional[typing.Union[AwsIamConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
18248
|
+
) -> None:
|
|
18249
|
+
'''Properties for an AppSync http datasource.
|
|
18250
|
+
|
|
18251
|
+
:param api: The API to attach this data source to.
|
|
18252
|
+
:param description: the description of the data source. Default: - None
|
|
18253
|
+
:param name: The name of the data source. Default: - id of data source
|
|
18254
|
+
:param service_role: The IAM service role to be assumed by AppSync to interact with the data source. Default: - Create a new role
|
|
18255
|
+
:param endpoint: The http endpoint.
|
|
18256
|
+
:param authorization_config: The authorization config in case the HTTP endpoint requires authorization. Default: - none
|
|
18257
|
+
|
|
18258
|
+
:exampleMetadata: fixture=_generated
|
|
18259
|
+
|
|
18260
|
+
Example::
|
|
18261
|
+
|
|
18262
|
+
# The code below shows an example of how to instantiate this type.
|
|
18263
|
+
# The values are placeholders you should change.
|
|
18264
|
+
from aws_cdk import aws_appsync as appsync
|
|
18265
|
+
from aws_cdk import aws_iam as iam
|
|
18266
|
+
|
|
18267
|
+
# graphql_api: appsync.GraphqlApi
|
|
18268
|
+
# role: iam.Role
|
|
18269
|
+
|
|
18270
|
+
http_data_source_props = appsync.HttpDataSourceProps(
|
|
18271
|
+
api=graphql_api,
|
|
18272
|
+
endpoint="endpoint",
|
|
18273
|
+
|
|
18274
|
+
# the properties below are optional
|
|
18275
|
+
authorization_config=appsync.AwsIamConfig(
|
|
18276
|
+
signing_region="signingRegion",
|
|
18277
|
+
signing_service_name="signingServiceName"
|
|
18278
|
+
),
|
|
18279
|
+
description="description",
|
|
18280
|
+
name="name",
|
|
18281
|
+
service_role=role
|
|
18282
|
+
)
|
|
18283
|
+
'''
|
|
18284
|
+
if isinstance(authorization_config, dict):
|
|
18285
|
+
authorization_config = AwsIamConfig(**authorization_config)
|
|
18286
|
+
if __debug__:
|
|
18287
|
+
type_hints = typing.get_type_hints(_typecheckingstub__91183bd6fd5a10b6ae91fe2450b1ca1b99e291ac5b272e3c6ccfffaa26a2b05a)
|
|
18288
|
+
check_type(argname="argument api", value=api, expected_type=type_hints["api"])
|
|
18289
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
18290
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
18291
|
+
check_type(argname="argument service_role", value=service_role, expected_type=type_hints["service_role"])
|
|
18292
|
+
check_type(argname="argument endpoint", value=endpoint, expected_type=type_hints["endpoint"])
|
|
18293
|
+
check_type(argname="argument authorization_config", value=authorization_config, expected_type=type_hints["authorization_config"])
|
|
18294
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
18295
|
+
"api": api,
|
|
18296
|
+
"endpoint": endpoint,
|
|
18297
|
+
}
|
|
18298
|
+
if description is not None:
|
|
18299
|
+
self._values["description"] = description
|
|
18300
|
+
if name is not None:
|
|
18301
|
+
self._values["name"] = name
|
|
18302
|
+
if service_role is not None:
|
|
18303
|
+
self._values["service_role"] = service_role
|
|
18304
|
+
if authorization_config is not None:
|
|
18305
|
+
self._values["authorization_config"] = authorization_config
|
|
18306
|
+
|
|
18307
|
+
@builtins.property
|
|
18308
|
+
def api(self) -> IGraphqlApi:
|
|
18309
|
+
'''The API to attach this data source to.'''
|
|
18310
|
+
result = self._values.get("api")
|
|
18311
|
+
assert result is not None, "Required property 'api' is missing"
|
|
18312
|
+
return typing.cast(IGraphqlApi, result)
|
|
18313
|
+
|
|
18314
|
+
@builtins.property
|
|
18315
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
18316
|
+
'''the description of the data source.
|
|
18317
|
+
|
|
18318
|
+
:default: - None
|
|
18319
|
+
'''
|
|
18320
|
+
result = self._values.get("description")
|
|
18321
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
18322
|
+
|
|
18323
|
+
@builtins.property
|
|
18324
|
+
def name(self) -> typing.Optional[builtins.str]:
|
|
18325
|
+
'''The name of the data source.
|
|
18326
|
+
|
|
18327
|
+
:default: - id of data source
|
|
18328
|
+
'''
|
|
18329
|
+
result = self._values.get("name")
|
|
18330
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
18331
|
+
|
|
18332
|
+
@builtins.property
|
|
18333
|
+
def service_role(self) -> typing.Optional[_IRole_235f5d8e]:
|
|
18334
|
+
'''The IAM service role to be assumed by AppSync to interact with the data source.
|
|
18335
|
+
|
|
18336
|
+
:default: - Create a new role
|
|
18337
|
+
'''
|
|
18338
|
+
result = self._values.get("service_role")
|
|
18339
|
+
return typing.cast(typing.Optional[_IRole_235f5d8e], result)
|
|
18340
|
+
|
|
18341
|
+
@builtins.property
|
|
18342
|
+
def endpoint(self) -> builtins.str:
|
|
18343
|
+
'''The http endpoint.'''
|
|
18344
|
+
result = self._values.get("endpoint")
|
|
18345
|
+
assert result is not None, "Required property 'endpoint' is missing"
|
|
18346
|
+
return typing.cast(builtins.str, result)
|
|
18347
|
+
|
|
18348
|
+
@builtins.property
|
|
18349
|
+
def authorization_config(self) -> typing.Optional[AwsIamConfig]:
|
|
18350
|
+
'''The authorization config in case the HTTP endpoint requires authorization.
|
|
18351
|
+
|
|
18352
|
+
:default: - none
|
|
18353
|
+
'''
|
|
18354
|
+
result = self._values.get("authorization_config")
|
|
18355
|
+
return typing.cast(typing.Optional[AwsIamConfig], result)
|
|
18356
|
+
|
|
18357
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
18358
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
18359
|
+
|
|
18360
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
18361
|
+
return not (rhs == self)
|
|
18362
|
+
|
|
18363
|
+
def __repr__(self) -> str:
|
|
18364
|
+
return "HttpDataSourceProps(%s)" % ", ".join(
|
|
18365
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
18366
|
+
)
|
|
18367
|
+
|
|
18368
|
+
|
|
18348
18369
|
class LambdaDataSource(
|
|
18349
18370
|
BackedDataSource,
|
|
18350
18371
|
metaclass=jsii.JSIIMeta,
|
|
@@ -21254,17 +21275,6 @@ def _typecheckingstub__892de8c32b5ee5c6cb5e65bc4b597f67297f1f675b608821b733eb959
|
|
|
21254
21275
|
"""Type checking stubs"""
|
|
21255
21276
|
pass
|
|
21256
21277
|
|
|
21257
|
-
def _typecheckingstub__91183bd6fd5a10b6ae91fe2450b1ca1b99e291ac5b272e3c6ccfffaa26a2b05a(
|
|
21258
|
-
*,
|
|
21259
|
-
api: IGraphqlApi,
|
|
21260
|
-
description: typing.Optional[builtins.str] = None,
|
|
21261
|
-
name: typing.Optional[builtins.str] = None,
|
|
21262
|
-
endpoint: builtins.str,
|
|
21263
|
-
authorization_config: typing.Optional[typing.Union[AwsIamConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
21264
|
-
) -> None:
|
|
21265
|
-
"""Type checking stubs"""
|
|
21266
|
-
pass
|
|
21267
|
-
|
|
21268
21278
|
def _typecheckingstub__43da9ca276f601968eabc2575ce6745ba4152bbf47201270933feda5452ce68a(
|
|
21269
21279
|
id: builtins.str,
|
|
21270
21280
|
table: _ITable_504fd401,
|
|
@@ -22139,9 +22149,22 @@ def _typecheckingstub__08c251fa7555c0770f24a577dcd59d2f51898cf46299807eda335998d
|
|
|
22139
22149
|
*,
|
|
22140
22150
|
endpoint: builtins.str,
|
|
22141
22151
|
authorization_config: typing.Optional[typing.Union[AwsIamConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
22152
|
+
service_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
22153
|
+
api: IGraphqlApi,
|
|
22154
|
+
description: typing.Optional[builtins.str] = None,
|
|
22155
|
+
name: typing.Optional[builtins.str] = None,
|
|
22156
|
+
) -> None:
|
|
22157
|
+
"""Type checking stubs"""
|
|
22158
|
+
pass
|
|
22159
|
+
|
|
22160
|
+
def _typecheckingstub__91183bd6fd5a10b6ae91fe2450b1ca1b99e291ac5b272e3c6ccfffaa26a2b05a(
|
|
22161
|
+
*,
|
|
22142
22162
|
api: IGraphqlApi,
|
|
22143
22163
|
description: typing.Optional[builtins.str] = None,
|
|
22144
22164
|
name: typing.Optional[builtins.str] = None,
|
|
22165
|
+
service_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
22166
|
+
endpoint: builtins.str,
|
|
22167
|
+
authorization_config: typing.Optional[typing.Union[AwsIamConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
22145
22168
|
) -> None:
|
|
22146
22169
|
"""Type checking stubs"""
|
|
22147
22170
|
pass
|
|
@@ -2607,7 +2607,7 @@ class CfnAutoScalingGroup(
|
|
|
2607
2607
|
:param availability_zone_impairment_policy: The Availability Zone impairment policy.
|
|
2608
2608
|
:param availability_zones: A list of Availability Zones where instances in the Auto Scaling group can be created. Used for launching into the default VPC subnet in each Availability Zone when not using the ``VPCZoneIdentifier`` property, or for attaching a network interface when an existing network interface ID is specified in a launch template.
|
|
2609
2609
|
:param capacity_rebalance: Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see `Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-capacity-rebalancing.html>`_ in the in the *Amazon EC2 Auto Scaling User Guide* .
|
|
2610
|
-
:param capacity_reservation_specification:
|
|
2610
|
+
:param capacity_reservation_specification: The capacity reservation specification.
|
|
2611
2611
|
:param context: Reserved.
|
|
2612
2612
|
:param cooldown: *Only needed if you use simple scaling policies.*. The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see `Scaling cooldowns for Amazon EC2 Auto Scaling <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html>`_ in the *Amazon EC2 Auto Scaling User Guide* . Default: ``300`` seconds
|
|
2613
2613
|
:param default_instance_warmup: The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the ``InService`` state. During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up period before aggregating the metrics for new instances with existing instances in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage data. For more information, see `Set the default instance warmup for an Auto Scaling group <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-default-instance-warmup.html>`_ in the *Amazon EC2 Auto Scaling User Guide* . .. epigraph:: To manage various warm-up settings at the group level, we recommend that you set the default instance warmup, *even if it is set to 0 seconds* . To remove a value that you previously set, include the property but specify ``-1`` for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of ``0`` or other nominal value. Default: None
|
|
@@ -2838,6 +2838,7 @@ class CfnAutoScalingGroup(
|
|
|
2838
2838
|
def capacity_reservation_specification(
|
|
2839
2839
|
self,
|
|
2840
2840
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.CapacityReservationSpecificationProperty"]]:
|
|
2841
|
+
'''The capacity reservation specification.'''
|
|
2841
2842
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.CapacityReservationSpecificationProperty"]], jsii.get(self, "capacityReservationSpecification"))
|
|
2842
2843
|
|
|
2843
2844
|
@capacity_reservation_specification.setter
|
|
@@ -3631,8 +3632,13 @@ class CfnAutoScalingGroup(
|
|
|
3631
3632
|
*,
|
|
3632
3633
|
cpu: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAutoScalingGroup.CpuPerformanceFactorRequestProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3633
3634
|
) -> None:
|
|
3634
|
-
'''
|
|
3635
|
-
|
|
3635
|
+
'''The baseline performance to consider, using an instance family as a baseline reference.
|
|
3636
|
+
|
|
3637
|
+
The instance family establishes the lowest acceptable level of performance. Auto Scaling uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application.
|
|
3638
|
+
|
|
3639
|
+
Currently, this parameter only supports CPU performance as a baseline performance factor. For example, specifying ``c6i`` uses the CPU performance of the ``c6i`` family as the baseline reference.
|
|
3640
|
+
|
|
3641
|
+
:param cpu: The CPU performance to consider, using an instance family as the baseline reference.
|
|
3636
3642
|
|
|
3637
3643
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-baselineperformancefactorsrequest.html
|
|
3638
3644
|
:exampleMetadata: fixture=_generated
|
|
@@ -3662,7 +3668,8 @@ class CfnAutoScalingGroup(
|
|
|
3662
3668
|
def cpu(
|
|
3663
3669
|
self,
|
|
3664
3670
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.CpuPerformanceFactorRequestProperty"]]:
|
|
3665
|
-
'''
|
|
3671
|
+
'''The CPU performance to consider, using an instance family as the baseline reference.
|
|
3672
|
+
|
|
3666
3673
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-baselineperformancefactorsrequest.html#cfn-autoscaling-autoscalinggroup-baselineperformancefactorsrequest-cpu
|
|
3667
3674
|
'''
|
|
3668
3675
|
result = self._values.get("cpu")
|
|
@@ -3694,9 +3701,12 @@ class CfnAutoScalingGroup(
|
|
|
3694
3701
|
capacity_reservation_preference: builtins.str,
|
|
3695
3702
|
capacity_reservation_target: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAutoScalingGroup.CapacityReservationTargetProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3696
3703
|
) -> None:
|
|
3697
|
-
'''
|
|
3698
|
-
|
|
3699
|
-
|
|
3704
|
+
'''Describes the Capacity Reservation preference and targeting options.
|
|
3705
|
+
|
|
3706
|
+
If you specify ``open`` or ``none`` for ``CapacityReservationPreference`` , do not specify a ``CapacityReservationTarget`` .
|
|
3707
|
+
|
|
3708
|
+
:param capacity_reservation_preference: The capacity reservation preference. The following options are available:. - ``capacity-reservations-only`` - Auto Scaling will only launch instances into a Capacity Reservation or Capacity Reservation resource group. If capacity isn't available, instances will fail to launch. - ``capacity-reservations-first`` - Auto Scaling will try to launch instances into a Capacity Reservation or Capacity Reservation resource group first. If capacity isn't available, instances will run in On-Demand capacity. - ``none`` - Auto Scaling will not launch instances into a Capacity Reservation. Instances will run in On-Demand capacity. - ``default`` - Auto Scaling uses the Capacity Reservation preference from your launch template or an open Capacity Reservation.
|
|
3709
|
+
:param capacity_reservation_target: Describes a target Capacity Reservation or Capacity Reservation resource group.
|
|
3700
3710
|
|
|
3701
3711
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-capacityreservationspecification.html
|
|
3702
3712
|
:exampleMetadata: fixture=_generated
|
|
@@ -3729,7 +3739,13 @@ class CfnAutoScalingGroup(
|
|
|
3729
3739
|
|
|
3730
3740
|
@builtins.property
|
|
3731
3741
|
def capacity_reservation_preference(self) -> builtins.str:
|
|
3732
|
-
'''
|
|
3742
|
+
'''The capacity reservation preference. The following options are available:.
|
|
3743
|
+
|
|
3744
|
+
- ``capacity-reservations-only`` - Auto Scaling will only launch instances into a Capacity Reservation or Capacity Reservation resource group. If capacity isn't available, instances will fail to launch.
|
|
3745
|
+
- ``capacity-reservations-first`` - Auto Scaling will try to launch instances into a Capacity Reservation or Capacity Reservation resource group first. If capacity isn't available, instances will run in On-Demand capacity.
|
|
3746
|
+
- ``none`` - Auto Scaling will not launch instances into a Capacity Reservation. Instances will run in On-Demand capacity.
|
|
3747
|
+
- ``default`` - Auto Scaling uses the Capacity Reservation preference from your launch template or an open Capacity Reservation.
|
|
3748
|
+
|
|
3733
3749
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-capacityreservationspecification.html#cfn-autoscaling-autoscalinggroup-capacityreservationspecification-capacityreservationpreference
|
|
3734
3750
|
'''
|
|
3735
3751
|
result = self._values.get("capacity_reservation_preference")
|
|
@@ -3740,7 +3756,8 @@ class CfnAutoScalingGroup(
|
|
|
3740
3756
|
def capacity_reservation_target(
|
|
3741
3757
|
self,
|
|
3742
3758
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.CapacityReservationTargetProperty"]]:
|
|
3743
|
-
'''
|
|
3759
|
+
'''Describes a target Capacity Reservation or Capacity Reservation resource group.
|
|
3760
|
+
|
|
3744
3761
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-capacityreservationspecification.html#cfn-autoscaling-autoscalinggroup-capacityreservationspecification-capacityreservationtarget
|
|
3745
3762
|
'''
|
|
3746
3763
|
result = self._values.get("capacity_reservation_target")
|
|
@@ -3772,9 +3789,12 @@ class CfnAutoScalingGroup(
|
|
|
3772
3789
|
capacity_reservation_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3773
3790
|
capacity_reservation_resource_group_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3774
3791
|
) -> None:
|
|
3775
|
-
'''
|
|
3776
|
-
|
|
3777
|
-
|
|
3792
|
+
'''The target for the Capacity Reservation.
|
|
3793
|
+
|
|
3794
|
+
Specify Capacity Reservations IDs or Capacity Reservation resource group ARNs.
|
|
3795
|
+
|
|
3796
|
+
:param capacity_reservation_ids: The Capacity Reservation IDs to launch instances into.
|
|
3797
|
+
:param capacity_reservation_resource_group_arns: The resource group ARNs of the Capacity Reservation to launch instances into.
|
|
3778
3798
|
|
|
3779
3799
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-capacityreservationtarget.html
|
|
3780
3800
|
:exampleMetadata: fixture=_generated
|
|
@@ -3804,7 +3824,8 @@ class CfnAutoScalingGroup(
|
|
|
3804
3824
|
def capacity_reservation_ids(
|
|
3805
3825
|
self,
|
|
3806
3826
|
) -> typing.Optional[typing.List[builtins.str]]:
|
|
3807
|
-
'''
|
|
3827
|
+
'''The Capacity Reservation IDs to launch instances into.
|
|
3828
|
+
|
|
3808
3829
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-capacityreservationtarget.html#cfn-autoscaling-autoscalinggroup-capacityreservationtarget-capacityreservationids
|
|
3809
3830
|
'''
|
|
3810
3831
|
result = self._values.get("capacity_reservation_ids")
|
|
@@ -3814,7 +3835,8 @@ class CfnAutoScalingGroup(
|
|
|
3814
3835
|
def capacity_reservation_resource_group_arns(
|
|
3815
3836
|
self,
|
|
3816
3837
|
) -> typing.Optional[typing.List[builtins.str]]:
|
|
3817
|
-
'''
|
|
3838
|
+
'''The resource group ARNs of the Capacity Reservation to launch instances into.
|
|
3839
|
+
|
|
3818
3840
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-capacityreservationtarget.html#cfn-autoscaling-autoscalinggroup-capacityreservationtarget-capacityreservationresourcegrouparns
|
|
3819
3841
|
'''
|
|
3820
3842
|
result = self._values.get("capacity_reservation_resource_group_arns")
|
|
@@ -3842,8 +3864,9 @@ class CfnAutoScalingGroup(
|
|
|
3842
3864
|
*,
|
|
3843
3865
|
references: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAutoScalingGroup.PerformanceFactorReferenceRequestProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3844
3866
|
) -> None:
|
|
3845
|
-
'''
|
|
3846
|
-
|
|
3867
|
+
'''The CPU performance to consider, using an instance family as the baseline reference.
|
|
3868
|
+
|
|
3869
|
+
:param references: Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences. .. epigraph:: Currently only one instance family can be specified in the list.
|
|
3847
3870
|
|
|
3848
3871
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-cpuperformancefactorrequest.html
|
|
3849
3872
|
:exampleMetadata: fixture=_generated
|
|
@@ -3871,7 +3894,13 @@ class CfnAutoScalingGroup(
|
|
|
3871
3894
|
def references(
|
|
3872
3895
|
self,
|
|
3873
3896
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.PerformanceFactorReferenceRequestProperty"]]]]:
|
|
3874
|
-
'''
|
|
3897
|
+
'''Specify an instance family to use as the baseline reference for CPU performance.
|
|
3898
|
+
|
|
3899
|
+
All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.
|
|
3900
|
+
.. epigraph::
|
|
3901
|
+
|
|
3902
|
+
Currently only one instance family can be specified in the list.
|
|
3903
|
+
|
|
3875
3904
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-cpuperformancefactorrequest.html#cfn-autoscaling-autoscalinggroup-cpuperformancefactorrequest-references
|
|
3876
3905
|
'''
|
|
3877
3906
|
result = self._values.get("references")
|
|
@@ -4061,7 +4090,7 @@ class CfnAutoScalingGroup(
|
|
|
4061
4090
|
:param allowed_instance_types: The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk ( ``*`` ), to allow an instance type, size, or generation. The following are examples: ``m5.8xlarge`` , ``c5*.*`` , ``m5a.*`` , ``r*`` , ``*3*`` . For example, if you specify ``c5*`` , Amazon EC2 Auto Scaling will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify ``m5a.*`` , Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n instance types. .. epigraph:: If you specify ``AllowedInstanceTypes`` , you can't specify ``ExcludedInstanceTypes`` . Default: All instance types
|
|
4062
4091
|
:param bare_metal: Indicates whether bare metal instance types are included, excluded, or required. Default: ``excluded``
|
|
4063
4092
|
:param baseline_ebs_bandwidth_mbps: The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see `Amazon EBS–optimized instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html>`_ in the *Amazon EC2 User Guide for Linux Instances* . Default: No minimum or maximum limits
|
|
4064
|
-
:param baseline_performance_factors:
|
|
4093
|
+
:param baseline_performance_factors: The baseline performance factors for the instance requirements.
|
|
4065
4094
|
:param burstable_performance: Indicates whether burstable performance instance types are included, excluded, or required. For more information, see `Burstable performance instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html>`_ in the *Amazon EC2 User Guide for Linux Instances* . Default: ``excluded``
|
|
4066
4095
|
:param cpu_manufacturers: Lists which specific CPU manufacturers to include. - For instance types with Intel CPUs, specify ``intel`` . - For instance types with AMD CPUs, specify ``amd`` . - For instance types with AWS CPUs, specify ``amazon-web-services`` . .. epigraph:: Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer
|
|
4067
4096
|
:param excluded_instance_types: The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk ( ``*`` ), to exclude an instance family, type, size, or generation. The following are examples: ``m5.8xlarge`` , ``c5*.*`` , ``m5a.*`` , ``r*`` , ``*3*`` . For example, if you specify ``c5*`` , you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify ``m5a.*`` , Amazon EC2 Auto Scaling will exclude all the M5a instance types, but not the M5n instance types. .. epigraph:: If you specify ``ExcludedInstanceTypes`` , you can't specify ``AllowedInstanceTypes`` . Default: No excluded instance types
|
|
@@ -4333,7 +4362,8 @@ class CfnAutoScalingGroup(
|
|
|
4333
4362
|
def baseline_performance_factors(
|
|
4334
4363
|
self,
|
|
4335
4364
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.BaselinePerformanceFactorsRequestProperty"]]:
|
|
4336
|
-
'''
|
|
4365
|
+
'''The baseline performance factors for the instance requirements.
|
|
4366
|
+
|
|
4337
4367
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-baselineperformancefactors
|
|
4338
4368
|
'''
|
|
4339
4369
|
result = self._values.get("baseline_performance_factors")
|
|
@@ -6072,8 +6102,14 @@ class CfnAutoScalingGroup(
|
|
|
6072
6102
|
*,
|
|
6073
6103
|
instance_family: typing.Optional[builtins.str] = None,
|
|
6074
6104
|
) -> None:
|
|
6075
|
-
'''
|
|
6076
|
-
|
|
6105
|
+
'''Specify an instance family to use as the baseline reference for CPU performance.
|
|
6106
|
+
|
|
6107
|
+
All instance types that All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.
|
|
6108
|
+
.. epigraph::
|
|
6109
|
+
|
|
6110
|
+
Currently only one instance family can be specified in the list.
|
|
6111
|
+
|
|
6112
|
+
:param instance_family: The instance family to use as a baseline reference. .. epigraph:: Make sure that you specify the correct value for the instance family. The instance family is everything before the period (.) in the instance type name. For example, in the instance ``c6i.large`` , the instance family is ``c6i`` , not ``c6`` . For more information, see `Amazon EC2 instance type naming conventions <https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html>`_ in *Amazon EC2 Instance Types* . The following instance types are *not supported* for performance protection. - ``c1`` - ``g3| g3s`` - ``hpc7g`` - ``m1| m2`` - ``mac1 | mac2 | mac2-m1ultra | mac2-m2 | mac2-m2pro`` - ``p3dn | p4d | p5`` - ``t1`` - ``u-12tb1 | u-18tb1 | u-24tb1 | u-3tb1 | u-6tb1 | u-9tb1 | u7i-12tb | u7in-16tb | u7in-24tb | u7in-32tb`` If you performance protection by specifying a supported instance family, the returned instance types will exclude the preceding unsupported instance families. If you specify an unsupported instance family as a value for baseline performance, the API returns an empty response.
|
|
6077
6113
|
|
|
6078
6114
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-performancefactorreferencerequest.html
|
|
6079
6115
|
:exampleMetadata: fixture=_generated
|
|
@@ -6097,7 +6133,27 @@ class CfnAutoScalingGroup(
|
|
|
6097
6133
|
|
|
6098
6134
|
@builtins.property
|
|
6099
6135
|
def instance_family(self) -> typing.Optional[builtins.str]:
|
|
6100
|
-
'''
|
|
6136
|
+
'''The instance family to use as a baseline reference.
|
|
6137
|
+
|
|
6138
|
+
.. epigraph::
|
|
6139
|
+
|
|
6140
|
+
Make sure that you specify the correct value for the instance family. The instance family is everything before the period (.) in the instance type name. For example, in the instance ``c6i.large`` , the instance family is ``c6i`` , not ``c6`` . For more information, see `Amazon EC2 instance type naming conventions <https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html>`_ in *Amazon EC2 Instance Types* .
|
|
6141
|
+
|
|
6142
|
+
The following instance types are *not supported* for performance protection.
|
|
6143
|
+
|
|
6144
|
+
- ``c1``
|
|
6145
|
+
- ``g3| g3s``
|
|
6146
|
+
- ``hpc7g``
|
|
6147
|
+
- ``m1| m2``
|
|
6148
|
+
- ``mac1 | mac2 | mac2-m1ultra | mac2-m2 | mac2-m2pro``
|
|
6149
|
+
- ``p3dn | p4d | p5``
|
|
6150
|
+
- ``t1``
|
|
6151
|
+
- ``u-12tb1 | u-18tb1 | u-24tb1 | u-3tb1 | u-6tb1 | u-9tb1 | u7i-12tb | u7in-16tb | u7in-24tb | u7in-32tb``
|
|
6152
|
+
|
|
6153
|
+
If you performance protection by specifying a supported instance family, the returned instance types will exclude the preceding unsupported instance families.
|
|
6154
|
+
|
|
6155
|
+
If you specify an unsupported instance family as a value for baseline performance, the API returns an empty response.
|
|
6156
|
+
|
|
6101
6157
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-performancefactorreferencerequest.html#cfn-autoscaling-autoscalinggroup-performancefactorreferencerequest-instancefamily
|
|
6102
6158
|
'''
|
|
6103
6159
|
result = self._values.get("instance_family")
|
|
@@ -6533,7 +6589,7 @@ class CfnAutoScalingGroupProps:
|
|
|
6533
6589
|
:param availability_zone_impairment_policy: The Availability Zone impairment policy.
|
|
6534
6590
|
:param availability_zones: A list of Availability Zones where instances in the Auto Scaling group can be created. Used for launching into the default VPC subnet in each Availability Zone when not using the ``VPCZoneIdentifier`` property, or for attaching a network interface when an existing network interface ID is specified in a launch template.
|
|
6535
6591
|
:param capacity_rebalance: Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see `Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-capacity-rebalancing.html>`_ in the in the *Amazon EC2 Auto Scaling User Guide* .
|
|
6536
|
-
:param capacity_reservation_specification:
|
|
6592
|
+
:param capacity_reservation_specification: The capacity reservation specification.
|
|
6537
6593
|
:param context: Reserved.
|
|
6538
6594
|
:param cooldown: *Only needed if you use simple scaling policies.*. The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see `Scaling cooldowns for Amazon EC2 Auto Scaling <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html>`_ in the *Amazon EC2 Auto Scaling User Guide* . Default: ``300`` seconds
|
|
6539
6595
|
:param default_instance_warmup: The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the ``InService`` state. During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up period before aggregating the metrics for new instances with existing instances in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage data. For more information, see `Set the default instance warmup for an Auto Scaling group <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-default-instance-warmup.html>`_ in the *Amazon EC2 Auto Scaling User Guide* . .. epigraph:: To manage various warm-up settings at the group level, we recommend that you set the default instance warmup, *even if it is set to 0 seconds* . To remove a value that you previously set, include the property but specify ``-1`` for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of ``0`` or other nominal value. Default: None
|
|
@@ -6956,7 +7012,8 @@ class CfnAutoScalingGroupProps:
|
|
|
6956
7012
|
def capacity_reservation_specification(
|
|
6957
7013
|
self,
|
|
6958
7014
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAutoScalingGroup.CapacityReservationSpecificationProperty]]:
|
|
6959
|
-
'''
|
|
7015
|
+
'''The capacity reservation specification.
|
|
7016
|
+
|
|
6960
7017
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-capacityreservationspecification
|
|
6961
7018
|
'''
|
|
6962
7019
|
result = self._values.get("capacity_reservation_specification")
|
aws_cdk/aws_bedrock/__init__.py
CHANGED
|
@@ -20243,6 +20243,54 @@ class FoundationModelIdentifier(
|
|
|
20243
20243
|
'''Base model "ai21.j2-ultra-v1:0:8k".'''
|
|
20244
20244
|
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AI21_LABS_JURASSIC_2_ULTRA_V1_0_8K"))
|
|
20245
20245
|
|
|
20246
|
+
@jsii.python.classproperty
|
|
20247
|
+
@jsii.member(jsii_name="AMAZON_NOVA_CANVAS_V1_0")
|
|
20248
|
+
def AMAZON_NOVA_CANVAS_V1_0(cls) -> "FoundationModelIdentifier":
|
|
20249
|
+
'''Base model "amazon.nova-canvas-v1:0".'''
|
|
20250
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_NOVA_CANVAS_V1_0"))
|
|
20251
|
+
|
|
20252
|
+
@jsii.python.classproperty
|
|
20253
|
+
@jsii.member(jsii_name="AMAZON_NOVA_LITE_V1_0")
|
|
20254
|
+
def AMAZON_NOVA_LITE_V1_0(cls) -> "FoundationModelIdentifier":
|
|
20255
|
+
'''Base model "amazon.nova-lite-v1:0".'''
|
|
20256
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_NOVA_LITE_V1_0"))
|
|
20257
|
+
|
|
20258
|
+
@jsii.python.classproperty
|
|
20259
|
+
@jsii.member(jsii_name="AMAZON_NOVA_LITE_V1_0_300_K")
|
|
20260
|
+
def AMAZON_NOVA_LITE_V1_0_300_K(cls) -> "FoundationModelIdentifier":
|
|
20261
|
+
'''Base model "amazon.nova-lite-v1:0:300k".'''
|
|
20262
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_NOVA_LITE_V1_0_300_K"))
|
|
20263
|
+
|
|
20264
|
+
@jsii.python.classproperty
|
|
20265
|
+
@jsii.member(jsii_name="AMAZON_NOVA_MICRO_V1_0")
|
|
20266
|
+
def AMAZON_NOVA_MICRO_V1_0(cls) -> "FoundationModelIdentifier":
|
|
20267
|
+
'''Base model "amazon.nova-micro-v1:0".'''
|
|
20268
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_NOVA_MICRO_V1_0"))
|
|
20269
|
+
|
|
20270
|
+
@jsii.python.classproperty
|
|
20271
|
+
@jsii.member(jsii_name="AMAZON_NOVA_MICRO_V1_0_128_K")
|
|
20272
|
+
def AMAZON_NOVA_MICRO_V1_0_128_K(cls) -> "FoundationModelIdentifier":
|
|
20273
|
+
'''Base model "amazon.nova-micro-v1:0:128k".'''
|
|
20274
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_NOVA_MICRO_V1_0_128_K"))
|
|
20275
|
+
|
|
20276
|
+
@jsii.python.classproperty
|
|
20277
|
+
@jsii.member(jsii_name="AMAZON_NOVA_PRO_V1_0")
|
|
20278
|
+
def AMAZON_NOVA_PRO_V1_0(cls) -> "FoundationModelIdentifier":
|
|
20279
|
+
'''Base model "amazon.nova-pro-v1:0".'''
|
|
20280
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_NOVA_PRO_V1_0"))
|
|
20281
|
+
|
|
20282
|
+
@jsii.python.classproperty
|
|
20283
|
+
@jsii.member(jsii_name="AMAZON_NOVA_PRO_V1_0_300_K")
|
|
20284
|
+
def AMAZON_NOVA_PRO_V1_0_300_K(cls) -> "FoundationModelIdentifier":
|
|
20285
|
+
'''Base model "amazon.nova-pro-v1:0:300k".'''
|
|
20286
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_NOVA_PRO_V1_0_300_K"))
|
|
20287
|
+
|
|
20288
|
+
@jsii.python.classproperty
|
|
20289
|
+
@jsii.member(jsii_name="AMAZON_NOVA_REEL_V1_0")
|
|
20290
|
+
def AMAZON_NOVA_REEL_V1_0(cls) -> "FoundationModelIdentifier":
|
|
20291
|
+
'''Base model "amazon.nova-reel-v1:0".'''
|
|
20292
|
+
return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "AMAZON_NOVA_REEL_V1_0"))
|
|
20293
|
+
|
|
20246
20294
|
@jsii.python.classproperty
|
|
20247
20295
|
@jsii.member(jsii_name="AMAZON_TITAN_EMBED_G1_TEXT_02")
|
|
20248
20296
|
def AMAZON_TITAN_EMBED_G1_TEXT_02(cls) -> "FoundationModelIdentifier":
|