aws-cdk-lib 2.196.1__py3-none-any.whl → 2.198.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 (43) hide show
  1. aws_cdk/__init__.py +2 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.196.1.jsii.tgz → aws-cdk-lib@2.198.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigateway/__init__.py +90 -1
  5. aws_cdk/aws_apigatewayv2/__init__.py +866 -0
  6. aws_cdk/aws_applicationautoscaling/__init__.py +36 -0
  7. aws_cdk/aws_appsync/__init__.py +31 -21
  8. aws_cdk/aws_autoscaling/__init__.py +2 -1
  9. aws_cdk/aws_bedrock/__init__.py +32 -26
  10. aws_cdk/aws_cloudfront/__init__.py +9 -3
  11. aws_cdk/aws_cloudwatch/__init__.py +756 -29
  12. aws_cdk/aws_codebuild/__init__.py +19 -0
  13. aws_cdk/aws_codepipeline/__init__.py +44 -7
  14. aws_cdk/aws_datasync/__init__.py +850 -833
  15. aws_cdk/aws_datazone/__init__.py +615 -2
  16. aws_cdk/aws_deadline/__init__.py +162 -4
  17. aws_cdk/aws_dsql/__init__.py +35 -1
  18. aws_cdk/aws_ec2/__init__.py +291 -7
  19. aws_cdk/aws_ecs/__init__.py +38 -19
  20. aws_cdk/aws_ecs_patterns/__init__.py +15 -9
  21. aws_cdk/aws_elasticache/__init__.py +5 -5
  22. aws_cdk/aws_elasticloadbalancingv2/__init__.py +14 -8
  23. aws_cdk/aws_gamelift/__init__.py +103 -17
  24. aws_cdk/aws_gameliftstreams/__init__.py +6 -6
  25. aws_cdk/aws_lex/__init__.py +1245 -172
  26. aws_cdk/aws_mediapackagev2/__init__.py +11 -10
  27. aws_cdk/aws_omics/__init__.py +939 -100
  28. aws_cdk/aws_pcs/__init__.py +126 -0
  29. aws_cdk/aws_rds/__init__.py +42 -15
  30. aws_cdk/aws_rolesanywhere/__init__.py +14 -13
  31. aws_cdk/aws_route53resolver/__init__.py +0 -41
  32. aws_cdk/aws_sagemaker/__init__.py +38 -12
  33. aws_cdk/aws_ses/__init__.py +192 -4
  34. aws_cdk/aws_ssmquicksetup/__init__.py +10 -2
  35. aws_cdk/aws_synthetics/__init__.py +137 -3
  36. aws_cdk/aws_wafv2/__init__.py +4 -4
  37. aws_cdk/aws_workspaces/__init__.py +41 -0
  38. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/METADATA +2 -2
  39. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/RECORD +43 -43
  40. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/LICENSE +0 -0
  41. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/NOTICE +0 -0
  42. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/WHEEL +0 -0
  43. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/top_level.txt +0 -0
@@ -2201,6 +2201,7 @@ class CfnFleet(
2201
2201
  base_capacity=123,
2202
2202
  compute_configuration=codebuild.CfnFleet.ComputeConfigurationProperty(
2203
2203
  disk=123,
2204
+ instance_type="instanceType",
2204
2205
  machine_type="machineType",
2205
2206
  memory=123,
2206
2207
  v_cpu=123
@@ -2528,6 +2529,7 @@ class CfnFleet(
2528
2529
  jsii_struct_bases=[],
2529
2530
  name_mapping={
2530
2531
  "disk": "disk",
2532
+ "instance_type": "instanceType",
2531
2533
  "machine_type": "machineType",
2532
2534
  "memory": "memory",
2533
2535
  "v_cpu": "vCpu",
@@ -2538,6 +2540,7 @@ class CfnFleet(
2538
2540
  self,
2539
2541
  *,
2540
2542
  disk: typing.Optional[jsii.Number] = None,
2543
+ instance_type: typing.Optional[builtins.str] = None,
2541
2544
  machine_type: typing.Optional[builtins.str] = None,
2542
2545
  memory: typing.Optional[jsii.Number] = None,
2543
2546
  v_cpu: typing.Optional[jsii.Number] = None,
@@ -2547,6 +2550,7 @@ class CfnFleet(
2547
2550
  These attributes only need be specified when your project's or fleet's ``computeType`` is set to ``ATTRIBUTE_BASED_COMPUTE`` or ``CUSTOM_INSTANCE_TYPE`` .
2548
2551
 
2549
2552
  :param disk: The amount of disk space of the instance type included in your fleet.
2553
+ :param instance_type: The EC2 instance type to be launched in your fleet.
2550
2554
  :param machine_type: The machine type of the instance type included in your fleet.
2551
2555
  :param memory: The amount of memory of the instance type included in your fleet.
2552
2556
  :param v_cpu: The number of vCPUs of the instance type included in your fleet.
@@ -2562,6 +2566,7 @@ class CfnFleet(
2562
2566
 
2563
2567
  compute_configuration_property = codebuild.CfnFleet.ComputeConfigurationProperty(
2564
2568
  disk=123,
2569
+ instance_type="instanceType",
2565
2570
  machine_type="machineType",
2566
2571
  memory=123,
2567
2572
  v_cpu=123
@@ -2570,12 +2575,15 @@ class CfnFleet(
2570
2575
  if __debug__:
2571
2576
  type_hints = typing.get_type_hints(_typecheckingstub__83eb701fe90c557bf4af205ee34cfc7a5be2354e8e7cbd789a682e59834fb69b)
2572
2577
  check_type(argname="argument disk", value=disk, expected_type=type_hints["disk"])
2578
+ check_type(argname="argument instance_type", value=instance_type, expected_type=type_hints["instance_type"])
2573
2579
  check_type(argname="argument machine_type", value=machine_type, expected_type=type_hints["machine_type"])
2574
2580
  check_type(argname="argument memory", value=memory, expected_type=type_hints["memory"])
2575
2581
  check_type(argname="argument v_cpu", value=v_cpu, expected_type=type_hints["v_cpu"])
2576
2582
  self._values: typing.Dict[builtins.str, typing.Any] = {}
2577
2583
  if disk is not None:
2578
2584
  self._values["disk"] = disk
2585
+ if instance_type is not None:
2586
+ self._values["instance_type"] = instance_type
2579
2587
  if machine_type is not None:
2580
2588
  self._values["machine_type"] = machine_type
2581
2589
  if memory is not None:
@@ -2592,6 +2600,15 @@ class CfnFleet(
2592
2600
  result = self._values.get("disk")
2593
2601
  return typing.cast(typing.Optional[jsii.Number], result)
2594
2602
 
2603
+ @builtins.property
2604
+ def instance_type(self) -> typing.Optional[builtins.str]:
2605
+ '''The EC2 instance type to be launched in your fleet.
2606
+
2607
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-computeconfiguration.html#cfn-codebuild-fleet-computeconfiguration-instancetype
2608
+ '''
2609
+ result = self._values.get("instance_type")
2610
+ return typing.cast(typing.Optional[builtins.str], result)
2611
+
2595
2612
  @builtins.property
2596
2613
  def machine_type(self) -> typing.Optional[builtins.str]:
2597
2614
  '''The machine type of the instance type included in your fleet.
@@ -3111,6 +3128,7 @@ class CfnFleetProps:
3111
3128
  base_capacity=123,
3112
3129
  compute_configuration=codebuild.CfnFleet.ComputeConfigurationProperty(
3113
3130
  disk=123,
3131
+ instance_type="instanceType",
3114
3132
  machine_type="machineType",
3115
3133
  memory=123,
3116
3134
  v_cpu=123
@@ -18902,6 +18920,7 @@ def _typecheckingstub__dd8d232a7a18b97fcd2d21d60ea770b5fdd85dd8808e961cb9b071d34
18902
18920
  def _typecheckingstub__83eb701fe90c557bf4af205ee34cfc7a5be2354e8e7cbd789a682e59834fb69b(
18903
18921
  *,
18904
18922
  disk: typing.Optional[jsii.Number] = None,
18923
+ instance_type: typing.Optional[builtins.str] = None,
18905
18924
  machine_type: typing.Optional[builtins.str] = None,
18906
18925
  memory: typing.Optional[jsii.Number] = None,
18907
18926
  v_cpu: typing.Optional[jsii.Number] = None,
@@ -2699,7 +2699,10 @@ class CfnPipeline(
2699
2699
  configuration=configuration,
2700
2700
  environment_variables=[codepipeline.CfnPipeline.EnvironmentVariableProperty(
2701
2701
  name="name",
2702
- value="value"
2702
+ value="value",
2703
+
2704
+ # the properties below are optional
2705
+ type="type"
2703
2706
  )],
2704
2707
  input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
2705
2708
  name="name"
@@ -3252,7 +3255,10 @@ class CfnPipeline(
3252
3255
  configuration=configuration,
3253
3256
  environment_variables=[codepipeline.CfnPipeline.EnvironmentVariableProperty(
3254
3257
  name="name",
3255
- value="value"
3258
+ value="value",
3259
+
3260
+ # the properties below are optional
3261
+ type="type"
3256
3262
  )],
3257
3263
  input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
3258
3264
  name="name"
@@ -4109,14 +4115,21 @@ class CfnPipeline(
4109
4115
  @jsii.data_type(
4110
4116
  jsii_type="aws-cdk-lib.aws_codepipeline.CfnPipeline.EnvironmentVariableProperty",
4111
4117
  jsii_struct_bases=[],
4112
- name_mapping={"name": "name", "value": "value"},
4118
+ name_mapping={"name": "name", "value": "value", "type": "type"},
4113
4119
  )
4114
4120
  class EnvironmentVariableProperty:
4115
- def __init__(self, *, name: builtins.str, value: builtins.str) -> None:
4121
+ def __init__(
4122
+ self,
4123
+ *,
4124
+ name: builtins.str,
4125
+ value: builtins.str,
4126
+ type: typing.Optional[builtins.str] = None,
4127
+ ) -> None:
4116
4128
  '''The environment variables for the action.
4117
4129
 
4118
4130
  :param name: The environment variable name in the key-value pair.
4119
4131
  :param value: The environment variable value in the key-value pair.
4132
+ :param type: Specifies the type of use for the environment variable value. The value can be either ``PLAINTEXT`` or ``SECRETS_MANAGER`` . If the value is ``SECRETS_MANAGER`` , provide the Secrets reference in the EnvironmentVariable value.
4120
4133
 
4121
4134
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-environmentvariable.html
4122
4135
  :exampleMetadata: fixture=_generated
@@ -4129,17 +4142,23 @@ class CfnPipeline(
4129
4142
 
4130
4143
  environment_variable_property = codepipeline.CfnPipeline.EnvironmentVariableProperty(
4131
4144
  name="name",
4132
- value="value"
4145
+ value="value",
4146
+
4147
+ # the properties below are optional
4148
+ type="type"
4133
4149
  )
4134
4150
  '''
4135
4151
  if __debug__:
4136
4152
  type_hints = typing.get_type_hints(_typecheckingstub__f259d9da088fb308ad8abebb0fb3aca04739c87fd2ed5561a20074f8e2458d5a)
4137
4153
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
4138
4154
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4155
+ check_type(argname="argument type", value=type, expected_type=type_hints["type"])
4139
4156
  self._values: typing.Dict[builtins.str, typing.Any] = {
4140
4157
  "name": name,
4141
4158
  "value": value,
4142
4159
  }
4160
+ if type is not None:
4161
+ self._values["type"] = type
4143
4162
 
4144
4163
  @builtins.property
4145
4164
  def name(self) -> builtins.str:
@@ -4161,6 +4180,17 @@ class CfnPipeline(
4161
4180
  assert result is not None, "Required property 'value' is missing"
4162
4181
  return typing.cast(builtins.str, result)
4163
4182
 
4183
+ @builtins.property
4184
+ def type(self) -> typing.Optional[builtins.str]:
4185
+ '''Specifies the type of use for the environment variable value.
4186
+
4187
+ The value can be either ``PLAINTEXT`` or ``SECRETS_MANAGER`` . If the value is ``SECRETS_MANAGER`` , provide the Secrets reference in the EnvironmentVariable value.
4188
+
4189
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-environmentvariable.html#cfn-codepipeline-pipeline-environmentvariable-type
4190
+ '''
4191
+ result = self._values.get("type")
4192
+ return typing.cast(typing.Optional[builtins.str], result)
4193
+
4164
4194
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
4165
4195
  return isinstance(rhs, self.__class__) and rhs._values == self._values
4166
4196
 
@@ -5479,7 +5509,10 @@ class CfnPipeline(
5479
5509
  configuration=configuration,
5480
5510
  environment_variables=[codepipeline.CfnPipeline.EnvironmentVariableProperty(
5481
5511
  name="name",
5482
- value="value"
5512
+ value="value",
5513
+
5514
+ # the properties below are optional
5515
+ type="type"
5483
5516
  )],
5484
5517
  input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
5485
5518
  name="name"
@@ -5997,7 +6030,10 @@ class CfnPipelineProps:
5997
6030
  configuration=configuration,
5998
6031
  environment_variables=[codepipeline.CfnPipeline.EnvironmentVariableProperty(
5999
6032
  name="name",
6000
- value="value"
6033
+ value="value",
6034
+
6035
+ # the properties below are optional
6036
+ type="type"
6001
6037
  )],
6002
6038
  input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
6003
6039
  name="name"
@@ -12319,6 +12355,7 @@ def _typecheckingstub__f259d9da088fb308ad8abebb0fb3aca04739c87fd2ed5561a20074f8e
12319
12355
  *,
12320
12356
  name: builtins.str,
12321
12357
  value: builtins.str,
12358
+ type: typing.Optional[builtins.str] = None,
12322
12359
  ) -> None:
12323
12360
  """Type checking stubs"""
12324
12361
  pass