aws-cdk-lib 2.159.1__py3-none-any.whl → 2.161.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +281 -33
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.159.1.jsii.tgz → aws-cdk-lib@2.161.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2/__init__.py +13 -14
- aws_cdk/aws_autoscaling/__init__.py +2 -2
- aws_cdk/aws_b2bi/__init__.py +2283 -672
- aws_cdk/aws_batch/__init__.py +9 -5
- aws_cdk/aws_bedrock/__init__.py +52 -20
- aws_cdk/aws_cloudformation/__init__.py +9 -9
- aws_cdk/aws_cloudtrail/__init__.py +97 -183
- aws_cdk/aws_cloudwatch/__init__.py +38 -42
- aws_cdk/aws_codepipeline_actions/__init__.py +4 -4
- aws_cdk/aws_cognito/__init__.py +18 -0
- aws_cdk/aws_datasync/__init__.py +1 -1
- aws_cdk/aws_dynamodb/__init__.py +4 -4
- aws_cdk/aws_ec2/__init__.py +138 -12
- aws_cdk/aws_ecs/__init__.py +517 -6
- aws_cdk/aws_eks/__init__.py +118 -2
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +5 -3
- aws_cdk/aws_glue/__init__.py +386 -0
- aws_cdk/aws_iotfleetwise/__init__.py +49 -49
- aws_cdk/aws_iottwinmaker/__init__.py +4 -4
- aws_cdk/aws_iotwireless/__init__.py +2 -1
- aws_cdk/aws_kinesisfirehose/__init__.py +52 -76
- aws_cdk/aws_kms/__init__.py +4 -4
- aws_cdk/aws_lambda/__init__.py +385 -244
- aws_cdk/aws_logs/__init__.py +455 -24
- aws_cdk/aws_mediaconnect/__init__.py +6 -4
- aws_cdk/aws_medialive/__init__.py +36 -0
- aws_cdk/aws_organizations/__init__.py +4 -3
- aws_cdk/aws_pipes/__init__.py +2 -2
- aws_cdk/aws_quicksight/__init__.py +1086 -6
- aws_cdk/aws_rds/__init__.py +182 -3
- aws_cdk/aws_route53resolver/__init__.py +3 -17
- aws_cdk/aws_s3/__init__.py +24 -15
- aws_cdk/aws_s3_deployment/__init__.py +45 -0
- aws_cdk/aws_s3express/__init__.py +314 -4
- aws_cdk/aws_sagemaker/__init__.py +44 -4
- aws_cdk/aws_secretsmanager/__init__.py +14 -7
- aws_cdk/aws_securityhub/__init__.py +16 -14
- aws_cdk/aws_ses/__init__.py +52 -18
- aws_cdk/aws_sqs/__init__.py +16 -14
- aws_cdk/aws_ssm/__init__.py +6 -2
- aws_cdk/aws_stepfunctions/__init__.py +412 -32
- aws_cdk/aws_synthetics/__init__.py +46 -0
- aws_cdk/aws_waf/__init__.py +33 -22
- aws_cdk/aws_wafregional/__init__.py +36 -24
- aws_cdk/aws_workspacesweb/__init__.py +54 -3
- aws_cdk/cloud_assembly_schema/__init__.py +1304 -417
- aws_cdk/cloudformation_include/__init__.py +28 -0
- aws_cdk/cx_api/__init__.py +129 -0
- aws_cdk/pipelines/__init__.py +4 -4
- {aws_cdk_lib-2.159.1.dist-info → aws_cdk_lib-2.161.0.dist-info}/METADATA +4 -4
- {aws_cdk_lib-2.159.1.dist-info → aws_cdk_lib-2.161.0.dist-info}/RECORD +58 -58
- {aws_cdk_lib-2.159.1.dist-info → aws_cdk_lib-2.161.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.159.1.dist-info → aws_cdk_lib-2.161.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.159.1.dist-info → aws_cdk_lib-2.161.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.159.1.dist-info → aws_cdk_lib-2.161.0.dist-info}/top_level.txt +0 -0
|
@@ -711,6 +711,8 @@ class CfnRotationSchedule(
|
|
|
711
711
|
|
|
712
712
|
For database secrets, if you define both the secret and the database or service in the AWS CloudFormation template, then you need to define the `AWS::SecretsManager::SecretTargetAttachment <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secrettargetattachment.html>`_ resource to populate the secret with the connection details of the database or service before you attempt to configure rotation.
|
|
713
713
|
|
|
714
|
+
For a single secret, you can only define one rotation schedule with it.
|
|
715
|
+
|
|
714
716
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-rotationschedule.html
|
|
715
717
|
:cloudformationResource: AWS::SecretsManager::RotationSchedule
|
|
716
718
|
:exampleMetadata: fixture=_generated
|
|
@@ -764,7 +766,7 @@ class CfnRotationSchedule(
|
|
|
764
766
|
'''
|
|
765
767
|
:param scope: Scope in which this resource is defined.
|
|
766
768
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
767
|
-
:param secret_id: The ARN or name of the secret to rotate. To reference a secret also created in this template, use the `Ref <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html>`_ function with the secret's logical ID.
|
|
769
|
+
:param secret_id: The ARN or name of the secret to rotate. This is unique for each rotation schedule definition. To reference a secret also created in this template, use the `Ref <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html>`_ function with the secret's logical ID.
|
|
768
770
|
:param hosted_rotation_lambda: Creates a new Lambda rotation function based on one of the `Secrets Manager rotation function templates <https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html>`_ . To use a rotation function that already exists, specify ``RotationLambdaARN`` instead. For Amazon RDS master user credentials, see `AWS::RDS::DBCluster MasterUserSecret <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-masterusersecret.html>`_ . For Amazon Redshift admin user credentials, see `AWS::Redshift::Cluster <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html>`_ .
|
|
769
771
|
:param rotate_immediately_on_update: Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window. The rotation schedule is defined in ``RotationRules`` . If you don't immediately rotate the secret, Secrets Manager tests the rotation configuration by running the ```testSecret`` step <https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html>`_ of the Lambda rotation function. The test creates an ``AWSPENDING`` version of the secret and then removes it. If you don't specify this value, then by default, Secrets Manager rotates the secret immediately. Rotation is an asynchronous process. For more information, see `How rotation works <https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html>`_ .
|
|
770
772
|
:param rotation_lambda_arn: The ARN of an existing Lambda rotation function. To specify a rotation function that is also defined in this template, use the `Ref <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html>`_ function. For Amazon RDS master user credentials, see `AWS::RDS::DBCluster MasterUserSecret <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-masterusersecret.html>`_ . For Amazon Redshift admin user credentials, see `AWS::Redshift::Cluster <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html>`_ . To create a new rotation function based on one of the `Secrets Manager rotation function templates <https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html>`_ , specify ``HostedRotationLambda`` instead.
|
|
@@ -830,7 +832,10 @@ class CfnRotationSchedule(
|
|
|
830
832
|
@builtins.property
|
|
831
833
|
@jsii.member(jsii_name="secretId")
|
|
832
834
|
def secret_id(self) -> builtins.str:
|
|
833
|
-
'''The ARN or name of the secret to rotate.
|
|
835
|
+
'''The ARN or name of the secret to rotate.
|
|
836
|
+
|
|
837
|
+
This is unique for each rotation schedule definition.
|
|
838
|
+
'''
|
|
834
839
|
return typing.cast(builtins.str, jsii.get(self, "secretId"))
|
|
835
840
|
|
|
836
841
|
@secret_id.setter
|
|
@@ -1304,7 +1309,7 @@ class CfnRotationScheduleProps:
|
|
|
1304
1309
|
) -> None:
|
|
1305
1310
|
'''Properties for defining a ``CfnRotationSchedule``.
|
|
1306
1311
|
|
|
1307
|
-
:param secret_id: The ARN or name of the secret to rotate. To reference a secret also created in this template, use the `Ref <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html>`_ function with the secret's logical ID.
|
|
1312
|
+
:param secret_id: The ARN or name of the secret to rotate. This is unique for each rotation schedule definition. To reference a secret also created in this template, use the `Ref <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html>`_ function with the secret's logical ID.
|
|
1308
1313
|
:param hosted_rotation_lambda: Creates a new Lambda rotation function based on one of the `Secrets Manager rotation function templates <https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html>`_ . To use a rotation function that already exists, specify ``RotationLambdaARN`` instead. For Amazon RDS master user credentials, see `AWS::RDS::DBCluster MasterUserSecret <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-masterusersecret.html>`_ . For Amazon Redshift admin user credentials, see `AWS::Redshift::Cluster <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html>`_ .
|
|
1309
1314
|
:param rotate_immediately_on_update: Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window. The rotation schedule is defined in ``RotationRules`` . If you don't immediately rotate the secret, Secrets Manager tests the rotation configuration by running the ```testSecret`` step <https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html>`_ of the Lambda rotation function. The test creates an ``AWSPENDING`` version of the secret and then removes it. If you don't specify this value, then by default, Secrets Manager rotates the secret immediately. Rotation is an asynchronous process. For more information, see `How rotation works <https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html>`_ .
|
|
1310
1315
|
:param rotation_lambda_arn: The ARN of an existing Lambda rotation function. To specify a rotation function that is also defined in this template, use the `Ref <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html>`_ function. For Amazon RDS master user credentials, see `AWS::RDS::DBCluster MasterUserSecret <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-masterusersecret.html>`_ . For Amazon Redshift admin user credentials, see `AWS::Redshift::Cluster <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html>`_ . To create a new rotation function based on one of the `Secrets Manager rotation function templates <https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html>`_ , specify ``HostedRotationLambda`` instead.
|
|
@@ -1368,7 +1373,7 @@ class CfnRotationScheduleProps:
|
|
|
1368
1373
|
|
|
1369
1374
|
@builtins.property
|
|
1370
1375
|
def secret_id(self) -> builtins.str:
|
|
1371
|
-
'''The ARN or name of the secret to rotate.
|
|
1376
|
+
'''The ARN or name of the secret to rotate. This is unique for each rotation schedule definition.
|
|
1372
1377
|
|
|
1373
1378
|
To reference a secret also created in this template, use the `Ref <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html>`_ function with the secret's logical ID.
|
|
1374
1379
|
|
|
@@ -2241,6 +2246,8 @@ class CfnSecretTargetAttachment(
|
|
|
2241
2246
|
|
|
2242
2247
|
If you want to turn on automatic rotation for a database credential secret, the secret must contain the database connection information. For more information, see `JSON structure of Secrets Manager database credential secrets <https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_secret_json_structure.html>`_ .
|
|
2243
2248
|
|
|
2249
|
+
A single secret resource can only have one target attached to it.
|
|
2250
|
+
|
|
2244
2251
|
When you remove a ``SecretTargetAttachment`` from a stack, Secrets Manager removes the database connection information from the secret with a ``PutSecretValue`` call.
|
|
2245
2252
|
|
|
2246
2253
|
For Amazon RDS master user credentials, see `AWS::RDS::DBCluster MasterUserSecret <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-masterusersecret.html>`_ .
|
|
@@ -2276,7 +2283,7 @@ class CfnSecretTargetAttachment(
|
|
|
2276
2283
|
'''
|
|
2277
2284
|
:param scope: Scope in which this resource is defined.
|
|
2278
2285
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2279
|
-
:param secret_id: The ARN or name of the secret. To reference a secret also created in this template, use the see `Ref <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html>`_ function with the secret's logical ID.
|
|
2286
|
+
:param secret_id: The ARN or name of the secret. To reference a secret also created in this template, use the see `Ref <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html>`_ function with the secret's logical ID. This field is unique for each target attachment definition.
|
|
2280
2287
|
:param target_id: The ID of the database or cluster.
|
|
2281
2288
|
:param target_type: A string that defines the type of service or database associated with the secret. This value instructs Secrets Manager how to update the secret with the details of the service or database. This value must be one of the following: - AWS::RDS::DBInstance - AWS::RDS::DBCluster - AWS::Redshift::Cluster - AWS::RedshiftServerless::Namespace - AWS::DocDB::DBInstance - AWS::DocDB::DBCluster - AWS::DocDBElastic::Cluster
|
|
2282
2289
|
'''
|
|
@@ -2392,7 +2399,7 @@ class CfnSecretTargetAttachmentProps:
|
|
|
2392
2399
|
) -> None:
|
|
2393
2400
|
'''Properties for defining a ``CfnSecretTargetAttachment``.
|
|
2394
2401
|
|
|
2395
|
-
:param secret_id: The ARN or name of the secret. To reference a secret also created in this template, use the see `Ref <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html>`_ function with the secret's logical ID.
|
|
2402
|
+
:param secret_id: The ARN or name of the secret. To reference a secret also created in this template, use the see `Ref <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html>`_ function with the secret's logical ID. This field is unique for each target attachment definition.
|
|
2396
2403
|
:param target_id: The ID of the database or cluster.
|
|
2397
2404
|
:param target_type: A string that defines the type of service or database associated with the secret. This value instructs Secrets Manager how to update the secret with the details of the service or database. This value must be one of the following: - AWS::RDS::DBInstance - AWS::RDS::DBCluster - AWS::Redshift::Cluster - AWS::RedshiftServerless::Namespace - AWS::DocDB::DBInstance - AWS::DocDB::DBCluster - AWS::DocDBElastic::Cluster
|
|
2398
2405
|
|
|
@@ -2426,7 +2433,7 @@ class CfnSecretTargetAttachmentProps:
|
|
|
2426
2433
|
def secret_id(self) -> builtins.str:
|
|
2427
2434
|
'''The ARN or name of the secret.
|
|
2428
2435
|
|
|
2429
|
-
To reference a secret also created in this template, use the see `Ref <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html>`_ function with the secret's logical ID.
|
|
2436
|
+
To reference a secret also created in this template, use the see `Ref <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html>`_ function with the secret's logical ID. This field is unique for each target attachment definition.
|
|
2430
2437
|
|
|
2431
2438
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secrettargetattachment.html#cfn-secretsmanager-secrettargetattachment-secretid
|
|
2432
2439
|
'''
|
|
@@ -2315,7 +2315,7 @@ class CfnAutomationRule(
|
|
|
2315
2315
|
'''Updates to the severity information for a finding.
|
|
2316
2316
|
|
|
2317
2317
|
:param label: The severity value of the finding. The allowed values are the following. - ``INFORMATIONAL`` - No issue was found. - ``LOW`` - The issue does not require action on its own. - ``MEDIUM`` - The issue must be addressed but not urgently. - ``HIGH`` - The issue must be addressed as a priority. - ``CRITICAL`` - The issue must be remediated immediately to avoid it escalating.
|
|
2318
|
-
:param normalized: The normalized severity for the finding. This attribute is to be deprecated in favor of ``Label`` . If you provide ``Normalized`` and
|
|
2318
|
+
:param normalized: The normalized severity for the finding. This attribute is to be deprecated in favor of ``Label`` . If you provide ``Normalized`` and don't provide ``Label`` , ``Label`` is set automatically as follows. - 0 - ``INFORMATIONAL`` - 1–39 - ``LOW`` - 40–69 - ``MEDIUM`` - 70–89 - ``HIGH`` - 90–100 - ``CRITICAL``
|
|
2319
2319
|
:param product: The native severity as defined by the AWS service or integrated partner product that generated the finding.
|
|
2320
2320
|
|
|
2321
2321
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrule-severityupdate.html
|
|
@@ -2365,7 +2365,7 @@ class CfnAutomationRule(
|
|
|
2365
2365
|
def normalized(self) -> typing.Optional[jsii.Number]:
|
|
2366
2366
|
'''The normalized severity for the finding. This attribute is to be deprecated in favor of ``Label`` .
|
|
2367
2367
|
|
|
2368
|
-
If you provide ``Normalized`` and
|
|
2368
|
+
If you provide ``Normalized`` and don't provide ``Label`` , ``Label`` is set automatically as follows.
|
|
2369
2369
|
|
|
2370
2370
|
- 0 - ``INFORMATIONAL``
|
|
2371
2371
|
- 1–39 - ``LOW``
|
|
@@ -2504,7 +2504,7 @@ class CfnAutomationRule(
|
|
|
2504
2504
|
def __init__(self, *, status: builtins.str) -> None:
|
|
2505
2505
|
'''Used to update information about the investigation into the finding.
|
|
2506
2506
|
|
|
2507
|
-
:param status: The status of the investigation into the finding. The workflow status is specific to an individual finding. It does not affect the generation of new findings. For example, setting the workflow status to ``SUPPRESSED`` or ``RESOLVED`` does not prevent a new finding for the same issue. The allowed values are the following. - ``NEW`` - The initial state of a finding, before it is reviewed. Security Hub also resets ``WorkFlowStatus`` from ``NOTIFIED`` or ``RESOLVED`` to ``NEW`` in the following cases: - The record state changes from ``ARCHIVED`` to ``ACTIVE`` . - The compliance status changes from ``PASSED`` to either ``WARNING`` , ``FAILED`` , or ``NOT_AVAILABLE`` . - ``NOTIFIED`` - Indicates that you notified the resource owner about the security issue. Used when the initial reviewer is not the resource owner, and needs intervention from the resource owner. - ``RESOLVED`` - The finding was reviewed and remediated and is now considered resolved. - ``SUPPRESSED`` - Indicates that you reviewed the finding and
|
|
2507
|
+
:param status: The status of the investigation into the finding. The workflow status is specific to an individual finding. It does not affect the generation of new findings. For example, setting the workflow status to ``SUPPRESSED`` or ``RESOLVED`` does not prevent a new finding for the same issue. The allowed values are the following. - ``NEW`` - The initial state of a finding, before it is reviewed. Security Hub also resets ``WorkFlowStatus`` from ``NOTIFIED`` or ``RESOLVED`` to ``NEW`` in the following cases: - The record state changes from ``ARCHIVED`` to ``ACTIVE`` . - The compliance status changes from ``PASSED`` to either ``WARNING`` , ``FAILED`` , or ``NOT_AVAILABLE`` . - ``NOTIFIED`` - Indicates that you notified the resource owner about the security issue. Used when the initial reviewer is not the resource owner, and needs intervention from the resource owner. - ``RESOLVED`` - The finding was reviewed and remediated and is now considered resolved. - ``SUPPRESSED`` - Indicates that you reviewed the finding and don't believe that any action is needed. The finding is no longer updated.
|
|
2508
2508
|
|
|
2509
2509
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrule-workflowupdate.html
|
|
2510
2510
|
:exampleMetadata: fixture=_generated
|
|
@@ -2542,7 +2542,7 @@ class CfnAutomationRule(
|
|
|
2542
2542
|
- The compliance status changes from ``PASSED`` to either ``WARNING`` , ``FAILED`` , or ``NOT_AVAILABLE`` .
|
|
2543
2543
|
- ``NOTIFIED`` - Indicates that you notified the resource owner about the security issue. Used when the initial reviewer is not the resource owner, and needs intervention from the resource owner.
|
|
2544
2544
|
- ``RESOLVED`` - The finding was reviewed and remediated and is now considered resolved.
|
|
2545
|
-
- ``SUPPRESSED`` - Indicates that you reviewed the finding and
|
|
2545
|
+
- ``SUPPRESSED`` - Indicates that you reviewed the finding and don't believe that any action is needed. The finding is no longer updated.
|
|
2546
2546
|
|
|
2547
2547
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrule-workflowupdate.html#cfn-securityhub-automationrule-workflowupdate-status
|
|
2548
2548
|
'''
|
|
@@ -4239,7 +4239,7 @@ class CfnFindingAggregator(
|
|
|
4239
4239
|
:param scope: Scope in which this resource is defined.
|
|
4240
4240
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
4241
4241
|
:param region_linking_mode: Indicates whether to aggregate findings from all of the available Regions in the current partition. Also determines whether to automatically aggregate findings from new Regions as Security Hub supports them and you opt into them. The selected option also determines how to use the Regions provided in the Regions list. The options are as follows: - ``ALL_REGIONS`` - Aggregates findings from all of the Regions where Security Hub is enabled. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. - ``ALL_REGIONS_EXCEPT_SPECIFIED`` - Aggregates findings from all of the Regions where Security Hub is enabled, except for the Regions listed in the ``Regions`` parameter. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. - ``SPECIFIED_REGIONS`` - Aggregates findings only from the Regions listed in the ``Regions`` parameter. Security Hub does not automatically aggregate findings from new Regions. - ``NO_REGIONS`` - Aggregates no data because no Regions are selected as linked Regions.
|
|
4242
|
-
:param regions: If ``RegionLinkingMode`` is ``ALL_REGIONS_EXCEPT_SPECIFIED`` , then this is a space-separated list of Regions that
|
|
4242
|
+
:param regions: If ``RegionLinkingMode`` is ``ALL_REGIONS_EXCEPT_SPECIFIED`` , then this is a space-separated list of Regions that don't replicate and send findings to the home Region. If ``RegionLinkingMode`` is ``SPECIFIED_REGIONS`` , then this is a space-separated list of Regions that do replicate and send findings to the home Region. An ``InvalidInputException`` error results if you populate this field while ``RegionLinkingMode`` is ``NO_REGIONS`` .
|
|
4243
4243
|
'''
|
|
4244
4244
|
if __debug__:
|
|
4245
4245
|
type_hints = typing.get_type_hints(_typecheckingstub__def955d28b5fec6358172b72efd12a764fe7f7be8d0ea9076bc99608ed72dd3c)
|
|
@@ -4284,7 +4284,9 @@ class CfnFindingAggregator(
|
|
|
4284
4284
|
@builtins.property
|
|
4285
4285
|
@jsii.member(jsii_name="attrFindingAggregationRegion")
|
|
4286
4286
|
def attr_finding_aggregation_region(self) -> builtins.str:
|
|
4287
|
-
'''The
|
|
4287
|
+
'''The home Region.
|
|
4288
|
+
|
|
4289
|
+
Findings generated in linked Regions are replicated and sent to the home Region.
|
|
4288
4290
|
|
|
4289
4291
|
:cloudformationAttribute: FindingAggregationRegion
|
|
4290
4292
|
'''
|
|
@@ -4322,7 +4324,7 @@ class CfnFindingAggregator(
|
|
|
4322
4324
|
@builtins.property
|
|
4323
4325
|
@jsii.member(jsii_name="regions")
|
|
4324
4326
|
def regions(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
4325
|
-
'''If ``RegionLinkingMode`` is ``ALL_REGIONS_EXCEPT_SPECIFIED`` , then this is a space-separated list of Regions that
|
|
4327
|
+
'''If ``RegionLinkingMode`` is ``ALL_REGIONS_EXCEPT_SPECIFIED`` , then this is a space-separated list of Regions that don't replicate and send findings to the home Region.'''
|
|
4326
4328
|
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "regions"))
|
|
4327
4329
|
|
|
4328
4330
|
@regions.setter
|
|
@@ -4348,7 +4350,7 @@ class CfnFindingAggregatorProps:
|
|
|
4348
4350
|
'''Properties for defining a ``CfnFindingAggregator``.
|
|
4349
4351
|
|
|
4350
4352
|
:param region_linking_mode: Indicates whether to aggregate findings from all of the available Regions in the current partition. Also determines whether to automatically aggregate findings from new Regions as Security Hub supports them and you opt into them. The selected option also determines how to use the Regions provided in the Regions list. The options are as follows: - ``ALL_REGIONS`` - Aggregates findings from all of the Regions where Security Hub is enabled. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. - ``ALL_REGIONS_EXCEPT_SPECIFIED`` - Aggregates findings from all of the Regions where Security Hub is enabled, except for the Regions listed in the ``Regions`` parameter. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. - ``SPECIFIED_REGIONS`` - Aggregates findings only from the Regions listed in the ``Regions`` parameter. Security Hub does not automatically aggregate findings from new Regions. - ``NO_REGIONS`` - Aggregates no data because no Regions are selected as linked Regions.
|
|
4351
|
-
:param regions: If ``RegionLinkingMode`` is ``ALL_REGIONS_EXCEPT_SPECIFIED`` , then this is a space-separated list of Regions that
|
|
4353
|
+
:param regions: If ``RegionLinkingMode`` is ``ALL_REGIONS_EXCEPT_SPECIFIED`` , then this is a space-separated list of Regions that don't replicate and send findings to the home Region. If ``RegionLinkingMode`` is ``SPECIFIED_REGIONS`` , then this is a space-separated list of Regions that do replicate and send findings to the home Region. An ``InvalidInputException`` error results if you populate this field while ``RegionLinkingMode`` is ``NO_REGIONS`` .
|
|
4352
4354
|
|
|
4353
4355
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-findingaggregator.html
|
|
4354
4356
|
:exampleMetadata: fixture=_generated
|
|
@@ -4399,9 +4401,9 @@ class CfnFindingAggregatorProps:
|
|
|
4399
4401
|
|
|
4400
4402
|
@builtins.property
|
|
4401
4403
|
def regions(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
4402
|
-
'''If ``RegionLinkingMode`` is ``ALL_REGIONS_EXCEPT_SPECIFIED`` , then this is a space-separated list of Regions that
|
|
4404
|
+
'''If ``RegionLinkingMode`` is ``ALL_REGIONS_EXCEPT_SPECIFIED`` , then this is a space-separated list of Regions that don't replicate and send findings to the home Region.
|
|
4403
4405
|
|
|
4404
|
-
If ``RegionLinkingMode`` is ``SPECIFIED_REGIONS`` , then this is a space-separated list of Regions that do
|
|
4406
|
+
If ``RegionLinkingMode`` is ``SPECIFIED_REGIONS`` , then this is a space-separated list of Regions that do replicate and send findings to the home Region.
|
|
4405
4407
|
|
|
4406
4408
|
An ``InvalidInputException`` error results if you populate this field while ``RegionLinkingMode`` is ``NO_REGIONS`` .
|
|
4407
4409
|
|
|
@@ -5656,7 +5658,7 @@ class CfnInsight(
|
|
|
5656
5658
|
:param resource_type: Specifies the type of the resource that details are provided for.
|
|
5657
5659
|
:param sample: Indicates whether or not sample findings are included in the filter results.
|
|
5658
5660
|
:param severity_label: The label of a finding's severity.
|
|
5659
|
-
:param severity_normalized: Deprecated. The normalized severity of a finding. Instead of providing ``Normalized`` , provide ``Label`` . The value of ``Normalized`` can be an integer between ``0`` and ``100`` . If you provide ``Label`` and
|
|
5661
|
+
:param severity_normalized: Deprecated. The normalized severity of a finding. Instead of providing ``Normalized`` , provide ``Label`` . The value of ``Normalized`` can be an integer between ``0`` and ``100`` . If you provide ``Label`` and don't provide ``Normalized`` , then ``Normalized`` is set automatically as follows. - ``INFORMATIONAL`` - 0 - ``LOW`` - 1 - ``MEDIUM`` - 40 - ``HIGH`` - 70 - ``CRITICAL`` - 90
|
|
5660
5662
|
:param severity_product: Deprecated. This attribute isn't included in findings. Instead of providing ``Product`` , provide ``Original`` . The native severity as defined by the AWS service or integrated partner product that generated the finding.
|
|
5661
5663
|
:param source_url: A URL that links to a page about the current finding in the security findings provider's solution.
|
|
5662
5664
|
:param threat_intel_indicator_category: The category of a threat intelligence indicator.
|
|
@@ -5673,7 +5675,7 @@ class CfnInsight(
|
|
|
5673
5675
|
:param vulnerabilities_exploit_available: Indicates whether a software vulnerability in your environment has a known exploit. You can filter findings by this field only if you use Security Hub and Amazon Inspector.
|
|
5674
5676
|
:param vulnerabilities_fix_available: Indicates whether a vulnerability is fixed in a newer version of the affected software packages. You can filter findings by this field only if you use Security Hub and Amazon Inspector.
|
|
5675
5677
|
:param workflow_state: The workflow state of a finding. Note that this field is deprecated. To search for a finding based on its workflow status, use ``WorkflowStatus`` .
|
|
5676
|
-
:param workflow_status: The status of the investigation into a finding. Allowed values are the following. - ``NEW`` - The initial state of a finding, before it is reviewed. Security Hub also resets the workflow status from ``NOTIFIED`` or ``RESOLVED`` to ``NEW`` in the following cases: - ``RecordState`` changes from ``ARCHIVED`` to ``ACTIVE`` . - ``Compliance.Status`` changes from ``PASSED`` to either ``WARNING`` , ``FAILED`` , or ``NOT_AVAILABLE`` . - ``NOTIFIED`` - Indicates that the resource owner has been notified about the security issue. Used when the initial reviewer is not the resource owner, and needs intervention from the resource owner. If one of the following occurs, the workflow status is changed automatically from ``NOTIFIED`` to ``NEW`` : - ``RecordState`` changes from ``ARCHIVED`` to ``ACTIVE`` . - ``Compliance.Status`` changes from ``PASSED`` to ``FAILED`` , ``WARNING`` , or ``NOT_AVAILABLE`` . - ``SUPPRESSED`` - Indicates that you reviewed the finding and
|
|
5678
|
+
:param workflow_status: The status of the investigation into a finding. Allowed values are the following. - ``NEW`` - The initial state of a finding, before it is reviewed. Security Hub also resets the workflow status from ``NOTIFIED`` or ``RESOLVED`` to ``NEW`` in the following cases: - ``RecordState`` changes from ``ARCHIVED`` to ``ACTIVE`` . - ``Compliance.Status`` changes from ``PASSED`` to either ``WARNING`` , ``FAILED`` , or ``NOT_AVAILABLE`` . - ``NOTIFIED`` - Indicates that the resource owner has been notified about the security issue. Used when the initial reviewer is not the resource owner, and needs intervention from the resource owner. If one of the following occurs, the workflow status is changed automatically from ``NOTIFIED`` to ``NEW`` : - ``RecordState`` changes from ``ARCHIVED`` to ``ACTIVE`` . - ``Compliance.Status`` changes from ``PASSED`` to ``FAILED`` , ``WARNING`` , or ``NOT_AVAILABLE`` . - ``SUPPRESSED`` - Indicates that you reviewed the finding and don't believe that any action is needed. The workflow status of a ``SUPPRESSED`` finding does not change if ``RecordState`` changes from ``ARCHIVED`` to ``ACTIVE`` . - ``RESOLVED`` - The finding was reviewed and remediated and is now considered resolved. The finding remains ``RESOLVED`` unless one of the following occurs: - ``RecordState`` changes from ``ARCHIVED`` to ``ACTIVE`` . - ``Compliance.Status`` changes from ``PASSED`` to ``FAILED`` , ``WARNING`` , or ``NOT_AVAILABLE`` . In those cases, the workflow status is automatically reset to ``NEW`` . For findings from controls, if ``Compliance.Status`` is ``PASSED`` , then Security Hub automatically sets the workflow status to ``RESOLVED`` .
|
|
5677
5679
|
|
|
5678
5680
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-insight-awssecurityfindingfilters.html
|
|
5679
5681
|
:exampleMetadata: fixture=_generated
|
|
@@ -7501,7 +7503,7 @@ class CfnInsight(
|
|
|
7501
7503
|
|
|
7502
7504
|
The value of ``Normalized`` can be an integer between ``0`` and ``100`` .
|
|
7503
7505
|
|
|
7504
|
-
If you provide ``Label`` and
|
|
7506
|
+
If you provide ``Label`` and don't provide ``Normalized`` , then ``Normalized`` is set automatically as follows.
|
|
7505
7507
|
|
|
7506
7508
|
- ``INFORMATIONAL`` - 0
|
|
7507
7509
|
- ``LOW`` - 1
|
|
@@ -7726,7 +7728,7 @@ class CfnInsight(
|
|
|
7726
7728
|
|
|
7727
7729
|
- ``RecordState`` changes from ``ARCHIVED`` to ``ACTIVE`` .
|
|
7728
7730
|
- ``Compliance.Status`` changes from ``PASSED`` to ``FAILED`` , ``WARNING`` , or ``NOT_AVAILABLE`` .
|
|
7729
|
-
- ``SUPPRESSED`` - Indicates that you reviewed the finding and
|
|
7731
|
+
- ``SUPPRESSED`` - Indicates that you reviewed the finding and don't believe that any action is needed.
|
|
7730
7732
|
|
|
7731
7733
|
The workflow status of a ``SUPPRESSED`` finding does not change if ``RecordState`` changes from ``ARCHIVED`` to ``ACTIVE`` .
|
|
7732
7734
|
|
aws_cdk/aws_ses/__init__.py
CHANGED
|
@@ -5671,7 +5671,8 @@ class CfnMailManagerRuleSet(
|
|
|
5671
5671
|
),
|
|
5672
5672
|
string_expression=ses.CfnMailManagerRuleSet.RuleStringExpressionProperty(
|
|
5673
5673
|
evaluate=ses.CfnMailManagerRuleSet.RuleStringToEvaluateProperty(
|
|
5674
|
-
attribute="attribute"
|
|
5674
|
+
attribute="attribute",
|
|
5675
|
+
mime_header_attribute="mimeHeaderAttribute"
|
|
5675
5676
|
),
|
|
5676
5677
|
operator="operator",
|
|
5677
5678
|
values=["values"]
|
|
@@ -5716,7 +5717,8 @@ class CfnMailManagerRuleSet(
|
|
|
5716
5717
|
),
|
|
5717
5718
|
string_expression=ses.CfnMailManagerRuleSet.RuleStringExpressionProperty(
|
|
5718
5719
|
evaluate=ses.CfnMailManagerRuleSet.RuleStringToEvaluateProperty(
|
|
5719
|
-
attribute="attribute"
|
|
5720
|
+
attribute="attribute",
|
|
5721
|
+
mime_header_attribute="mimeHeaderAttribute"
|
|
5720
5722
|
),
|
|
5721
5723
|
operator="operator",
|
|
5722
5724
|
values=["values"]
|
|
@@ -6773,7 +6775,8 @@ class CfnMailManagerRuleSet(
|
|
|
6773
6775
|
),
|
|
6774
6776
|
string_expression=ses.CfnMailManagerRuleSet.RuleStringExpressionProperty(
|
|
6775
6777
|
evaluate=ses.CfnMailManagerRuleSet.RuleStringToEvaluateProperty(
|
|
6776
|
-
attribute="attribute"
|
|
6778
|
+
attribute="attribute",
|
|
6779
|
+
mime_header_attribute="mimeHeaderAttribute"
|
|
6777
6780
|
),
|
|
6778
6781
|
operator="operator",
|
|
6779
6782
|
values=["values"]
|
|
@@ -7371,7 +7374,8 @@ class CfnMailManagerRuleSet(
|
|
|
7371
7374
|
),
|
|
7372
7375
|
string_expression=ses.CfnMailManagerRuleSet.RuleStringExpressionProperty(
|
|
7373
7376
|
evaluate=ses.CfnMailManagerRuleSet.RuleStringToEvaluateProperty(
|
|
7374
|
-
attribute="attribute"
|
|
7377
|
+
attribute="attribute",
|
|
7378
|
+
mime_header_attribute="mimeHeaderAttribute"
|
|
7375
7379
|
),
|
|
7376
7380
|
operator="operator",
|
|
7377
7381
|
values=["values"]
|
|
@@ -7416,7 +7420,8 @@ class CfnMailManagerRuleSet(
|
|
|
7416
7420
|
),
|
|
7417
7421
|
string_expression=ses.CfnMailManagerRuleSet.RuleStringExpressionProperty(
|
|
7418
7422
|
evaluate=ses.CfnMailManagerRuleSet.RuleStringToEvaluateProperty(
|
|
7419
|
-
attribute="attribute"
|
|
7423
|
+
attribute="attribute",
|
|
7424
|
+
mime_header_attribute="mimeHeaderAttribute"
|
|
7420
7425
|
),
|
|
7421
7426
|
operator="operator",
|
|
7422
7427
|
values=["values"]
|
|
@@ -7543,7 +7548,8 @@ class CfnMailManagerRuleSet(
|
|
|
7543
7548
|
|
|
7544
7549
|
rule_string_expression_property = ses.CfnMailManagerRuleSet.RuleStringExpressionProperty(
|
|
7545
7550
|
evaluate=ses.CfnMailManagerRuleSet.RuleStringToEvaluateProperty(
|
|
7546
|
-
attribute="attribute"
|
|
7551
|
+
attribute="attribute",
|
|
7552
|
+
mime_header_attribute="mimeHeaderAttribute"
|
|
7547
7553
|
),
|
|
7548
7554
|
operator="operator",
|
|
7549
7555
|
values=["values"]
|
|
@@ -7608,13 +7614,26 @@ class CfnMailManagerRuleSet(
|
|
|
7608
7614
|
@jsii.data_type(
|
|
7609
7615
|
jsii_type="aws-cdk-lib.aws_ses.CfnMailManagerRuleSet.RuleStringToEvaluateProperty",
|
|
7610
7616
|
jsii_struct_bases=[],
|
|
7611
|
-
name_mapping={
|
|
7617
|
+
name_mapping={
|
|
7618
|
+
"attribute": "attribute",
|
|
7619
|
+
"mime_header_attribute": "mimeHeaderAttribute",
|
|
7620
|
+
},
|
|
7612
7621
|
)
|
|
7613
7622
|
class RuleStringToEvaluateProperty:
|
|
7614
|
-
def __init__(
|
|
7623
|
+
def __init__(
|
|
7624
|
+
self,
|
|
7625
|
+
*,
|
|
7626
|
+
attribute: typing.Optional[builtins.str] = None,
|
|
7627
|
+
mime_header_attribute: typing.Optional[builtins.str] = None,
|
|
7628
|
+
) -> None:
|
|
7615
7629
|
'''The string to evaluate in a string condition expression.
|
|
7616
7630
|
|
|
7631
|
+
.. epigraph::
|
|
7632
|
+
|
|
7633
|
+
This data type is a UNION, so only one of the following members can be specified when used or returned.
|
|
7634
|
+
|
|
7617
7635
|
:param attribute: The email attribute to evaluate in a string condition expression.
|
|
7636
|
+
:param mime_header_attribute: The email MIME X-Header attribute to evaluate in a string condition expression.
|
|
7618
7637
|
|
|
7619
7638
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rulestringtoevaluate.html
|
|
7620
7639
|
:exampleMetadata: fixture=_generated
|
|
@@ -7626,25 +7645,37 @@ class CfnMailManagerRuleSet(
|
|
|
7626
7645
|
from aws_cdk import aws_ses as ses
|
|
7627
7646
|
|
|
7628
7647
|
rule_string_to_evaluate_property = ses.CfnMailManagerRuleSet.RuleStringToEvaluateProperty(
|
|
7629
|
-
attribute="attribute"
|
|
7648
|
+
attribute="attribute",
|
|
7649
|
+
mime_header_attribute="mimeHeaderAttribute"
|
|
7630
7650
|
)
|
|
7631
7651
|
'''
|
|
7632
7652
|
if __debug__:
|
|
7633
7653
|
type_hints = typing.get_type_hints(_typecheckingstub__2da4d9d015f3b7cc8e8bc228c621ebc8b1b100adb32a59eb61a9ceba92a64fd5)
|
|
7634
7654
|
check_type(argname="argument attribute", value=attribute, expected_type=type_hints["attribute"])
|
|
7635
|
-
|
|
7636
|
-
|
|
7637
|
-
|
|
7655
|
+
check_type(argname="argument mime_header_attribute", value=mime_header_attribute, expected_type=type_hints["mime_header_attribute"])
|
|
7656
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
7657
|
+
if attribute is not None:
|
|
7658
|
+
self._values["attribute"] = attribute
|
|
7659
|
+
if mime_header_attribute is not None:
|
|
7660
|
+
self._values["mime_header_attribute"] = mime_header_attribute
|
|
7638
7661
|
|
|
7639
7662
|
@builtins.property
|
|
7640
|
-
def attribute(self) -> builtins.str:
|
|
7663
|
+
def attribute(self) -> typing.Optional[builtins.str]:
|
|
7641
7664
|
'''The email attribute to evaluate in a string condition expression.
|
|
7642
7665
|
|
|
7643
7666
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rulestringtoevaluate.html#cfn-ses-mailmanagerruleset-rulestringtoevaluate-attribute
|
|
7644
7667
|
'''
|
|
7645
7668
|
result = self._values.get("attribute")
|
|
7646
|
-
|
|
7647
|
-
|
|
7669
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7670
|
+
|
|
7671
|
+
@builtins.property
|
|
7672
|
+
def mime_header_attribute(self) -> typing.Optional[builtins.str]:
|
|
7673
|
+
'''The email MIME X-Header attribute to evaluate in a string condition expression.
|
|
7674
|
+
|
|
7675
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-rulestringtoevaluate.html#cfn-ses-mailmanagerruleset-rulestringtoevaluate-mimeheaderattribute
|
|
7676
|
+
'''
|
|
7677
|
+
result = self._values.get("mime_header_attribute")
|
|
7678
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7648
7679
|
|
|
7649
7680
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7650
7681
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -8151,7 +8182,8 @@ class CfnMailManagerRuleSetProps:
|
|
|
8151
8182
|
),
|
|
8152
8183
|
string_expression=ses.CfnMailManagerRuleSet.RuleStringExpressionProperty(
|
|
8153
8184
|
evaluate=ses.CfnMailManagerRuleSet.RuleStringToEvaluateProperty(
|
|
8154
|
-
attribute="attribute"
|
|
8185
|
+
attribute="attribute",
|
|
8186
|
+
mime_header_attribute="mimeHeaderAttribute"
|
|
8155
8187
|
),
|
|
8156
8188
|
operator="operator",
|
|
8157
8189
|
values=["values"]
|
|
@@ -8196,7 +8228,8 @@ class CfnMailManagerRuleSetProps:
|
|
|
8196
8228
|
),
|
|
8197
8229
|
string_expression=ses.CfnMailManagerRuleSet.RuleStringExpressionProperty(
|
|
8198
8230
|
evaluate=ses.CfnMailManagerRuleSet.RuleStringToEvaluateProperty(
|
|
8199
|
-
attribute="attribute"
|
|
8231
|
+
attribute="attribute",
|
|
8232
|
+
mime_header_attribute="mimeHeaderAttribute"
|
|
8200
8233
|
),
|
|
8201
8234
|
operator="operator",
|
|
8202
8235
|
values=["values"]
|
|
@@ -17367,7 +17400,8 @@ def _typecheckingstub__ac58a8ffbfedfd8a37ee59f94996c3194a29e1aa4e2893a82291934e7
|
|
|
17367
17400
|
|
|
17368
17401
|
def _typecheckingstub__2da4d9d015f3b7cc8e8bc228c621ebc8b1b100adb32a59eb61a9ceba92a64fd5(
|
|
17369
17402
|
*,
|
|
17370
|
-
attribute: builtins.str,
|
|
17403
|
+
attribute: typing.Optional[builtins.str] = None,
|
|
17404
|
+
mime_header_attribute: typing.Optional[builtins.str] = None,
|
|
17371
17405
|
) -> None:
|
|
17372
17406
|
"""Type checking stubs"""
|
|
17373
17407
|
pass
|
aws_cdk/aws_sqs/__init__.py
CHANGED
|
@@ -191,7 +191,7 @@ class CfnQueue(
|
|
|
191
191
|
- If you delete a queue, you must wait at least 60 seconds before creating a queue with the same name.
|
|
192
192
|
- To successfully create a new queue, you must provide a queue name that adheres to the `limits related to queues <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/limits-queues.html>`_ and is unique within the scope of your queues.
|
|
193
193
|
|
|
194
|
-
For more information about creating FIFO (first-in-first-out) queues, see `Creating an Amazon SQS queue ( AWS CloudFormation ) <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
|
194
|
+
For more information about creating FIFO (first-in-first-out) queues, see `Creating an Amazon SQS queue ( AWS CloudFormation ) <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/create-queue-cloudformation.html>`_ in the *Amazon SQS Developer Guide* .
|
|
195
195
|
|
|
196
196
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html
|
|
197
197
|
:cloudformationResource: AWS::SQS::Queue
|
|
@@ -257,13 +257,13 @@ class CfnQueue(
|
|
|
257
257
|
:param content_based_deduplication: For first-in-first-out (FIFO) queues, specifies whether to enable content-based deduplication. During the deduplication interval, Amazon SQS treats messages that are sent with identical content as duplicates and delivers only one copy of the message. For more information, see the ``ContentBasedDeduplication`` attribute for the ``[CreateQueue](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_CreateQueue.html)`` action in the *Amazon SQS API Reference* .
|
|
258
258
|
:param deduplication_scope: For high throughput for FIFO queues, specifies whether message deduplication occurs at the message group or queue level. Valid values are ``messageGroup`` and ``queue`` . To enable high throughput for a FIFO queue, set this attribute to ``messageGroup`` *and* set the ``FifoThroughputLimit`` attribute to ``perMessageGroupId`` . If you set these attributes to anything other than these values, normal throughput is in effect and deduplication occurs as specified. For more information, see `High throughput for FIFO queues <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html>`_ and `Quotas related to messages <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html>`_ in the *Amazon SQS Developer Guide* .
|
|
259
259
|
:param delay_seconds: The time in seconds for which the delivery of all messages in the queue is delayed. You can specify an integer value of ``0`` to ``900`` (15 minutes). The default value is ``0`` .
|
|
260
|
-
:param fifo_queue: If set to true, creates a FIFO queue. If you don't specify this property, Amazon SQS creates a standard queue. For more information, see `FIFO queues <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
|
260
|
+
:param fifo_queue: If set to true, creates a FIFO queue. If you don't specify this property, Amazon SQS creates a standard queue. For more information, see `Amazon SQS FIFO queues <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-fifo-queues.html>`_ in the *Amazon SQS Developer Guide* .
|
|
261
261
|
:param fifo_throughput_limit: For high throughput for FIFO queues, specifies whether the FIFO queue throughput quota applies to the entire queue or per message group. Valid values are ``perQueue`` and ``perMessageGroupId`` . To enable high throughput for a FIFO queue, set this attribute to ``perMessageGroupId`` *and* set the ``DeduplicationScope`` attribute to ``messageGroup`` . If you set these attributes to anything other than these values, normal throughput is in effect and deduplication occurs as specified. For more information, see `High throughput for FIFO queues <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html>`_ and `Quotas related to messages <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html>`_ in the *Amazon SQS Developer Guide* .
|
|
262
262
|
:param kms_data_key_reuse_period_seconds: The length of time in seconds for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling AWS KMS again. The value must be an integer between 60 (1 minute) and 86,400 (24 hours). The default is 300 (5 minutes). .. epigraph:: A shorter time period provides better security, but results in more calls to AWS KMS , which might incur charges after Free Tier. For more information, see `Encryption at rest <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work>`_ in the *Amazon SQS Developer Guide* .
|
|
263
|
-
:param kms_master_key_id: The ID of an AWS Key Management Service (KMS) for Amazon SQS , or a custom KMS. To use the AWS managed KMS for Amazon SQS , specify a (default) alias ARN, alias name (
|
|
263
|
+
:param kms_master_key_id: The ID of an AWS Key Management Service (KMS) for Amazon SQS , or a custom KMS. To use the AWS managed KMS for Amazon SQS , specify a (default) alias ARN, alias name (for example ``alias/aws/sqs`` ), key ARN, or key ID. For more information, see the following: - `Encryption at rest <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html>`_ in the *Amazon SQS Developer Guide* - `CreateQueue <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_CreateQueue.html>`_ in the *Amazon SQS API Reference* - `Request Parameters <https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters>`_ in the *AWS Key Management Service API Reference* - The Key Management Service (KMS) section of the `Security best practices for AWS Key Management Service <https://docs.aws.amazon.com/kms/latest/developerguide/best-practices.html>`_ in the *AWS Key Management Service Developer Guide*
|
|
264
264
|
:param maximum_message_size: The limit of how many bytes that a message can contain before Amazon SQS rejects it. You can specify an integer value from ``1,024`` bytes (1 KiB) to ``262,144`` bytes (256 KiB). The default value is ``262,144`` (256 KiB).
|
|
265
265
|
:param message_retention_period: The number of seconds that Amazon SQS retains a message. You can specify an integer value from ``60`` seconds (1 minute) to ``1,209,600`` seconds (14 days). The default value is ``345,600`` seconds (4 days).
|
|
266
|
-
:param queue_name: A name for the queue. To create a FIFO queue, the name of your FIFO queue must end with the ``.fifo`` suffix. For more information, see `FIFO queues <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
|
266
|
+
:param queue_name: A name for the queue. To create a FIFO queue, the name of your FIFO queue must end with the ``.fifo`` suffix. For more information, see `Amazon SQS FIFO queues <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-fifo-queues.html>`_ in the *Amazon SQS Developer Guide* . If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the queue name. For more information, see `Name type <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html>`_ in the *AWS CloudFormation User Guide* . .. epigraph:: If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
|
|
267
267
|
: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* .
|
|
268
268
|
: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`` .
|
|
269
269
|
: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 received by a consumer of 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*``
|
|
@@ -1028,13 +1028,13 @@ class CfnQueueProps:
|
|
|
1028
1028
|
:param content_based_deduplication: For first-in-first-out (FIFO) queues, specifies whether to enable content-based deduplication. During the deduplication interval, Amazon SQS treats messages that are sent with identical content as duplicates and delivers only one copy of the message. For more information, see the ``ContentBasedDeduplication`` attribute for the ``[CreateQueue](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_CreateQueue.html)`` action in the *Amazon SQS API Reference* .
|
|
1029
1029
|
:param deduplication_scope: For high throughput for FIFO queues, specifies whether message deduplication occurs at the message group or queue level. Valid values are ``messageGroup`` and ``queue`` . To enable high throughput for a FIFO queue, set this attribute to ``messageGroup`` *and* set the ``FifoThroughputLimit`` attribute to ``perMessageGroupId`` . If you set these attributes to anything other than these values, normal throughput is in effect and deduplication occurs as specified. For more information, see `High throughput for FIFO queues <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html>`_ and `Quotas related to messages <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html>`_ in the *Amazon SQS Developer Guide* .
|
|
1030
1030
|
:param delay_seconds: The time in seconds for which the delivery of all messages in the queue is delayed. You can specify an integer value of ``0`` to ``900`` (15 minutes). The default value is ``0`` .
|
|
1031
|
-
:param fifo_queue: If set to true, creates a FIFO queue. If you don't specify this property, Amazon SQS creates a standard queue. For more information, see `FIFO queues <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
|
1031
|
+
:param fifo_queue: If set to true, creates a FIFO queue. If you don't specify this property, Amazon SQS creates a standard queue. For more information, see `Amazon SQS FIFO queues <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-fifo-queues.html>`_ in the *Amazon SQS Developer Guide* .
|
|
1032
1032
|
:param fifo_throughput_limit: For high throughput for FIFO queues, specifies whether the FIFO queue throughput quota applies to the entire queue or per message group. Valid values are ``perQueue`` and ``perMessageGroupId`` . To enable high throughput for a FIFO queue, set this attribute to ``perMessageGroupId`` *and* set the ``DeduplicationScope`` attribute to ``messageGroup`` . If you set these attributes to anything other than these values, normal throughput is in effect and deduplication occurs as specified. For more information, see `High throughput for FIFO queues <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html>`_ and `Quotas related to messages <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html>`_ in the *Amazon SQS Developer Guide* .
|
|
1033
1033
|
:param kms_data_key_reuse_period_seconds: The length of time in seconds for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling AWS KMS again. The value must be an integer between 60 (1 minute) and 86,400 (24 hours). The default is 300 (5 minutes). .. epigraph:: A shorter time period provides better security, but results in more calls to AWS KMS , which might incur charges after Free Tier. For more information, see `Encryption at rest <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work>`_ in the *Amazon SQS Developer Guide* .
|
|
1034
|
-
:param kms_master_key_id: The ID of an AWS Key Management Service (KMS) for Amazon SQS , or a custom KMS. To use the AWS managed KMS for Amazon SQS , specify a (default) alias ARN, alias name (
|
|
1034
|
+
:param kms_master_key_id: The ID of an AWS Key Management Service (KMS) for Amazon SQS , or a custom KMS. To use the AWS managed KMS for Amazon SQS , specify a (default) alias ARN, alias name (for example ``alias/aws/sqs`` ), key ARN, or key ID. For more information, see the following: - `Encryption at rest <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html>`_ in the *Amazon SQS Developer Guide* - `CreateQueue <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_CreateQueue.html>`_ in the *Amazon SQS API Reference* - `Request Parameters <https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters>`_ in the *AWS Key Management Service API Reference* - The Key Management Service (KMS) section of the `Security best practices for AWS Key Management Service <https://docs.aws.amazon.com/kms/latest/developerguide/best-practices.html>`_ in the *AWS Key Management Service Developer Guide*
|
|
1035
1035
|
:param maximum_message_size: The limit of how many bytes that a message can contain before Amazon SQS rejects it. You can specify an integer value from ``1,024`` bytes (1 KiB) to ``262,144`` bytes (256 KiB). The default value is ``262,144`` (256 KiB).
|
|
1036
1036
|
:param message_retention_period: The number of seconds that Amazon SQS retains a message. You can specify an integer value from ``60`` seconds (1 minute) to ``1,209,600`` seconds (14 days). The default value is ``345,600`` seconds (4 days).
|
|
1037
|
-
:param queue_name: A name for the queue. To create a FIFO queue, the name of your FIFO queue must end with the ``.fifo`` suffix. For more information, see `FIFO queues <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
|
1037
|
+
:param queue_name: A name for the queue. To create a FIFO queue, the name of your FIFO queue must end with the ``.fifo`` suffix. For more information, see `Amazon SQS FIFO queues <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-fifo-queues.html>`_ in the *Amazon SQS Developer Guide* . If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the queue name. For more information, see `Name type <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html>`_ in the *AWS CloudFormation User Guide* . .. epigraph:: If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
|
|
1038
1038
|
: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* .
|
|
1039
1039
|
: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`` .
|
|
1040
1040
|
: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 received by a consumer of 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*``
|
|
@@ -1171,7 +1171,7 @@ class CfnQueueProps:
|
|
|
1171
1171
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1172
1172
|
'''If set to true, creates a FIFO queue.
|
|
1173
1173
|
|
|
1174
|
-
If you don't specify this property, Amazon SQS creates a standard queue. For more information, see `FIFO queues <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
|
1174
|
+
If you don't specify this property, Amazon SQS creates a standard queue. For more information, see `Amazon SQS FIFO queues <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-fifo-queues.html>`_ in the *Amazon SQS Developer Guide* .
|
|
1175
1175
|
|
|
1176
1176
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html#cfn-sqs-queue-fifoqueue
|
|
1177
1177
|
'''
|
|
@@ -1209,12 +1209,12 @@ class CfnQueueProps:
|
|
|
1209
1209
|
def kms_master_key_id(self) -> typing.Optional[builtins.str]:
|
|
1210
1210
|
'''The ID of an AWS Key Management Service (KMS) for Amazon SQS , or a custom KMS.
|
|
1211
1211
|
|
|
1212
|
-
To use the AWS managed KMS for Amazon SQS , specify a (default) alias ARN, alias name (
|
|
1212
|
+
To use the AWS managed KMS for Amazon SQS , specify a (default) alias ARN, alias name (for example ``alias/aws/sqs`` ), key ARN, or key ID. For more information, see the following:
|
|
1213
1213
|
|
|
1214
1214
|
- `Encryption at rest <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html>`_ in the *Amazon SQS Developer Guide*
|
|
1215
1215
|
- `CreateQueue <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_CreateQueue.html>`_ in the *Amazon SQS API Reference*
|
|
1216
1216
|
- `Request Parameters <https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters>`_ in the *AWS Key Management Service API Reference*
|
|
1217
|
-
- The Key Management Service (KMS) section of the `AWS Key Management Service
|
|
1217
|
+
- The Key Management Service (KMS) section of the `Security best practices for AWS Key Management Service <https://docs.aws.amazon.com/kms/latest/developerguide/best-practices.html>`_ in the *AWS Key Management Service Developer Guide*
|
|
1218
1218
|
|
|
1219
1219
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html#cfn-sqs-queue-kmsmasterkeyid
|
|
1220
1220
|
'''
|
|
@@ -1247,7 +1247,7 @@ class CfnQueueProps:
|
|
|
1247
1247
|
def queue_name(self) -> typing.Optional[builtins.str]:
|
|
1248
1248
|
'''A name for the queue.
|
|
1249
1249
|
|
|
1250
|
-
To create a FIFO queue, the name of your FIFO queue must end with the ``.fifo`` suffix. For more information, see `FIFO queues <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/
|
|
1250
|
+
To create a FIFO queue, the name of your FIFO queue must end with the ``.fifo`` suffix. For more information, see `Amazon SQS FIFO queues <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-fifo-queues.html>`_ in the *Amazon SQS Developer Guide* .
|
|
1251
1251
|
|
|
1252
1252
|
If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the queue name. For more information, see `Name type <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html>`_ in the *AWS CloudFormation User Guide* .
|
|
1253
1253
|
.. epigraph::
|
|
@@ -3830,11 +3830,13 @@ class Queue(QueueBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sqs.Q
|
|
|
3830
3830
|
Example::
|
|
3831
3831
|
|
|
3832
3832
|
# source_queue: sqs.Queue
|
|
3833
|
-
#
|
|
3833
|
+
# target_queue: sqs.Queue
|
|
3834
3834
|
|
|
3835
3835
|
|
|
3836
|
-
pipe_target = targets.
|
|
3837
|
-
input_transformation=pipes.InputTransformation.from_object({
|
|
3836
|
+
pipe_target = targets.SqsTarget(target_queue,
|
|
3837
|
+
input_transformation=pipes.InputTransformation.from_object({
|
|
3838
|
+
"SomeKey": pipes.DynamicInput.from_event_path("$.body")
|
|
3839
|
+
})
|
|
3838
3840
|
)
|
|
3839
3841
|
|
|
3840
3842
|
pipe = pipes.Pipe(self, "Pipe",
|
aws_cdk/aws_ssm/__init__.py
CHANGED
|
@@ -5260,7 +5260,7 @@ class CfnPatchBaseline(
|
|
|
5260
5260
|
:param approved_patches_enable_non_security: Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes. The default value is ``false`` . Applies to Linux managed nodes only. Default: - false
|
|
5261
5261
|
:param default_baseline: Set the baseline as default baseline. Only registering to default patch baseline is allowed. Default: - false
|
|
5262
5262
|
:param description: A description of the patch baseline.
|
|
5263
|
-
:param global_filters: A set of global filters used to include patches in the baseline.
|
|
5263
|
+
:param global_filters: A set of global filters used to include patches in the baseline. .. epigraph:: The ``GlobalFilters`` parameter can be configured only by using the AWS CLI or an AWS SDK. It can't be configured from the Patch Manager console, and its value isn't displayed in the console.
|
|
5264
5264
|
:param operating_system: Defines the operating system the patch baseline applies to. The default value is ``WINDOWS`` . Default: - "WINDOWS"
|
|
5265
5265
|
:param patch_groups: The name of the patch group to be registered with the patch baseline.
|
|
5266
5266
|
:param rejected_patches: A list of explicitly rejected patches for the baseline. For information about accepted formats for lists of approved patches and rejected patches, see `Package name formats for approved and rejected patch lists <https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html>`_ in the *AWS Systems Manager User Guide* .
|
|
@@ -6076,7 +6076,7 @@ class CfnPatchBaselineProps:
|
|
|
6076
6076
|
:param approved_patches_enable_non_security: Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes. The default value is ``false`` . Applies to Linux managed nodes only. Default: - false
|
|
6077
6077
|
:param default_baseline: Set the baseline as default baseline. Only registering to default patch baseline is allowed. Default: - false
|
|
6078
6078
|
:param description: A description of the patch baseline.
|
|
6079
|
-
:param global_filters: A set of global filters used to include patches in the baseline.
|
|
6079
|
+
:param global_filters: A set of global filters used to include patches in the baseline. .. epigraph:: The ``GlobalFilters`` parameter can be configured only by using the AWS CLI or an AWS SDK. It can't be configured from the Patch Manager console, and its value isn't displayed in the console.
|
|
6080
6080
|
:param operating_system: Defines the operating system the patch baseline applies to. The default value is ``WINDOWS`` . Default: - "WINDOWS"
|
|
6081
6081
|
:param patch_groups: The name of the patch group to be registered with the patch baseline.
|
|
6082
6082
|
:param rejected_patches: A list of explicitly rejected patches for the baseline. For information about accepted formats for lists of approved patches and rejected patches, see `Package name formats for approved and rejected patch lists <https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html>`_ in the *AWS Systems Manager User Guide* .
|
|
@@ -6273,6 +6273,10 @@ class CfnPatchBaselineProps:
|
|
|
6273
6273
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPatchBaseline.PatchFilterGroupProperty]]:
|
|
6274
6274
|
'''A set of global filters used to include patches in the baseline.
|
|
6275
6275
|
|
|
6276
|
+
.. epigraph::
|
|
6277
|
+
|
|
6278
|
+
The ``GlobalFilters`` parameter can be configured only by using the AWS CLI or an AWS SDK. It can't be configured from the Patch Manager console, and its value isn't displayed in the console.
|
|
6279
|
+
|
|
6276
6280
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-patchbaseline.html#cfn-ssm-patchbaseline-globalfilters
|
|
6277
6281
|
'''
|
|
6278
6282
|
result = self._values.get("global_filters")
|