aws-cdk-lib 2.167.2__py3-none-any.whl → 2.169.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 +2083 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.167.2.jsii.tgz → aws-cdk-lib@2.169.0.jsii.tgz} +0 -0
- aws_cdk/aws_accessanalyzer/__init__.py +244 -13
- aws_cdk/aws_applicationautoscaling/__init__.py +1691 -95
- aws_cdk/aws_applicationinsights/__init__.py +41 -0
- aws_cdk/aws_applicationsignals/__init__.py +124 -0
- aws_cdk/aws_autoscaling/__init__.py +743 -7
- aws_cdk/aws_batch/__init__.py +202 -5
- aws_cdk/aws_bedrock/__init__.py +12 -12
- aws_cdk/aws_cleanrooms/__init__.py +17 -8
- aws_cdk/aws_cloudformation/__init__.py +2571 -492
- aws_cdk/aws_cloudfront/__init__.py +281 -0
- aws_cdk/aws_cloudfront/experimental/__init__.py +5 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +714 -132
- aws_cdk/aws_cloudtrail/__init__.py +52 -14
- aws_cdk/aws_codebuild/__init__.py +670 -4
- aws_cdk/aws_connect/__init__.py +378 -0
- aws_cdk/aws_connectcampaignsv2/__init__.py +3376 -0
- aws_cdk/aws_customerprofiles/__init__.py +44 -0
- aws_cdk/aws_deadline/__init__.py +299 -6
- aws_cdk/aws_dynamodb/__init__.py +359 -16
- aws_cdk/aws_ec2/__init__.py +19 -6
- aws_cdk/aws_ecs/__init__.py +231 -12
- aws_cdk/aws_efs/__init__.py +61 -4
- aws_cdk/aws_eks/__init__.py +116 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +160 -11
- aws_cdk/aws_fis/__init__.py +495 -0
- aws_cdk/aws_gamelift/__init__.py +3204 -1104
- aws_cdk/aws_iot/__init__.py +209 -0
- aws_cdk/aws_iotfleetwise/__init__.py +550 -0
- aws_cdk/aws_iotsitewise/__init__.py +6 -3
- aws_cdk/aws_ivs/__init__.py +458 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +756 -8
- aws_cdk/aws_lambda/__init__.py +634 -259
- aws_cdk/aws_lambda_destinations/__init__.py +73 -0
- aws_cdk/aws_lambda_event_sources/__init__.py +102 -2
- aws_cdk/aws_location/__init__.py +18 -18
- aws_cdk/aws_mediastore/__init__.py +22 -10
- aws_cdk/aws_opensearchservice/__init__.py +6 -0
- aws_cdk/aws_quicksight/__init__.py +35 -19
- aws_cdk/aws_rbin/__init__.py +902 -0
- aws_cdk/aws_rds/__init__.py +166 -3
- aws_cdk/aws_route53resolver/__init__.py +76 -19
- aws_cdk/aws_sagemaker/__init__.py +32 -0
- aws_cdk/aws_securityhub/__init__.py +11 -14
- aws_cdk/aws_ses/__init__.py +58 -5
- aws_cdk/aws_sns/__init__.py +593 -8
- aws_cdk/aws_sns_subscriptions/__init__.py +68 -22
- aws_cdk/aws_stepfunctions_tasks/__init__.py +1601 -8
- aws_cdk/aws_synthetics/__init__.py +46 -0
- aws_cdk/aws_transfer/__init__.py +0 -8
- aws_cdk/aws_vpclattice/__init__.py +157 -2
- aws_cdk/aws_wisdom/__init__.py +113 -69
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/RECORD +60 -58
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/top_level.txt +0 -0
|
@@ -118,6 +118,7 @@ class CfnDeliveryStream(
|
|
|
118
118
|
*,
|
|
119
119
|
amazon_open_search_serverless_destination_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDeliveryStream.AmazonOpenSearchServerlessDestinationConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
120
120
|
amazonopensearchservice_destination_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDeliveryStream.AmazonopensearchserviceDestinationConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
121
|
+
database_source_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDeliveryStream.DatabaseSourceConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
121
122
|
delivery_stream_encryption_configuration_input: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
122
123
|
delivery_stream_name: typing.Optional[builtins.str] = None,
|
|
123
124
|
delivery_stream_type: typing.Optional[builtins.str] = None,
|
|
@@ -138,6 +139,7 @@ class CfnDeliveryStream(
|
|
|
138
139
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
139
140
|
:param amazon_open_search_serverless_destination_configuration: Describes the configuration of a destination in the Serverless offering for Amazon OpenSearch Service.
|
|
140
141
|
:param amazonopensearchservice_destination_configuration: The destination in Amazon OpenSearch Service. You can specify only one destination.
|
|
142
|
+
:param database_source_configuration: The top level object for configuring streams with database as a source. Amazon Data Firehose is in preview release and is subject to change.
|
|
141
143
|
:param delivery_stream_encryption_configuration_input: Specifies the type and Amazon Resource Name (ARN) of the CMK to use for Server-Side Encryption (SSE).
|
|
142
144
|
:param delivery_stream_name: The name of the Firehose stream.
|
|
143
145
|
:param delivery_stream_type: The Firehose stream type. This can be one of the following values:. - ``DirectPut`` : Provider applications access the Firehose stream directly. - ``KinesisStreamAsSource`` : The Firehose stream uses a Kinesis data stream as a source.
|
|
@@ -151,7 +153,7 @@ class CfnDeliveryStream(
|
|
|
151
153
|
:param s3_destination_configuration: The ``S3DestinationConfiguration`` property type specifies an Amazon Simple Storage Service (Amazon S3) destination to which Amazon Kinesis Data Firehose (Kinesis Data Firehose) delivers data. Conditional. You must specify only one destination configuration. If you change the delivery stream destination from an Amazon S3 destination to an Amazon ES destination, update requires `some interruptions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt>`_ .
|
|
152
154
|
:param snowflake_destination_configuration: Configure Snowflake destination.
|
|
153
155
|
:param splunk_destination_configuration: The configuration of a destination in Splunk for the delivery stream.
|
|
154
|
-
:param tags: A set of tags to assign to the Firehose stream. A tag is a key-value pair that you can define and assign to AWS resources. Tags are metadata. For example, you can add friendly names and descriptions or other types of information that can help you distinguish the Firehose stream. For more information about tags, see `Using Cost Allocation Tags <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html>`_ in the AWS Billing and Cost Management User Guide. You can specify up to 50 tags when creating a Firehose stream. If you specify tags in the ``CreateDeliveryStream`` action, Amazon Data Firehose performs an additional authorization on the ``firehose:TagDeliveryStream`` action to verify if users have permissions to create tags. If you do not provide this permission, requests to create new Firehose
|
|
156
|
+
:param tags: A set of tags to assign to the Firehose stream. A tag is a key-value pair that you can define and assign to AWS resources. Tags are metadata. For example, you can add friendly names and descriptions or other types of information that can help you distinguish the Firehose stream. For more information about tags, see `Using Cost Allocation Tags <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html>`_ in the AWS Billing and Cost Management User Guide. You can specify up to 50 tags when creating a Firehose stream. If you specify tags in the ``CreateDeliveryStream`` action, Amazon Data Firehose performs an additional authorization on the ``firehose:TagDeliveryStream`` action to verify if users have permissions to create tags. If you do not provide this permission, requests to create new Firehose streams with IAM resource tags will fail with an ``AccessDeniedException`` such as following. *AccessDeniedException* User: arn:aws:sts::x:assumed-role/x/x is not authorized to perform: firehose:TagDeliveryStream on resource: arn:aws:firehose:us-east-1:x:deliverystream/x with an explicit deny in an identity-based policy. For an example IAM policy, see `Tag example. <https://docs.aws.amazon.com/firehose/latest/APIReference/API_CreateDeliveryStream.html#API_CreateDeliveryStream_Examples>`_
|
|
155
157
|
'''
|
|
156
158
|
if __debug__:
|
|
157
159
|
type_hints = typing.get_type_hints(_typecheckingstub__b3cd824a2680c7d043cac684bd1be9ca77e94201f1ba00785d60a50ff43c2288)
|
|
@@ -160,6 +162,7 @@ class CfnDeliveryStream(
|
|
|
160
162
|
props = CfnDeliveryStreamProps(
|
|
161
163
|
amazon_open_search_serverless_destination_configuration=amazon_open_search_serverless_destination_configuration,
|
|
162
164
|
amazonopensearchservice_destination_configuration=amazonopensearchservice_destination_configuration,
|
|
165
|
+
database_source_configuration=database_source_configuration,
|
|
163
166
|
delivery_stream_encryption_configuration_input=delivery_stream_encryption_configuration_input,
|
|
164
167
|
delivery_stream_name=delivery_stream_name,
|
|
165
168
|
delivery_stream_type=delivery_stream_type,
|
|
@@ -264,6 +267,24 @@ class CfnDeliveryStream(
|
|
|
264
267
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
265
268
|
jsii.set(self, "amazonopensearchserviceDestinationConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
266
269
|
|
|
270
|
+
@builtins.property
|
|
271
|
+
@jsii.member(jsii_name="databaseSourceConfiguration")
|
|
272
|
+
def database_source_configuration(
|
|
273
|
+
self,
|
|
274
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDeliveryStream.DatabaseSourceConfigurationProperty"]]:
|
|
275
|
+
'''The top level object for configuring streams with database as a source.'''
|
|
276
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDeliveryStream.DatabaseSourceConfigurationProperty"]], jsii.get(self, "databaseSourceConfiguration"))
|
|
277
|
+
|
|
278
|
+
@database_source_configuration.setter
|
|
279
|
+
def database_source_configuration(
|
|
280
|
+
self,
|
|
281
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDeliveryStream.DatabaseSourceConfigurationProperty"]],
|
|
282
|
+
) -> None:
|
|
283
|
+
if __debug__:
|
|
284
|
+
type_hints = typing.get_type_hints(_typecheckingstub__671f3a3eb25ab7249d3b64fb9d1c6865a8a68b8a7b92841ab6890851853da1f5)
|
|
285
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
286
|
+
jsii.set(self, "databaseSourceConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
287
|
+
|
|
267
288
|
@builtins.property
|
|
268
289
|
@jsii.member(jsii_name="deliveryStreamEncryptionConfigurationInput")
|
|
269
290
|
def delivery_stream_encryption_configuration_input(
|
|
@@ -1944,6 +1965,639 @@ class CfnDeliveryStream(
|
|
|
1944
1965
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
1945
1966
|
)
|
|
1946
1967
|
|
|
1968
|
+
@jsii.data_type(
|
|
1969
|
+
jsii_type="aws-cdk-lib.aws_kinesisfirehose.CfnDeliveryStream.DatabaseColumnsProperty",
|
|
1970
|
+
jsii_struct_bases=[],
|
|
1971
|
+
name_mapping={"exclude": "exclude", "include": "include"},
|
|
1972
|
+
)
|
|
1973
|
+
class DatabaseColumnsProperty:
|
|
1974
|
+
def __init__(
|
|
1975
|
+
self,
|
|
1976
|
+
*,
|
|
1977
|
+
exclude: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1978
|
+
include: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1979
|
+
) -> None:
|
|
1980
|
+
'''
|
|
1981
|
+
:param exclude:
|
|
1982
|
+
:param include:
|
|
1983
|
+
|
|
1984
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasecolumns.html
|
|
1985
|
+
:exampleMetadata: fixture=_generated
|
|
1986
|
+
|
|
1987
|
+
Example::
|
|
1988
|
+
|
|
1989
|
+
# The code below shows an example of how to instantiate this type.
|
|
1990
|
+
# The values are placeholders you should change.
|
|
1991
|
+
from aws_cdk import aws_kinesisfirehose as kinesisfirehose
|
|
1992
|
+
|
|
1993
|
+
database_columns_property = kinesisfirehose.CfnDeliveryStream.DatabaseColumnsProperty(
|
|
1994
|
+
exclude=["exclude"],
|
|
1995
|
+
include=["include"]
|
|
1996
|
+
)
|
|
1997
|
+
'''
|
|
1998
|
+
if __debug__:
|
|
1999
|
+
type_hints = typing.get_type_hints(_typecheckingstub__111648b092f5dd75408d33db5fb1adea30dc7a8b58549cef95459f9224ccb26a)
|
|
2000
|
+
check_type(argname="argument exclude", value=exclude, expected_type=type_hints["exclude"])
|
|
2001
|
+
check_type(argname="argument include", value=include, expected_type=type_hints["include"])
|
|
2002
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2003
|
+
if exclude is not None:
|
|
2004
|
+
self._values["exclude"] = exclude
|
|
2005
|
+
if include is not None:
|
|
2006
|
+
self._values["include"] = include
|
|
2007
|
+
|
|
2008
|
+
@builtins.property
|
|
2009
|
+
def exclude(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2010
|
+
'''
|
|
2011
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasecolumns.html#cfn-kinesisfirehose-deliverystream-databasecolumns-exclude
|
|
2012
|
+
'''
|
|
2013
|
+
result = self._values.get("exclude")
|
|
2014
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2015
|
+
|
|
2016
|
+
@builtins.property
|
|
2017
|
+
def include(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2018
|
+
'''
|
|
2019
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasecolumns.html#cfn-kinesisfirehose-deliverystream-databasecolumns-include
|
|
2020
|
+
'''
|
|
2021
|
+
result = self._values.get("include")
|
|
2022
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2023
|
+
|
|
2024
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2025
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2026
|
+
|
|
2027
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2028
|
+
return not (rhs == self)
|
|
2029
|
+
|
|
2030
|
+
def __repr__(self) -> str:
|
|
2031
|
+
return "DatabaseColumnsProperty(%s)" % ", ".join(
|
|
2032
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2033
|
+
)
|
|
2034
|
+
|
|
2035
|
+
@jsii.data_type(
|
|
2036
|
+
jsii_type="aws-cdk-lib.aws_kinesisfirehose.CfnDeliveryStream.DatabaseSourceAuthenticationConfigurationProperty",
|
|
2037
|
+
jsii_struct_bases=[],
|
|
2038
|
+
name_mapping={"secrets_manager_configuration": "secretsManagerConfiguration"},
|
|
2039
|
+
)
|
|
2040
|
+
class DatabaseSourceAuthenticationConfigurationProperty:
|
|
2041
|
+
def __init__(
|
|
2042
|
+
self,
|
|
2043
|
+
*,
|
|
2044
|
+
secrets_manager_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnDeliveryStream.SecretsManagerConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
2045
|
+
) -> None:
|
|
2046
|
+
'''The structure to configure the authentication methods for Firehose to connect to source database endpoint.
|
|
2047
|
+
|
|
2048
|
+
Amazon Data Firehose is in preview release and is subject to change.
|
|
2049
|
+
|
|
2050
|
+
:param secrets_manager_configuration:
|
|
2051
|
+
|
|
2052
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasesourceauthenticationconfiguration.html
|
|
2053
|
+
:exampleMetadata: fixture=_generated
|
|
2054
|
+
|
|
2055
|
+
Example::
|
|
2056
|
+
|
|
2057
|
+
# The code below shows an example of how to instantiate this type.
|
|
2058
|
+
# The values are placeholders you should change.
|
|
2059
|
+
from aws_cdk import aws_kinesisfirehose as kinesisfirehose
|
|
2060
|
+
|
|
2061
|
+
database_source_authentication_configuration_property = kinesisfirehose.CfnDeliveryStream.DatabaseSourceAuthenticationConfigurationProperty(
|
|
2062
|
+
secrets_manager_configuration=kinesisfirehose.CfnDeliveryStream.SecretsManagerConfigurationProperty(
|
|
2063
|
+
enabled=False,
|
|
2064
|
+
|
|
2065
|
+
# the properties below are optional
|
|
2066
|
+
role_arn="roleArn",
|
|
2067
|
+
secret_arn="secretArn"
|
|
2068
|
+
)
|
|
2069
|
+
)
|
|
2070
|
+
'''
|
|
2071
|
+
if __debug__:
|
|
2072
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cecf7807b45586be03c0bc76f8fcdf6ad93c6bd34a795d26aeaf365dd3d297c4)
|
|
2073
|
+
check_type(argname="argument secrets_manager_configuration", value=secrets_manager_configuration, expected_type=type_hints["secrets_manager_configuration"])
|
|
2074
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2075
|
+
"secrets_manager_configuration": secrets_manager_configuration,
|
|
2076
|
+
}
|
|
2077
|
+
|
|
2078
|
+
@builtins.property
|
|
2079
|
+
def secrets_manager_configuration(
|
|
2080
|
+
self,
|
|
2081
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnDeliveryStream.SecretsManagerConfigurationProperty"]:
|
|
2082
|
+
'''
|
|
2083
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasesourceauthenticationconfiguration.html#cfn-kinesisfirehose-deliverystream-databasesourceauthenticationconfiguration-secretsmanagerconfiguration
|
|
2084
|
+
'''
|
|
2085
|
+
result = self._values.get("secrets_manager_configuration")
|
|
2086
|
+
assert result is not None, "Required property 'secrets_manager_configuration' is missing"
|
|
2087
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnDeliveryStream.SecretsManagerConfigurationProperty"], result)
|
|
2088
|
+
|
|
2089
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2090
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2091
|
+
|
|
2092
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2093
|
+
return not (rhs == self)
|
|
2094
|
+
|
|
2095
|
+
def __repr__(self) -> str:
|
|
2096
|
+
return "DatabaseSourceAuthenticationConfigurationProperty(%s)" % ", ".join(
|
|
2097
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2098
|
+
)
|
|
2099
|
+
|
|
2100
|
+
@jsii.data_type(
|
|
2101
|
+
jsii_type="aws-cdk-lib.aws_kinesisfirehose.CfnDeliveryStream.DatabaseSourceConfigurationProperty",
|
|
2102
|
+
jsii_struct_bases=[],
|
|
2103
|
+
name_mapping={
|
|
2104
|
+
"databases": "databases",
|
|
2105
|
+
"database_source_authentication_configuration": "databaseSourceAuthenticationConfiguration",
|
|
2106
|
+
"database_source_vpc_configuration": "databaseSourceVpcConfiguration",
|
|
2107
|
+
"endpoint": "endpoint",
|
|
2108
|
+
"port": "port",
|
|
2109
|
+
"snapshot_watermark_table": "snapshotWatermarkTable",
|
|
2110
|
+
"tables": "tables",
|
|
2111
|
+
"type": "type",
|
|
2112
|
+
"columns": "columns",
|
|
2113
|
+
"digest": "digest",
|
|
2114
|
+
"public_certificate": "publicCertificate",
|
|
2115
|
+
"ssl_mode": "sslMode",
|
|
2116
|
+
"surrogate_keys": "surrogateKeys",
|
|
2117
|
+
},
|
|
2118
|
+
)
|
|
2119
|
+
class DatabaseSourceConfigurationProperty:
|
|
2120
|
+
def __init__(
|
|
2121
|
+
self,
|
|
2122
|
+
*,
|
|
2123
|
+
databases: typing.Union[_IResolvable_da3f097b, typing.Union["CfnDeliveryStream.DatabasesProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
2124
|
+
database_source_authentication_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnDeliveryStream.DatabaseSourceAuthenticationConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
2125
|
+
database_source_vpc_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnDeliveryStream.DatabaseSourceVPCConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
2126
|
+
endpoint: builtins.str,
|
|
2127
|
+
port: jsii.Number,
|
|
2128
|
+
snapshot_watermark_table: builtins.str,
|
|
2129
|
+
tables: typing.Union[_IResolvable_da3f097b, typing.Union["CfnDeliveryStream.DatabaseTablesProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
2130
|
+
type: builtins.str,
|
|
2131
|
+
columns: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDeliveryStream.DatabaseColumnsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2132
|
+
digest: typing.Optional[builtins.str] = None,
|
|
2133
|
+
public_certificate: typing.Optional[builtins.str] = None,
|
|
2134
|
+
ssl_mode: typing.Optional[builtins.str] = None,
|
|
2135
|
+
surrogate_keys: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2136
|
+
) -> None:
|
|
2137
|
+
'''The top level object for configuring streams with database as a source.
|
|
2138
|
+
|
|
2139
|
+
Amazon Data Firehose is in preview release and is subject to change.
|
|
2140
|
+
|
|
2141
|
+
:param databases: The list of database patterns in source database endpoint for Firehose to read from. Amazon Data Firehose is in preview release and is subject to change.
|
|
2142
|
+
:param database_source_authentication_configuration: The structure to configure the authentication methods for Firehose to connect to source database endpoint. Amazon Data Firehose is in preview release and is subject to change.
|
|
2143
|
+
:param database_source_vpc_configuration: The details of the VPC Endpoint Service which Firehose uses to create a PrivateLink to the database. Amazon Data Firehose is in preview release and is subject to change.
|
|
2144
|
+
:param endpoint: The endpoint of the database server. Amazon Data Firehose is in preview release and is subject to change.
|
|
2145
|
+
:param port: The port of the database. This can be one of the following values. - 3306 for MySQL database type - 5432 for PostgreSQL database type Amazon Data Firehose is in preview release and is subject to change.
|
|
2146
|
+
:param snapshot_watermark_table: The fully qualified name of the table in source database endpoint that Firehose uses to track snapshot progress. Amazon Data Firehose is in preview release and is subject to change.
|
|
2147
|
+
:param tables: The list of table patterns in source database endpoint for Firehose to read from. Amazon Data Firehose is in preview release and is subject to change.
|
|
2148
|
+
:param type: The type of database engine. This can be one of the following values. - MySQL - PostgreSQL Amazon Data Firehose is in preview release and is subject to change.
|
|
2149
|
+
:param columns: The list of column patterns in source database endpoint for Firehose to read from. Amazon Data Firehose is in preview release and is subject to change.
|
|
2150
|
+
:param digest:
|
|
2151
|
+
:param public_certificate:
|
|
2152
|
+
:param ssl_mode: The mode to enable or disable SSL when Firehose connects to the database endpoint. Amazon Data Firehose is in preview release and is subject to change.
|
|
2153
|
+
:param surrogate_keys: The optional list of table and column names used as unique key columns when taking snapshot if the tables don’t have primary keys configured. Amazon Data Firehose is in preview release and is subject to change.
|
|
2154
|
+
|
|
2155
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasesourceconfiguration.html
|
|
2156
|
+
:exampleMetadata: fixture=_generated
|
|
2157
|
+
|
|
2158
|
+
Example::
|
|
2159
|
+
|
|
2160
|
+
# The code below shows an example of how to instantiate this type.
|
|
2161
|
+
# The values are placeholders you should change.
|
|
2162
|
+
from aws_cdk import aws_kinesisfirehose as kinesisfirehose
|
|
2163
|
+
|
|
2164
|
+
database_source_configuration_property = kinesisfirehose.CfnDeliveryStream.DatabaseSourceConfigurationProperty(
|
|
2165
|
+
databases=kinesisfirehose.CfnDeliveryStream.DatabasesProperty(
|
|
2166
|
+
exclude=["exclude"],
|
|
2167
|
+
include=["include"]
|
|
2168
|
+
),
|
|
2169
|
+
database_source_authentication_configuration=kinesisfirehose.CfnDeliveryStream.DatabaseSourceAuthenticationConfigurationProperty(
|
|
2170
|
+
secrets_manager_configuration=kinesisfirehose.CfnDeliveryStream.SecretsManagerConfigurationProperty(
|
|
2171
|
+
enabled=False,
|
|
2172
|
+
|
|
2173
|
+
# the properties below are optional
|
|
2174
|
+
role_arn="roleArn",
|
|
2175
|
+
secret_arn="secretArn"
|
|
2176
|
+
)
|
|
2177
|
+
),
|
|
2178
|
+
database_source_vpc_configuration=kinesisfirehose.CfnDeliveryStream.DatabaseSourceVPCConfigurationProperty(
|
|
2179
|
+
vpc_endpoint_service_name="vpcEndpointServiceName"
|
|
2180
|
+
),
|
|
2181
|
+
endpoint="endpoint",
|
|
2182
|
+
port=123,
|
|
2183
|
+
snapshot_watermark_table="snapshotWatermarkTable",
|
|
2184
|
+
tables=kinesisfirehose.CfnDeliveryStream.DatabaseTablesProperty(
|
|
2185
|
+
exclude=["exclude"],
|
|
2186
|
+
include=["include"]
|
|
2187
|
+
),
|
|
2188
|
+
type="type",
|
|
2189
|
+
|
|
2190
|
+
# the properties below are optional
|
|
2191
|
+
columns=kinesisfirehose.CfnDeliveryStream.DatabaseColumnsProperty(
|
|
2192
|
+
exclude=["exclude"],
|
|
2193
|
+
include=["include"]
|
|
2194
|
+
),
|
|
2195
|
+
digest="digest",
|
|
2196
|
+
public_certificate="publicCertificate",
|
|
2197
|
+
ssl_mode="sslMode",
|
|
2198
|
+
surrogate_keys=["surrogateKeys"]
|
|
2199
|
+
)
|
|
2200
|
+
'''
|
|
2201
|
+
if __debug__:
|
|
2202
|
+
type_hints = typing.get_type_hints(_typecheckingstub__dfa32769046e99e73e35a8b5e878b72f25abcaa661bf955ff25e794601e2126d)
|
|
2203
|
+
check_type(argname="argument databases", value=databases, expected_type=type_hints["databases"])
|
|
2204
|
+
check_type(argname="argument database_source_authentication_configuration", value=database_source_authentication_configuration, expected_type=type_hints["database_source_authentication_configuration"])
|
|
2205
|
+
check_type(argname="argument database_source_vpc_configuration", value=database_source_vpc_configuration, expected_type=type_hints["database_source_vpc_configuration"])
|
|
2206
|
+
check_type(argname="argument endpoint", value=endpoint, expected_type=type_hints["endpoint"])
|
|
2207
|
+
check_type(argname="argument port", value=port, expected_type=type_hints["port"])
|
|
2208
|
+
check_type(argname="argument snapshot_watermark_table", value=snapshot_watermark_table, expected_type=type_hints["snapshot_watermark_table"])
|
|
2209
|
+
check_type(argname="argument tables", value=tables, expected_type=type_hints["tables"])
|
|
2210
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
2211
|
+
check_type(argname="argument columns", value=columns, expected_type=type_hints["columns"])
|
|
2212
|
+
check_type(argname="argument digest", value=digest, expected_type=type_hints["digest"])
|
|
2213
|
+
check_type(argname="argument public_certificate", value=public_certificate, expected_type=type_hints["public_certificate"])
|
|
2214
|
+
check_type(argname="argument ssl_mode", value=ssl_mode, expected_type=type_hints["ssl_mode"])
|
|
2215
|
+
check_type(argname="argument surrogate_keys", value=surrogate_keys, expected_type=type_hints["surrogate_keys"])
|
|
2216
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2217
|
+
"databases": databases,
|
|
2218
|
+
"database_source_authentication_configuration": database_source_authentication_configuration,
|
|
2219
|
+
"database_source_vpc_configuration": database_source_vpc_configuration,
|
|
2220
|
+
"endpoint": endpoint,
|
|
2221
|
+
"port": port,
|
|
2222
|
+
"snapshot_watermark_table": snapshot_watermark_table,
|
|
2223
|
+
"tables": tables,
|
|
2224
|
+
"type": type,
|
|
2225
|
+
}
|
|
2226
|
+
if columns is not None:
|
|
2227
|
+
self._values["columns"] = columns
|
|
2228
|
+
if digest is not None:
|
|
2229
|
+
self._values["digest"] = digest
|
|
2230
|
+
if public_certificate is not None:
|
|
2231
|
+
self._values["public_certificate"] = public_certificate
|
|
2232
|
+
if ssl_mode is not None:
|
|
2233
|
+
self._values["ssl_mode"] = ssl_mode
|
|
2234
|
+
if surrogate_keys is not None:
|
|
2235
|
+
self._values["surrogate_keys"] = surrogate_keys
|
|
2236
|
+
|
|
2237
|
+
@builtins.property
|
|
2238
|
+
def databases(
|
|
2239
|
+
self,
|
|
2240
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnDeliveryStream.DatabasesProperty"]:
|
|
2241
|
+
'''The list of database patterns in source database endpoint for Firehose to read from.
|
|
2242
|
+
|
|
2243
|
+
Amazon Data Firehose is in preview release and is subject to change.
|
|
2244
|
+
|
|
2245
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasesourceconfiguration.html#cfn-kinesisfirehose-deliverystream-databasesourceconfiguration-databases
|
|
2246
|
+
'''
|
|
2247
|
+
result = self._values.get("databases")
|
|
2248
|
+
assert result is not None, "Required property 'databases' is missing"
|
|
2249
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnDeliveryStream.DatabasesProperty"], result)
|
|
2250
|
+
|
|
2251
|
+
@builtins.property
|
|
2252
|
+
def database_source_authentication_configuration(
|
|
2253
|
+
self,
|
|
2254
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnDeliveryStream.DatabaseSourceAuthenticationConfigurationProperty"]:
|
|
2255
|
+
'''The structure to configure the authentication methods for Firehose to connect to source database endpoint.
|
|
2256
|
+
|
|
2257
|
+
Amazon Data Firehose is in preview release and is subject to change.
|
|
2258
|
+
|
|
2259
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasesourceconfiguration.html#cfn-kinesisfirehose-deliverystream-databasesourceconfiguration-databasesourceauthenticationconfiguration
|
|
2260
|
+
'''
|
|
2261
|
+
result = self._values.get("database_source_authentication_configuration")
|
|
2262
|
+
assert result is not None, "Required property 'database_source_authentication_configuration' is missing"
|
|
2263
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnDeliveryStream.DatabaseSourceAuthenticationConfigurationProperty"], result)
|
|
2264
|
+
|
|
2265
|
+
@builtins.property
|
|
2266
|
+
def database_source_vpc_configuration(
|
|
2267
|
+
self,
|
|
2268
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnDeliveryStream.DatabaseSourceVPCConfigurationProperty"]:
|
|
2269
|
+
'''The details of the VPC Endpoint Service which Firehose uses to create a PrivateLink to the database.
|
|
2270
|
+
|
|
2271
|
+
Amazon Data Firehose is in preview release and is subject to change.
|
|
2272
|
+
|
|
2273
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasesourceconfiguration.html#cfn-kinesisfirehose-deliverystream-databasesourceconfiguration-databasesourcevpcconfiguration
|
|
2274
|
+
'''
|
|
2275
|
+
result = self._values.get("database_source_vpc_configuration")
|
|
2276
|
+
assert result is not None, "Required property 'database_source_vpc_configuration' is missing"
|
|
2277
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnDeliveryStream.DatabaseSourceVPCConfigurationProperty"], result)
|
|
2278
|
+
|
|
2279
|
+
@builtins.property
|
|
2280
|
+
def endpoint(self) -> builtins.str:
|
|
2281
|
+
'''The endpoint of the database server.
|
|
2282
|
+
|
|
2283
|
+
Amazon Data Firehose is in preview release and is subject to change.
|
|
2284
|
+
|
|
2285
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasesourceconfiguration.html#cfn-kinesisfirehose-deliverystream-databasesourceconfiguration-endpoint
|
|
2286
|
+
'''
|
|
2287
|
+
result = self._values.get("endpoint")
|
|
2288
|
+
assert result is not None, "Required property 'endpoint' is missing"
|
|
2289
|
+
return typing.cast(builtins.str, result)
|
|
2290
|
+
|
|
2291
|
+
@builtins.property
|
|
2292
|
+
def port(self) -> jsii.Number:
|
|
2293
|
+
'''The port of the database. This can be one of the following values.
|
|
2294
|
+
|
|
2295
|
+
- 3306 for MySQL database type
|
|
2296
|
+
- 5432 for PostgreSQL database type
|
|
2297
|
+
|
|
2298
|
+
Amazon Data Firehose is in preview release and is subject to change.
|
|
2299
|
+
|
|
2300
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasesourceconfiguration.html#cfn-kinesisfirehose-deliverystream-databasesourceconfiguration-port
|
|
2301
|
+
'''
|
|
2302
|
+
result = self._values.get("port")
|
|
2303
|
+
assert result is not None, "Required property 'port' is missing"
|
|
2304
|
+
return typing.cast(jsii.Number, result)
|
|
2305
|
+
|
|
2306
|
+
@builtins.property
|
|
2307
|
+
def snapshot_watermark_table(self) -> builtins.str:
|
|
2308
|
+
'''The fully qualified name of the table in source database endpoint that Firehose uses to track snapshot progress.
|
|
2309
|
+
|
|
2310
|
+
Amazon Data Firehose is in preview release and is subject to change.
|
|
2311
|
+
|
|
2312
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasesourceconfiguration.html#cfn-kinesisfirehose-deliverystream-databasesourceconfiguration-snapshotwatermarktable
|
|
2313
|
+
'''
|
|
2314
|
+
result = self._values.get("snapshot_watermark_table")
|
|
2315
|
+
assert result is not None, "Required property 'snapshot_watermark_table' is missing"
|
|
2316
|
+
return typing.cast(builtins.str, result)
|
|
2317
|
+
|
|
2318
|
+
@builtins.property
|
|
2319
|
+
def tables(
|
|
2320
|
+
self,
|
|
2321
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnDeliveryStream.DatabaseTablesProperty"]:
|
|
2322
|
+
'''The list of table patterns in source database endpoint for Firehose to read from.
|
|
2323
|
+
|
|
2324
|
+
Amazon Data Firehose is in preview release and is subject to change.
|
|
2325
|
+
|
|
2326
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasesourceconfiguration.html#cfn-kinesisfirehose-deliverystream-databasesourceconfiguration-tables
|
|
2327
|
+
'''
|
|
2328
|
+
result = self._values.get("tables")
|
|
2329
|
+
assert result is not None, "Required property 'tables' is missing"
|
|
2330
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnDeliveryStream.DatabaseTablesProperty"], result)
|
|
2331
|
+
|
|
2332
|
+
@builtins.property
|
|
2333
|
+
def type(self) -> builtins.str:
|
|
2334
|
+
'''The type of database engine. This can be one of the following values.
|
|
2335
|
+
|
|
2336
|
+
- MySQL
|
|
2337
|
+
- PostgreSQL
|
|
2338
|
+
|
|
2339
|
+
Amazon Data Firehose is in preview release and is subject to change.
|
|
2340
|
+
|
|
2341
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasesourceconfiguration.html#cfn-kinesisfirehose-deliverystream-databasesourceconfiguration-type
|
|
2342
|
+
'''
|
|
2343
|
+
result = self._values.get("type")
|
|
2344
|
+
assert result is not None, "Required property 'type' is missing"
|
|
2345
|
+
return typing.cast(builtins.str, result)
|
|
2346
|
+
|
|
2347
|
+
@builtins.property
|
|
2348
|
+
def columns(
|
|
2349
|
+
self,
|
|
2350
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDeliveryStream.DatabaseColumnsProperty"]]:
|
|
2351
|
+
'''The list of column patterns in source database endpoint for Firehose to read from.
|
|
2352
|
+
|
|
2353
|
+
Amazon Data Firehose is in preview release and is subject to change.
|
|
2354
|
+
|
|
2355
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasesourceconfiguration.html#cfn-kinesisfirehose-deliverystream-databasesourceconfiguration-columns
|
|
2356
|
+
'''
|
|
2357
|
+
result = self._values.get("columns")
|
|
2358
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDeliveryStream.DatabaseColumnsProperty"]], result)
|
|
2359
|
+
|
|
2360
|
+
@builtins.property
|
|
2361
|
+
def digest(self) -> typing.Optional[builtins.str]:
|
|
2362
|
+
'''
|
|
2363
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasesourceconfiguration.html#cfn-kinesisfirehose-deliverystream-databasesourceconfiguration-digest
|
|
2364
|
+
'''
|
|
2365
|
+
result = self._values.get("digest")
|
|
2366
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2367
|
+
|
|
2368
|
+
@builtins.property
|
|
2369
|
+
def public_certificate(self) -> typing.Optional[builtins.str]:
|
|
2370
|
+
'''
|
|
2371
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasesourceconfiguration.html#cfn-kinesisfirehose-deliverystream-databasesourceconfiguration-publiccertificate
|
|
2372
|
+
'''
|
|
2373
|
+
result = self._values.get("public_certificate")
|
|
2374
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2375
|
+
|
|
2376
|
+
@builtins.property
|
|
2377
|
+
def ssl_mode(self) -> typing.Optional[builtins.str]:
|
|
2378
|
+
'''The mode to enable or disable SSL when Firehose connects to the database endpoint.
|
|
2379
|
+
|
|
2380
|
+
Amazon Data Firehose is in preview release and is subject to change.
|
|
2381
|
+
|
|
2382
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasesourceconfiguration.html#cfn-kinesisfirehose-deliverystream-databasesourceconfiguration-sslmode
|
|
2383
|
+
'''
|
|
2384
|
+
result = self._values.get("ssl_mode")
|
|
2385
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2386
|
+
|
|
2387
|
+
@builtins.property
|
|
2388
|
+
def surrogate_keys(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2389
|
+
'''The optional list of table and column names used as unique key columns when taking snapshot if the tables don’t have primary keys configured.
|
|
2390
|
+
|
|
2391
|
+
Amazon Data Firehose is in preview release and is subject to change.
|
|
2392
|
+
|
|
2393
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasesourceconfiguration.html#cfn-kinesisfirehose-deliverystream-databasesourceconfiguration-surrogatekeys
|
|
2394
|
+
'''
|
|
2395
|
+
result = self._values.get("surrogate_keys")
|
|
2396
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2397
|
+
|
|
2398
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2399
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2400
|
+
|
|
2401
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2402
|
+
return not (rhs == self)
|
|
2403
|
+
|
|
2404
|
+
def __repr__(self) -> str:
|
|
2405
|
+
return "DatabaseSourceConfigurationProperty(%s)" % ", ".join(
|
|
2406
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2407
|
+
)
|
|
2408
|
+
|
|
2409
|
+
@jsii.data_type(
|
|
2410
|
+
jsii_type="aws-cdk-lib.aws_kinesisfirehose.CfnDeliveryStream.DatabaseSourceVPCConfigurationProperty",
|
|
2411
|
+
jsii_struct_bases=[],
|
|
2412
|
+
name_mapping={"vpc_endpoint_service_name": "vpcEndpointServiceName"},
|
|
2413
|
+
)
|
|
2414
|
+
class DatabaseSourceVPCConfigurationProperty:
|
|
2415
|
+
def __init__(self, *, vpc_endpoint_service_name: builtins.str) -> None:
|
|
2416
|
+
'''The structure for details of the VPC Endpoint Service which Firehose uses to create a PrivateLink to the database.
|
|
2417
|
+
|
|
2418
|
+
Amazon Data Firehose is in preview release and is subject to change.
|
|
2419
|
+
|
|
2420
|
+
:param vpc_endpoint_service_name: The VPC endpoint service name which Firehose uses to create a PrivateLink to the database. The endpoint service must have the Firehose service principle ``firehose.amazonaws.com`` as an allowed principal on the VPC endpoint service. The VPC endpoint service name is a string that looks like ``com.amazonaws.vpce.<region>.<vpc-endpoint-service-id>`` . Amazon Data Firehose is in preview release and is subject to change.
|
|
2421
|
+
|
|
2422
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasesourcevpcconfiguration.html
|
|
2423
|
+
:exampleMetadata: fixture=_generated
|
|
2424
|
+
|
|
2425
|
+
Example::
|
|
2426
|
+
|
|
2427
|
+
# The code below shows an example of how to instantiate this type.
|
|
2428
|
+
# The values are placeholders you should change.
|
|
2429
|
+
from aws_cdk import aws_kinesisfirehose as kinesisfirehose
|
|
2430
|
+
|
|
2431
|
+
database_source_vPCConfiguration_property = kinesisfirehose.CfnDeliveryStream.DatabaseSourceVPCConfigurationProperty(
|
|
2432
|
+
vpc_endpoint_service_name="vpcEndpointServiceName"
|
|
2433
|
+
)
|
|
2434
|
+
'''
|
|
2435
|
+
if __debug__:
|
|
2436
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4616b4a1f40a4e175751eda3777e82055e2397fd9dad0a6cd009c18c89e97cd3)
|
|
2437
|
+
check_type(argname="argument vpc_endpoint_service_name", value=vpc_endpoint_service_name, expected_type=type_hints["vpc_endpoint_service_name"])
|
|
2438
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2439
|
+
"vpc_endpoint_service_name": vpc_endpoint_service_name,
|
|
2440
|
+
}
|
|
2441
|
+
|
|
2442
|
+
@builtins.property
|
|
2443
|
+
def vpc_endpoint_service_name(self) -> builtins.str:
|
|
2444
|
+
'''The VPC endpoint service name which Firehose uses to create a PrivateLink to the database.
|
|
2445
|
+
|
|
2446
|
+
The endpoint service must have the Firehose service principle ``firehose.amazonaws.com`` as an allowed principal on the VPC endpoint service. The VPC endpoint service name is a string that looks like ``com.amazonaws.vpce.<region>.<vpc-endpoint-service-id>`` .
|
|
2447
|
+
|
|
2448
|
+
Amazon Data Firehose is in preview release and is subject to change.
|
|
2449
|
+
|
|
2450
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasesourcevpcconfiguration.html#cfn-kinesisfirehose-deliverystream-databasesourcevpcconfiguration-vpcendpointservicename
|
|
2451
|
+
'''
|
|
2452
|
+
result = self._values.get("vpc_endpoint_service_name")
|
|
2453
|
+
assert result is not None, "Required property 'vpc_endpoint_service_name' is missing"
|
|
2454
|
+
return typing.cast(builtins.str, result)
|
|
2455
|
+
|
|
2456
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2457
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2458
|
+
|
|
2459
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2460
|
+
return not (rhs == self)
|
|
2461
|
+
|
|
2462
|
+
def __repr__(self) -> str:
|
|
2463
|
+
return "DatabaseSourceVPCConfigurationProperty(%s)" % ", ".join(
|
|
2464
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2465
|
+
)
|
|
2466
|
+
|
|
2467
|
+
@jsii.data_type(
|
|
2468
|
+
jsii_type="aws-cdk-lib.aws_kinesisfirehose.CfnDeliveryStream.DatabaseTablesProperty",
|
|
2469
|
+
jsii_struct_bases=[],
|
|
2470
|
+
name_mapping={"exclude": "exclude", "include": "include"},
|
|
2471
|
+
)
|
|
2472
|
+
class DatabaseTablesProperty:
|
|
2473
|
+
def __init__(
|
|
2474
|
+
self,
|
|
2475
|
+
*,
|
|
2476
|
+
exclude: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2477
|
+
include: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2478
|
+
) -> None:
|
|
2479
|
+
'''
|
|
2480
|
+
:param exclude:
|
|
2481
|
+
:param include:
|
|
2482
|
+
|
|
2483
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasetables.html
|
|
2484
|
+
:exampleMetadata: fixture=_generated
|
|
2485
|
+
|
|
2486
|
+
Example::
|
|
2487
|
+
|
|
2488
|
+
# The code below shows an example of how to instantiate this type.
|
|
2489
|
+
# The values are placeholders you should change.
|
|
2490
|
+
from aws_cdk import aws_kinesisfirehose as kinesisfirehose
|
|
2491
|
+
|
|
2492
|
+
database_tables_property = kinesisfirehose.CfnDeliveryStream.DatabaseTablesProperty(
|
|
2493
|
+
exclude=["exclude"],
|
|
2494
|
+
include=["include"]
|
|
2495
|
+
)
|
|
2496
|
+
'''
|
|
2497
|
+
if __debug__:
|
|
2498
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b669ca3e532e36dd3f6bf714eda78c90c8c90c4c1bc6dbebfab5c56e74950ddb)
|
|
2499
|
+
check_type(argname="argument exclude", value=exclude, expected_type=type_hints["exclude"])
|
|
2500
|
+
check_type(argname="argument include", value=include, expected_type=type_hints["include"])
|
|
2501
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2502
|
+
if exclude is not None:
|
|
2503
|
+
self._values["exclude"] = exclude
|
|
2504
|
+
if include is not None:
|
|
2505
|
+
self._values["include"] = include
|
|
2506
|
+
|
|
2507
|
+
@builtins.property
|
|
2508
|
+
def exclude(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2509
|
+
'''
|
|
2510
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasetables.html#cfn-kinesisfirehose-deliverystream-databasetables-exclude
|
|
2511
|
+
'''
|
|
2512
|
+
result = self._values.get("exclude")
|
|
2513
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2514
|
+
|
|
2515
|
+
@builtins.property
|
|
2516
|
+
def include(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2517
|
+
'''
|
|
2518
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databasetables.html#cfn-kinesisfirehose-deliverystream-databasetables-include
|
|
2519
|
+
'''
|
|
2520
|
+
result = self._values.get("include")
|
|
2521
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2522
|
+
|
|
2523
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2524
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2525
|
+
|
|
2526
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2527
|
+
return not (rhs == self)
|
|
2528
|
+
|
|
2529
|
+
def __repr__(self) -> str:
|
|
2530
|
+
return "DatabaseTablesProperty(%s)" % ", ".join(
|
|
2531
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2532
|
+
)
|
|
2533
|
+
|
|
2534
|
+
@jsii.data_type(
|
|
2535
|
+
jsii_type="aws-cdk-lib.aws_kinesisfirehose.CfnDeliveryStream.DatabasesProperty",
|
|
2536
|
+
jsii_struct_bases=[],
|
|
2537
|
+
name_mapping={"exclude": "exclude", "include": "include"},
|
|
2538
|
+
)
|
|
2539
|
+
class DatabasesProperty:
|
|
2540
|
+
def __init__(
|
|
2541
|
+
self,
|
|
2542
|
+
*,
|
|
2543
|
+
exclude: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2544
|
+
include: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2545
|
+
) -> None:
|
|
2546
|
+
'''
|
|
2547
|
+
:param exclude:
|
|
2548
|
+
:param include:
|
|
2549
|
+
|
|
2550
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databases.html
|
|
2551
|
+
:exampleMetadata: fixture=_generated
|
|
2552
|
+
|
|
2553
|
+
Example::
|
|
2554
|
+
|
|
2555
|
+
# The code below shows an example of how to instantiate this type.
|
|
2556
|
+
# The values are placeholders you should change.
|
|
2557
|
+
from aws_cdk import aws_kinesisfirehose as kinesisfirehose
|
|
2558
|
+
|
|
2559
|
+
databases_property = kinesisfirehose.CfnDeliveryStream.DatabasesProperty(
|
|
2560
|
+
exclude=["exclude"],
|
|
2561
|
+
include=["include"]
|
|
2562
|
+
)
|
|
2563
|
+
'''
|
|
2564
|
+
if __debug__:
|
|
2565
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b6aa9553c52b253113ab9a3fd740ae3235a38fc2d9a582fa85db01832e154931)
|
|
2566
|
+
check_type(argname="argument exclude", value=exclude, expected_type=type_hints["exclude"])
|
|
2567
|
+
check_type(argname="argument include", value=include, expected_type=type_hints["include"])
|
|
2568
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2569
|
+
if exclude is not None:
|
|
2570
|
+
self._values["exclude"] = exclude
|
|
2571
|
+
if include is not None:
|
|
2572
|
+
self._values["include"] = include
|
|
2573
|
+
|
|
2574
|
+
@builtins.property
|
|
2575
|
+
def exclude(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2576
|
+
'''
|
|
2577
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databases.html#cfn-kinesisfirehose-deliverystream-databases-exclude
|
|
2578
|
+
'''
|
|
2579
|
+
result = self._values.get("exclude")
|
|
2580
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2581
|
+
|
|
2582
|
+
@builtins.property
|
|
2583
|
+
def include(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2584
|
+
'''
|
|
2585
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-databases.html#cfn-kinesisfirehose-deliverystream-databases-include
|
|
2586
|
+
'''
|
|
2587
|
+
result = self._values.get("include")
|
|
2588
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2589
|
+
|
|
2590
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2591
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2592
|
+
|
|
2593
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2594
|
+
return not (rhs == self)
|
|
2595
|
+
|
|
2596
|
+
def __repr__(self) -> str:
|
|
2597
|
+
return "DatabasesProperty(%s)" % ", ".join(
|
|
2598
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2599
|
+
)
|
|
2600
|
+
|
|
1947
2601
|
@jsii.data_type(
|
|
1948
2602
|
jsii_type="aws-cdk-lib.aws_kinesisfirehose.CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty",
|
|
1949
2603
|
jsii_struct_bases=[],
|
|
@@ -6227,10 +6881,10 @@ class CfnDeliveryStream(
|
|
|
6227
6881
|
) -> None:
|
|
6228
6882
|
'''The serializer that you want Firehose to use to convert data to the target format before writing it to Amazon S3.
|
|
6229
6883
|
|
|
6230
|
-
Firehose supports two types of serializers: the
|
|
6884
|
+
Firehose supports two types of serializers: the ORC SerDe and the Parquet SerDe.
|
|
6231
6885
|
|
|
6232
6886
|
:param orc_ser_de: A serializer to use for converting data to the ORC format before storing it in Amazon S3. For more information, see `Apache ORC <https://docs.aws.amazon.com/https://orc.apache.org/docs/>`_ .
|
|
6233
|
-
:param parquet_ser_de: A serializer to use for converting data to the Parquet format before storing it in Amazon S3. For more information, see `Apache Parquet <https://docs.aws.amazon.com/https://parquet.apache.org/
|
|
6887
|
+
:param parquet_ser_de: A serializer to use for converting data to the Parquet format before storing it in Amazon S3. For more information, see `Apache Parquet <https://docs.aws.amazon.com/https://parquet.apache.org/docs/contribution-guidelines/>`_ .
|
|
6234
6888
|
|
|
6235
6889
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-serializer.html
|
|
6236
6890
|
:exampleMetadata: fixture=_generated
|
|
@@ -6293,7 +6947,7 @@ class CfnDeliveryStream(
|
|
|
6293
6947
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDeliveryStream.ParquetSerDeProperty"]]:
|
|
6294
6948
|
'''A serializer to use for converting data to the Parquet format before storing it in Amazon S3.
|
|
6295
6949
|
|
|
6296
|
-
For more information, see `Apache Parquet <https://docs.aws.amazon.com/https://parquet.apache.org/
|
|
6950
|
+
For more information, see `Apache Parquet <https://docs.aws.amazon.com/https://parquet.apache.org/docs/contribution-guidelines/>`_ .
|
|
6297
6951
|
|
|
6298
6952
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-serializer.html#cfn-kinesisfirehose-deliverystream-serializer-parquetserde
|
|
6299
6953
|
'''
|
|
@@ -6454,7 +7108,7 @@ class CfnDeliveryStream(
|
|
|
6454
7108
|
:param content_column_name: The name of the record content column.
|
|
6455
7109
|
:param data_loading_option: Choose to load JSON keys mapped to table column names or choose to split the JSON payload where content is mapped to a record content column and source metadata is mapped to a record metadata column.
|
|
6456
7110
|
:param key_passphrase: Passphrase to decrypt the private key when the key is encrypted. For information, see `Using Key Pair Authentication & Key Rotation <https://docs.aws.amazon.com/https://docs.snowflake.com/en/user-guide/data-load-snowpipe-streaming-configuration#using-key-pair-authentication-key-rotation>`_ .
|
|
6457
|
-
:param meta_data_column_name:
|
|
7111
|
+
:param meta_data_column_name: Specify a column name in the table, where the metadata information has to be loaded. When you enable this field, you will see the following column in the snowflake table, which differs based on the source type. For Direct PUT as source ``{ "firehoseDeliveryStreamName" : "streamname", "IngestionTime" : "timestamp" }`` For Kinesis Data Stream as source ``"kinesisStreamName" : "streamname", "kinesisShardId" : "Id", "kinesisPartitionKey" : "key", "kinesisSequenceNumber" : "1234", "subsequenceNumber" : "2334", "IngestionTime" : "timestamp" }``
|
|
6458
7112
|
:param private_key: The private key used to encrypt your Snowflake client. For information, see `Using Key Pair Authentication & Key Rotation <https://docs.aws.amazon.com/https://docs.snowflake.com/en/user-guide/data-load-snowpipe-streaming-configuration#using-key-pair-authentication-key-rotation>`_ .
|
|
6459
7113
|
:param processing_configuration: Specifies configuration for Snowflake.
|
|
6460
7114
|
:param retry_options: The time period where Firehose will retry sending data to the chosen HTTP endpoint.
|
|
@@ -6728,7 +7382,17 @@ class CfnDeliveryStream(
|
|
|
6728
7382
|
|
|
6729
7383
|
@builtins.property
|
|
6730
7384
|
def meta_data_column_name(self) -> typing.Optional[builtins.str]:
|
|
6731
|
-
'''
|
|
7385
|
+
'''Specify a column name in the table, where the metadata information has to be loaded.
|
|
7386
|
+
|
|
7387
|
+
When you enable this field, you will see the following column in the snowflake table, which differs based on the source type.
|
|
7388
|
+
|
|
7389
|
+
For Direct PUT as source
|
|
7390
|
+
|
|
7391
|
+
``{ "firehoseDeliveryStreamName" : "streamname", "IngestionTime" : "timestamp" }``
|
|
7392
|
+
|
|
7393
|
+
For Kinesis Data Stream as source
|
|
7394
|
+
|
|
7395
|
+
``"kinesisStreamName" : "streamname", "kinesisShardId" : "Id", "kinesisPartitionKey" : "key", "kinesisSequenceNumber" : "1234", "subsequenceNumber" : "2334", "IngestionTime" : "timestamp" }``
|
|
6732
7396
|
|
|
6733
7397
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-snowflakedestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-snowflakedestinationconfiguration-metadatacolumnname
|
|
6734
7398
|
'''
|
|
@@ -7560,6 +8224,7 @@ class CfnDeliveryStream(
|
|
|
7560
8224
|
name_mapping={
|
|
7561
8225
|
"amazon_open_search_serverless_destination_configuration": "amazonOpenSearchServerlessDestinationConfiguration",
|
|
7562
8226
|
"amazonopensearchservice_destination_configuration": "amazonopensearchserviceDestinationConfiguration",
|
|
8227
|
+
"database_source_configuration": "databaseSourceConfiguration",
|
|
7563
8228
|
"delivery_stream_encryption_configuration_input": "deliveryStreamEncryptionConfigurationInput",
|
|
7564
8229
|
"delivery_stream_name": "deliveryStreamName",
|
|
7565
8230
|
"delivery_stream_type": "deliveryStreamType",
|
|
@@ -7582,6 +8247,7 @@ class CfnDeliveryStreamProps:
|
|
|
7582
8247
|
*,
|
|
7583
8248
|
amazon_open_search_serverless_destination_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryStream.AmazonOpenSearchServerlessDestinationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7584
8249
|
amazonopensearchservice_destination_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryStream.AmazonopensearchserviceDestinationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8250
|
+
database_source_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryStream.DatabaseSourceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7585
8251
|
delivery_stream_encryption_configuration_input: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7586
8252
|
delivery_stream_name: typing.Optional[builtins.str] = None,
|
|
7587
8253
|
delivery_stream_type: typing.Optional[builtins.str] = None,
|
|
@@ -7601,6 +8267,7 @@ class CfnDeliveryStreamProps:
|
|
|
7601
8267
|
|
|
7602
8268
|
:param amazon_open_search_serverless_destination_configuration: Describes the configuration of a destination in the Serverless offering for Amazon OpenSearch Service.
|
|
7603
8269
|
:param amazonopensearchservice_destination_configuration: The destination in Amazon OpenSearch Service. You can specify only one destination.
|
|
8270
|
+
:param database_source_configuration: The top level object for configuring streams with database as a source. Amazon Data Firehose is in preview release and is subject to change.
|
|
7604
8271
|
:param delivery_stream_encryption_configuration_input: Specifies the type and Amazon Resource Name (ARN) of the CMK to use for Server-Side Encryption (SSE).
|
|
7605
8272
|
:param delivery_stream_name: The name of the Firehose stream.
|
|
7606
8273
|
:param delivery_stream_type: The Firehose stream type. This can be one of the following values:. - ``DirectPut`` : Provider applications access the Firehose stream directly. - ``KinesisStreamAsSource`` : The Firehose stream uses a Kinesis data stream as a source.
|
|
@@ -7614,7 +8281,7 @@ class CfnDeliveryStreamProps:
|
|
|
7614
8281
|
:param s3_destination_configuration: The ``S3DestinationConfiguration`` property type specifies an Amazon Simple Storage Service (Amazon S3) destination to which Amazon Kinesis Data Firehose (Kinesis Data Firehose) delivers data. Conditional. You must specify only one destination configuration. If you change the delivery stream destination from an Amazon S3 destination to an Amazon ES destination, update requires `some interruptions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt>`_ .
|
|
7615
8282
|
:param snowflake_destination_configuration: Configure Snowflake destination.
|
|
7616
8283
|
:param splunk_destination_configuration: The configuration of a destination in Splunk for the delivery stream.
|
|
7617
|
-
:param tags: A set of tags to assign to the Firehose stream. A tag is a key-value pair that you can define and assign to AWS resources. Tags are metadata. For example, you can add friendly names and descriptions or other types of information that can help you distinguish the Firehose stream. For more information about tags, see `Using Cost Allocation Tags <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html>`_ in the AWS Billing and Cost Management User Guide. You can specify up to 50 tags when creating a Firehose stream. If you specify tags in the ``CreateDeliveryStream`` action, Amazon Data Firehose performs an additional authorization on the ``firehose:TagDeliveryStream`` action to verify if users have permissions to create tags. If you do not provide this permission, requests to create new Firehose
|
|
8284
|
+
:param tags: A set of tags to assign to the Firehose stream. A tag is a key-value pair that you can define and assign to AWS resources. Tags are metadata. For example, you can add friendly names and descriptions or other types of information that can help you distinguish the Firehose stream. For more information about tags, see `Using Cost Allocation Tags <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html>`_ in the AWS Billing and Cost Management User Guide. You can specify up to 50 tags when creating a Firehose stream. If you specify tags in the ``CreateDeliveryStream`` action, Amazon Data Firehose performs an additional authorization on the ``firehose:TagDeliveryStream`` action to verify if users have permissions to create tags. If you do not provide this permission, requests to create new Firehose streams with IAM resource tags will fail with an ``AccessDeniedException`` such as following. *AccessDeniedException* User: arn:aws:sts::x:assumed-role/x/x is not authorized to perform: firehose:TagDeliveryStream on resource: arn:aws:firehose:us-east-1:x:deliverystream/x with an explicit deny in an identity-based policy. For an example IAM policy, see `Tag example. <https://docs.aws.amazon.com/firehose/latest/APIReference/API_CreateDeliveryStream.html#API_CreateDeliveryStream_Examples>`_
|
|
7618
8285
|
|
|
7619
8286
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisfirehose-deliverystream.html
|
|
7620
8287
|
:exampleMetadata: infused
|
|
@@ -7645,6 +8312,7 @@ class CfnDeliveryStreamProps:
|
|
|
7645
8312
|
type_hints = typing.get_type_hints(_typecheckingstub__4f4e310bf0ff2c76f9c126ea4431fb25b9b53c8ba7e0c0eacc1c934debd05a95)
|
|
7646
8313
|
check_type(argname="argument amazon_open_search_serverless_destination_configuration", value=amazon_open_search_serverless_destination_configuration, expected_type=type_hints["amazon_open_search_serverless_destination_configuration"])
|
|
7647
8314
|
check_type(argname="argument amazonopensearchservice_destination_configuration", value=amazonopensearchservice_destination_configuration, expected_type=type_hints["amazonopensearchservice_destination_configuration"])
|
|
8315
|
+
check_type(argname="argument database_source_configuration", value=database_source_configuration, expected_type=type_hints["database_source_configuration"])
|
|
7648
8316
|
check_type(argname="argument delivery_stream_encryption_configuration_input", value=delivery_stream_encryption_configuration_input, expected_type=type_hints["delivery_stream_encryption_configuration_input"])
|
|
7649
8317
|
check_type(argname="argument delivery_stream_name", value=delivery_stream_name, expected_type=type_hints["delivery_stream_name"])
|
|
7650
8318
|
check_type(argname="argument delivery_stream_type", value=delivery_stream_type, expected_type=type_hints["delivery_stream_type"])
|
|
@@ -7664,6 +8332,8 @@ class CfnDeliveryStreamProps:
|
|
|
7664
8332
|
self._values["amazon_open_search_serverless_destination_configuration"] = amazon_open_search_serverless_destination_configuration
|
|
7665
8333
|
if amazonopensearchservice_destination_configuration is not None:
|
|
7666
8334
|
self._values["amazonopensearchservice_destination_configuration"] = amazonopensearchservice_destination_configuration
|
|
8335
|
+
if database_source_configuration is not None:
|
|
8336
|
+
self._values["database_source_configuration"] = database_source_configuration
|
|
7667
8337
|
if delivery_stream_encryption_configuration_input is not None:
|
|
7668
8338
|
self._values["delivery_stream_encryption_configuration_input"] = delivery_stream_encryption_configuration_input
|
|
7669
8339
|
if delivery_stream_name is not None:
|
|
@@ -7717,6 +8387,19 @@ class CfnDeliveryStreamProps:
|
|
|
7717
8387
|
result = self._values.get("amazonopensearchservice_destination_configuration")
|
|
7718
8388
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDeliveryStream.AmazonopensearchserviceDestinationConfigurationProperty]], result)
|
|
7719
8389
|
|
|
8390
|
+
@builtins.property
|
|
8391
|
+
def database_source_configuration(
|
|
8392
|
+
self,
|
|
8393
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDeliveryStream.DatabaseSourceConfigurationProperty]]:
|
|
8394
|
+
'''The top level object for configuring streams with database as a source.
|
|
8395
|
+
|
|
8396
|
+
Amazon Data Firehose is in preview release and is subject to change.
|
|
8397
|
+
|
|
8398
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisfirehose-deliverystream.html#cfn-kinesisfirehose-deliverystream-databasesourceconfiguration
|
|
8399
|
+
'''
|
|
8400
|
+
result = self._values.get("database_source_configuration")
|
|
8401
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDeliveryStream.DatabaseSourceConfigurationProperty]], result)
|
|
8402
|
+
|
|
7720
8403
|
@builtins.property
|
|
7721
8404
|
def delivery_stream_encryption_configuration_input(
|
|
7722
8405
|
self,
|
|
@@ -7885,7 +8568,7 @@ class CfnDeliveryStreamProps:
|
|
|
7885
8568
|
|
|
7886
8569
|
You can specify up to 50 tags when creating a Firehose stream.
|
|
7887
8570
|
|
|
7888
|
-
If you specify tags in the ``CreateDeliveryStream`` action, Amazon Data Firehose performs an additional authorization on the ``firehose:TagDeliveryStream`` action to verify if users have permissions to create tags. If you do not provide this permission, requests to create new Firehose
|
|
8571
|
+
If you specify tags in the ``CreateDeliveryStream`` action, Amazon Data Firehose performs an additional authorization on the ``firehose:TagDeliveryStream`` action to verify if users have permissions to create tags. If you do not provide this permission, requests to create new Firehose streams with IAM resource tags will fail with an ``AccessDeniedException`` such as following.
|
|
7889
8572
|
|
|
7890
8573
|
*AccessDeniedException*
|
|
7891
8574
|
|
|
@@ -7923,6 +8606,7 @@ def _typecheckingstub__b3cd824a2680c7d043cac684bd1be9ca77e94201f1ba00785d60a50ff
|
|
|
7923
8606
|
*,
|
|
7924
8607
|
amazon_open_search_serverless_destination_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryStream.AmazonOpenSearchServerlessDestinationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7925
8608
|
amazonopensearchservice_destination_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryStream.AmazonopensearchserviceDestinationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8609
|
+
database_source_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryStream.DatabaseSourceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7926
8610
|
delivery_stream_encryption_configuration_input: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7927
8611
|
delivery_stream_name: typing.Optional[builtins.str] = None,
|
|
7928
8612
|
delivery_stream_type: typing.Optional[builtins.str] = None,
|
|
@@ -7965,6 +8649,12 @@ def _typecheckingstub__58964b8831d37cbba22a48328508a0d1fc866bb6da992a0c3f544fc66
|
|
|
7965
8649
|
"""Type checking stubs"""
|
|
7966
8650
|
pass
|
|
7967
8651
|
|
|
8652
|
+
def _typecheckingstub__671f3a3eb25ab7249d3b64fb9d1c6865a8a68b8a7b92841ab6890851853da1f5(
|
|
8653
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDeliveryStream.DatabaseSourceConfigurationProperty]],
|
|
8654
|
+
) -> None:
|
|
8655
|
+
"""Type checking stubs"""
|
|
8656
|
+
pass
|
|
8657
|
+
|
|
7968
8658
|
def _typecheckingstub__3b541613844a306d329ee6aaf12a513672a01cea651f015810fd2ab896394415(
|
|
7969
8659
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty]],
|
|
7970
8660
|
) -> None:
|
|
@@ -8166,6 +8856,63 @@ def _typecheckingstub__d2fd0a4fb437e036bd2436bcfd397fa35f08aba48c5a25c4aac36dedb
|
|
|
8166
8856
|
"""Type checking stubs"""
|
|
8167
8857
|
pass
|
|
8168
8858
|
|
|
8859
|
+
def _typecheckingstub__111648b092f5dd75408d33db5fb1adea30dc7a8b58549cef95459f9224ccb26a(
|
|
8860
|
+
*,
|
|
8861
|
+
exclude: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8862
|
+
include: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8863
|
+
) -> None:
|
|
8864
|
+
"""Type checking stubs"""
|
|
8865
|
+
pass
|
|
8866
|
+
|
|
8867
|
+
def _typecheckingstub__cecf7807b45586be03c0bc76f8fcdf6ad93c6bd34a795d26aeaf365dd3d297c4(
|
|
8868
|
+
*,
|
|
8869
|
+
secrets_manager_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryStream.SecretsManagerConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
8870
|
+
) -> None:
|
|
8871
|
+
"""Type checking stubs"""
|
|
8872
|
+
pass
|
|
8873
|
+
|
|
8874
|
+
def _typecheckingstub__dfa32769046e99e73e35a8b5e878b72f25abcaa661bf955ff25e794601e2126d(
|
|
8875
|
+
*,
|
|
8876
|
+
databases: typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryStream.DatabasesProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
8877
|
+
database_source_authentication_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryStream.DatabaseSourceAuthenticationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
8878
|
+
database_source_vpc_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryStream.DatabaseSourceVPCConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
8879
|
+
endpoint: builtins.str,
|
|
8880
|
+
port: jsii.Number,
|
|
8881
|
+
snapshot_watermark_table: builtins.str,
|
|
8882
|
+
tables: typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryStream.DatabaseTablesProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
8883
|
+
type: builtins.str,
|
|
8884
|
+
columns: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryStream.DatabaseColumnsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8885
|
+
digest: typing.Optional[builtins.str] = None,
|
|
8886
|
+
public_certificate: typing.Optional[builtins.str] = None,
|
|
8887
|
+
ssl_mode: typing.Optional[builtins.str] = None,
|
|
8888
|
+
surrogate_keys: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8889
|
+
) -> None:
|
|
8890
|
+
"""Type checking stubs"""
|
|
8891
|
+
pass
|
|
8892
|
+
|
|
8893
|
+
def _typecheckingstub__4616b4a1f40a4e175751eda3777e82055e2397fd9dad0a6cd009c18c89e97cd3(
|
|
8894
|
+
*,
|
|
8895
|
+
vpc_endpoint_service_name: builtins.str,
|
|
8896
|
+
) -> None:
|
|
8897
|
+
"""Type checking stubs"""
|
|
8898
|
+
pass
|
|
8899
|
+
|
|
8900
|
+
def _typecheckingstub__b669ca3e532e36dd3f6bf714eda78c90c8c90c4c1bc6dbebfab5c56e74950ddb(
|
|
8901
|
+
*,
|
|
8902
|
+
exclude: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8903
|
+
include: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8904
|
+
) -> None:
|
|
8905
|
+
"""Type checking stubs"""
|
|
8906
|
+
pass
|
|
8907
|
+
|
|
8908
|
+
def _typecheckingstub__b6aa9553c52b253113ab9a3fd740ae3235a38fc2d9a582fa85db01832e154931(
|
|
8909
|
+
*,
|
|
8910
|
+
exclude: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8911
|
+
include: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8912
|
+
) -> None:
|
|
8913
|
+
"""Type checking stubs"""
|
|
8914
|
+
pass
|
|
8915
|
+
|
|
8169
8916
|
def _typecheckingstub__a51e3602fa39b19119cb43ff1945ccb136f7909bb7d76a42abc9195cb0d725a3(
|
|
8170
8917
|
*,
|
|
8171
8918
|
key_type: builtins.str,
|
|
@@ -8610,6 +9357,7 @@ def _typecheckingstub__4f4e310bf0ff2c76f9c126ea4431fb25b9b53c8ba7e0c0eacc1c934de
|
|
|
8610
9357
|
*,
|
|
8611
9358
|
amazon_open_search_serverless_destination_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryStream.AmazonOpenSearchServerlessDestinationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8612
9359
|
amazonopensearchservice_destination_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryStream.AmazonopensearchserviceDestinationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9360
|
+
database_source_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryStream.DatabaseSourceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8613
9361
|
delivery_stream_encryption_configuration_input: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8614
9362
|
delivery_stream_name: typing.Optional[builtins.str] = None,
|
|
8615
9363
|
delivery_stream_type: typing.Optional[builtins.str] = None,
|