aws-cdk-lib 2.160.0__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 +21 -14
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.160.0.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_datasync/__init__.py +1 -1
- aws_cdk/aws_ec2/__init__.py +114 -8
- aws_cdk/aws_ecs/__init__.py +513 -2
- 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_lambda/__init__.py +383 -244
- aws_cdk/aws_logs/__init__.py +431 -3
- 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 +158 -3
- aws_cdk/aws_route53resolver/__init__.py +3 -17
- aws_cdk/aws_s3/__init__.py +20 -11
- 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_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/cloudformation_include/__init__.py +28 -0
- aws_cdk/cx_api/__init__.py +50 -0
- {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/RECORD +51 -51
- {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/top_level.txt +0 -0
|
@@ -15436,7 +15436,8 @@ class CfnImageVersion(
|
|
|
15436
15436
|
processor="processor",
|
|
15437
15437
|
programming_lang="programmingLang",
|
|
15438
15438
|
release_notes="releaseNotes",
|
|
15439
|
-
vendor_guidance="vendorGuidance"
|
|
15439
|
+
vendor_guidance="vendorGuidance",
|
|
15440
|
+
version=123
|
|
15440
15441
|
)
|
|
15441
15442
|
'''
|
|
15442
15443
|
|
|
@@ -15456,6 +15457,7 @@ class CfnImageVersion(
|
|
|
15456
15457
|
programming_lang: typing.Optional[builtins.str] = None,
|
|
15457
15458
|
release_notes: typing.Optional[builtins.str] = None,
|
|
15458
15459
|
vendor_guidance: typing.Optional[builtins.str] = None,
|
|
15460
|
+
version: typing.Optional[jsii.Number] = None,
|
|
15459
15461
|
) -> None:
|
|
15460
15462
|
'''
|
|
15461
15463
|
:param scope: Scope in which this resource is defined.
|
|
@@ -15471,6 +15473,7 @@ class CfnImageVersion(
|
|
|
15471
15473
|
:param programming_lang: The supported programming language and its version.
|
|
15472
15474
|
:param release_notes: The maintainer description of the image version.
|
|
15473
15475
|
:param vendor_guidance: The availability of the image version specified by the maintainer.
|
|
15476
|
+
:param version: The version number.
|
|
15474
15477
|
'''
|
|
15475
15478
|
if __debug__:
|
|
15476
15479
|
type_hints = typing.get_type_hints(_typecheckingstub__1ad8c361f2876657ea1cf0f0f9f7356de06575f95ad80d7a587da19094ecd39f)
|
|
@@ -15488,6 +15491,7 @@ class CfnImageVersion(
|
|
|
15488
15491
|
programming_lang=programming_lang,
|
|
15489
15492
|
release_notes=release_notes,
|
|
15490
15493
|
vendor_guidance=vendor_guidance,
|
|
15494
|
+
version=version,
|
|
15491
15495
|
)
|
|
15492
15496
|
|
|
15493
15497
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -15558,8 +15562,7 @@ class CfnImageVersion(
|
|
|
15558
15562
|
@builtins.property
|
|
15559
15563
|
@jsii.member(jsii_name="attrVersion")
|
|
15560
15564
|
def attr_version(self) -> jsii.Number:
|
|
15561
|
-
'''
|
|
15562
|
-
|
|
15565
|
+
'''
|
|
15563
15566
|
:cloudformationAttribute: Version
|
|
15564
15567
|
'''
|
|
15565
15568
|
return typing.cast(jsii.Number, jsii.get(self, "attrVersion"))
|
|
@@ -15717,6 +15720,19 @@ class CfnImageVersion(
|
|
|
15717
15720
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
15718
15721
|
jsii.set(self, "vendorGuidance", value) # pyright: ignore[reportArgumentType]
|
|
15719
15722
|
|
|
15723
|
+
@builtins.property
|
|
15724
|
+
@jsii.member(jsii_name="version")
|
|
15725
|
+
def version(self) -> typing.Optional[jsii.Number]:
|
|
15726
|
+
'''The version number.'''
|
|
15727
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "version"))
|
|
15728
|
+
|
|
15729
|
+
@version.setter
|
|
15730
|
+
def version(self, value: typing.Optional[jsii.Number]) -> None:
|
|
15731
|
+
if __debug__:
|
|
15732
|
+
type_hints = typing.get_type_hints(_typecheckingstub__dbae2e45ceac204e4cf39ca16d43059237d821690a48fcb3456dbcd9ef6f1aef)
|
|
15733
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
15734
|
+
jsii.set(self, "version", value) # pyright: ignore[reportArgumentType]
|
|
15735
|
+
|
|
15720
15736
|
|
|
15721
15737
|
@jsii.data_type(
|
|
15722
15738
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnImageVersionProps",
|
|
@@ -15733,6 +15749,7 @@ class CfnImageVersion(
|
|
|
15733
15749
|
"programming_lang": "programmingLang",
|
|
15734
15750
|
"release_notes": "releaseNotes",
|
|
15735
15751
|
"vendor_guidance": "vendorGuidance",
|
|
15752
|
+
"version": "version",
|
|
15736
15753
|
},
|
|
15737
15754
|
)
|
|
15738
15755
|
class CfnImageVersionProps:
|
|
@@ -15750,6 +15767,7 @@ class CfnImageVersionProps:
|
|
|
15750
15767
|
programming_lang: typing.Optional[builtins.str] = None,
|
|
15751
15768
|
release_notes: typing.Optional[builtins.str] = None,
|
|
15752
15769
|
vendor_guidance: typing.Optional[builtins.str] = None,
|
|
15770
|
+
version: typing.Optional[jsii.Number] = None,
|
|
15753
15771
|
) -> None:
|
|
15754
15772
|
'''Properties for defining a ``CfnImageVersion``.
|
|
15755
15773
|
|
|
@@ -15764,6 +15782,7 @@ class CfnImageVersionProps:
|
|
|
15764
15782
|
:param programming_lang: The supported programming language and its version.
|
|
15765
15783
|
:param release_notes: The maintainer description of the image version.
|
|
15766
15784
|
:param vendor_guidance: The availability of the image version specified by the maintainer.
|
|
15785
|
+
:param version: The version number.
|
|
15767
15786
|
|
|
15768
15787
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html
|
|
15769
15788
|
:exampleMetadata: fixture=_generated
|
|
@@ -15787,7 +15806,8 @@ class CfnImageVersionProps:
|
|
|
15787
15806
|
processor="processor",
|
|
15788
15807
|
programming_lang="programmingLang",
|
|
15789
15808
|
release_notes="releaseNotes",
|
|
15790
|
-
vendor_guidance="vendorGuidance"
|
|
15809
|
+
vendor_guidance="vendorGuidance",
|
|
15810
|
+
version=123
|
|
15791
15811
|
)
|
|
15792
15812
|
'''
|
|
15793
15813
|
if __debug__:
|
|
@@ -15803,6 +15823,7 @@ class CfnImageVersionProps:
|
|
|
15803
15823
|
check_type(argname="argument programming_lang", value=programming_lang, expected_type=type_hints["programming_lang"])
|
|
15804
15824
|
check_type(argname="argument release_notes", value=release_notes, expected_type=type_hints["release_notes"])
|
|
15805
15825
|
check_type(argname="argument vendor_guidance", value=vendor_guidance, expected_type=type_hints["vendor_guidance"])
|
|
15826
|
+
check_type(argname="argument version", value=version, expected_type=type_hints["version"])
|
|
15806
15827
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
15807
15828
|
"base_image": base_image,
|
|
15808
15829
|
"image_name": image_name,
|
|
@@ -15825,6 +15846,8 @@ class CfnImageVersionProps:
|
|
|
15825
15846
|
self._values["release_notes"] = release_notes
|
|
15826
15847
|
if vendor_guidance is not None:
|
|
15827
15848
|
self._values["vendor_guidance"] = vendor_guidance
|
|
15849
|
+
if version is not None:
|
|
15850
|
+
self._values["version"] = version
|
|
15828
15851
|
|
|
15829
15852
|
@builtins.property
|
|
15830
15853
|
def base_image(self) -> builtins.str:
|
|
@@ -15933,6 +15956,15 @@ class CfnImageVersionProps:
|
|
|
15933
15956
|
result = self._values.get("vendor_guidance")
|
|
15934
15957
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
15935
15958
|
|
|
15959
|
+
@builtins.property
|
|
15960
|
+
def version(self) -> typing.Optional[jsii.Number]:
|
|
15961
|
+
'''The version number.
|
|
15962
|
+
|
|
15963
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html#cfn-sagemaker-imageversion-version
|
|
15964
|
+
'''
|
|
15965
|
+
result = self._values.get("version")
|
|
15966
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
15967
|
+
|
|
15936
15968
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
15937
15969
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
15938
15970
|
|
|
@@ -49816,6 +49848,7 @@ def _typecheckingstub__1ad8c361f2876657ea1cf0f0f9f7356de06575f95ad80d7a587da1909
|
|
|
49816
49848
|
programming_lang: typing.Optional[builtins.str] = None,
|
|
49817
49849
|
release_notes: typing.Optional[builtins.str] = None,
|
|
49818
49850
|
vendor_guidance: typing.Optional[builtins.str] = None,
|
|
49851
|
+
version: typing.Optional[jsii.Number] = None,
|
|
49819
49852
|
) -> None:
|
|
49820
49853
|
"""Type checking stubs"""
|
|
49821
49854
|
pass
|
|
@@ -49898,6 +49931,12 @@ def _typecheckingstub__5382fea0d28fb1b1a6c04307334e93f65dd93058c962443126e577604
|
|
|
49898
49931
|
"""Type checking stubs"""
|
|
49899
49932
|
pass
|
|
49900
49933
|
|
|
49934
|
+
def _typecheckingstub__dbae2e45ceac204e4cf39ca16d43059237d821690a48fcb3456dbcd9ef6f1aef(
|
|
49935
|
+
value: typing.Optional[jsii.Number],
|
|
49936
|
+
) -> None:
|
|
49937
|
+
"""Type checking stubs"""
|
|
49938
|
+
pass
|
|
49939
|
+
|
|
49901
49940
|
def _typecheckingstub__eb1cf2f49fa3a5bb0e6e9fdd2097a7a9401edb65fabfda045235c1b04b02fbf1(
|
|
49902
49941
|
*,
|
|
49903
49942
|
base_image: builtins.str,
|
|
@@ -49911,6 +49950,7 @@ def _typecheckingstub__eb1cf2f49fa3a5bb0e6e9fdd2097a7a9401edb65fabfda045235c1b04
|
|
|
49911
49950
|
programming_lang: typing.Optional[builtins.str] = None,
|
|
49912
49951
|
release_notes: typing.Optional[builtins.str] = None,
|
|
49913
49952
|
vendor_guidance: typing.Optional[builtins.str] = None,
|
|
49953
|
+
version: typing.Optional[jsii.Number] = None,
|
|
49914
49954
|
) -> None:
|
|
49915
49955
|
"""Type checking stubs"""
|
|
49916
49956
|
pass
|
|
@@ -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
|