aws-cdk-lib 2.90.0__py3-none-any.whl → 2.92.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 (55) hide show
  1. aws_cdk/__init__.py +22 -4
  2. aws_cdk/_jsii/__init__.py +2 -2
  3. aws_cdk/_jsii/{aws-cdk-lib@2.90.0.jsii.tgz → aws-cdk-lib@2.92.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_appstream/__init__.py +3 -3
  5. aws_cdk/aws_batch/__init__.py +39 -18
  6. aws_cdk/aws_billingconductor/__init__.py +44 -13
  7. aws_cdk/aws_cleanrooms/__init__.py +2 -4
  8. aws_cdk/aws_cloudtrail/__init__.py +35 -10
  9. aws_cdk/aws_cloudwatch/__init__.py +3 -3
  10. aws_cdk/aws_codebuild/__init__.py +7 -7
  11. aws_cdk/aws_cognito/__init__.py +8 -8
  12. aws_cdk/aws_config/__init__.py +220 -0
  13. aws_cdk/aws_datasync/__init__.py +22 -35
  14. aws_cdk/aws_dms/__init__.py +909 -4
  15. aws_cdk/aws_dynamodb/__init__.py +0 -1
  16. aws_cdk/aws_ec2/__init__.py +59 -21
  17. aws_cdk/aws_ecs/__init__.py +45 -21
  18. aws_cdk/aws_evidently/__init__.py +3 -3
  19. aws_cdk/aws_fsx/__init__.py +6 -5
  20. aws_cdk/aws_glue/__init__.py +438 -10
  21. aws_cdk/aws_guardduty/__init__.py +60 -17
  22. aws_cdk/aws_iam/__init__.py +8 -9
  23. aws_cdk/aws_iot/__init__.py +5 -1
  24. aws_cdk/aws_kms/__init__.py +95 -47
  25. aws_cdk/aws_lambda/__init__.py +4 -2
  26. aws_cdk/aws_lambda_nodejs/__init__.py +3 -3
  27. aws_cdk/aws_mediatailor/__init__.py +2902 -892
  28. aws_cdk/aws_mwaa/__init__.py +13 -8
  29. aws_cdk/aws_neptune/__init__.py +50 -2
  30. aws_cdk/aws_omics/__init__.py +80 -0
  31. aws_cdk/aws_opensearchserverless/__init__.py +3 -3
  32. aws_cdk/aws_opensearchservice/__init__.py +247 -14
  33. aws_cdk/aws_organizations/__init__.py +17 -17
  34. aws_cdk/aws_personalize/__init__.py +41 -25
  35. aws_cdk/aws_rds/__init__.py +24 -10
  36. aws_cdk/aws_resiliencehub/__init__.py +22 -22
  37. aws_cdk/aws_rolesanywhere/__init__.py +58 -74
  38. aws_cdk/aws_route53/__init__.py +3 -1
  39. aws_cdk/aws_s3/__init__.py +17 -7
  40. aws_cdk/aws_sagemaker/__init__.py +396 -5
  41. aws_cdk/aws_sns/__init__.py +8 -8
  42. aws_cdk/aws_sqs/__init__.py +231 -4
  43. aws_cdk/aws_ssm/__init__.py +6 -28
  44. aws_cdk/aws_stepfunctions/__init__.py +7 -7
  45. aws_cdk/aws_timestream/__init__.py +243 -0
  46. aws_cdk/aws_transfer/__init__.py +250 -52
  47. aws_cdk/aws_vpclattice/__init__.py +10 -6
  48. aws_cdk/aws_wafv2/__init__.py +7517 -5036
  49. aws_cdk/custom_resources/__init__.py +18 -30
  50. {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/METADATA +8 -8
  51. {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/RECORD +55 -55
  52. {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/WHEEL +1 -1
  53. {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/LICENSE +0 -0
  54. {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/NOTICE +0 -0
  55. {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/top_level.txt +0 -0
@@ -223,7 +223,7 @@ class CfnQueue(
223
223
  :param receive_message_wait_time_seconds: Specifies the duration, in seconds, that the ReceiveMessage action call waits until a message is in the queue in order to include it in the response, rather than returning an empty response if a message isn't yet available. You can specify an integer from 1 to 20. Short polling is used as the default or when you specify 0 for this property. For more information, see `Consuming messages using long polling <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-short-and-long-polling.html#sqs-long-polling>`_ in the *Amazon SQS Developer Guide* .
224
224
  :param redrive_allow_policy: The string that includes the parameters for the permissions for the dead-letter queue redrive permission and which source queues can specify dead-letter queues as a JSON object. The parameters are as follows: - ``redrivePermission`` : The permission type that defines which source queues can specify the current queue as the dead-letter queue. Valid values are: - ``allowAll`` : (Default) Any source queues in this AWS account in the same Region can specify this queue as the dead-letter queue. - ``denyAll`` : No source queues can specify this queue as the dead-letter queue. - ``byQueue`` : Only queues specified by the ``sourceQueueArns`` parameter can specify this queue as the dead-letter queue. - ``sourceQueueArns`` : The Amazon Resource Names (ARN)s of the source queues that can specify this queue as the dead-letter queue and redrive messages. You can specify this parameter only when the ``redrivePermission`` parameter is set to ``byQueue`` . You can specify up to 10 source queue ARNs. To allow more than 10 source queues to specify dead-letter queues, set the ``redrivePermission`` parameter to ``allowAll`` .
225
225
  :param redrive_policy: The string that includes the parameters for the dead-letter queue functionality of the source queue as a JSON object. The parameters are as follows: - ``deadLetterTargetArn`` : The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of ``maxReceiveCount`` is exceeded. - ``maxReceiveCount`` : The number of times a message is delivered to the source queue before being moved to the dead-letter queue. When the ``ReceiveCount`` for a message exceeds the ``maxReceiveCount`` for a queue, Amazon SQS moves the message to the dead-letter-queue. .. epigraph:: The dead-letter queue of a FIFO queue must also be a FIFO queue. Similarly, the dead-letter queue of a standard queue must also be a standard queue. *JSON* ``{ "deadLetterTargetArn" : *String* , "maxReceiveCount" : *Integer* }`` *YAML* ``deadLetterTargetArn : *String*`` ``maxReceiveCount : *Integer*``
226
- :param sqs_managed_sse_enabled: Enables server-side queue encryption using SQS owned encryption keys. Only one server-side encryption option is supported per queue (for example, `SSE-KMS <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html>`_ or `SSE-SQS <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html>`_ ).
226
+ :param sqs_managed_sse_enabled: Enables server-side queue encryption using SQS owned encryption keys. Only one server-side encryption option is supported per queue (for example, `SSE-KMS <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html>`_ or `SSE-SQS <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html>`_ ). When ``SqsManagedSseEnabled`` is not defined, ``SSE-SQS`` encryption is enabled by default.
227
227
  :param tags: The tags that you attach to this queue. For more information, see `Resource tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ in the *AWS CloudFormation User Guide* .
228
228
  :param visibility_timeout: The length of time during which a message will be unavailable after a message is delivered from the queue. This blocks other components from receiving the same message and gives the initial component time to process and delete the message from the queue. Values must be from 0 to 43,200 seconds (12 hours). If you don't specify a value, AWS CloudFormation uses the default value of 30 seconds. For more information about Amazon SQS queue visibility timeouts, see `Visibility timeout <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html>`_ in the *Amazon SQS Developer Guide* .
229
229
  '''
@@ -554,6 +554,188 @@ class CfnQueue(
554
554
  jsii.set(self, "visibilityTimeout", value)
555
555
 
556
556
 
557
+ @jsii.implements(_IInspectable_c2943556)
558
+ class CfnQueueInlinePolicy(
559
+ _CfnResource_9df397a6,
560
+ metaclass=jsii.JSIIMeta,
561
+ jsii_type="aws-cdk-lib.aws_sqs.CfnQueueInlinePolicy",
562
+ ):
563
+ '''The ``AWS::SQS::QueueInlinePolicy`` resource associates one Amazon SQS queue with one policy.
564
+
565
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queueinlinepolicy.html
566
+ :exampleMetadata: fixture=_generated
567
+
568
+ Example::
569
+
570
+ # The code below shows an example of how to instantiate this type.
571
+ # The values are placeholders you should change.
572
+ from aws_cdk import aws_sqs as sqs
573
+
574
+ # policy_document: Any
575
+
576
+ cfn_queue_inline_policy = sqs.CfnQueueInlinePolicy(self, "MyCfnQueueInlinePolicy",
577
+ policy_document=policy_document,
578
+ queue="queue"
579
+ )
580
+ '''
581
+
582
+ def __init__(
583
+ self,
584
+ scope: _constructs_77d1e7e8.Construct,
585
+ id: builtins.str,
586
+ *,
587
+ policy_document: typing.Any,
588
+ queue: builtins.str,
589
+ ) -> None:
590
+ '''
591
+ :param scope: Scope in which this resource is defined.
592
+ :param id: Construct identifier for this resource (unique in its scope).
593
+ :param policy_document: A policy document that contains the permissions for the specified Amazon SQS queues. For more information about Amazon SQS policies, see `Using custom policies with the Amazon SQS access policy language <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-creating-custom-policies.html>`_ in the *Amazon SQS Developer Guide* .
594
+ :param queue: The URLs of the queues to which you want to add the policy. You can use the ``[Ref](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html)`` function to specify an ``[AWS::SQS::Queue](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html)`` resource.
595
+ '''
596
+ if __debug__:
597
+ type_hints = typing.get_type_hints(_typecheckingstub__5a4a58f0061e5bc1b45f4a41f066d63064e48860dda7c96bf6a78c07d708be3e)
598
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
599
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
600
+ props = CfnQueueInlinePolicyProps(policy_document=policy_document, queue=queue)
601
+
602
+ jsii.create(self.__class__, self, [scope, id, props])
603
+
604
+ @jsii.member(jsii_name="inspect")
605
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
606
+ '''Examines the CloudFormation resource and discloses attributes.
607
+
608
+ :param inspector: tree inspector to collect and process attributes.
609
+ '''
610
+ if __debug__:
611
+ type_hints = typing.get_type_hints(_typecheckingstub__c076ea64b445e3d9bfc6e9a477574b1c255cf5b418bca5369a75bae6dd0d4c0f)
612
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
613
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
614
+
615
+ @jsii.member(jsii_name="renderProperties")
616
+ def _render_properties(
617
+ self,
618
+ props: typing.Mapping[builtins.str, typing.Any],
619
+ ) -> typing.Mapping[builtins.str, typing.Any]:
620
+ '''
621
+ :param props: -
622
+ '''
623
+ if __debug__:
624
+ type_hints = typing.get_type_hints(_typecheckingstub__c0acb8c97b52293a176d172b05d5b2fdd9fe43cb2bf6842374eef4f6e6c7d3ca)
625
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
626
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
627
+
628
+ @jsii.python.classproperty
629
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
630
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
631
+ '''The CloudFormation resource type name for this resource class.'''
632
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
633
+
634
+ @builtins.property
635
+ @jsii.member(jsii_name="cfnProperties")
636
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
637
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
638
+
639
+ @builtins.property
640
+ @jsii.member(jsii_name="policyDocument")
641
+ def policy_document(self) -> typing.Any:
642
+ '''A policy document that contains the permissions for the specified Amazon SQS queues.'''
643
+ return typing.cast(typing.Any, jsii.get(self, "policyDocument"))
644
+
645
+ @policy_document.setter
646
+ def policy_document(self, value: typing.Any) -> None:
647
+ if __debug__:
648
+ type_hints = typing.get_type_hints(_typecheckingstub__1aac3822f2f3ec918fc858517bd93cecb6a600209491929c794eccc0e1e537ca)
649
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
650
+ jsii.set(self, "policyDocument", value)
651
+
652
+ @builtins.property
653
+ @jsii.member(jsii_name="queue")
654
+ def queue(self) -> builtins.str:
655
+ '''The URLs of the queues to which you want to add the policy.'''
656
+ return typing.cast(builtins.str, jsii.get(self, "queue"))
657
+
658
+ @queue.setter
659
+ def queue(self, value: builtins.str) -> None:
660
+ if __debug__:
661
+ type_hints = typing.get_type_hints(_typecheckingstub__c4d8dbba72fafc6156bcfc2049ef09c27ff43a7f9c93d311fda6025b4d38d11b)
662
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
663
+ jsii.set(self, "queue", value)
664
+
665
+
666
+ @jsii.data_type(
667
+ jsii_type="aws-cdk-lib.aws_sqs.CfnQueueInlinePolicyProps",
668
+ jsii_struct_bases=[],
669
+ name_mapping={"policy_document": "policyDocument", "queue": "queue"},
670
+ )
671
+ class CfnQueueInlinePolicyProps:
672
+ def __init__(self, *, policy_document: typing.Any, queue: builtins.str) -> None:
673
+ '''Properties for defining a ``CfnQueueInlinePolicy``.
674
+
675
+ :param policy_document: A policy document that contains the permissions for the specified Amazon SQS queues. For more information about Amazon SQS policies, see `Using custom policies with the Amazon SQS access policy language <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-creating-custom-policies.html>`_ in the *Amazon SQS Developer Guide* .
676
+ :param queue: The URLs of the queues to which you want to add the policy. You can use the ``[Ref](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html)`` function to specify an ``[AWS::SQS::Queue](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html)`` resource.
677
+
678
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queueinlinepolicy.html
679
+ :exampleMetadata: fixture=_generated
680
+
681
+ Example::
682
+
683
+ # The code below shows an example of how to instantiate this type.
684
+ # The values are placeholders you should change.
685
+ from aws_cdk import aws_sqs as sqs
686
+
687
+ # policy_document: Any
688
+
689
+ cfn_queue_inline_policy_props = sqs.CfnQueueInlinePolicyProps(
690
+ policy_document=policy_document,
691
+ queue="queue"
692
+ )
693
+ '''
694
+ if __debug__:
695
+ type_hints = typing.get_type_hints(_typecheckingstub__02a76413e8e4d74861fa5e81d44930c6b14048fb5d7282c90c3b79ab22ad70f0)
696
+ check_type(argname="argument policy_document", value=policy_document, expected_type=type_hints["policy_document"])
697
+ check_type(argname="argument queue", value=queue, expected_type=type_hints["queue"])
698
+ self._values: typing.Dict[builtins.str, typing.Any] = {
699
+ "policy_document": policy_document,
700
+ "queue": queue,
701
+ }
702
+
703
+ @builtins.property
704
+ def policy_document(self) -> typing.Any:
705
+ '''A policy document that contains the permissions for the specified Amazon SQS queues.
706
+
707
+ For more information about Amazon SQS policies, see `Using custom policies with the Amazon SQS access policy language <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-creating-custom-policies.html>`_ in the *Amazon SQS Developer Guide* .
708
+
709
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queueinlinepolicy.html#cfn-sqs-queueinlinepolicy-policydocument
710
+ '''
711
+ result = self._values.get("policy_document")
712
+ assert result is not None, "Required property 'policy_document' is missing"
713
+ return typing.cast(typing.Any, result)
714
+
715
+ @builtins.property
716
+ def queue(self) -> builtins.str:
717
+ '''The URLs of the queues to which you want to add the policy.
718
+
719
+ You can use the ``[Ref](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html)`` function to specify an ``[AWS::SQS::Queue](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html)`` resource.
720
+
721
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queueinlinepolicy.html#cfn-sqs-queueinlinepolicy-queue
722
+ '''
723
+ result = self._values.get("queue")
724
+ assert result is not None, "Required property 'queue' is missing"
725
+ return typing.cast(builtins.str, result)
726
+
727
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
728
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
729
+
730
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
731
+ return not (rhs == self)
732
+
733
+ def __repr__(self) -> str:
734
+ return "CfnQueueInlinePolicyProps(%s)" % ", ".join(
735
+ k + "=" + repr(v) for k, v in self._values.items()
736
+ )
737
+
738
+
557
739
  @jsii.implements(_IInspectable_c2943556)
558
740
  class CfnQueuePolicy(
559
741
  _CfnResource_9df397a6,
@@ -636,7 +818,8 @@ class CfnQueuePolicy(
636
818
  @builtins.property
637
819
  @jsii.member(jsii_name="attrId")
638
820
  def attr_id(self) -> builtins.str:
639
- '''
821
+ '''The provider-assigned unique ID for this managed resource.
822
+
640
823
  :cloudformationAttribute: Id
641
824
  '''
642
825
  return typing.cast(builtins.str, jsii.get(self, "attrId"))
@@ -809,7 +992,7 @@ class CfnQueueProps:
809
992
  :param receive_message_wait_time_seconds: Specifies the duration, in seconds, that the ReceiveMessage action call waits until a message is in the queue in order to include it in the response, rather than returning an empty response if a message isn't yet available. You can specify an integer from 1 to 20. Short polling is used as the default or when you specify 0 for this property. For more information, see `Consuming messages using long polling <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-short-and-long-polling.html#sqs-long-polling>`_ in the *Amazon SQS Developer Guide* .
810
993
  :param redrive_allow_policy: The string that includes the parameters for the permissions for the dead-letter queue redrive permission and which source queues can specify dead-letter queues as a JSON object. The parameters are as follows: - ``redrivePermission`` : The permission type that defines which source queues can specify the current queue as the dead-letter queue. Valid values are: - ``allowAll`` : (Default) Any source queues in this AWS account in the same Region can specify this queue as the dead-letter queue. - ``denyAll`` : No source queues can specify this queue as the dead-letter queue. - ``byQueue`` : Only queues specified by the ``sourceQueueArns`` parameter can specify this queue as the dead-letter queue. - ``sourceQueueArns`` : The Amazon Resource Names (ARN)s of the source queues that can specify this queue as the dead-letter queue and redrive messages. You can specify this parameter only when the ``redrivePermission`` parameter is set to ``byQueue`` . You can specify up to 10 source queue ARNs. To allow more than 10 source queues to specify dead-letter queues, set the ``redrivePermission`` parameter to ``allowAll`` .
811
994
  :param redrive_policy: The string that includes the parameters for the dead-letter queue functionality of the source queue as a JSON object. The parameters are as follows: - ``deadLetterTargetArn`` : The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS moves messages after the value of ``maxReceiveCount`` is exceeded. - ``maxReceiveCount`` : The number of times a message is delivered to the source queue before being moved to the dead-letter queue. When the ``ReceiveCount`` for a message exceeds the ``maxReceiveCount`` for a queue, Amazon SQS moves the message to the dead-letter-queue. .. epigraph:: The dead-letter queue of a FIFO queue must also be a FIFO queue. Similarly, the dead-letter queue of a standard queue must also be a standard queue. *JSON* ``{ "deadLetterTargetArn" : *String* , "maxReceiveCount" : *Integer* }`` *YAML* ``deadLetterTargetArn : *String*`` ``maxReceiveCount : *Integer*``
812
- :param sqs_managed_sse_enabled: Enables server-side queue encryption using SQS owned encryption keys. Only one server-side encryption option is supported per queue (for example, `SSE-KMS <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html>`_ or `SSE-SQS <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html>`_ ).
995
+ :param sqs_managed_sse_enabled: Enables server-side queue encryption using SQS owned encryption keys. Only one server-side encryption option is supported per queue (for example, `SSE-KMS <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html>`_ or `SSE-SQS <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html>`_ ). When ``SqsManagedSseEnabled`` is not defined, ``SSE-SQS`` encryption is enabled by default.
813
996
  :param tags: The tags that you attach to this queue. For more information, see `Resource tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ in the *AWS CloudFormation User Guide* .
814
997
  :param visibility_timeout: The length of time during which a message will be unavailable after a message is delivered from the queue. This blocks other components from receiving the same message and gives the initial component time to process and delete the message from the queue. Values must be from 0 to 43,200 seconds (12 hours). If you don't specify a value, AWS CloudFormation uses the default value of 30 seconds. For more information about Amazon SQS queue visibility timeouts, see `Visibility timeout <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html>`_ in the *Amazon SQS Developer Guide* .
815
998
 
@@ -1092,7 +1275,7 @@ class CfnQueueProps:
1092
1275
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
1093
1276
  '''Enables server-side queue encryption using SQS owned encryption keys.
1094
1277
 
1095
- Only one server-side encryption option is supported per queue (for example, `SSE-KMS <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html>`_ or `SSE-SQS <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html>`_ ).
1278
+ Only one server-side encryption option is supported per queue (for example, `SSE-KMS <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html>`_ or `SSE-SQS <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html>`_ ). When ``SqsManagedSseEnabled`` is not defined, ``SSE-SQS`` encryption is enabled by default.
1096
1279
 
1097
1280
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html#cfn-sqs-queue-sqsmanagedsseenabled
1098
1281
  '''
@@ -3656,6 +3839,8 @@ class Queue(QueueBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sqs.Q
3656
3839
 
3657
3840
  __all__ = [
3658
3841
  "CfnQueue",
3842
+ "CfnQueueInlinePolicy",
3843
+ "CfnQueueInlinePolicyProps",
3659
3844
  "CfnQueuePolicy",
3660
3845
  "CfnQueuePolicyProps",
3661
3846
  "CfnQueueProps",
@@ -3806,6 +3991,48 @@ def _typecheckingstub__48cda16b71aad6d8bf96a8fd88f815146f039d81c6d0d808d2369955e
3806
3991
  """Type checking stubs"""
3807
3992
  pass
3808
3993
 
3994
+ def _typecheckingstub__5a4a58f0061e5bc1b45f4a41f066d63064e48860dda7c96bf6a78c07d708be3e(
3995
+ scope: _constructs_77d1e7e8.Construct,
3996
+ id: builtins.str,
3997
+ *,
3998
+ policy_document: typing.Any,
3999
+ queue: builtins.str,
4000
+ ) -> None:
4001
+ """Type checking stubs"""
4002
+ pass
4003
+
4004
+ def _typecheckingstub__c076ea64b445e3d9bfc6e9a477574b1c255cf5b418bca5369a75bae6dd0d4c0f(
4005
+ inspector: _TreeInspector_488e0dd5,
4006
+ ) -> None:
4007
+ """Type checking stubs"""
4008
+ pass
4009
+
4010
+ def _typecheckingstub__c0acb8c97b52293a176d172b05d5b2fdd9fe43cb2bf6842374eef4f6e6c7d3ca(
4011
+ props: typing.Mapping[builtins.str, typing.Any],
4012
+ ) -> None:
4013
+ """Type checking stubs"""
4014
+ pass
4015
+
4016
+ def _typecheckingstub__1aac3822f2f3ec918fc858517bd93cecb6a600209491929c794eccc0e1e537ca(
4017
+ value: typing.Any,
4018
+ ) -> None:
4019
+ """Type checking stubs"""
4020
+ pass
4021
+
4022
+ def _typecheckingstub__c4d8dbba72fafc6156bcfc2049ef09c27ff43a7f9c93d311fda6025b4d38d11b(
4023
+ value: builtins.str,
4024
+ ) -> None:
4025
+ """Type checking stubs"""
4026
+ pass
4027
+
4028
+ def _typecheckingstub__02a76413e8e4d74861fa5e81d44930c6b14048fb5d7282c90c3b79ab22ad70f0(
4029
+ *,
4030
+ policy_document: typing.Any,
4031
+ queue: builtins.str,
4032
+ ) -> None:
4033
+ """Type checking stubs"""
4034
+ pass
4035
+
3809
4036
  def _typecheckingstub__cf0938ca02c83217053a748eaced04a040ecea55f727e4a44ff3eff90a9ea987(
3810
4037
  scope: _constructs_77d1e7e8.Construct,
3811
4038
  id: builtins.str,
@@ -1198,39 +1198,17 @@ class CfnDocument(
1198
1198
  This resource does not support CloudFormation drift detection.
1199
1199
 
1200
1200
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-document.html
1201
- :exampleMetadata: fixture=_generated
1201
+ :exampleMetadata: infused
1202
1202
 
1203
1203
  Example::
1204
1204
 
1205
- # The code below shows an example of how to instantiate this type.
1206
- # The values are placeholders you should change.
1207
- from aws_cdk import aws_ssm as ssm
1205
+ # application: appconfig.Application
1206
+ # document: ssm.CfnDocument
1208
1207
 
1209
- # content: Any
1210
1208
 
1211
- cfn_document = ssm.CfnDocument(self, "MyCfnDocument",
1212
- content=content,
1213
-
1214
- # the properties below are optional
1215
- attachments=[ssm.CfnDocument.AttachmentsSourceProperty(
1216
- key="key",
1217
- name="name",
1218
- values=["values"]
1219
- )],
1220
- document_format="documentFormat",
1221
- document_type="documentType",
1222
- name="name",
1223
- requires=[ssm.CfnDocument.DocumentRequiresProperty(
1224
- name="name",
1225
- version="version"
1226
- )],
1227
- tags=[CfnTag(
1228
- key="key",
1229
- value="value"
1230
- )],
1231
- target_type="targetType",
1232
- update_method="updateMethod",
1233
- version_name="versionName"
1209
+ appconfig.SourcedConfiguration(self, "MySourcedConfiguration",
1210
+ application=application,
1211
+ location=appconfig.ConfigurationSource.from_cfn_document(document)
1234
1212
  )
1235
1213
  '''
1236
1214
 
@@ -2339,7 +2339,7 @@ class CfnStateMachineAlias(
2339
2339
  '''
2340
2340
  :param scope: Scope in which this resource is defined.
2341
2341
  :param id: Construct identifier for this resource (unique in its scope).
2342
- :param deployment_preference: The settings that enable gradual state machine deployments. These settings include `Alarms <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachinealias-deploymentpreference.html#cfn-stepfunctions-statemachinealias-deploymentpreference-alarms>`_ , `Interval <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachinealias-deploymentpreference.html#cfn-stepfunctions-statemachinealias-deploymentpreference-interval>`_ , `Percentage <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachinealias-deploymentpreference.html#cfn-stepfunctions-statemachinealias-deploymentpreference-percentage>`_ , `StateMachineVersionArn <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachinealias-deploymentpreference.html#cfn-stepfunctions-statemachinealias-deploymentpreference-statemachineversionarn>`_ , and `Type <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachinealias-deploymentpreference.html#cfn-stepfunctions-statemachinealias-deploymentpreference-type>`_ . CloudFormation automatically shifts traffic from the version an alias currently points to, to a new state machine version that you specify. .. epigraph:: ``RoutingConfiguration`` and ``DeploymentPreference`` are mutually exclusive properties. You must define only one of these properties. Based on the type of deployment you want to perform, you can specify one of the following settings: - ``LINEAR`` - Shifts traffic to the new version in equal increments with an equal number of seconds between each increment. For example, if you specify the increment percent as ``20`` with an interval of ``600`` seconds, this deployment increases traffic by 20 percent every 600 seconds until the new version receives 100 percent of the traffic. This deployment immediately rolls back the new version if any Amazon CloudWatch alarms are triggered. - ``ALL_AT_ONCE`` - Shifts 100 percent of traffic to the new version immediately. CloudFormation monitors the new version and rolls it back automatically to the previous version if any CloudWatch alarms are triggered. - ``CANARY`` - Shifts traffic in two increments. In the first increment, a small percentage of traffic, for example, 10 percent is shifted to the new version. In the second increment, before a specified time interval in seconds gets over, the remaining traffic is shifted to the new version. The shift to the new version for the remaining traffic takes place only if no CloudWatch alarms are triggered during the specified time interval.
2342
+ :param deployment_preference: The settings that enable gradual state machine deployments. These settings include `Alarms <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachinealias-deploymentpreference.html#cfn-stepfunctions-statemachinealias-deploymentpreference-alarms>`_ , `Interval <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachinealias-deploymentpreference.html#cfn-stepfunctions-statemachinealias-deploymentpreference-interval>`_ , `Percentage <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachinealias-deploymentpreference.html#cfn-stepfunctions-statemachinealias-deploymentpreference-percentage>`_ , `StateMachineVersionArn <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachinealias-deploymentpreference.html#cfn-stepfunctions-statemachinealias-deploymentpreference-statemachineversionarn>`_ , and `Type <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachinealias-deploymentpreference.html#cfn-stepfunctions-statemachinealias-deploymentpreference-type>`_ . CloudFormation automatically shifts traffic from the version an alias currently points to, to a new state machine version that you specify. .. epigraph:: ``RoutingConfiguration`` and ``DeploymentPreference`` are mutually exclusive properties. You must define only one of these properties. Based on the type of deployment you want to perform, you can specify one of the following settings: - ``LINEAR`` - Shifts traffic to the new version in equal increments with an equal number of minutes between each increment. For example, if you specify the increment percent as ``20`` with an interval of ``600`` minutes, this deployment increases traffic by 20 percent every 600 minutes until the new version receives 100 percent of the traffic. This deployment immediately rolls back the new version if any Amazon CloudWatch alarms are triggered. - ``ALL_AT_ONCE`` - Shifts 100 percent of traffic to the new version immediately. CloudFormation monitors the new version and rolls it back automatically to the previous version if any CloudWatch alarms are triggered. - ``CANARY`` - Shifts traffic in two increments. In the first increment, a small percentage of traffic, for example, 10 percent is shifted to the new version. In the second increment, before a specified time interval in seconds gets over, the remaining traffic is shifted to the new version. The shift to the new version for the remaining traffic takes place only if no CloudWatch alarms are triggered during the specified time interval.
2343
2343
  :param description: An optional description of the state machine alias.
2344
2344
  :param name: The name of the state machine alias. If you don't provide a name, it uses an automatically generated name based on the logical ID.
2345
2345
  :param routing_configuration: The routing configuration of an alias. Routing configuration splits `StartExecution <https://docs.aws.amazon.com/step-functions/latest/apireference/API_StartExecution.html>`_ requests between one or two versions of the same state machine. Use ``RoutingConfiguration`` if you want to explicitly set the alias `weights <https://docs.aws.amazon.com/step-functions/latest/apireference/API_RoutingConfigurationListItem.html#StepFunctions-Type-RoutingConfigurationListItem-weight>`_ . Weight is the percentage of traffic you want to route to a state machine version. .. epigraph:: ``RoutingConfiguration`` and ``DeploymentPreference`` are mutually exclusive properties. You must define only one of these properties.
@@ -2491,7 +2491,7 @@ class CfnStateMachineAlias(
2491
2491
  CloudFormation automatically shifts traffic from the version the alias currently points to, to a new state machine version that you specify.
2492
2492
 
2493
2493
  :param state_machine_version_arn: The Amazon Resource Name (ARN) of the ```AWS::StepFunctions::StateMachineVersion`` <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachineversion.html>`_ resource that will be the final version to which the alias points to when the traffic shifting is complete. While performing gradual deployments, you can only provide a single state machine version ARN. To explicitly set version weights in a CloudFormation template, use ``RoutingConfiguration`` instead.
2494
- :param type: The type of deployment you want to perform. You can specify one of the following types:. - ``LINEAR`` - Shifts traffic to the new version in equal increments with an equal number of seconds between each increment. For example, if you specify the increment percent as ``20`` with an interval of ``600`` seconds, this deployment increases traffic by 20 percent every 600 seconds until the new version receives 100 percent of the traffic. This deployment immediately rolls back the new version if any CloudWatch alarms are triggered. - ``ALL_AT_ONCE`` - Shifts 100 percent of traffic to the new version immediately. CloudFormation monitors the new version and rolls it back automatically to the previous version if any CloudWatch alarms are triggered. - ``CANARY`` - Shifts traffic in two increments. In the first increment, a small percentage of traffic, for example, 10 percent is shifted to the new version. In the second increment, before a specified time interval in seconds gets over, the remaining traffic is shifted to the new version. The shift to the new version for the remaining traffic takes place only if no CloudWatch alarms are triggered during the specified time interval.
2494
+ :param type: The type of deployment you want to perform. You can specify one of the following types:. - ``LINEAR`` - Shifts traffic to the new version in equal increments with an equal number of minutes between each increment. For example, if you specify the increment percent as ``20`` with an interval of ``600`` minutes, this deployment increases traffic by 20 percent every 600 minutes until the new version receives 100 percent of the traffic. This deployment immediately rolls back the new version if any CloudWatch alarms are triggered. - ``ALL_AT_ONCE`` - Shifts 100 percent of traffic to the new version immediately. CloudFormation monitors the new version and rolls it back automatically to the previous version if any CloudWatch alarms are triggered. - ``CANARY`` - Shifts traffic in two increments. In the first increment, a small percentage of traffic, for example, 10 percent is shifted to the new version. In the second increment, before a specified time interval in seconds gets over, the remaining traffic is shifted to the new version. The shift to the new version for the remaining traffic takes place only if no CloudWatch alarms are triggered during the specified time interval.
2495
2495
  :param alarms: A list of Amazon CloudWatch alarms to be monitored during the deployment. The deployment fails and rolls back if any of these alarms go into the ``ALARM`` state.
2496
2496
  :param interval: The time in minutes between each traffic shifting increment.
2497
2497
  :param percentage: The percentage of traffic to shift to the new version in each increment.
@@ -2549,9 +2549,9 @@ class CfnStateMachineAlias(
2549
2549
  def type(self) -> builtins.str:
2550
2550
  '''The type of deployment you want to perform. You can specify one of the following types:.
2551
2551
 
2552
- - ``LINEAR`` - Shifts traffic to the new version in equal increments with an equal number of seconds between each increment.
2552
+ - ``LINEAR`` - Shifts traffic to the new version in equal increments with an equal number of minutes between each increment.
2553
2553
 
2554
- For example, if you specify the increment percent as ``20`` with an interval of ``600`` seconds, this deployment increases traffic by 20 percent every 600 seconds until the new version receives 100 percent of the traffic. This deployment immediately rolls back the new version if any CloudWatch alarms are triggered.
2554
+ For example, if you specify the increment percent as ``20`` with an interval of ``600`` minutes, this deployment increases traffic by 20 percent every 600 minutes until the new version receives 100 percent of the traffic. This deployment immediately rolls back the new version if any CloudWatch alarms are triggered.
2555
2555
 
2556
2556
  - ``ALL_AT_ONCE`` - Shifts 100 percent of traffic to the new version immediately. CloudFormation monitors the new version and rolls it back automatically to the previous version if any CloudWatch alarms are triggered.
2557
2557
  - ``CANARY`` - Shifts traffic in two increments.
@@ -2704,7 +2704,7 @@ class CfnStateMachineAliasProps:
2704
2704
  ) -> None:
2705
2705
  '''Properties for defining a ``CfnStateMachineAlias``.
2706
2706
 
2707
- :param deployment_preference: The settings that enable gradual state machine deployments. These settings include `Alarms <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachinealias-deploymentpreference.html#cfn-stepfunctions-statemachinealias-deploymentpreference-alarms>`_ , `Interval <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachinealias-deploymentpreference.html#cfn-stepfunctions-statemachinealias-deploymentpreference-interval>`_ , `Percentage <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachinealias-deploymentpreference.html#cfn-stepfunctions-statemachinealias-deploymentpreference-percentage>`_ , `StateMachineVersionArn <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachinealias-deploymentpreference.html#cfn-stepfunctions-statemachinealias-deploymentpreference-statemachineversionarn>`_ , and `Type <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachinealias-deploymentpreference.html#cfn-stepfunctions-statemachinealias-deploymentpreference-type>`_ . CloudFormation automatically shifts traffic from the version an alias currently points to, to a new state machine version that you specify. .. epigraph:: ``RoutingConfiguration`` and ``DeploymentPreference`` are mutually exclusive properties. You must define only one of these properties. Based on the type of deployment you want to perform, you can specify one of the following settings: - ``LINEAR`` - Shifts traffic to the new version in equal increments with an equal number of seconds between each increment. For example, if you specify the increment percent as ``20`` with an interval of ``600`` seconds, this deployment increases traffic by 20 percent every 600 seconds until the new version receives 100 percent of the traffic. This deployment immediately rolls back the new version if any Amazon CloudWatch alarms are triggered. - ``ALL_AT_ONCE`` - Shifts 100 percent of traffic to the new version immediately. CloudFormation monitors the new version and rolls it back automatically to the previous version if any CloudWatch alarms are triggered. - ``CANARY`` - Shifts traffic in two increments. In the first increment, a small percentage of traffic, for example, 10 percent is shifted to the new version. In the second increment, before a specified time interval in seconds gets over, the remaining traffic is shifted to the new version. The shift to the new version for the remaining traffic takes place only if no CloudWatch alarms are triggered during the specified time interval.
2707
+ :param deployment_preference: The settings that enable gradual state machine deployments. These settings include `Alarms <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachinealias-deploymentpreference.html#cfn-stepfunctions-statemachinealias-deploymentpreference-alarms>`_ , `Interval <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachinealias-deploymentpreference.html#cfn-stepfunctions-statemachinealias-deploymentpreference-interval>`_ , `Percentage <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachinealias-deploymentpreference.html#cfn-stepfunctions-statemachinealias-deploymentpreference-percentage>`_ , `StateMachineVersionArn <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachinealias-deploymentpreference.html#cfn-stepfunctions-statemachinealias-deploymentpreference-statemachineversionarn>`_ , and `Type <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachinealias-deploymentpreference.html#cfn-stepfunctions-statemachinealias-deploymentpreference-type>`_ . CloudFormation automatically shifts traffic from the version an alias currently points to, to a new state machine version that you specify. .. epigraph:: ``RoutingConfiguration`` and ``DeploymentPreference`` are mutually exclusive properties. You must define only one of these properties. Based on the type of deployment you want to perform, you can specify one of the following settings: - ``LINEAR`` - Shifts traffic to the new version in equal increments with an equal number of minutes between each increment. For example, if you specify the increment percent as ``20`` with an interval of ``600`` minutes, this deployment increases traffic by 20 percent every 600 minutes until the new version receives 100 percent of the traffic. This deployment immediately rolls back the new version if any Amazon CloudWatch alarms are triggered. - ``ALL_AT_ONCE`` - Shifts 100 percent of traffic to the new version immediately. CloudFormation monitors the new version and rolls it back automatically to the previous version if any CloudWatch alarms are triggered. - ``CANARY`` - Shifts traffic in two increments. In the first increment, a small percentage of traffic, for example, 10 percent is shifted to the new version. In the second increment, before a specified time interval in seconds gets over, the remaining traffic is shifted to the new version. The shift to the new version for the remaining traffic takes place only if no CloudWatch alarms are triggered during the specified time interval.
2708
2708
  :param description: An optional description of the state machine alias.
2709
2709
  :param name: The name of the state machine alias. If you don't provide a name, it uses an automatically generated name based on the logical ID.
2710
2710
  :param routing_configuration: The routing configuration of an alias. Routing configuration splits `StartExecution <https://docs.aws.amazon.com/step-functions/latest/apireference/API_StartExecution.html>`_ requests between one or two versions of the same state machine. Use ``RoutingConfiguration`` if you want to explicitly set the alias `weights <https://docs.aws.amazon.com/step-functions/latest/apireference/API_RoutingConfigurationListItem.html#StepFunctions-Type-RoutingConfigurationListItem-weight>`_ . Weight is the percentage of traffic you want to route to a state machine version. .. epigraph:: ``RoutingConfiguration`` and ``DeploymentPreference`` are mutually exclusive properties. You must define only one of these properties.
@@ -2767,9 +2767,9 @@ class CfnStateMachineAliasProps:
2767
2767
 
2768
2768
  Based on the type of deployment you want to perform, you can specify one of the following settings:
2769
2769
 
2770
- - ``LINEAR`` - Shifts traffic to the new version in equal increments with an equal number of seconds between each increment.
2770
+ - ``LINEAR`` - Shifts traffic to the new version in equal increments with an equal number of minutes between each increment.
2771
2771
 
2772
- For example, if you specify the increment percent as ``20`` with an interval of ``600`` seconds, this deployment increases traffic by 20 percent every 600 seconds until the new version receives 100 percent of the traffic. This deployment immediately rolls back the new version if any Amazon CloudWatch alarms are triggered.
2772
+ For example, if you specify the increment percent as ``20`` with an interval of ``600`` minutes, this deployment increases traffic by 20 percent every 600 minutes until the new version receives 100 percent of the traffic. This deployment immediately rolls back the new version if any Amazon CloudWatch alarms are triggered.
2773
2773
 
2774
2774
  - ``ALL_AT_ONCE`` - Shifts 100 percent of traffic to the new version immediately. CloudFormation monitors the new version and rolls it back automatically to the previous version if any CloudWatch alarms are triggered.
2775
2775
  - ``CANARY`` - Shifts traffic in two increments.