aws-cdk-lib 2.162.1__py3-none-any.whl → 2.163.1__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 (59) hide show
  1. aws_cdk/__init__.py +5 -7
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.162.1.jsii.tgz → aws-cdk-lib@2.163.1.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2/__init__.py +7 -7
  5. aws_cdk/aws_appflow/__init__.py +30 -16
  6. aws_cdk/aws_appsync/__init__.py +11 -21
  7. aws_cdk/aws_autoscaling/__init__.py +123 -0
  8. aws_cdk/aws_b2bi/__init__.py +83 -57
  9. aws_cdk/aws_cloudformation/__init__.py +5 -7
  10. aws_cdk/aws_codebuild/__init__.py +19 -40
  11. aws_cdk/aws_codepipeline/__init__.py +88 -7
  12. aws_cdk/aws_cognito/__init__.py +282 -168
  13. aws_cdk/aws_dms/__init__.py +1076 -117
  14. aws_cdk/aws_docdb/__init__.py +19 -13
  15. aws_cdk/aws_dynamodb/__init__.py +43 -22
  16. aws_cdk/aws_ec2/__init__.py +1213 -38
  17. aws_cdk/aws_ecs/__init__.py +187 -18
  18. aws_cdk/aws_ecs_patterns/__init__.py +189 -27
  19. aws_cdk/aws_efs/__init__.py +56 -37
  20. aws_cdk/aws_eks/__init__.py +6 -2
  21. aws_cdk/aws_elasticache/__init__.py +118 -118
  22. aws_cdk/aws_elasticloadbalancingv2/__init__.py +21 -1
  23. aws_cdk/aws_emr/__init__.py +124 -57
  24. aws_cdk/aws_events/__init__.py +40 -0
  25. aws_cdk/aws_fms/__init__.py +757 -8
  26. aws_cdk/aws_fsx/__init__.py +245 -10
  27. aws_cdk/aws_gamelift/__init__.py +121 -0
  28. aws_cdk/aws_glue/__init__.py +344 -61
  29. aws_cdk/aws_iam/__init__.py +44 -0
  30. aws_cdk/aws_identitystore/__init__.py +4 -2
  31. aws_cdk/aws_iot/__init__.py +40 -12
  32. aws_cdk/aws_kinesis/__init__.py +239 -0
  33. aws_cdk/aws_kms/__init__.py +92 -3
  34. aws_cdk/aws_lambda/__init__.py +2 -2
  35. aws_cdk/aws_mediapackagev2/__init__.py +26 -10
  36. aws_cdk/aws_memorydb/__init__.py +7 -7
  37. aws_cdk/aws_networkfirewall/__init__.py +89 -0
  38. aws_cdk/aws_qbusiness/__init__.py +51 -7
  39. aws_cdk/aws_quicksight/__init__.py +221 -87
  40. aws_cdk/aws_rds/__init__.py +376 -75
  41. aws_cdk/aws_redshift/__init__.py +493 -13
  42. aws_cdk/aws_route53profiles/__init__.py +4 -2
  43. aws_cdk/aws_route53resolver/__init__.py +26 -60
  44. aws_cdk/aws_s3/__init__.py +104 -4
  45. aws_cdk/aws_s3express/__init__.py +73 -13
  46. aws_cdk/aws_s3outposts/__init__.py +21 -12
  47. aws_cdk/aws_sagemaker/__init__.py +4 -44
  48. aws_cdk/aws_ssmquicksetup/__init__.py +2 -2
  49. aws_cdk/aws_stepfunctions/__init__.py +529 -156
  50. aws_cdk/aws_transfer/__init__.py +15 -4
  51. aws_cdk/aws_waf/__init__.py +11 -11
  52. aws_cdk/aws_wafregional/__init__.py +12 -12
  53. aws_cdk/aws_wisdom/__init__.py +710 -5
  54. {aws_cdk_lib-2.162.1.dist-info → aws_cdk_lib-2.163.1.dist-info}/METADATA +1 -1
  55. {aws_cdk_lib-2.162.1.dist-info → aws_cdk_lib-2.163.1.dist-info}/RECORD +59 -59
  56. {aws_cdk_lib-2.162.1.dist-info → aws_cdk_lib-2.163.1.dist-info}/LICENSE +0 -0
  57. {aws_cdk_lib-2.162.1.dist-info → aws_cdk_lib-2.163.1.dist-info}/NOTICE +0 -0
  58. {aws_cdk_lib-2.162.1.dist-info → aws_cdk_lib-2.163.1.dist-info}/WHEEL +0 -0
  59. {aws_cdk_lib-2.162.1.dist-info → aws_cdk_lib-2.163.1.dist-info}/top_level.txt +0 -0
@@ -2474,14 +2474,19 @@ class CfnPipeline(
2474
2474
  name="name",
2475
2475
 
2476
2476
  # the properties below are optional
2477
+ commands=["commands"],
2477
2478
  configuration=configuration,
2478
2479
  input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
2479
2480
  name="name"
2480
2481
  )],
2481
2482
  namespace="namespace",
2482
2483
  output_artifacts=[codepipeline.CfnPipeline.OutputArtifactProperty(
2483
- name="name"
2484
+ name="name",
2485
+
2486
+ # the properties below are optional
2487
+ files=["files"]
2484
2488
  )],
2489
+ output_variables=["outputVariables"],
2485
2490
  region="region",
2486
2491
  role_arn="roleArn",
2487
2492
  run_order=123,
@@ -2944,10 +2949,12 @@ class CfnPipeline(
2944
2949
  name_mapping={
2945
2950
  "action_type_id": "actionTypeId",
2946
2951
  "name": "name",
2952
+ "commands": "commands",
2947
2953
  "configuration": "configuration",
2948
2954
  "input_artifacts": "inputArtifacts",
2949
2955
  "namespace": "namespace",
2950
2956
  "output_artifacts": "outputArtifacts",
2957
+ "output_variables": "outputVariables",
2951
2958
  "region": "region",
2952
2959
  "role_arn": "roleArn",
2953
2960
  "run_order": "runOrder",
@@ -2960,10 +2967,12 @@ class CfnPipeline(
2960
2967
  *,
2961
2968
  action_type_id: typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.ActionTypeIdProperty", typing.Dict[builtins.str, typing.Any]]],
2962
2969
  name: builtins.str,
2970
+ commands: typing.Optional[typing.Sequence[builtins.str]] = None,
2963
2971
  configuration: typing.Any = None,
2964
2972
  input_artifacts: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.InputArtifactProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
2965
2973
  namespace: typing.Optional[builtins.str] = None,
2966
2974
  output_artifacts: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.OutputArtifactProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
2975
+ output_variables: typing.Optional[typing.Sequence[builtins.str]] = None,
2967
2976
  region: typing.Optional[builtins.str] = None,
2968
2977
  role_arn: typing.Optional[builtins.str] = None,
2969
2978
  run_order: typing.Optional[jsii.Number] = None,
@@ -2973,10 +2982,12 @@ class CfnPipeline(
2973
2982
 
2974
2983
  :param action_type_id: Specifies the action type and the provider of the action.
2975
2984
  :param name: The action declaration's name.
2985
+ :param commands: The shell commands to run with your compute action in CodePipeline. All commands are supported except multi-line formats. While CodeBuild logs and permissions are used, you do not need to create any resources in CodeBuild. .. epigraph:: Using compute time for this action will incur separate charges in AWS CodeBuild .
2976
2986
  :param configuration: The action's configuration. These are key-value pairs that specify input values for an action. For more information, see `Action Structure Requirements in CodePipeline <https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#action-requirements>`_ . For the list of configuration properties for the AWS CloudFormation action type in CodePipeline, see `Configuration Properties Reference <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/continuous-delivery-codepipeline-action-reference.html>`_ in the *AWS CloudFormation User Guide* . For template snippets with examples, see `Using Parameter Override Functions with CodePipeline Pipelines <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/continuous-delivery-codepipeline-parameter-override-functions.html>`_ in the *AWS CloudFormation User Guide* . The values can be represented in either JSON or YAML format. For example, the JSON configuration item format is as follows: *JSON:* ``"Configuration" : { Key : Value },``
2977
2987
  :param input_artifacts: The name or ID of the artifact consumed by the action, such as a test or build artifact. While the field is not a required parameter, most actions have an action configuration that requires a specified quantity of input artifacts. To refer to the action configuration specification by action provider, see the `Action structure reference <https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference.html>`_ in the *AWS CodePipeline User Guide* . .. epigraph:: For a CodeBuild action with multiple input artifacts, one of your input sources must be designated the PrimarySource. For more information, see the `CodeBuild action reference page <https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-CodeBuild.html>`_ in the *AWS CodePipeline User Guide* .
2978
2988
  :param namespace: The variable namespace associated with the action. All variables produced as output by this action fall under this namespace.
2979
2989
  :param output_artifacts: The name or ID of the result of the action declaration, such as a test or build artifact. While the field is not a required parameter, most actions have an action configuration that requires a specified quantity of output artifacts. To refer to the action configuration specification by action provider, see the `Action structure reference <https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference.html>`_ in the *AWS CodePipeline User Guide* .
2990
+ :param output_variables: The list of variables that are to be exported from the compute action. This is specifically CodeBuild environment variables as used for that action.
2980
2991
  :param region: The action declaration's AWS Region, such as us-east-1.
2981
2992
  :param role_arn: The ARN of the IAM service role that performs the declared action. This is assumed through the roleArn for the pipeline.
2982
2993
  :param run_order: The order in which actions are run.
@@ -3003,14 +3014,19 @@ class CfnPipeline(
3003
3014
  name="name",
3004
3015
 
3005
3016
  # the properties below are optional
3017
+ commands=["commands"],
3006
3018
  configuration=configuration,
3007
3019
  input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
3008
3020
  name="name"
3009
3021
  )],
3010
3022
  namespace="namespace",
3011
3023
  output_artifacts=[codepipeline.CfnPipeline.OutputArtifactProperty(
3012
- name="name"
3024
+ name="name",
3025
+
3026
+ # the properties below are optional
3027
+ files=["files"]
3013
3028
  )],
3029
+ output_variables=["outputVariables"],
3014
3030
  region="region",
3015
3031
  role_arn="roleArn",
3016
3032
  run_order=123,
@@ -3021,10 +3037,12 @@ class CfnPipeline(
3021
3037
  type_hints = typing.get_type_hints(_typecheckingstub__490d89c9ac665593d791c6e187fcf0e47ca3ec8684f1c7a502e1711bcbec64ec)
3022
3038
  check_type(argname="argument action_type_id", value=action_type_id, expected_type=type_hints["action_type_id"])
3023
3039
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
3040
+ check_type(argname="argument commands", value=commands, expected_type=type_hints["commands"])
3024
3041
  check_type(argname="argument configuration", value=configuration, expected_type=type_hints["configuration"])
3025
3042
  check_type(argname="argument input_artifacts", value=input_artifacts, expected_type=type_hints["input_artifacts"])
3026
3043
  check_type(argname="argument namespace", value=namespace, expected_type=type_hints["namespace"])
3027
3044
  check_type(argname="argument output_artifacts", value=output_artifacts, expected_type=type_hints["output_artifacts"])
3045
+ check_type(argname="argument output_variables", value=output_variables, expected_type=type_hints["output_variables"])
3028
3046
  check_type(argname="argument region", value=region, expected_type=type_hints["region"])
3029
3047
  check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
3030
3048
  check_type(argname="argument run_order", value=run_order, expected_type=type_hints["run_order"])
@@ -3033,6 +3051,8 @@ class CfnPipeline(
3033
3051
  "action_type_id": action_type_id,
3034
3052
  "name": name,
3035
3053
  }
3054
+ if commands is not None:
3055
+ self._values["commands"] = commands
3036
3056
  if configuration is not None:
3037
3057
  self._values["configuration"] = configuration
3038
3058
  if input_artifacts is not None:
@@ -3041,6 +3061,8 @@ class CfnPipeline(
3041
3061
  self._values["namespace"] = namespace
3042
3062
  if output_artifacts is not None:
3043
3063
  self._values["output_artifacts"] = output_artifacts
3064
+ if output_variables is not None:
3065
+ self._values["output_variables"] = output_variables
3044
3066
  if region is not None:
3045
3067
  self._values["region"] = region
3046
3068
  if role_arn is not None:
@@ -3072,6 +3094,20 @@ class CfnPipeline(
3072
3094
  assert result is not None, "Required property 'name' is missing"
3073
3095
  return typing.cast(builtins.str, result)
3074
3096
 
3097
+ @builtins.property
3098
+ def commands(self) -> typing.Optional[typing.List[builtins.str]]:
3099
+ '''The shell commands to run with your compute action in CodePipeline.
3100
+
3101
+ All commands are supported except multi-line formats. While CodeBuild logs and permissions are used, you do not need to create any resources in CodeBuild.
3102
+ .. epigraph::
3103
+
3104
+ Using compute time for this action will incur separate charges in AWS CodeBuild .
3105
+
3106
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiondeclaration.html#cfn-codepipeline-pipeline-actiondeclaration-commands
3107
+ '''
3108
+ result = self._values.get("commands")
3109
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
3110
+
3075
3111
  @builtins.property
3076
3112
  def configuration(self) -> typing.Any:
3077
3113
  '''The action's configuration.
@@ -3129,6 +3165,17 @@ class CfnPipeline(
3129
3165
  result = self._values.get("output_artifacts")
3130
3166
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipeline.OutputArtifactProperty"]]]], result)
3131
3167
 
3168
+ @builtins.property
3169
+ def output_variables(self) -> typing.Optional[typing.List[builtins.str]]:
3170
+ '''The list of variables that are to be exported from the compute action.
3171
+
3172
+ This is specifically CodeBuild environment variables as used for that action.
3173
+
3174
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiondeclaration.html#cfn-codepipeline-pipeline-actiondeclaration-outputvariables
3175
+ '''
3176
+ result = self._values.get("output_variables")
3177
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
3178
+
3132
3179
  @builtins.property
3133
3180
  def region(self) -> typing.Optional[builtins.str]:
3134
3181
  '''The action declaration's AWS Region, such as us-east-1.
@@ -4493,13 +4540,19 @@ class CfnPipeline(
4493
4540
  @jsii.data_type(
4494
4541
  jsii_type="aws-cdk-lib.aws_codepipeline.CfnPipeline.OutputArtifactProperty",
4495
4542
  jsii_struct_bases=[],
4496
- name_mapping={"name": "name"},
4543
+ name_mapping={"name": "name", "files": "files"},
4497
4544
  )
4498
4545
  class OutputArtifactProperty:
4499
- def __init__(self, *, name: builtins.str) -> None:
4546
+ def __init__(
4547
+ self,
4548
+ *,
4549
+ name: builtins.str,
4550
+ files: typing.Optional[typing.Sequence[builtins.str]] = None,
4551
+ ) -> None:
4500
4552
  '''Represents information about the output of an action.
4501
4553
 
4502
4554
  :param name: The name of the output of an artifact, such as "My App". The output artifact name must exactly match the input artifact declared for a downstream action. However, the downstream action's input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions. Output artifact names must be unique within a pipeline.
4555
+ :param files: The files that you want to associate with the output artifact that will be exported from the compute action.
4503
4556
 
4504
4557
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-outputartifact.html
4505
4558
  :exampleMetadata: fixture=_generated
@@ -4511,15 +4564,21 @@ class CfnPipeline(
4511
4564
  from aws_cdk import aws_codepipeline as codepipeline
4512
4565
 
4513
4566
  output_artifact_property = codepipeline.CfnPipeline.OutputArtifactProperty(
4514
- name="name"
4567
+ name="name",
4568
+
4569
+ # the properties below are optional
4570
+ files=["files"]
4515
4571
  )
4516
4572
  '''
4517
4573
  if __debug__:
4518
4574
  type_hints = typing.get_type_hints(_typecheckingstub__ce1321d2f1592577a646df78457487ddcd0924a3b3b3af432b5a7d9ceebc6d8e)
4519
4575
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
4576
+ check_type(argname="argument files", value=files, expected_type=type_hints["files"])
4520
4577
  self._values: typing.Dict[builtins.str, typing.Any] = {
4521
4578
  "name": name,
4522
4579
  }
4580
+ if files is not None:
4581
+ self._values["files"] = files
4523
4582
 
4524
4583
  @builtins.property
4525
4584
  def name(self) -> builtins.str:
@@ -4535,6 +4594,15 @@ class CfnPipeline(
4535
4594
  assert result is not None, "Required property 'name' is missing"
4536
4595
  return typing.cast(builtins.str, result)
4537
4596
 
4597
+ @builtins.property
4598
+ def files(self) -> typing.Optional[typing.List[builtins.str]]:
4599
+ '''The files that you want to associate with the output artifact that will be exported from the compute action.
4600
+
4601
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-outputartifact.html#cfn-codepipeline-pipeline-outputartifact-files
4602
+ '''
4603
+ result = self._values.get("files")
4604
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
4605
+
4538
4606
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
4539
4607
  return isinstance(rhs, self.__class__) and rhs._values == self._values
4540
4608
 
@@ -4972,14 +5040,19 @@ class CfnPipeline(
4972
5040
  name="name",
4973
5041
 
4974
5042
  # the properties below are optional
5043
+ commands=["commands"],
4975
5044
  configuration=configuration,
4976
5045
  input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
4977
5046
  name="name"
4978
5047
  )],
4979
5048
  namespace="namespace",
4980
5049
  output_artifacts=[codepipeline.CfnPipeline.OutputArtifactProperty(
4981
- name="name"
5050
+ name="name",
5051
+
5052
+ # the properties below are optional
5053
+ files=["files"]
4982
5054
  )],
5055
+ output_variables=["outputVariables"],
4983
5056
  region="region",
4984
5057
  role_arn="roleArn",
4985
5058
  run_order=123,
@@ -5472,14 +5545,19 @@ class CfnPipelineProps:
5472
5545
  name="name",
5473
5546
 
5474
5547
  # the properties below are optional
5548
+ commands=["commands"],
5475
5549
  configuration=configuration,
5476
5550
  input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
5477
5551
  name="name"
5478
5552
  )],
5479
5553
  namespace="namespace",
5480
5554
  output_artifacts=[codepipeline.CfnPipeline.OutputArtifactProperty(
5481
- name="name"
5555
+ name="name",
5556
+
5557
+ # the properties below are optional
5558
+ files=["files"]
5482
5559
  )],
5560
+ output_variables=["outputVariables"],
5483
5561
  region="region",
5484
5562
  role_arn="roleArn",
5485
5563
  run_order=123,
@@ -10650,10 +10728,12 @@ def _typecheckingstub__490d89c9ac665593d791c6e187fcf0e47ca3ec8684f1c7a502e1711bc
10650
10728
  *,
10651
10729
  action_type_id: typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.ActionTypeIdProperty, typing.Dict[builtins.str, typing.Any]]],
10652
10730
  name: builtins.str,
10731
+ commands: typing.Optional[typing.Sequence[builtins.str]] = None,
10653
10732
  configuration: typing.Any = None,
10654
10733
  input_artifacts: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.InputArtifactProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
10655
10734
  namespace: typing.Optional[builtins.str] = None,
10656
10735
  output_artifacts: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.OutputArtifactProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
10736
+ output_variables: typing.Optional[typing.Sequence[builtins.str]] = None,
10657
10737
  region: typing.Optional[builtins.str] = None,
10658
10738
  role_arn: typing.Optional[builtins.str] = None,
10659
10739
  run_order: typing.Optional[jsii.Number] = None,
@@ -10789,6 +10869,7 @@ def _typecheckingstub__ae97b53479ee01238ac6a596c3a1922670350a44e3d91518b64b0a686
10789
10869
  def _typecheckingstub__ce1321d2f1592577a646df78457487ddcd0924a3b3b3af432b5a7d9ceebc6d8e(
10790
10870
  *,
10791
10871
  name: builtins.str,
10872
+ files: typing.Optional[typing.Sequence[builtins.str]] = None,
10792
10873
  ) -> None:
10793
10874
  """Type checking stubs"""
10794
10875
  pass