aws-cdk-lib 2.185.0__py3-none-any.whl → 2.187.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 (87) hide show
  1. aws_cdk/__init__.py +383 -145
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.185.0.jsii.tgz → aws-cdk-lib@2.187.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +3 -2
  5. aws_cdk/aws_amplify/__init__.py +124 -0
  6. aws_cdk/aws_apigateway/__init__.py +48 -2
  7. aws_cdk/aws_apigatewayv2/__init__.py +9 -0
  8. aws_cdk/aws_appconfig/__init__.py +3 -3
  9. aws_cdk/aws_applicationsignals/__init__.py +363 -3
  10. aws_cdk/aws_appsync/__init__.py +74 -3
  11. aws_cdk/aws_bedrock/__init__.py +395 -14
  12. aws_cdk/aws_cassandra/__init__.py +2 -2
  13. aws_cdk/aws_cleanrooms/__init__.py +21 -9
  14. aws_cdk/aws_cloudformation/__init__.py +1 -5
  15. aws_cdk/aws_cloudfront/__init__.py +15 -1
  16. aws_cdk/aws_cloudfront_origins/__init__.py +4 -2
  17. aws_cdk/aws_cloudtrail/__init__.py +4 -18
  18. aws_cdk/aws_cloudwatch/__init__.py +50 -50
  19. aws_cdk/aws_codeartifact/__init__.py +20 -33
  20. aws_cdk/aws_codebuild/__init__.py +9 -0
  21. aws_cdk/aws_codepipeline/__init__.py +1328 -120
  22. aws_cdk/aws_cognito/__init__.py +1 -1
  23. aws_cdk/aws_cognito_identitypool/__init__.py +2303 -0
  24. aws_cdk/aws_config/__init__.py +2 -5
  25. aws_cdk/aws_connect/__init__.py +3 -7
  26. aws_cdk/aws_controltower/__init__.py +18 -26
  27. aws_cdk/aws_datazone/__init__.py +3540 -10
  28. aws_cdk/aws_detective/__init__.py +3 -3
  29. aws_cdk/aws_dynamodb/__init__.py +37 -0
  30. aws_cdk/aws_ec2/__init__.py +714 -37
  31. aws_cdk/aws_ecr/__init__.py +143 -0
  32. aws_cdk/aws_ecr_assets/__init__.py +115 -4
  33. aws_cdk/aws_ecs/__init__.py +66 -20
  34. aws_cdk/aws_eks/__init__.py +114 -0
  35. aws_cdk/aws_events/__init__.py +26 -6
  36. aws_cdk/aws_forecast/__init__.py +1 -1
  37. aws_cdk/aws_fsx/__init__.py +2 -2
  38. aws_cdk/aws_gamelift/__init__.py +11 -11
  39. aws_cdk/aws_iam/__init__.py +264 -0
  40. aws_cdk/aws_identitystore/__init__.py +16 -16
  41. aws_cdk/aws_imagebuilder/__init__.py +3 -27
  42. aws_cdk/aws_iotsitewise/__init__.py +623 -0
  43. aws_cdk/aws_kinesisfirehose/__init__.py +2 -3
  44. aws_cdk/aws_kms/__init__.py +10 -11
  45. aws_cdk/aws_lakeformation/__init__.py +3 -3
  46. aws_cdk/aws_lambda/__init__.py +112 -5
  47. aws_cdk/aws_lambda_event_sources/__init__.py +65 -3
  48. aws_cdk/aws_lambda_nodejs/__init__.py +5 -24
  49. aws_cdk/aws_lex/__init__.py +981 -5
  50. aws_cdk/aws_location/__init__.py +24 -7
  51. aws_cdk/aws_mediaconnect/__init__.py +714 -290
  52. aws_cdk/aws_msk/__init__.py +8 -2
  53. aws_cdk/aws_mwaa/__init__.py +9 -9
  54. aws_cdk/aws_networkfirewall/__init__.py +60 -12
  55. aws_cdk/aws_oam/__init__.py +8 -37
  56. aws_cdk/aws_omics/__init__.py +216 -0
  57. aws_cdk/aws_quicksight/__init__.py +250 -108
  58. aws_cdk/aws_rds/__init__.py +102 -10
  59. aws_cdk/aws_redshiftserverless/__init__.py +192 -15
  60. aws_cdk/aws_route53/__init__.py +2 -2
  61. aws_cdk/aws_route53recoverycontrol/__init__.py +43 -2
  62. aws_cdk/aws_rum/__init__.py +315 -52
  63. aws_cdk/aws_s3_assets/__init__.py +70 -1
  64. aws_cdk/aws_s3_deployment/__init__.py +4 -0
  65. aws_cdk/aws_sagemaker/__init__.py +6 -4
  66. aws_cdk/aws_scheduler/__init__.py +3944 -121
  67. aws_cdk/aws_scheduler_targets/__init__.py +4460 -0
  68. aws_cdk/aws_securitylake/__init__.py +2 -2
  69. aws_cdk/aws_servicecatalog/__init__.py +4 -0
  70. aws_cdk/aws_sns/__init__.py +1 -1
  71. aws_cdk/aws_ssmquicksetup/__init__.py +5 -3
  72. aws_cdk/aws_stepfunctions/__init__.py +8 -0
  73. aws_cdk/aws_stepfunctions_tasks/__init__.py +4 -0
  74. aws_cdk/aws_synthetics/__init__.py +9 -0
  75. aws_cdk/aws_systemsmanagersap/__init__.py +150 -0
  76. aws_cdk/aws_timestream/__init__.py +4 -4
  77. aws_cdk/aws_wafv2/__init__.py +1117 -1446
  78. aws_cdk/aws_workspacesthinclient/__init__.py +4 -4
  79. aws_cdk/cloud_assembly_schema/__init__.py +60 -10
  80. aws_cdk/cx_api/__init__.py +38 -0
  81. aws_cdk/pipelines/__init__.py +20 -2
  82. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/METADATA +4 -4
  83. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/RECORD +87 -85
  84. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/WHEEL +1 -1
  85. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/LICENSE +0 -0
  86. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/NOTICE +0 -0
  87. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/top_level.txt +0 -0
@@ -64,6 +64,7 @@ from .. import (
64
64
  IInspectable as _IInspectable_c2943556,
65
65
  IResolvable as _IResolvable_da3f097b,
66
66
  ITaggable as _ITaggable_36806126,
67
+ ITaggableV2 as _ITaggableV2_4e6798f8,
67
68
  TagManager as _TagManager_0a598cb3,
68
69
  TreeInspector as _TreeInspector_488e0dd5,
69
70
  )
@@ -4157,6 +4158,544 @@ class CfnDashboardProps:
4157
4158
  )
4158
4159
 
4159
4160
 
4161
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
4162
+ class CfnDataset(
4163
+ _CfnResource_9df397a6,
4164
+ metaclass=jsii.JSIIMeta,
4165
+ jsii_type="aws-cdk-lib.aws_iotsitewise.CfnDataset",
4166
+ ):
4167
+ '''Resource schema for AWS::IoTSiteWise::Dataset.
4168
+
4169
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dataset.html
4170
+ :cloudformationResource: AWS::IoTSiteWise::Dataset
4171
+ :exampleMetadata: fixture=_generated
4172
+
4173
+ Example::
4174
+
4175
+ # The code below shows an example of how to instantiate this type.
4176
+ # The values are placeholders you should change.
4177
+ from aws_cdk import aws_iotsitewise as iotsitewise
4178
+
4179
+ cfn_dataset = iotsitewise.CfnDataset(self, "MyCfnDataset",
4180
+ dataset_name="datasetName",
4181
+ dataset_source=iotsitewise.CfnDataset.DatasetSourceProperty(
4182
+ source_format="sourceFormat",
4183
+ source_type="sourceType",
4184
+
4185
+ # the properties below are optional
4186
+ source_detail=iotsitewise.CfnDataset.SourceDetailProperty(
4187
+ kendra=iotsitewise.CfnDataset.KendraSourceDetailProperty(
4188
+ knowledge_base_arn="knowledgeBaseArn",
4189
+ role_arn="roleArn"
4190
+ )
4191
+ )
4192
+ ),
4193
+
4194
+ # the properties below are optional
4195
+ dataset_description="datasetDescription",
4196
+ tags=[CfnTag(
4197
+ key="key",
4198
+ value="value"
4199
+ )]
4200
+ )
4201
+ '''
4202
+
4203
+ def __init__(
4204
+ self,
4205
+ scope: _constructs_77d1e7e8.Construct,
4206
+ id: builtins.str,
4207
+ *,
4208
+ dataset_name: builtins.str,
4209
+ dataset_source: typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataset.DatasetSourceProperty", typing.Dict[builtins.str, typing.Any]]],
4210
+ dataset_description: typing.Optional[builtins.str] = None,
4211
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4212
+ ) -> None:
4213
+ '''
4214
+ :param scope: Scope in which this resource is defined.
4215
+ :param id: Construct identifier for this resource (unique in its scope).
4216
+ :param dataset_name: The name of the dataset.
4217
+ :param dataset_source:
4218
+ :param dataset_description: A description about the dataset, and its functionality.
4219
+ :param tags: An array of key-value pairs to apply to this resource.
4220
+ '''
4221
+ if __debug__:
4222
+ type_hints = typing.get_type_hints(_typecheckingstub__44369ff07e07f1dbb28102a65eb5a8e6317f5b2e832b326cf3fc0bef13d7e1cc)
4223
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
4224
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
4225
+ props = CfnDatasetProps(
4226
+ dataset_name=dataset_name,
4227
+ dataset_source=dataset_source,
4228
+ dataset_description=dataset_description,
4229
+ tags=tags,
4230
+ )
4231
+
4232
+ jsii.create(self.__class__, self, [scope, id, props])
4233
+
4234
+ @jsii.member(jsii_name="inspect")
4235
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
4236
+ '''Examines the CloudFormation resource and discloses attributes.
4237
+
4238
+ :param inspector: tree inspector to collect and process attributes.
4239
+ '''
4240
+ if __debug__:
4241
+ type_hints = typing.get_type_hints(_typecheckingstub__c537b447cd6a1f193bb6937137b32d81fb8fc58b3637f501b722c0a287eff25e)
4242
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
4243
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
4244
+
4245
+ @jsii.member(jsii_name="renderProperties")
4246
+ def _render_properties(
4247
+ self,
4248
+ props: typing.Mapping[builtins.str, typing.Any],
4249
+ ) -> typing.Mapping[builtins.str, typing.Any]:
4250
+ '''
4251
+ :param props: -
4252
+ '''
4253
+ if __debug__:
4254
+ type_hints = typing.get_type_hints(_typecheckingstub__052a04636940cb669719f99afdd8ce7ebf71823f5bd4fc4a56e8e06e962e930e)
4255
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
4256
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
4257
+
4258
+ @jsii.python.classproperty
4259
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
4260
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
4261
+ '''The CloudFormation resource type name for this resource class.'''
4262
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
4263
+
4264
+ @builtins.property
4265
+ @jsii.member(jsii_name="attrDatasetArn")
4266
+ def attr_dataset_arn(self) -> builtins.str:
4267
+ '''The ARN of the dataset.
4268
+
4269
+ :cloudformationAttribute: DatasetArn
4270
+ '''
4271
+ return typing.cast(builtins.str, jsii.get(self, "attrDatasetArn"))
4272
+
4273
+ @builtins.property
4274
+ @jsii.member(jsii_name="attrDatasetId")
4275
+ def attr_dataset_id(self) -> builtins.str:
4276
+ '''The ID of the dataset.
4277
+
4278
+ :cloudformationAttribute: DatasetId
4279
+ '''
4280
+ return typing.cast(builtins.str, jsii.get(self, "attrDatasetId"))
4281
+
4282
+ @builtins.property
4283
+ @jsii.member(jsii_name="cdkTagManager")
4284
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
4285
+ '''Tag Manager which manages the tags for this resource.'''
4286
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
4287
+
4288
+ @builtins.property
4289
+ @jsii.member(jsii_name="cfnProperties")
4290
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
4291
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
4292
+
4293
+ @builtins.property
4294
+ @jsii.member(jsii_name="datasetName")
4295
+ def dataset_name(self) -> builtins.str:
4296
+ '''The name of the dataset.'''
4297
+ return typing.cast(builtins.str, jsii.get(self, "datasetName"))
4298
+
4299
+ @dataset_name.setter
4300
+ def dataset_name(self, value: builtins.str) -> None:
4301
+ if __debug__:
4302
+ type_hints = typing.get_type_hints(_typecheckingstub__4b47777cde433184527816fbc94a5e50f4751f14ba951445e4260fbf75e5f9ff)
4303
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4304
+ jsii.set(self, "datasetName", value) # pyright: ignore[reportArgumentType]
4305
+
4306
+ @builtins.property
4307
+ @jsii.member(jsii_name="datasetSource")
4308
+ def dataset_source(
4309
+ self,
4310
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnDataset.DatasetSourceProperty"]:
4311
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnDataset.DatasetSourceProperty"], jsii.get(self, "datasetSource"))
4312
+
4313
+ @dataset_source.setter
4314
+ def dataset_source(
4315
+ self,
4316
+ value: typing.Union[_IResolvable_da3f097b, "CfnDataset.DatasetSourceProperty"],
4317
+ ) -> None:
4318
+ if __debug__:
4319
+ type_hints = typing.get_type_hints(_typecheckingstub__9ee08c36e5cc935e5be89b5ecc51c303d15d2f3f60f818632c78e21d65cc0e19)
4320
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4321
+ jsii.set(self, "datasetSource", value) # pyright: ignore[reportArgumentType]
4322
+
4323
+ @builtins.property
4324
+ @jsii.member(jsii_name="datasetDescription")
4325
+ def dataset_description(self) -> typing.Optional[builtins.str]:
4326
+ '''A description about the dataset, and its functionality.'''
4327
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "datasetDescription"))
4328
+
4329
+ @dataset_description.setter
4330
+ def dataset_description(self, value: typing.Optional[builtins.str]) -> None:
4331
+ if __debug__:
4332
+ type_hints = typing.get_type_hints(_typecheckingstub__eb27e9e2c5f0a4b58c2867084de6a19d127db8e56f71ceb33ecb4c038c5aeba9)
4333
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4334
+ jsii.set(self, "datasetDescription", value) # pyright: ignore[reportArgumentType]
4335
+
4336
+ @builtins.property
4337
+ @jsii.member(jsii_name="tags")
4338
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
4339
+ '''An array of key-value pairs to apply to this resource.'''
4340
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
4341
+
4342
+ @tags.setter
4343
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
4344
+ if __debug__:
4345
+ type_hints = typing.get_type_hints(_typecheckingstub__dc32716df823dcb28cde4279865e5af2ea0ed286db7d62b848f8ebbc49079037)
4346
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4347
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
4348
+
4349
+ @jsii.data_type(
4350
+ jsii_type="aws-cdk-lib.aws_iotsitewise.CfnDataset.DatasetSourceProperty",
4351
+ jsii_struct_bases=[],
4352
+ name_mapping={
4353
+ "source_format": "sourceFormat",
4354
+ "source_type": "sourceType",
4355
+ "source_detail": "sourceDetail",
4356
+ },
4357
+ )
4358
+ class DatasetSourceProperty:
4359
+ def __init__(
4360
+ self,
4361
+ *,
4362
+ source_format: builtins.str,
4363
+ source_type: builtins.str,
4364
+ source_detail: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataset.SourceDetailProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4365
+ ) -> None:
4366
+ '''
4367
+ :param source_format: The format of the dataset source associated with the dataset.
4368
+ :param source_type: The type of data source for the dataset.
4369
+ :param source_detail:
4370
+
4371
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-dataset-datasetsource.html
4372
+ :exampleMetadata: fixture=_generated
4373
+
4374
+ Example::
4375
+
4376
+ # The code below shows an example of how to instantiate this type.
4377
+ # The values are placeholders you should change.
4378
+ from aws_cdk import aws_iotsitewise as iotsitewise
4379
+
4380
+ dataset_source_property = iotsitewise.CfnDataset.DatasetSourceProperty(
4381
+ source_format="sourceFormat",
4382
+ source_type="sourceType",
4383
+
4384
+ # the properties below are optional
4385
+ source_detail=iotsitewise.CfnDataset.SourceDetailProperty(
4386
+ kendra=iotsitewise.CfnDataset.KendraSourceDetailProperty(
4387
+ knowledge_base_arn="knowledgeBaseArn",
4388
+ role_arn="roleArn"
4389
+ )
4390
+ )
4391
+ )
4392
+ '''
4393
+ if __debug__:
4394
+ type_hints = typing.get_type_hints(_typecheckingstub__f58345f56b93936a864a7b8b77051f0ab53f3948caa6107fb0e0b5e918839970)
4395
+ check_type(argname="argument source_format", value=source_format, expected_type=type_hints["source_format"])
4396
+ check_type(argname="argument source_type", value=source_type, expected_type=type_hints["source_type"])
4397
+ check_type(argname="argument source_detail", value=source_detail, expected_type=type_hints["source_detail"])
4398
+ self._values: typing.Dict[builtins.str, typing.Any] = {
4399
+ "source_format": source_format,
4400
+ "source_type": source_type,
4401
+ }
4402
+ if source_detail is not None:
4403
+ self._values["source_detail"] = source_detail
4404
+
4405
+ @builtins.property
4406
+ def source_format(self) -> builtins.str:
4407
+ '''The format of the dataset source associated with the dataset.
4408
+
4409
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-dataset-datasetsource.html#cfn-iotsitewise-dataset-datasetsource-sourceformat
4410
+ '''
4411
+ result = self._values.get("source_format")
4412
+ assert result is not None, "Required property 'source_format' is missing"
4413
+ return typing.cast(builtins.str, result)
4414
+
4415
+ @builtins.property
4416
+ def source_type(self) -> builtins.str:
4417
+ '''The type of data source for the dataset.
4418
+
4419
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-dataset-datasetsource.html#cfn-iotsitewise-dataset-datasetsource-sourcetype
4420
+ '''
4421
+ result = self._values.get("source_type")
4422
+ assert result is not None, "Required property 'source_type' is missing"
4423
+ return typing.cast(builtins.str, result)
4424
+
4425
+ @builtins.property
4426
+ def source_detail(
4427
+ self,
4428
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataset.SourceDetailProperty"]]:
4429
+ '''
4430
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-dataset-datasetsource.html#cfn-iotsitewise-dataset-datasetsource-sourcedetail
4431
+ '''
4432
+ result = self._values.get("source_detail")
4433
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataset.SourceDetailProperty"]], result)
4434
+
4435
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
4436
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
4437
+
4438
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
4439
+ return not (rhs == self)
4440
+
4441
+ def __repr__(self) -> str:
4442
+ return "DatasetSourceProperty(%s)" % ", ".join(
4443
+ k + "=" + repr(v) for k, v in self._values.items()
4444
+ )
4445
+
4446
+ @jsii.data_type(
4447
+ jsii_type="aws-cdk-lib.aws_iotsitewise.CfnDataset.KendraSourceDetailProperty",
4448
+ jsii_struct_bases=[],
4449
+ name_mapping={"knowledge_base_arn": "knowledgeBaseArn", "role_arn": "roleArn"},
4450
+ )
4451
+ class KendraSourceDetailProperty:
4452
+ def __init__(
4453
+ self,
4454
+ *,
4455
+ knowledge_base_arn: builtins.str,
4456
+ role_arn: builtins.str,
4457
+ ) -> None:
4458
+ '''
4459
+ :param knowledge_base_arn: The knowledgeBaseArn details for the Kendra dataset source.
4460
+ :param role_arn: The roleARN details for the Kendra dataset source.
4461
+
4462
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-dataset-kendrasourcedetail.html
4463
+ :exampleMetadata: fixture=_generated
4464
+
4465
+ Example::
4466
+
4467
+ # The code below shows an example of how to instantiate this type.
4468
+ # The values are placeholders you should change.
4469
+ from aws_cdk import aws_iotsitewise as iotsitewise
4470
+
4471
+ kendra_source_detail_property = iotsitewise.CfnDataset.KendraSourceDetailProperty(
4472
+ knowledge_base_arn="knowledgeBaseArn",
4473
+ role_arn="roleArn"
4474
+ )
4475
+ '''
4476
+ if __debug__:
4477
+ type_hints = typing.get_type_hints(_typecheckingstub__5d827c7c36898f2d8c24814838df150d16db4b05143943eaff03575fc4152bf9)
4478
+ check_type(argname="argument knowledge_base_arn", value=knowledge_base_arn, expected_type=type_hints["knowledge_base_arn"])
4479
+ check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
4480
+ self._values: typing.Dict[builtins.str, typing.Any] = {
4481
+ "knowledge_base_arn": knowledge_base_arn,
4482
+ "role_arn": role_arn,
4483
+ }
4484
+
4485
+ @builtins.property
4486
+ def knowledge_base_arn(self) -> builtins.str:
4487
+ '''The knowledgeBaseArn details for the Kendra dataset source.
4488
+
4489
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-dataset-kendrasourcedetail.html#cfn-iotsitewise-dataset-kendrasourcedetail-knowledgebasearn
4490
+ '''
4491
+ result = self._values.get("knowledge_base_arn")
4492
+ assert result is not None, "Required property 'knowledge_base_arn' is missing"
4493
+ return typing.cast(builtins.str, result)
4494
+
4495
+ @builtins.property
4496
+ def role_arn(self) -> builtins.str:
4497
+ '''The roleARN details for the Kendra dataset source.
4498
+
4499
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-dataset-kendrasourcedetail.html#cfn-iotsitewise-dataset-kendrasourcedetail-rolearn
4500
+ '''
4501
+ result = self._values.get("role_arn")
4502
+ assert result is not None, "Required property 'role_arn' is missing"
4503
+ return typing.cast(builtins.str, result)
4504
+
4505
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
4506
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
4507
+
4508
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
4509
+ return not (rhs == self)
4510
+
4511
+ def __repr__(self) -> str:
4512
+ return "KendraSourceDetailProperty(%s)" % ", ".join(
4513
+ k + "=" + repr(v) for k, v in self._values.items()
4514
+ )
4515
+
4516
+ @jsii.data_type(
4517
+ jsii_type="aws-cdk-lib.aws_iotsitewise.CfnDataset.SourceDetailProperty",
4518
+ jsii_struct_bases=[],
4519
+ name_mapping={"kendra": "kendra"},
4520
+ )
4521
+ class SourceDetailProperty:
4522
+ def __init__(
4523
+ self,
4524
+ *,
4525
+ kendra: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataset.KendraSourceDetailProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4526
+ ) -> None:
4527
+ '''
4528
+ :param kendra:
4529
+
4530
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-dataset-sourcedetail.html
4531
+ :exampleMetadata: fixture=_generated
4532
+
4533
+ Example::
4534
+
4535
+ # The code below shows an example of how to instantiate this type.
4536
+ # The values are placeholders you should change.
4537
+ from aws_cdk import aws_iotsitewise as iotsitewise
4538
+
4539
+ source_detail_property = iotsitewise.CfnDataset.SourceDetailProperty(
4540
+ kendra=iotsitewise.CfnDataset.KendraSourceDetailProperty(
4541
+ knowledge_base_arn="knowledgeBaseArn",
4542
+ role_arn="roleArn"
4543
+ )
4544
+ )
4545
+ '''
4546
+ if __debug__:
4547
+ type_hints = typing.get_type_hints(_typecheckingstub__7a598d81c202f610ae61fa753a459c38aa834bd6a34e5b7a54eb9f63914b22c7)
4548
+ check_type(argname="argument kendra", value=kendra, expected_type=type_hints["kendra"])
4549
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
4550
+ if kendra is not None:
4551
+ self._values["kendra"] = kendra
4552
+
4553
+ @builtins.property
4554
+ def kendra(
4555
+ self,
4556
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataset.KendraSourceDetailProperty"]]:
4557
+ '''
4558
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-dataset-sourcedetail.html#cfn-iotsitewise-dataset-sourcedetail-kendra
4559
+ '''
4560
+ result = self._values.get("kendra")
4561
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataset.KendraSourceDetailProperty"]], result)
4562
+
4563
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
4564
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
4565
+
4566
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
4567
+ return not (rhs == self)
4568
+
4569
+ def __repr__(self) -> str:
4570
+ return "SourceDetailProperty(%s)" % ", ".join(
4571
+ k + "=" + repr(v) for k, v in self._values.items()
4572
+ )
4573
+
4574
+
4575
+ @jsii.data_type(
4576
+ jsii_type="aws-cdk-lib.aws_iotsitewise.CfnDatasetProps",
4577
+ jsii_struct_bases=[],
4578
+ name_mapping={
4579
+ "dataset_name": "datasetName",
4580
+ "dataset_source": "datasetSource",
4581
+ "dataset_description": "datasetDescription",
4582
+ "tags": "tags",
4583
+ },
4584
+ )
4585
+ class CfnDatasetProps:
4586
+ def __init__(
4587
+ self,
4588
+ *,
4589
+ dataset_name: builtins.str,
4590
+ dataset_source: typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataset.DatasetSourceProperty, typing.Dict[builtins.str, typing.Any]]],
4591
+ dataset_description: typing.Optional[builtins.str] = None,
4592
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4593
+ ) -> None:
4594
+ '''Properties for defining a ``CfnDataset``.
4595
+
4596
+ :param dataset_name: The name of the dataset.
4597
+ :param dataset_source:
4598
+ :param dataset_description: A description about the dataset, and its functionality.
4599
+ :param tags: An array of key-value pairs to apply to this resource.
4600
+
4601
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dataset.html
4602
+ :exampleMetadata: fixture=_generated
4603
+
4604
+ Example::
4605
+
4606
+ # The code below shows an example of how to instantiate this type.
4607
+ # The values are placeholders you should change.
4608
+ from aws_cdk import aws_iotsitewise as iotsitewise
4609
+
4610
+ cfn_dataset_props = iotsitewise.CfnDatasetProps(
4611
+ dataset_name="datasetName",
4612
+ dataset_source=iotsitewise.CfnDataset.DatasetSourceProperty(
4613
+ source_format="sourceFormat",
4614
+ source_type="sourceType",
4615
+
4616
+ # the properties below are optional
4617
+ source_detail=iotsitewise.CfnDataset.SourceDetailProperty(
4618
+ kendra=iotsitewise.CfnDataset.KendraSourceDetailProperty(
4619
+ knowledge_base_arn="knowledgeBaseArn",
4620
+ role_arn="roleArn"
4621
+ )
4622
+ )
4623
+ ),
4624
+
4625
+ # the properties below are optional
4626
+ dataset_description="datasetDescription",
4627
+ tags=[CfnTag(
4628
+ key="key",
4629
+ value="value"
4630
+ )]
4631
+ )
4632
+ '''
4633
+ if __debug__:
4634
+ type_hints = typing.get_type_hints(_typecheckingstub__8ecfd46cd288d1fcedea054d9db52e78eed5b596789d023c110fcfb9e1e41ff8)
4635
+ check_type(argname="argument dataset_name", value=dataset_name, expected_type=type_hints["dataset_name"])
4636
+ check_type(argname="argument dataset_source", value=dataset_source, expected_type=type_hints["dataset_source"])
4637
+ check_type(argname="argument dataset_description", value=dataset_description, expected_type=type_hints["dataset_description"])
4638
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
4639
+ self._values: typing.Dict[builtins.str, typing.Any] = {
4640
+ "dataset_name": dataset_name,
4641
+ "dataset_source": dataset_source,
4642
+ }
4643
+ if dataset_description is not None:
4644
+ self._values["dataset_description"] = dataset_description
4645
+ if tags is not None:
4646
+ self._values["tags"] = tags
4647
+
4648
+ @builtins.property
4649
+ def dataset_name(self) -> builtins.str:
4650
+ '''The name of the dataset.
4651
+
4652
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dataset.html#cfn-iotsitewise-dataset-datasetname
4653
+ '''
4654
+ result = self._values.get("dataset_name")
4655
+ assert result is not None, "Required property 'dataset_name' is missing"
4656
+ return typing.cast(builtins.str, result)
4657
+
4658
+ @builtins.property
4659
+ def dataset_source(
4660
+ self,
4661
+ ) -> typing.Union[_IResolvable_da3f097b, CfnDataset.DatasetSourceProperty]:
4662
+ '''
4663
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dataset.html#cfn-iotsitewise-dataset-datasetsource
4664
+ '''
4665
+ result = self._values.get("dataset_source")
4666
+ assert result is not None, "Required property 'dataset_source' is missing"
4667
+ return typing.cast(typing.Union[_IResolvable_da3f097b, CfnDataset.DatasetSourceProperty], result)
4668
+
4669
+ @builtins.property
4670
+ def dataset_description(self) -> typing.Optional[builtins.str]:
4671
+ '''A description about the dataset, and its functionality.
4672
+
4673
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dataset.html#cfn-iotsitewise-dataset-datasetdescription
4674
+ '''
4675
+ result = self._values.get("dataset_description")
4676
+ return typing.cast(typing.Optional[builtins.str], result)
4677
+
4678
+ @builtins.property
4679
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
4680
+ '''An array of key-value pairs to apply to this resource.
4681
+
4682
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dataset.html#cfn-iotsitewise-dataset-tags
4683
+ '''
4684
+ result = self._values.get("tags")
4685
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
4686
+
4687
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
4688
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
4689
+
4690
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
4691
+ return not (rhs == self)
4692
+
4693
+ def __repr__(self) -> str:
4694
+ return "CfnDatasetProps(%s)" % ", ".join(
4695
+ k + "=" + repr(v) for k, v in self._values.items()
4696
+ )
4697
+
4698
+
4160
4699
  @jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
4161
4700
  class CfnGateway(
4162
4701
  _CfnResource_9df397a6,
@@ -5903,6 +6442,8 @@ __all__ = [
5903
6442
  "CfnAssetProps",
5904
6443
  "CfnDashboard",
5905
6444
  "CfnDashboardProps",
6445
+ "CfnDataset",
6446
+ "CfnDatasetProps",
5906
6447
  "CfnGateway",
5907
6448
  "CfnGatewayProps",
5908
6449
  "CfnPortal",
@@ -6392,6 +6933,88 @@ def _typecheckingstub__8e87db1e2d08493321e273557f52f1665d6e8b066bd235aa15fbe6b37
6392
6933
  """Type checking stubs"""
6393
6934
  pass
6394
6935
 
6936
+ def _typecheckingstub__44369ff07e07f1dbb28102a65eb5a8e6317f5b2e832b326cf3fc0bef13d7e1cc(
6937
+ scope: _constructs_77d1e7e8.Construct,
6938
+ id: builtins.str,
6939
+ *,
6940
+ dataset_name: builtins.str,
6941
+ dataset_source: typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataset.DatasetSourceProperty, typing.Dict[builtins.str, typing.Any]]],
6942
+ dataset_description: typing.Optional[builtins.str] = None,
6943
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
6944
+ ) -> None:
6945
+ """Type checking stubs"""
6946
+ pass
6947
+
6948
+ def _typecheckingstub__c537b447cd6a1f193bb6937137b32d81fb8fc58b3637f501b722c0a287eff25e(
6949
+ inspector: _TreeInspector_488e0dd5,
6950
+ ) -> None:
6951
+ """Type checking stubs"""
6952
+ pass
6953
+
6954
+ def _typecheckingstub__052a04636940cb669719f99afdd8ce7ebf71823f5bd4fc4a56e8e06e962e930e(
6955
+ props: typing.Mapping[builtins.str, typing.Any],
6956
+ ) -> None:
6957
+ """Type checking stubs"""
6958
+ pass
6959
+
6960
+ def _typecheckingstub__4b47777cde433184527816fbc94a5e50f4751f14ba951445e4260fbf75e5f9ff(
6961
+ value: builtins.str,
6962
+ ) -> None:
6963
+ """Type checking stubs"""
6964
+ pass
6965
+
6966
+ def _typecheckingstub__9ee08c36e5cc935e5be89b5ecc51c303d15d2f3f60f818632c78e21d65cc0e19(
6967
+ value: typing.Union[_IResolvable_da3f097b, CfnDataset.DatasetSourceProperty],
6968
+ ) -> None:
6969
+ """Type checking stubs"""
6970
+ pass
6971
+
6972
+ def _typecheckingstub__eb27e9e2c5f0a4b58c2867084de6a19d127db8e56f71ceb33ecb4c038c5aeba9(
6973
+ value: typing.Optional[builtins.str],
6974
+ ) -> None:
6975
+ """Type checking stubs"""
6976
+ pass
6977
+
6978
+ def _typecheckingstub__dc32716df823dcb28cde4279865e5af2ea0ed286db7d62b848f8ebbc49079037(
6979
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
6980
+ ) -> None:
6981
+ """Type checking stubs"""
6982
+ pass
6983
+
6984
+ def _typecheckingstub__f58345f56b93936a864a7b8b77051f0ab53f3948caa6107fb0e0b5e918839970(
6985
+ *,
6986
+ source_format: builtins.str,
6987
+ source_type: builtins.str,
6988
+ source_detail: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataset.SourceDetailProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
6989
+ ) -> None:
6990
+ """Type checking stubs"""
6991
+ pass
6992
+
6993
+ def _typecheckingstub__5d827c7c36898f2d8c24814838df150d16db4b05143943eaff03575fc4152bf9(
6994
+ *,
6995
+ knowledge_base_arn: builtins.str,
6996
+ role_arn: builtins.str,
6997
+ ) -> None:
6998
+ """Type checking stubs"""
6999
+ pass
7000
+
7001
+ def _typecheckingstub__7a598d81c202f610ae61fa753a459c38aa834bd6a34e5b7a54eb9f63914b22c7(
7002
+ *,
7003
+ kendra: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataset.KendraSourceDetailProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
7004
+ ) -> None:
7005
+ """Type checking stubs"""
7006
+ pass
7007
+
7008
+ def _typecheckingstub__8ecfd46cd288d1fcedea054d9db52e78eed5b596789d023c110fcfb9e1e41ff8(
7009
+ *,
7010
+ dataset_name: builtins.str,
7011
+ dataset_source: typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataset.DatasetSourceProperty, typing.Dict[builtins.str, typing.Any]]],
7012
+ dataset_description: typing.Optional[builtins.str] = None,
7013
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
7014
+ ) -> None:
7015
+ """Type checking stubs"""
7016
+ pass
7017
+
6395
7018
  def _typecheckingstub__b4e7aa58e6088e2cbee0005ea5a43b4c9db3b6647e2ff56a2b30310e7b1a75db(
6396
7019
  scope: _constructs_77d1e7e8.Construct,
6397
7020
  id: builtins.str,
@@ -7879,7 +7879,7 @@ class CfnDeliveryStream(
7879
7879
  :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>`_ .
7880
7880
  :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" }``
7881
7881
  :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>`_ .
7882
- :param processing_configuration: Specifies configuration for Snowflake.
7882
+ :param processing_configuration:
7883
7883
  :param retry_options: The time period where Firehose will retry sending data to the chosen HTTP endpoint.
7884
7884
  :param s3_backup_mode: Choose an S3 backup mode.
7885
7885
  :param secrets_manager_configuration: The configuration that defines how you access secrets for Snowflake.
@@ -8183,8 +8183,7 @@ class CfnDeliveryStream(
8183
8183
  def processing_configuration(
8184
8184
  self,
8185
8185
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDeliveryStream.ProcessingConfigurationProperty"]]:
8186
- '''Specifies configuration for Snowflake.
8187
-
8186
+ '''
8188
8187
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-snowflakedestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-snowflakedestinationconfiguration-processingconfiguration
8189
8188
  '''
8190
8189
  result = self._values.get("processing_configuration")