aws-cdk-lib 2.184.1__py3-none-any.whl → 2.185.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.

Files changed (46) hide show
  1. aws_cdk/_jsii/__init__.py +1 -1
  2. aws_cdk/_jsii/{aws-cdk-lib@2.184.1.jsii.tgz → aws-cdk-lib@2.185.0.jsii.tgz} +0 -0
  3. aws_cdk/aws_apigateway/__init__.py +1 -1
  4. aws_cdk/aws_applicationsignals/__init__.py +134 -0
  5. aws_cdk/aws_appsync/__init__.py +0 -8
  6. aws_cdk/aws_athena/__init__.py +143 -0
  7. aws_cdk/aws_backup/__init__.py +4 -2
  8. aws_cdk/aws_batch/__init__.py +9 -0
  9. aws_cdk/aws_bedrock/__init__.py +260 -185
  10. aws_cdk/aws_cassandra/__init__.py +3 -5
  11. aws_cdk/aws_chatbot/__init__.py +41 -0
  12. aws_cdk/aws_codebuild/__init__.py +10 -3
  13. aws_cdk/aws_config/__init__.py +1 -1
  14. aws_cdk/aws_datasync/__init__.py +12 -14
  15. aws_cdk/aws_ec2/__init__.py +148 -19
  16. aws_cdk/aws_ecr/__init__.py +84 -2
  17. aws_cdk/aws_ecs/__init__.py +5 -5
  18. aws_cdk/aws_eks/__init__.py +2 -0
  19. aws_cdk/aws_elasticloadbalancingv2/__init__.py +42 -5
  20. aws_cdk/aws_elasticsearch/__init__.py +1 -1
  21. aws_cdk/aws_events_targets/__init__.py +5 -5
  22. aws_cdk/aws_gamelift/__init__.py +162 -162
  23. aws_cdk/aws_gameliftstreams/__init__.py +199 -59
  24. aws_cdk/aws_iam/__init__.py +56 -25
  25. aws_cdk/aws_imagebuilder/__init__.py +42 -5
  26. aws_cdk/aws_iotfleetwise/__init__.py +15 -6
  27. aws_cdk/aws_kinesisfirehose/__init__.py +113 -110
  28. aws_cdk/aws_logs/__init__.py +21 -27
  29. aws_cdk/aws_msk/__init__.py +9 -48
  30. aws_cdk/aws_opensearchservice/__init__.py +1 -1
  31. aws_cdk/aws_pcs/__init__.py +33 -22
  32. aws_cdk/aws_rds/__init__.py +8 -4
  33. aws_cdk/aws_rum/__init__.py +148 -0
  34. aws_cdk/aws_s3/__init__.py +4 -6
  35. aws_cdk/aws_s3_deployment/__init__.py +2 -0
  36. aws_cdk/aws_sagemaker/__init__.py +524 -0
  37. aws_cdk/aws_ses/__init__.py +9 -9
  38. aws_cdk/aws_sns/__init__.py +12 -12
  39. aws_cdk/cx_api/__init__.py +30 -0
  40. aws_cdk/region_info/__init__.py +2 -2
  41. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.185.0.dist-info}/METADATA +1 -1
  42. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.185.0.dist-info}/RECORD +46 -46
  43. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.185.0.dist-info}/LICENSE +0 -0
  44. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.185.0.dist-info}/NOTICE +0 -0
  45. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.185.0.dist-info}/WHEEL +0 -0
  46. {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.185.0.dist-info}/top_level.txt +0 -0
aws_cdk/_jsii/__init__.py CHANGED
@@ -34,7 +34,7 @@ import aws_cdk.cloud_assembly_schema._jsii
34
34
  import constructs._jsii
35
35
 
36
36
  __jsii_assembly__ = jsii.JSIIAssembly.load(
37
- "aws-cdk-lib", "2.184.1", __name__[0:-6], "aws-cdk-lib@2.184.1.jsii.tgz"
37
+ "aws-cdk-lib", "2.185.0", __name__[0:-6], "aws-cdk-lib@2.185.0.jsii.tgz"
38
38
  )
39
39
 
40
40
  __all__ = [
@@ -1585,7 +1585,7 @@ api = apigateway.RestApi(self, "books",
1585
1585
 
1586
1586
  **Note:** The delivery stream name must start with `amazon-apigateway-`.
1587
1587
 
1588
- > Visit [Logging API calls to Kinesis Data Firehose](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-logging-to-kinesis.html) for more details.
1588
+ > Visit [Logging API calls to Amazon Data Firehose](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-logging-to-kinesis.html) for more details.
1589
1589
 
1590
1590
  ## Cross Origin Resource Sharing (CORS)
1591
1591
 
@@ -79,6 +79,119 @@ from .. import (
79
79
  )
80
80
 
81
81
 
82
+ @jsii.implements(_IInspectable_c2943556)
83
+ class CfnDiscovery(
84
+ _CfnResource_9df397a6,
85
+ metaclass=jsii.JSIIMeta,
86
+ jsii_type="aws-cdk-lib.aws_applicationsignals.CfnDiscovery",
87
+ ):
88
+ '''Resource Type definition for AWS::ApplicationSignals::Discovery.
89
+
90
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationsignals-discovery.html
91
+ :cloudformationResource: AWS::ApplicationSignals::Discovery
92
+ :exampleMetadata: fixture=_generated
93
+
94
+ Example::
95
+
96
+ # The code below shows an example of how to instantiate this type.
97
+ # The values are placeholders you should change.
98
+ from aws_cdk import aws_applicationsignals as applicationsignals
99
+
100
+ cfn_discovery = applicationsignals.CfnDiscovery(self, "MyCfnDiscovery")
101
+ '''
102
+
103
+ def __init__(self, scope: _constructs_77d1e7e8.Construct, id: builtins.str) -> None:
104
+ '''
105
+ :param scope: Scope in which this resource is defined.
106
+ :param id: Construct identifier for this resource (unique in its scope).
107
+ '''
108
+ if __debug__:
109
+ type_hints = typing.get_type_hints(_typecheckingstub__431b690cfc38177c6d13e2a64c92a9b242c6a79b7a4c3d863419e7fee6120750)
110
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
111
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
112
+ props = CfnDiscoveryProps()
113
+
114
+ jsii.create(self.__class__, self, [scope, id, props])
115
+
116
+ @jsii.member(jsii_name="inspect")
117
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
118
+ '''Examines the CloudFormation resource and discloses attributes.
119
+
120
+ :param inspector: tree inspector to collect and process attributes.
121
+ '''
122
+ if __debug__:
123
+ type_hints = typing.get_type_hints(_typecheckingstub__169149a48e72c8ecdaddbc89a3281a63982fa5a6a224a652a20963505c16cf6d)
124
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
125
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
126
+
127
+ @jsii.member(jsii_name="renderProperties")
128
+ def _render_properties(
129
+ self,
130
+ props: typing.Mapping[builtins.str, typing.Any],
131
+ ) -> typing.Mapping[builtins.str, typing.Any]:
132
+ '''
133
+ :param props: -
134
+ '''
135
+ if __debug__:
136
+ type_hints = typing.get_type_hints(_typecheckingstub__eb458e3d0e3086df3dd6729e5a3b2db446683118361abbfeb5b60c322d39396e)
137
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
138
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
139
+
140
+ @jsii.python.classproperty
141
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
142
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
143
+ '''The CloudFormation resource type name for this resource class.'''
144
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
145
+
146
+ @builtins.property
147
+ @jsii.member(jsii_name="attrAccountId")
148
+ def attr_account_id(self) -> builtins.str:
149
+ '''The identifier for the specified AWS account.
150
+
151
+ :cloudformationAttribute: AccountId
152
+ '''
153
+ return typing.cast(builtins.str, jsii.get(self, "attrAccountId"))
154
+
155
+ @builtins.property
156
+ @jsii.member(jsii_name="cfnProperties")
157
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
158
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
159
+
160
+
161
+ @jsii.data_type(
162
+ jsii_type="aws-cdk-lib.aws_applicationsignals.CfnDiscoveryProps",
163
+ jsii_struct_bases=[],
164
+ name_mapping={},
165
+ )
166
+ class CfnDiscoveryProps:
167
+ def __init__(self) -> None:
168
+ '''Properties for defining a ``CfnDiscovery``.
169
+
170
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationsignals-discovery.html
171
+ :exampleMetadata: fixture=_generated
172
+
173
+ Example::
174
+
175
+ # The code below shows an example of how to instantiate this type.
176
+ # The values are placeholders you should change.
177
+ from aws_cdk import aws_applicationsignals as applicationsignals
178
+
179
+ cfn_discovery_props = applicationsignals.CfnDiscoveryProps()
180
+ '''
181
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
182
+
183
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
184
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
185
+
186
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
187
+ return not (rhs == self)
188
+
189
+ def __repr__(self) -> str:
190
+ return "CfnDiscoveryProps(%s)" % ", ".join(
191
+ k + "=" + repr(v) for k, v in self._values.items()
192
+ )
193
+
194
+
82
195
  @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
83
196
  class CfnServiceLevelObjective(
84
197
  _CfnResource_9df397a6,
@@ -2521,12 +2634,33 @@ class CfnServiceLevelObjectiveProps:
2521
2634
 
2522
2635
 
2523
2636
  __all__ = [
2637
+ "CfnDiscovery",
2638
+ "CfnDiscoveryProps",
2524
2639
  "CfnServiceLevelObjective",
2525
2640
  "CfnServiceLevelObjectiveProps",
2526
2641
  ]
2527
2642
 
2528
2643
  publication.publish()
2529
2644
 
2645
+ def _typecheckingstub__431b690cfc38177c6d13e2a64c92a9b242c6a79b7a4c3d863419e7fee6120750(
2646
+ scope: _constructs_77d1e7e8.Construct,
2647
+ id: builtins.str,
2648
+ ) -> None:
2649
+ """Type checking stubs"""
2650
+ pass
2651
+
2652
+ def _typecheckingstub__169149a48e72c8ecdaddbc89a3281a63982fa5a6a224a652a20963505c16cf6d(
2653
+ inspector: _TreeInspector_488e0dd5,
2654
+ ) -> None:
2655
+ """Type checking stubs"""
2656
+ pass
2657
+
2658
+ def _typecheckingstub__eb458e3d0e3086df3dd6729e5a3b2db446683118361abbfeb5b60c322d39396e(
2659
+ props: typing.Mapping[builtins.str, typing.Any],
2660
+ ) -> None:
2661
+ """Type checking stubs"""
2662
+ pass
2663
+
2530
2664
  def _typecheckingstub__8476d024be5b448cfb8f9ae2f80fa7f2083296f712cdb7cd12e69365dd7adba1(
2531
2665
  scope: _constructs_77d1e7e8.Construct,
2532
2666
  id: builtins.str,
@@ -9393,14 +9393,6 @@ class CfnGraphQLApi(
9393
9393
  '''
9394
9394
  return typing.cast(builtins.str, jsii.get(self, "attrGraphQlUrl"))
9395
9395
 
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
9396
  @builtins.property
9405
9397
  @jsii.member(jsii_name="attrRealtimeDns")
9406
9398
  def attr_realtime_dns(self) -> builtins.str:
@@ -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"""
@@ -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")
@@ -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]: