aws-cdk-lib 2.184.1__py3-none-any.whl → 2.186.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 +102 -29
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.184.1.jsii.tgz → aws-cdk-lib@2.186.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +3 -2
- aws_cdk/aws_apigateway/__init__.py +1 -1
- aws_cdk/aws_apigatewayv2/__init__.py +9 -0
- aws_cdk/aws_appconfig/__init__.py +3 -3
- aws_cdk/aws_applicationsignals/__init__.py +495 -1
- aws_cdk/aws_appsync/__init__.py +65 -11
- aws_cdk/aws_athena/__init__.py +143 -0
- aws_cdk/aws_backup/__init__.py +4 -2
- aws_cdk/aws_batch/__init__.py +9 -0
- aws_cdk/aws_bedrock/__init__.py +645 -199
- aws_cdk/aws_cassandra/__init__.py +3 -5
- aws_cdk/aws_chatbot/__init__.py +41 -0
- aws_cdk/aws_cleanrooms/__init__.py +21 -9
- aws_cdk/aws_cloudformation/__init__.py +1 -5
- aws_cdk/aws_cloudfront/__init__.py +4 -1
- aws_cdk/aws_cloudfront_origins/__init__.py +4 -2
- aws_cdk/aws_codeartifact/__init__.py +20 -33
- aws_cdk/aws_codebuild/__init__.py +10 -3
- aws_cdk/aws_codepipeline/__init__.py +1328 -120
- aws_cdk/aws_cognito/__init__.py +1 -1
- aws_cdk/aws_cognito_identitypool/__init__.py +2303 -0
- aws_cdk/aws_config/__init__.py +1 -1
- aws_cdk/aws_connect/__init__.py +3 -7
- aws_cdk/aws_controltower/__init__.py +18 -26
- aws_cdk/aws_datasync/__init__.py +12 -14
- aws_cdk/aws_datazone/__init__.py +3471 -2
- aws_cdk/aws_ec2/__init__.py +701 -37
- aws_cdk/aws_ecr/__init__.py +84 -2
- aws_cdk/aws_ecs/__init__.py +20 -25
- aws_cdk/aws_eks/__init__.py +2 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +42 -5
- aws_cdk/aws_elasticsearch/__init__.py +1 -1
- aws_cdk/aws_events/__init__.py +37 -14
- aws_cdk/aws_events_targets/__init__.py +5 -5
- aws_cdk/aws_gamelift/__init__.py +165 -165
- aws_cdk/aws_gameliftstreams/__init__.py +199 -59
- aws_cdk/aws_iam/__init__.py +320 -25
- aws_cdk/aws_imagebuilder/__init__.py +15 -2
- aws_cdk/aws_iotfleetwise/__init__.py +15 -6
- aws_cdk/aws_kinesisfirehose/__init__.py +115 -113
- aws_cdk/aws_lambda/__init__.py +7 -1
- aws_cdk/aws_location/__init__.py +24 -7
- aws_cdk/aws_logs/__init__.py +21 -27
- aws_cdk/aws_msk/__init__.py +17 -50
- aws_cdk/aws_networkfirewall/__init__.py +16 -12
- aws_cdk/aws_oam/__init__.py +8 -37
- aws_cdk/aws_opensearchservice/__init__.py +1 -1
- aws_cdk/aws_pcs/__init__.py +33 -22
- aws_cdk/aws_quicksight/__init__.py +6 -69
- aws_cdk/aws_rds/__init__.py +8 -4
- aws_cdk/aws_redshiftserverless/__init__.py +192 -15
- aws_cdk/aws_rum/__init__.py +454 -43
- aws_cdk/aws_s3/__init__.py +4 -6
- aws_cdk/aws_s3_deployment/__init__.py +2 -0
- aws_cdk/aws_sagemaker/__init__.py +524 -0
- aws_cdk/aws_scheduler/__init__.py +3944 -121
- aws_cdk/aws_scheduler_targets/__init__.py +4472 -0
- aws_cdk/aws_ses/__init__.py +9 -9
- aws_cdk/aws_sns/__init__.py +12 -12
- aws_cdk/aws_ssmquicksetup/__init__.py +5 -3
- aws_cdk/aws_stepfunctions/__init__.py +17 -15
- aws_cdk/aws_timestream/__init__.py +4 -4
- aws_cdk/aws_wafv2/__init__.py +345 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +4 -4
- aws_cdk/cx_api/__init__.py +53 -0
- aws_cdk/region_info/__init__.py +2 -2
- {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/RECORD +75 -73
- {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_appsync/__init__.py
CHANGED
|
@@ -7795,7 +7795,7 @@ class CfnDataSourceProps:
|
|
|
7795
7795
|
)
|
|
7796
7796
|
|
|
7797
7797
|
|
|
7798
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
7798
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
7799
7799
|
class CfnDomainName(
|
|
7800
7800
|
_CfnResource_9df397a6,
|
|
7801
7801
|
metaclass=jsii.JSIIMeta,
|
|
@@ -7818,7 +7818,11 @@ class CfnDomainName(
|
|
|
7818
7818
|
domain_name="domainName",
|
|
7819
7819
|
|
|
7820
7820
|
# the properties below are optional
|
|
7821
|
-
description="description"
|
|
7821
|
+
description="description",
|
|
7822
|
+
tags=[CfnTag(
|
|
7823
|
+
key="key",
|
|
7824
|
+
value="value"
|
|
7825
|
+
)]
|
|
7822
7826
|
)
|
|
7823
7827
|
'''
|
|
7824
7828
|
|
|
@@ -7830,6 +7834,7 @@ class CfnDomainName(
|
|
|
7830
7834
|
certificate_arn: builtins.str,
|
|
7831
7835
|
domain_name: builtins.str,
|
|
7832
7836
|
description: typing.Optional[builtins.str] = None,
|
|
7837
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7833
7838
|
) -> None:
|
|
7834
7839
|
'''
|
|
7835
7840
|
:param scope: Scope in which this resource is defined.
|
|
@@ -7837,6 +7842,7 @@ class CfnDomainName(
|
|
|
7837
7842
|
:param certificate_arn: The Amazon Resource Name (ARN) of the certificate. This will be an AWS Certificate Manager certificate.
|
|
7838
7843
|
:param domain_name: The domain name.
|
|
7839
7844
|
:param description: The decription for your domain name.
|
|
7845
|
+
:param tags: A set of tags (key-value pairs) for this API.
|
|
7840
7846
|
'''
|
|
7841
7847
|
if __debug__:
|
|
7842
7848
|
type_hints = typing.get_type_hints(_typecheckingstub__678693553586e835af6ffdc6ac5860f81ffd96791de73368d44d41d3a220fa5b)
|
|
@@ -7846,6 +7852,7 @@ class CfnDomainName(
|
|
|
7846
7852
|
certificate_arn=certificate_arn,
|
|
7847
7853
|
domain_name=domain_name,
|
|
7848
7854
|
description=description,
|
|
7855
|
+
tags=tags,
|
|
7849
7856
|
)
|
|
7850
7857
|
|
|
7851
7858
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -7898,6 +7905,15 @@ class CfnDomainName(
|
|
|
7898
7905
|
'''
|
|
7899
7906
|
return typing.cast(builtins.str, jsii.get(self, "attrDomainName"))
|
|
7900
7907
|
|
|
7908
|
+
@builtins.property
|
|
7909
|
+
@jsii.member(jsii_name="attrDomainNameArn")
|
|
7910
|
+
def attr_domain_name_arn(self) -> builtins.str:
|
|
7911
|
+
'''The Amazon Resource Name (ARN) for the Domain Name.
|
|
7912
|
+
|
|
7913
|
+
:cloudformationAttribute: DomainNameArn
|
|
7914
|
+
'''
|
|
7915
|
+
return typing.cast(builtins.str, jsii.get(self, "attrDomainNameArn"))
|
|
7916
|
+
|
|
7901
7917
|
@builtins.property
|
|
7902
7918
|
@jsii.member(jsii_name="attrHostedZoneId")
|
|
7903
7919
|
def attr_hosted_zone_id(self) -> builtins.str:
|
|
@@ -7907,6 +7923,12 @@ class CfnDomainName(
|
|
|
7907
7923
|
'''
|
|
7908
7924
|
return typing.cast(builtins.str, jsii.get(self, "attrHostedZoneId"))
|
|
7909
7925
|
|
|
7926
|
+
@builtins.property
|
|
7927
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
7928
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
7929
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
7930
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
7931
|
+
|
|
7910
7932
|
@builtins.property
|
|
7911
7933
|
@jsii.member(jsii_name="cfnProperties")
|
|
7912
7934
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -7951,6 +7973,19 @@ class CfnDomainName(
|
|
|
7951
7973
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
7952
7974
|
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
7953
7975
|
|
|
7976
|
+
@builtins.property
|
|
7977
|
+
@jsii.member(jsii_name="tags")
|
|
7978
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
7979
|
+
'''A set of tags (key-value pairs) for this API.'''
|
|
7980
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
7981
|
+
|
|
7982
|
+
@tags.setter
|
|
7983
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
7984
|
+
if __debug__:
|
|
7985
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9e1a9fceec8bbbf4b6afd473eaf0b2db4d612831194c7972c534dc6849b98a8f)
|
|
7986
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
7987
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
7988
|
+
|
|
7954
7989
|
|
|
7955
7990
|
@jsii.implements(_IInspectable_c2943556)
|
|
7956
7991
|
class CfnDomainNameApiAssociation(
|
|
@@ -8144,6 +8179,7 @@ class CfnDomainNameApiAssociationProps:
|
|
|
8144
8179
|
"certificate_arn": "certificateArn",
|
|
8145
8180
|
"domain_name": "domainName",
|
|
8146
8181
|
"description": "description",
|
|
8182
|
+
"tags": "tags",
|
|
8147
8183
|
},
|
|
8148
8184
|
)
|
|
8149
8185
|
class CfnDomainNameProps:
|
|
@@ -8153,12 +8189,14 @@ class CfnDomainNameProps:
|
|
|
8153
8189
|
certificate_arn: builtins.str,
|
|
8154
8190
|
domain_name: builtins.str,
|
|
8155
8191
|
description: typing.Optional[builtins.str] = None,
|
|
8192
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8156
8193
|
) -> None:
|
|
8157
8194
|
'''Properties for defining a ``CfnDomainName``.
|
|
8158
8195
|
|
|
8159
8196
|
:param certificate_arn: The Amazon Resource Name (ARN) of the certificate. This will be an AWS Certificate Manager certificate.
|
|
8160
8197
|
:param domain_name: The domain name.
|
|
8161
8198
|
:param description: The decription for your domain name.
|
|
8199
|
+
:param tags: A set of tags (key-value pairs) for this API.
|
|
8162
8200
|
|
|
8163
8201
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-domainname.html
|
|
8164
8202
|
:exampleMetadata: fixture=_generated
|
|
@@ -8174,7 +8212,11 @@ class CfnDomainNameProps:
|
|
|
8174
8212
|
domain_name="domainName",
|
|
8175
8213
|
|
|
8176
8214
|
# the properties below are optional
|
|
8177
|
-
description="description"
|
|
8215
|
+
description="description",
|
|
8216
|
+
tags=[CfnTag(
|
|
8217
|
+
key="key",
|
|
8218
|
+
value="value"
|
|
8219
|
+
)]
|
|
8178
8220
|
)
|
|
8179
8221
|
'''
|
|
8180
8222
|
if __debug__:
|
|
@@ -8182,12 +8224,15 @@ class CfnDomainNameProps:
|
|
|
8182
8224
|
check_type(argname="argument certificate_arn", value=certificate_arn, expected_type=type_hints["certificate_arn"])
|
|
8183
8225
|
check_type(argname="argument domain_name", value=domain_name, expected_type=type_hints["domain_name"])
|
|
8184
8226
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
8227
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
8185
8228
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
8186
8229
|
"certificate_arn": certificate_arn,
|
|
8187
8230
|
"domain_name": domain_name,
|
|
8188
8231
|
}
|
|
8189
8232
|
if description is not None:
|
|
8190
8233
|
self._values["description"] = description
|
|
8234
|
+
if tags is not None:
|
|
8235
|
+
self._values["tags"] = tags
|
|
8191
8236
|
|
|
8192
8237
|
@builtins.property
|
|
8193
8238
|
def certificate_arn(self) -> builtins.str:
|
|
@@ -8220,6 +8265,15 @@ class CfnDomainNameProps:
|
|
|
8220
8265
|
result = self._values.get("description")
|
|
8221
8266
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
8222
8267
|
|
|
8268
|
+
@builtins.property
|
|
8269
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
8270
|
+
'''A set of tags (key-value pairs) for this API.
|
|
8271
|
+
|
|
8272
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-domainname.html#cfn-appsync-domainname-tags
|
|
8273
|
+
'''
|
|
8274
|
+
result = self._values.get("tags")
|
|
8275
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
8276
|
+
|
|
8223
8277
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
8224
8278
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
8225
8279
|
|
|
@@ -9393,14 +9447,6 @@ class CfnGraphQLApi(
|
|
|
9393
9447
|
'''
|
|
9394
9448
|
return typing.cast(builtins.str, jsii.get(self, "attrGraphQlUrl"))
|
|
9395
9449
|
|
|
9396
|
-
@builtins.property
|
|
9397
|
-
@jsii.member(jsii_name="attrId")
|
|
9398
|
-
def attr_id(self) -> builtins.str:
|
|
9399
|
-
'''
|
|
9400
|
-
:cloudformationAttribute: Id
|
|
9401
|
-
'''
|
|
9402
|
-
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
9403
|
-
|
|
9404
9450
|
@builtins.property
|
|
9405
9451
|
@jsii.member(jsii_name="attrRealtimeDns")
|
|
9406
9452
|
def attr_realtime_dns(self) -> builtins.str:
|
|
@@ -23486,6 +23532,7 @@ def _typecheckingstub__678693553586e835af6ffdc6ac5860f81ffd96791de73368d44d41d3a
|
|
|
23486
23532
|
certificate_arn: builtins.str,
|
|
23487
23533
|
domain_name: builtins.str,
|
|
23488
23534
|
description: typing.Optional[builtins.str] = None,
|
|
23535
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
23489
23536
|
) -> None:
|
|
23490
23537
|
"""Type checking stubs"""
|
|
23491
23538
|
pass
|
|
@@ -23520,6 +23567,12 @@ def _typecheckingstub__fc72a5388fe698c3e3240ed821a6e614471584c2ffb80f06028269bf9
|
|
|
23520
23567
|
"""Type checking stubs"""
|
|
23521
23568
|
pass
|
|
23522
23569
|
|
|
23570
|
+
def _typecheckingstub__9e1a9fceec8bbbf4b6afd473eaf0b2db4d612831194c7972c534dc6849b98a8f(
|
|
23571
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
23572
|
+
) -> None:
|
|
23573
|
+
"""Type checking stubs"""
|
|
23574
|
+
pass
|
|
23575
|
+
|
|
23523
23576
|
def _typecheckingstub__053707dba2452392a89bf081ac7d866beeff7c348bacbfe351a815a6372a43d5(
|
|
23524
23577
|
scope: _constructs_77d1e7e8.Construct,
|
|
23525
23578
|
id: builtins.str,
|
|
@@ -23567,6 +23620,7 @@ def _typecheckingstub__1b0d09d8c1a97bdb5c0b0b95b798fbeb11f45abb25769bdb71d190347
|
|
|
23567
23620
|
certificate_arn: builtins.str,
|
|
23568
23621
|
domain_name: builtins.str,
|
|
23569
23622
|
description: typing.Optional[builtins.str] = None,
|
|
23623
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
23570
23624
|
) -> None:
|
|
23571
23625
|
"""Type checking stubs"""
|
|
23572
23626
|
pass
|
aws_cdk/aws_athena/__init__.py
CHANGED
|
@@ -541,10 +541,13 @@ class CfnDataCatalog(
|
|
|
541
541
|
type="type",
|
|
542
542
|
|
|
543
543
|
# the properties below are optional
|
|
544
|
+
connection_type="connectionType",
|
|
544
545
|
description="description",
|
|
546
|
+
error="error",
|
|
545
547
|
parameters={
|
|
546
548
|
"parameters_key": "parameters"
|
|
547
549
|
},
|
|
550
|
+
status="status",
|
|
548
551
|
tags=[CfnTag(
|
|
549
552
|
key="key",
|
|
550
553
|
value="value"
|
|
@@ -559,8 +562,11 @@ class CfnDataCatalog(
|
|
|
559
562
|
*,
|
|
560
563
|
name: builtins.str,
|
|
561
564
|
type: builtins.str,
|
|
565
|
+
connection_type: typing.Optional[builtins.str] = None,
|
|
562
566
|
description: typing.Optional[builtins.str] = None,
|
|
567
|
+
error: typing.Optional[builtins.str] = None,
|
|
563
568
|
parameters: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
569
|
+
status: typing.Optional[builtins.str] = None,
|
|
564
570
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
565
571
|
) -> None:
|
|
566
572
|
'''
|
|
@@ -568,8 +574,11 @@ class CfnDataCatalog(
|
|
|
568
574
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
569
575
|
:param name: The name of the data catalog. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.
|
|
570
576
|
:param type: The type of data catalog: ``LAMBDA`` for a federated catalog, ``GLUE`` for AWS Glue Catalog, or ``HIVE`` for an external hive metastore.
|
|
577
|
+
:param connection_type: The type of connection for a ``FEDERATED`` data catalog (for example, ``REDSHIFT`` , ``MYSQL`` , or ``SQLSERVER`` ). For information about individual connectors, see `Available data source connectors <https://docs.aws.amazon.com/athena/latest/ug/connectors-available.html>`_ .
|
|
571
578
|
:param description: A description of the data catalog.
|
|
579
|
+
:param error: Text of the error that occurred during data catalog creation or deletion.
|
|
572
580
|
:param parameters: Specifies the Lambda function or functions to use for the data catalog. The mapping used depends on the catalog type. - The ``HIVE`` data catalog type uses the following syntax. The ``metadata-function`` parameter is required. ``The sdk-version`` parameter is optional and defaults to the currently supported version. ``metadata-function= *lambda_arn* , sdk-version= *version_number*`` - The ``LAMBDA`` data catalog type uses one of the following sets of required parameters, but not both. - When one Lambda function processes metadata and another Lambda function reads data, the following syntax is used. Both parameters are required. ``metadata-function= *lambda_arn* , record-function= *lambda_arn*`` - A composite Lambda function that processes both metadata and data uses the following syntax. ``function= *lambda_arn*`` - The ``GLUE`` type takes a catalog ID parameter and is required. The ``*catalog_id*`` is the account ID of the AWS account to which the Glue catalog belongs. ``catalog-id= *catalog_id*`` - The ``GLUE`` data catalog type also applies to the default ``AwsDataCatalog`` that already exists in your account, of which you can have only one and cannot modify.
|
|
581
|
+
:param status: The status of the creation or deletion of the data catalog. - The ``LAMBDA`` , ``GLUE`` , and ``HIVE`` data catalog types are created synchronously. Their status is either ``CREATE_COMPLETE`` or ``CREATE_FAILED`` . - The ``FEDERATED`` data catalog type is created asynchronously. Data catalog creation status: - ``CREATE_IN_PROGRESS`` : Federated data catalog creation in progress. - ``CREATE_COMPLETE`` : Data catalog creation complete. - ``CREATE_FAILED`` : Data catalog could not be created. - ``CREATE_FAILED_CLEANUP_IN_PROGRESS`` : Federated data catalog creation failed and is being removed. - ``CREATE_FAILED_CLEANUP_COMPLETE`` : Federated data catalog creation failed and was removed. - ``CREATE_FAILED_CLEANUP_FAILED`` : Federated data catalog creation failed but could not be removed. Data catalog deletion status: - ``DELETE_IN_PROGRESS`` : Federated data catalog deletion in progress. - ``DELETE_COMPLETE`` : Federated data catalog deleted. - ``DELETE_FAILED`` : Federated data catalog could not be deleted.
|
|
573
582
|
:param tags: The tags (key-value pairs) to associate with this resource.
|
|
574
583
|
'''
|
|
575
584
|
if __debug__:
|
|
@@ -579,8 +588,11 @@ class CfnDataCatalog(
|
|
|
579
588
|
props = CfnDataCatalogProps(
|
|
580
589
|
name=name,
|
|
581
590
|
type=type,
|
|
591
|
+
connection_type=connection_type,
|
|
582
592
|
description=description,
|
|
593
|
+
error=error,
|
|
583
594
|
parameters=parameters,
|
|
595
|
+
status=status,
|
|
584
596
|
tags=tags,
|
|
585
597
|
)
|
|
586
598
|
|
|
@@ -653,6 +665,19 @@ class CfnDataCatalog(
|
|
|
653
665
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
654
666
|
jsii.set(self, "type", value) # pyright: ignore[reportArgumentType]
|
|
655
667
|
|
|
668
|
+
@builtins.property
|
|
669
|
+
@jsii.member(jsii_name="connectionType")
|
|
670
|
+
def connection_type(self) -> typing.Optional[builtins.str]:
|
|
671
|
+
'''The type of connection for a ``FEDERATED`` data catalog (for example, ``REDSHIFT`` , ``MYSQL`` , or ``SQLSERVER`` ).'''
|
|
672
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "connectionType"))
|
|
673
|
+
|
|
674
|
+
@connection_type.setter
|
|
675
|
+
def connection_type(self, value: typing.Optional[builtins.str]) -> None:
|
|
676
|
+
if __debug__:
|
|
677
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cff13c1978bd5799618709da26f9846763b1ac2ec6cab029c70620a67c55093a)
|
|
678
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
679
|
+
jsii.set(self, "connectionType", value) # pyright: ignore[reportArgumentType]
|
|
680
|
+
|
|
656
681
|
@builtins.property
|
|
657
682
|
@jsii.member(jsii_name="description")
|
|
658
683
|
def description(self) -> typing.Optional[builtins.str]:
|
|
@@ -666,6 +691,19 @@ class CfnDataCatalog(
|
|
|
666
691
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
667
692
|
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
668
693
|
|
|
694
|
+
@builtins.property
|
|
695
|
+
@jsii.member(jsii_name="error")
|
|
696
|
+
def error(self) -> typing.Optional[builtins.str]:
|
|
697
|
+
'''Text of the error that occurred during data catalog creation or deletion.'''
|
|
698
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "error"))
|
|
699
|
+
|
|
700
|
+
@error.setter
|
|
701
|
+
def error(self, value: typing.Optional[builtins.str]) -> None:
|
|
702
|
+
if __debug__:
|
|
703
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d548d02ca24f2ba4149dd152142567beb4e778d9ac5d70541231145411044585)
|
|
704
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
705
|
+
jsii.set(self, "error", value) # pyright: ignore[reportArgumentType]
|
|
706
|
+
|
|
669
707
|
@builtins.property
|
|
670
708
|
@jsii.member(jsii_name="parameters")
|
|
671
709
|
def parameters(
|
|
@@ -684,6 +722,19 @@ class CfnDataCatalog(
|
|
|
684
722
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
685
723
|
jsii.set(self, "parameters", value) # pyright: ignore[reportArgumentType]
|
|
686
724
|
|
|
725
|
+
@builtins.property
|
|
726
|
+
@jsii.member(jsii_name="status")
|
|
727
|
+
def status(self) -> typing.Optional[builtins.str]:
|
|
728
|
+
'''The status of the creation or deletion of the data catalog.'''
|
|
729
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "status"))
|
|
730
|
+
|
|
731
|
+
@status.setter
|
|
732
|
+
def status(self, value: typing.Optional[builtins.str]) -> None:
|
|
733
|
+
if __debug__:
|
|
734
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a3f1a6fa1564ab3d7f58459f2b7ab271070b72c718de2a0142f755faa882bec3)
|
|
735
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
736
|
+
jsii.set(self, "status", value) # pyright: ignore[reportArgumentType]
|
|
737
|
+
|
|
687
738
|
@builtins.property
|
|
688
739
|
@jsii.member(jsii_name="tagsRaw")
|
|
689
740
|
def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -704,8 +755,11 @@ class CfnDataCatalog(
|
|
|
704
755
|
name_mapping={
|
|
705
756
|
"name": "name",
|
|
706
757
|
"type": "type",
|
|
758
|
+
"connection_type": "connectionType",
|
|
707
759
|
"description": "description",
|
|
760
|
+
"error": "error",
|
|
708
761
|
"parameters": "parameters",
|
|
762
|
+
"status": "status",
|
|
709
763
|
"tags": "tags",
|
|
710
764
|
},
|
|
711
765
|
)
|
|
@@ -715,16 +769,22 @@ class CfnDataCatalogProps:
|
|
|
715
769
|
*,
|
|
716
770
|
name: builtins.str,
|
|
717
771
|
type: builtins.str,
|
|
772
|
+
connection_type: typing.Optional[builtins.str] = None,
|
|
718
773
|
description: typing.Optional[builtins.str] = None,
|
|
774
|
+
error: typing.Optional[builtins.str] = None,
|
|
719
775
|
parameters: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
776
|
+
status: typing.Optional[builtins.str] = None,
|
|
720
777
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
721
778
|
) -> None:
|
|
722
779
|
'''Properties for defining a ``CfnDataCatalog``.
|
|
723
780
|
|
|
724
781
|
:param name: The name of the data catalog. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.
|
|
725
782
|
:param type: The type of data catalog: ``LAMBDA`` for a federated catalog, ``GLUE`` for AWS Glue Catalog, or ``HIVE`` for an external hive metastore.
|
|
783
|
+
:param connection_type: The type of connection for a ``FEDERATED`` data catalog (for example, ``REDSHIFT`` , ``MYSQL`` , or ``SQLSERVER`` ). For information about individual connectors, see `Available data source connectors <https://docs.aws.amazon.com/athena/latest/ug/connectors-available.html>`_ .
|
|
726
784
|
:param description: A description of the data catalog.
|
|
785
|
+
:param error: Text of the error that occurred during data catalog creation or deletion.
|
|
727
786
|
:param parameters: Specifies the Lambda function or functions to use for the data catalog. The mapping used depends on the catalog type. - The ``HIVE`` data catalog type uses the following syntax. The ``metadata-function`` parameter is required. ``The sdk-version`` parameter is optional and defaults to the currently supported version. ``metadata-function= *lambda_arn* , sdk-version= *version_number*`` - The ``LAMBDA`` data catalog type uses one of the following sets of required parameters, but not both. - When one Lambda function processes metadata and another Lambda function reads data, the following syntax is used. Both parameters are required. ``metadata-function= *lambda_arn* , record-function= *lambda_arn*`` - A composite Lambda function that processes both metadata and data uses the following syntax. ``function= *lambda_arn*`` - The ``GLUE`` type takes a catalog ID parameter and is required. The ``*catalog_id*`` is the account ID of the AWS account to which the Glue catalog belongs. ``catalog-id= *catalog_id*`` - The ``GLUE`` data catalog type also applies to the default ``AwsDataCatalog`` that already exists in your account, of which you can have only one and cannot modify.
|
|
787
|
+
:param status: The status of the creation or deletion of the data catalog. - The ``LAMBDA`` , ``GLUE`` , and ``HIVE`` data catalog types are created synchronously. Their status is either ``CREATE_COMPLETE`` or ``CREATE_FAILED`` . - The ``FEDERATED`` data catalog type is created asynchronously. Data catalog creation status: - ``CREATE_IN_PROGRESS`` : Federated data catalog creation in progress. - ``CREATE_COMPLETE`` : Data catalog creation complete. - ``CREATE_FAILED`` : Data catalog could not be created. - ``CREATE_FAILED_CLEANUP_IN_PROGRESS`` : Federated data catalog creation failed and is being removed. - ``CREATE_FAILED_CLEANUP_COMPLETE`` : Federated data catalog creation failed and was removed. - ``CREATE_FAILED_CLEANUP_FAILED`` : Federated data catalog creation failed but could not be removed. Data catalog deletion status: - ``DELETE_IN_PROGRESS`` : Federated data catalog deletion in progress. - ``DELETE_COMPLETE`` : Federated data catalog deleted. - ``DELETE_FAILED`` : Federated data catalog could not be deleted.
|
|
728
788
|
:param tags: The tags (key-value pairs) to associate with this resource.
|
|
729
789
|
|
|
730
790
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-datacatalog.html
|
|
@@ -741,10 +801,13 @@ class CfnDataCatalogProps:
|
|
|
741
801
|
type="type",
|
|
742
802
|
|
|
743
803
|
# the properties below are optional
|
|
804
|
+
connection_type="connectionType",
|
|
744
805
|
description="description",
|
|
806
|
+
error="error",
|
|
745
807
|
parameters={
|
|
746
808
|
"parameters_key": "parameters"
|
|
747
809
|
},
|
|
810
|
+
status="status",
|
|
748
811
|
tags=[CfnTag(
|
|
749
812
|
key="key",
|
|
750
813
|
value="value"
|
|
@@ -755,17 +818,26 @@ class CfnDataCatalogProps:
|
|
|
755
818
|
type_hints = typing.get_type_hints(_typecheckingstub__d2151d2fd30be9f56cebbd5adb97d92e074856a6590b6970f5a1cb707de68d79)
|
|
756
819
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
757
820
|
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
821
|
+
check_type(argname="argument connection_type", value=connection_type, expected_type=type_hints["connection_type"])
|
|
758
822
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
823
|
+
check_type(argname="argument error", value=error, expected_type=type_hints["error"])
|
|
759
824
|
check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
|
|
825
|
+
check_type(argname="argument status", value=status, expected_type=type_hints["status"])
|
|
760
826
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
761
827
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
762
828
|
"name": name,
|
|
763
829
|
"type": type,
|
|
764
830
|
}
|
|
831
|
+
if connection_type is not None:
|
|
832
|
+
self._values["connection_type"] = connection_type
|
|
765
833
|
if description is not None:
|
|
766
834
|
self._values["description"] = description
|
|
835
|
+
if error is not None:
|
|
836
|
+
self._values["error"] = error
|
|
767
837
|
if parameters is not None:
|
|
768
838
|
self._values["parameters"] = parameters
|
|
839
|
+
if status is not None:
|
|
840
|
+
self._values["status"] = status
|
|
769
841
|
if tags is not None:
|
|
770
842
|
self._values["tags"] = tags
|
|
771
843
|
|
|
@@ -791,6 +863,17 @@ class CfnDataCatalogProps:
|
|
|
791
863
|
assert result is not None, "Required property 'type' is missing"
|
|
792
864
|
return typing.cast(builtins.str, result)
|
|
793
865
|
|
|
866
|
+
@builtins.property
|
|
867
|
+
def connection_type(self) -> typing.Optional[builtins.str]:
|
|
868
|
+
'''The type of connection for a ``FEDERATED`` data catalog (for example, ``REDSHIFT`` , ``MYSQL`` , or ``SQLSERVER`` ).
|
|
869
|
+
|
|
870
|
+
For information about individual connectors, see `Available data source connectors <https://docs.aws.amazon.com/athena/latest/ug/connectors-available.html>`_ .
|
|
871
|
+
|
|
872
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-datacatalog.html#cfn-athena-datacatalog-connectiontype
|
|
873
|
+
'''
|
|
874
|
+
result = self._values.get("connection_type")
|
|
875
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
876
|
+
|
|
794
877
|
@builtins.property
|
|
795
878
|
def description(self) -> typing.Optional[builtins.str]:
|
|
796
879
|
'''A description of the data catalog.
|
|
@@ -800,6 +883,15 @@ class CfnDataCatalogProps:
|
|
|
800
883
|
result = self._values.get("description")
|
|
801
884
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
802
885
|
|
|
886
|
+
@builtins.property
|
|
887
|
+
def error(self) -> typing.Optional[builtins.str]:
|
|
888
|
+
'''Text of the error that occurred during data catalog creation or deletion.
|
|
889
|
+
|
|
890
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-datacatalog.html#cfn-athena-datacatalog-error
|
|
891
|
+
'''
|
|
892
|
+
result = self._values.get("error")
|
|
893
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
894
|
+
|
|
803
895
|
@builtins.property
|
|
804
896
|
def parameters(
|
|
805
897
|
self,
|
|
@@ -832,6 +924,33 @@ class CfnDataCatalogProps:
|
|
|
832
924
|
result = self._values.get("parameters")
|
|
833
925
|
return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
|
|
834
926
|
|
|
927
|
+
@builtins.property
|
|
928
|
+
def status(self) -> typing.Optional[builtins.str]:
|
|
929
|
+
'''The status of the creation or deletion of the data catalog.
|
|
930
|
+
|
|
931
|
+
- The ``LAMBDA`` , ``GLUE`` , and ``HIVE`` data catalog types are created synchronously. Their status is either ``CREATE_COMPLETE`` or ``CREATE_FAILED`` .
|
|
932
|
+
- The ``FEDERATED`` data catalog type is created asynchronously.
|
|
933
|
+
|
|
934
|
+
Data catalog creation status:
|
|
935
|
+
|
|
936
|
+
- ``CREATE_IN_PROGRESS`` : Federated data catalog creation in progress.
|
|
937
|
+
- ``CREATE_COMPLETE`` : Data catalog creation complete.
|
|
938
|
+
- ``CREATE_FAILED`` : Data catalog could not be created.
|
|
939
|
+
- ``CREATE_FAILED_CLEANUP_IN_PROGRESS`` : Federated data catalog creation failed and is being removed.
|
|
940
|
+
- ``CREATE_FAILED_CLEANUP_COMPLETE`` : Federated data catalog creation failed and was removed.
|
|
941
|
+
- ``CREATE_FAILED_CLEANUP_FAILED`` : Federated data catalog creation failed but could not be removed.
|
|
942
|
+
|
|
943
|
+
Data catalog deletion status:
|
|
944
|
+
|
|
945
|
+
- ``DELETE_IN_PROGRESS`` : Federated data catalog deletion in progress.
|
|
946
|
+
- ``DELETE_COMPLETE`` : Federated data catalog deleted.
|
|
947
|
+
- ``DELETE_FAILED`` : Federated data catalog could not be deleted.
|
|
948
|
+
|
|
949
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-datacatalog.html#cfn-athena-datacatalog-status
|
|
950
|
+
'''
|
|
951
|
+
result = self._values.get("status")
|
|
952
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
953
|
+
|
|
835
954
|
@builtins.property
|
|
836
955
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
837
956
|
'''The tags (key-value pairs) to associate with this resource.
|
|
@@ -3141,8 +3260,11 @@ def _typecheckingstub__05023d61a95576869568bc095d9889b971a9d8c061cba5833a71f4423
|
|
|
3141
3260
|
*,
|
|
3142
3261
|
name: builtins.str,
|
|
3143
3262
|
type: builtins.str,
|
|
3263
|
+
connection_type: typing.Optional[builtins.str] = None,
|
|
3144
3264
|
description: typing.Optional[builtins.str] = None,
|
|
3265
|
+
error: typing.Optional[builtins.str] = None,
|
|
3145
3266
|
parameters: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
3267
|
+
status: typing.Optional[builtins.str] = None,
|
|
3146
3268
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3147
3269
|
) -> None:
|
|
3148
3270
|
"""Type checking stubs"""
|
|
@@ -3172,18 +3294,36 @@ def _typecheckingstub__648f5f258b71a886cda692ac680360ffcaf9aa72e0b747dc0986bc6a3
|
|
|
3172
3294
|
"""Type checking stubs"""
|
|
3173
3295
|
pass
|
|
3174
3296
|
|
|
3297
|
+
def _typecheckingstub__cff13c1978bd5799618709da26f9846763b1ac2ec6cab029c70620a67c55093a(
|
|
3298
|
+
value: typing.Optional[builtins.str],
|
|
3299
|
+
) -> None:
|
|
3300
|
+
"""Type checking stubs"""
|
|
3301
|
+
pass
|
|
3302
|
+
|
|
3175
3303
|
def _typecheckingstub__da91751e350be071e1bcad20db12b8878ad53b907a7422a55f53fa3951e8f509(
|
|
3176
3304
|
value: typing.Optional[builtins.str],
|
|
3177
3305
|
) -> None:
|
|
3178
3306
|
"""Type checking stubs"""
|
|
3179
3307
|
pass
|
|
3180
3308
|
|
|
3309
|
+
def _typecheckingstub__d548d02ca24f2ba4149dd152142567beb4e778d9ac5d70541231145411044585(
|
|
3310
|
+
value: typing.Optional[builtins.str],
|
|
3311
|
+
) -> None:
|
|
3312
|
+
"""Type checking stubs"""
|
|
3313
|
+
pass
|
|
3314
|
+
|
|
3181
3315
|
def _typecheckingstub__2c7bec0cee9cc93380a50923dfa0015a801db986ded37e98f7318cd85af887ed(
|
|
3182
3316
|
value: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]],
|
|
3183
3317
|
) -> None:
|
|
3184
3318
|
"""Type checking stubs"""
|
|
3185
3319
|
pass
|
|
3186
3320
|
|
|
3321
|
+
def _typecheckingstub__a3f1a6fa1564ab3d7f58459f2b7ab271070b72c718de2a0142f755faa882bec3(
|
|
3322
|
+
value: typing.Optional[builtins.str],
|
|
3323
|
+
) -> None:
|
|
3324
|
+
"""Type checking stubs"""
|
|
3325
|
+
pass
|
|
3326
|
+
|
|
3187
3327
|
def _typecheckingstub__732720a85a91adafa344b33afc56917f285d76d3c81b8851c7f46aee8ac4b31f(
|
|
3188
3328
|
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
3189
3329
|
) -> None:
|
|
@@ -3194,8 +3334,11 @@ def _typecheckingstub__d2151d2fd30be9f56cebbd5adb97d92e074856a6590b6970f5a1cb707
|
|
|
3194
3334
|
*,
|
|
3195
3335
|
name: builtins.str,
|
|
3196
3336
|
type: builtins.str,
|
|
3337
|
+
connection_type: typing.Optional[builtins.str] = None,
|
|
3197
3338
|
description: typing.Optional[builtins.str] = None,
|
|
3339
|
+
error: typing.Optional[builtins.str] = None,
|
|
3198
3340
|
parameters: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
3341
|
+
status: typing.Optional[builtins.str] = None,
|
|
3199
3342
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3200
3343
|
) -> None:
|
|
3201
3344
|
"""Type checking stubs"""
|
aws_cdk/aws_backup/__init__.py
CHANGED
|
@@ -5810,7 +5810,7 @@ class CfnRestoreTestingPlan(
|
|
|
5810
5810
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
5811
5811
|
:param recovery_point_selection: The specified criteria to assign a set of resources, such as recovery point types or backup vaults.
|
|
5812
5812
|
:param restore_testing_plan_name: The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.
|
|
5813
|
-
:param schedule_expression: A CRON expression in specified timezone when a restore testing plan is executed.
|
|
5813
|
+
:param schedule_expression: A CRON expression in specified timezone when a restore testing plan is executed. When no CRON expression is provided, AWS Backup will use the default expression ``cron(0 5 ? * * *)`` .
|
|
5814
5814
|
:param schedule_expression_timezone: Optional. This is the timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone.
|
|
5815
5815
|
:param schedule_status: This parameter is not currently supported.
|
|
5816
5816
|
:param start_window_hours: Defaults to 24 hours. A value in hours after a restore test is scheduled before a job will be canceled if it doesn't start successfully. This value is optional. If this value is included, this parameter has a maximum value of 168 hours (one week).
|
|
@@ -6151,7 +6151,7 @@ class CfnRestoreTestingPlanProps:
|
|
|
6151
6151
|
|
|
6152
6152
|
:param recovery_point_selection: The specified criteria to assign a set of resources, such as recovery point types or backup vaults.
|
|
6153
6153
|
:param restore_testing_plan_name: The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.
|
|
6154
|
-
:param schedule_expression: A CRON expression in specified timezone when a restore testing plan is executed.
|
|
6154
|
+
:param schedule_expression: A CRON expression in specified timezone when a restore testing plan is executed. When no CRON expression is provided, AWS Backup will use the default expression ``cron(0 5 ? * * *)`` .
|
|
6155
6155
|
:param schedule_expression_timezone: Optional. This is the timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone.
|
|
6156
6156
|
:param schedule_status: This parameter is not currently supported.
|
|
6157
6157
|
:param start_window_hours: Defaults to 24 hours. A value in hours after a restore test is scheduled before a job will be canceled if it doesn't start successfully. This value is optional. If this value is included, this parameter has a maximum value of 168 hours (one week).
|
|
@@ -6240,6 +6240,8 @@ class CfnRestoreTestingPlanProps:
|
|
|
6240
6240
|
def schedule_expression(self) -> builtins.str:
|
|
6241
6241
|
'''A CRON expression in specified timezone when a restore testing plan is executed.
|
|
6242
6242
|
|
|
6243
|
+
When no CRON expression is provided, AWS Backup will use the default expression ``cron(0 5 ? * * *)`` .
|
|
6244
|
+
|
|
6243
6245
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-restoretestingplan.html#cfn-backup-restoretestingplan-scheduleexpression
|
|
6244
6246
|
'''
|
|
6245
6247
|
result = self._values.get("schedule_expression")
|
aws_cdk/aws_batch/__init__.py
CHANGED
|
@@ -3059,6 +3059,15 @@ class CfnJobDefinition(
|
|
|
3059
3059
|
'''The CloudFormation resource type name for this resource class.'''
|
|
3060
3060
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
3061
3061
|
|
|
3062
|
+
@builtins.property
|
|
3063
|
+
@jsii.member(jsii_name="attrJobDefinitionArn")
|
|
3064
|
+
def attr_job_definition_arn(self) -> builtins.str:
|
|
3065
|
+
'''The job definition ARN, such as ``batch: *us-east-1* : *111122223333* :job-definition/ *test-gpu* : *2*`` .
|
|
3066
|
+
|
|
3067
|
+
:cloudformationAttribute: JobDefinitionArn
|
|
3068
|
+
'''
|
|
3069
|
+
return typing.cast(builtins.str, jsii.get(self, "attrJobDefinitionArn"))
|
|
3070
|
+
|
|
3062
3071
|
@builtins.property
|
|
3063
3072
|
@jsii.member(jsii_name="cfnProperties")
|
|
3064
3073
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|