aws-cdk-lib 2.158.0__py3-none-any.whl → 2.159.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +36 -19
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.158.0.jsii.tgz → aws-cdk-lib@2.159.1.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +22 -8
- aws_cdk/aws_apigatewayv2/__init__.py +30 -0
- aws_cdk/aws_appconfig/__init__.py +3 -3
- aws_cdk/aws_applicationinsights/__init__.py +544 -4
- aws_cdk/aws_applicationsignals/__init__.py +170 -142
- aws_cdk/aws_athena/__init__.py +15 -15
- aws_cdk/aws_auditmanager/__init__.py +5 -5
- aws_cdk/aws_bedrock/__init__.py +7 -7
- aws_cdk/aws_codebuild/__init__.py +39 -18
- aws_cdk/aws_codeconnections/__init__.py +1 -1
- aws_cdk/aws_cognito/__init__.py +390 -203
- aws_cdk/aws_connect/__init__.py +1679 -152
- aws_cdk/aws_datazone/__init__.py +665 -40
- aws_cdk/aws_docdb/__init__.py +6 -1
- aws_cdk/aws_dynamodb/__init__.py +5 -5
- aws_cdk/aws_ec2/__init__.py +121 -36
- aws_cdk/aws_ecr/__init__.py +14 -6
- aws_cdk/aws_ecs/__init__.py +20 -20
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +167 -20
- aws_cdk/aws_emr/__init__.py +8 -8
- aws_cdk/aws_events/__init__.py +19 -17
- aws_cdk/aws_events_targets/__init__.py +165 -85
- aws_cdk/aws_fms/__init__.py +59 -0
- aws_cdk/aws_fsx/__init__.py +3 -3
- aws_cdk/aws_gamelift/__init__.py +40 -52
- aws_cdk/aws_globalaccelerator/__init__.py +22 -29
- aws_cdk/aws_iam/__init__.py +22 -20
- aws_cdk/aws_iotfleetwise/__init__.py +419 -0
- aws_cdk/aws_iotsitewise/__init__.py +90 -1
- aws_cdk/aws_iotwireless/__init__.py +205 -0
- aws_cdk/aws_lambda/__init__.py +129 -16
- aws_cdk/aws_lex/__init__.py +15 -1
- aws_cdk/aws_logs/__init__.py +1 -1
- aws_cdk/aws_mediaconnect/__init__.py +111 -0
- aws_cdk/aws_medialive/__init__.py +7988 -3262
- aws_cdk/aws_msk/__init__.py +287 -479
- aws_cdk/aws_opensearchservice/__init__.py +6 -0
- aws_cdk/aws_pcaconnectorscep/__init__.py +69 -30
- aws_cdk/aws_pipes/__init__.py +49 -0
- aws_cdk/aws_qbusiness/__init__.py +11 -14
- aws_cdk/aws_quicksight/__init__.py +638 -99
- aws_cdk/aws_rds/__init__.py +38 -27
- aws_cdk/aws_s3/__init__.py +215 -33
- aws_cdk/aws_s3objectlambda/__init__.py +2 -2
- aws_cdk/aws_sagemaker/__init__.py +872 -58
- aws_cdk/aws_secretsmanager/__init__.py +22 -8
- aws_cdk/aws_securityhub/__init__.py +261 -19
- aws_cdk/aws_securitylake/__init__.py +327 -7
- aws_cdk/aws_servicediscovery/__init__.py +5 -5
- aws_cdk/aws_sns/__init__.py +0 -8
- aws_cdk/aws_ssm/__init__.py +20 -12
- aws_cdk/aws_stepfunctions_tasks/__init__.py +36 -0
- aws_cdk/cx_api/__init__.py +19 -0
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/RECORD +62 -62
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/top_level.txt +0 -0
|
@@ -702,6 +702,8 @@ class CfnRotationSchedule(
|
|
|
702
702
|
|
|
703
703
|
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>`_ .
|
|
704
704
|
|
|
705
|
+
For Amazon Redshift admin user credentials, see `AWS::Redshift::Cluster <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html>`_ .
|
|
706
|
+
|
|
705
707
|
For the rotation function, you have two options:
|
|
706
708
|
|
|
707
709
|
- You can 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>`_ by using ``HostedRotationLambda`` .
|
|
@@ -763,9 +765,9 @@ class CfnRotationSchedule(
|
|
|
763
765
|
:param scope: Scope in which this resource is defined.
|
|
764
766
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
765
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.
|
|
766
|
-
: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>`_ .
|
|
768
|
+
: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>`_ .
|
|
767
769
|
: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>`_ .
|
|
768
|
-
: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>`_ . 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.
|
|
770
|
+
: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.
|
|
769
771
|
:param rotation_rules: A structure that defines the rotation configuration for this secret.
|
|
770
772
|
'''
|
|
771
773
|
if __debug__:
|
|
@@ -944,6 +946,8 @@ class CfnRotationSchedule(
|
|
|
944
946
|
|
|
945
947
|
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>`_ .
|
|
946
948
|
|
|
949
|
+
For Amazon Redshift admin user credentials, see `AWS::Redshift::Cluster <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html>`_ .
|
|
950
|
+
|
|
947
951
|
:param rotation_type: The rotation template to base the rotation function on, one of the following:. - ``Db2SingleUser`` to use the template `SecretsManagerRDSDb2RotationSingleUser <https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html#sar-template-db2-singleuser>`_ . - ``Db2MultiUser`` to use the template `SecretsManagerRDSDb2RotationMultiUser <https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html#sar-template-db2-multiuser>`_ . - ``MySQLSingleUser`` to use the template `SecretsManagerRDSMySQLRotationSingleUser <https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html#sar-template-mysql-singleuser>`_ . - ``MySQLMultiUser`` to use the template `SecretsManagerRDSMySQLRotationMultiUser <https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html#sar-template-mysql-multiuser>`_ . - ``PostgreSQLSingleUser`` to use the template `SecretsManagerRDSPostgreSQLRotationSingleUser <https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html#sar-template-postgre-singleuser>`_ - ``PostgreSQLMultiUser`` to use the template `SecretsManagerRDSPostgreSQLRotationMultiUser <https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html#sar-template-postgre-multiuser>`_ . - ``OracleSingleUser`` to use the template `SecretsManagerRDSOracleRotationSingleUser <https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html#sar-template-oracle-singleuser>`_ . - ``OracleMultiUser`` to use the template `SecretsManagerRDSOracleRotationMultiUser <https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html#sar-template-oracle-multiuser>`_ . - ``MariaDBSingleUser`` to use the template `SecretsManagerRDSMariaDBRotationSingleUser <https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html#sar-template-mariadb-singleuser>`_ . - ``MariaDBMultiUser`` to use the template `SecretsManagerRDSMariaDBRotationMultiUser <https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html#sar-template-mariadb-multiuser>`_ . - ``SQLServerSingleUser`` to use the template `SecretsManagerRDSSQLServerRotationSingleUser <https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html#sar-template-sqlserver-singleuser>`_ . - ``SQLServerMultiUser`` to use the template `SecretsManagerRDSSQLServerRotationMultiUser <https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html#sar-template-sqlserver-multiuser>`_ . - ``RedshiftSingleUser`` to use the template `SecretsManagerRedshiftRotationSingleUsr <https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html#sar-template-redshift-singleuser>`_ . - ``RedshiftMultiUser`` to use the template `SecretsManagerRedshiftRotationMultiUser <https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html#sar-template-redshift-multiuser>`_ . - ``MongoDBSingleUser`` to use the template `SecretsManagerMongoDBRotationSingleUser <https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html#sar-template-mongodb-singleuser>`_ . - ``MongoDBMultiUser`` to use the template `SecretsManagerMongoDBRotationMultiUser <https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html#sar-template-mongodb-multiuser>`_ .
|
|
948
952
|
:param exclude_characters: A string of the characters that you don't want in the password.
|
|
949
953
|
:param kms_key_arn: The ARN of the KMS key that Secrets Manager uses to encrypt the secret. If you don't specify this value, then Secrets Manager uses the key ``aws/secretsmanager`` . If ``aws/secretsmanager`` doesn't yet exist, then Secrets Manager creates it for you automatically the first time it encrypts the secret value.
|
|
@@ -1301,9 +1305,9 @@ class CfnRotationScheduleProps:
|
|
|
1301
1305
|
'''Properties for defining a ``CfnRotationSchedule``.
|
|
1302
1306
|
|
|
1303
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.
|
|
1304
|
-
: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>`_ .
|
|
1308
|
+
: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>`_ .
|
|
1305
1309
|
: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>`_ .
|
|
1306
|
-
: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>`_ . 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.
|
|
1310
|
+
: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.
|
|
1307
1311
|
:param rotation_rules: A structure that defines the rotation configuration for this secret.
|
|
1308
1312
|
|
|
1309
1313
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-rotationschedule.html
|
|
@@ -1382,6 +1386,8 @@ class CfnRotationScheduleProps:
|
|
|
1382
1386
|
|
|
1383
1387
|
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>`_ .
|
|
1384
1388
|
|
|
1389
|
+
For Amazon Redshift admin user credentials, see `AWS::Redshift::Cluster <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html>`_ .
|
|
1390
|
+
|
|
1385
1391
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-rotationschedule.html#cfn-secretsmanager-rotationschedule-hostedrotationlambda
|
|
1386
1392
|
'''
|
|
1387
1393
|
result = self._values.get("hosted_rotation_lambda")
|
|
@@ -1414,6 +1420,8 @@ class CfnRotationScheduleProps:
|
|
|
1414
1420
|
|
|
1415
1421
|
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>`_ .
|
|
1416
1422
|
|
|
1423
|
+
For Amazon Redshift admin user credentials, see `AWS::Redshift::Cluster <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html>`_ .
|
|
1424
|
+
|
|
1417
1425
|
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.
|
|
1418
1426
|
|
|
1419
1427
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-rotationschedule.html#cfn-secretsmanager-rotationschedule-rotationlambdaarn
|
|
@@ -1456,9 +1464,9 @@ class CfnSecret(
|
|
|
1456
1464
|
|
|
1457
1465
|
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>`_ .
|
|
1458
1466
|
|
|
1459
|
-
|
|
1467
|
+
For Amazon Redshift admin user credentials, see `AWS::Redshift::Cluster <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html>`_ .
|
|
1460
1468
|
|
|
1461
|
-
|
|
1469
|
+
To retrieve a secret in a CloudFormation template, use a *dynamic reference* . For more information, see `Retrieve a secret in an AWS CloudFormation resource <https://docs.aws.amazon.com/secretsmanager/latest/userguide/cfn-example_reference-secret.html>`_ .
|
|
1462
1470
|
|
|
1463
1471
|
For information about creating a secret in the console, see `Create a secret <https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_create-basic-secret.html>`_ . For information about creating a secret using the CLI or SDK, see `CreateSecret <https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_CreateSecret.html>`_ .
|
|
1464
1472
|
|
|
@@ -2233,8 +2241,12 @@ class CfnSecretTargetAttachment(
|
|
|
2233
2241
|
|
|
2234
2242
|
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>`_ .
|
|
2235
2243
|
|
|
2244
|
+
When you remove a ``SecretTargetAttachment`` from a stack, Secrets Manager removes the database connection information from the secret with a ``PutSecretValue`` call.
|
|
2245
|
+
|
|
2236
2246
|
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>`_ .
|
|
2237
2247
|
|
|
2248
|
+
For Amazon Redshift admin user credentials, see `AWS::Redshift::Cluster <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html>`_ .
|
|
2249
|
+
|
|
2238
2250
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secrettargetattachment.html
|
|
2239
2251
|
:cloudformationResource: AWS::SecretsManager::SecretTargetAttachment
|
|
2240
2252
|
:exampleMetadata: fixture=_generated
|
|
@@ -2266,7 +2278,7 @@ class CfnSecretTargetAttachment(
|
|
|
2266
2278
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2267
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.
|
|
2268
2280
|
:param target_id: The ID of the database or cluster.
|
|
2269
|
-
: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::DocDB::DBInstance - AWS::DocDB::DBCluster
|
|
2281
|
+
: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
|
|
2270
2282
|
'''
|
|
2271
2283
|
if __debug__:
|
|
2272
2284
|
type_hints = typing.get_type_hints(_typecheckingstub__f27548ced74eb3d06a9cd3710e7d562d307b5a2c264476a3e685fcb94ccdee58)
|
|
@@ -2382,7 +2394,7 @@ class CfnSecretTargetAttachmentProps:
|
|
|
2382
2394
|
|
|
2383
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.
|
|
2384
2396
|
:param target_id: The ID of the database or cluster.
|
|
2385
|
-
: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::DocDB::DBInstance - AWS::DocDB::DBCluster
|
|
2397
|
+
: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
|
|
2386
2398
|
|
|
2387
2399
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secrettargetattachment.html
|
|
2388
2400
|
:exampleMetadata: fixture=_generated
|
|
@@ -2441,8 +2453,10 @@ class CfnSecretTargetAttachmentProps:
|
|
|
2441
2453
|
- AWS::RDS::DBInstance
|
|
2442
2454
|
- AWS::RDS::DBCluster
|
|
2443
2455
|
- AWS::Redshift::Cluster
|
|
2456
|
+
- AWS::RedshiftServerless::Namespace
|
|
2444
2457
|
- AWS::DocDB::DBInstance
|
|
2445
2458
|
- AWS::DocDB::DBCluster
|
|
2459
|
+
- AWS::DocDBElastic::Cluster
|
|
2446
2460
|
|
|
2447
2461
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secrettargetattachment.html#cfn-secretsmanager-secrettargetattachment-targettype
|
|
2448
2462
|
'''
|
|
@@ -563,10 +563,10 @@ class CfnAutomationRule(
|
|
|
563
563
|
finding_fields_update: typing.Union[_IResolvable_da3f097b, typing.Union["CfnAutomationRule.AutomationRulesFindingFieldsUpdateProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
564
564
|
type: builtins.str,
|
|
565
565
|
) -> None:
|
|
566
|
-
'''One or more actions
|
|
566
|
+
'''One or more actions that AWS Security Hub takes when a finding matches the defined criteria of a rule.
|
|
567
567
|
|
|
568
568
|
:param finding_fields_update: Specifies that the automation rule action is an update to a finding field.
|
|
569
|
-
:param type: Specifies
|
|
569
|
+
:param type: Specifies the type of action that Security Hub takes when a finding matches the defined criteria of a rule.
|
|
570
570
|
|
|
571
571
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrule-automationrulesaction.html
|
|
572
572
|
:exampleMetadata: fixture=_generated
|
|
@@ -632,9 +632,7 @@ class CfnAutomationRule(
|
|
|
632
632
|
|
|
633
633
|
@builtins.property
|
|
634
634
|
def type(self) -> builtins.str:
|
|
635
|
-
'''Specifies
|
|
636
|
-
|
|
637
|
-
The ``Types`` finding field classifies findings in the format of namespace/category/classifier. For more information, see `Types taxonomy for ASFF <https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-findings-format-type-taxonomy.html>`_ in the *AWS Security Hub User Guide* .
|
|
635
|
+
'''Specifies the type of action that Security Hub takes when a finding matches the defined criteria of a rule.
|
|
638
636
|
|
|
639
637
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrule-automationrulesaction.html#cfn-securityhub-automationrule-automationrulesaction-type
|
|
640
638
|
'''
|
|
@@ -970,7 +968,7 @@ class CfnAutomationRule(
|
|
|
970
968
|
:param related_findings_id: The product-generated identifier for a related finding. Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
|
971
969
|
:param related_findings_product_arn: The ARN for the product that generated a related finding. Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
|
972
970
|
:param resource_details_other: Custom fields and values about the resource that a finding pertains to. Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
|
973
|
-
:param resource_id: The identifier for the given resource type. For AWS resources that are identified by Amazon Resource Names (ARNs), this is the ARN. For AWS resources that lack ARNs, this is the identifier as defined by the AWS
|
|
971
|
+
:param resource_id: The identifier for the given resource type. For AWS resources that are identified by Amazon Resource Names (ARNs), this is the ARN. For AWS resources that lack ARNs, this is the identifier as defined by the AWS service that created the resource. For non- AWS resources, this is a unique identifier that is associated with the resource. Array Members: Minimum number of 1 item. Maximum number of 100 items.
|
|
974
972
|
:param resource_partition: The partition in which the resource that the finding pertains to is located. A partition is a group of AWS Regions . Each AWS account is scoped to one partition. Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
|
975
973
|
:param resource_region: The AWS Region where the resource that a finding pertains to is located. Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
|
976
974
|
:param resource_tags: A list of AWS tags associated with a resource at the time the finding was processed. Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
|
@@ -1602,7 +1600,7 @@ class CfnAutomationRule(
|
|
|
1602
1600
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAutomationRule.StringFilterProperty"]]]]:
|
|
1603
1601
|
'''The identifier for the given resource type.
|
|
1604
1602
|
|
|
1605
|
-
For AWS resources that are identified by Amazon Resource Names (ARNs), this is the ARN. For AWS resources that lack ARNs, this is the identifier as defined by the AWS
|
|
1603
|
+
For AWS resources that are identified by Amazon Resource Names (ARNs), this is the ARN. For AWS resources that lack ARNs, this is the identifier as defined by the AWS service that created the resource. For non- AWS resources, this is a unique identifier that is associated with the resource.
|
|
1606
1604
|
|
|
1607
1605
|
Array Members: Minimum number of 1 item. Maximum number of 100 items.
|
|
1608
1606
|
|
|
@@ -3463,7 +3461,7 @@ class CfnConfigurationPolicy(
|
|
|
3463
3461
|
|
|
3464
3462
|
It includes whether Security Hub is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If you provide a list of security controls that are enabled in the configuration policy, Security Hub disables all other controls (including newly released controls). If you provide a list of security controls that are disabled in the configuration policy, Security Hub enables all other controls (including newly released controls).
|
|
3465
3463
|
|
|
3466
|
-
:param security_hub: The AWS
|
|
3464
|
+
:param security_hub: The AWS service that the configuration policy applies to.
|
|
3467
3465
|
|
|
3468
3466
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-configurationpolicy-policy.html
|
|
3469
3467
|
:exampleMetadata: fixture=_generated
|
|
@@ -3516,7 +3514,7 @@ class CfnConfigurationPolicy(
|
|
|
3516
3514
|
def security_hub(
|
|
3517
3515
|
self,
|
|
3518
3516
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConfigurationPolicy.SecurityHubPolicyProperty"]]:
|
|
3519
|
-
'''The AWS
|
|
3517
|
+
'''The AWS service that the configuration policy applies to.
|
|
3520
3518
|
|
|
3521
3519
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-configurationpolicy-policy.html#cfn-securityhub-configurationpolicy-policy-securityhub
|
|
3522
3520
|
'''
|
|
@@ -5576,7 +5574,7 @@ class CfnInsight(
|
|
|
5576
5574
|
:param aws_account_name: The name of the AWS account in which a finding is generated.
|
|
5577
5575
|
:param company_name: The name of the findings provider (company) that owns the solution (product) that generates findings.
|
|
5578
5576
|
:param compliance_associated_standards_id: The unique identifier of a standard in which a control is enabled. This field consists of the resource portion of the Amazon Resource Name (ARN) returned for a standard in the `DescribeStandards <https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_DescribeStandards.html>`_ API response.
|
|
5579
|
-
:param compliance_security_control_id: The unique identifier of a control across standards. Values for this field typically consist of an AWS
|
|
5577
|
+
:param compliance_security_control_id: The unique identifier of a control across standards. Values for this field typically consist of an AWS service and a number, such as APIGateway.5.
|
|
5580
5578
|
:param compliance_security_control_parameters_name: The name of a security control parameter.
|
|
5581
5579
|
:param compliance_security_control_parameters_value: The current value of a security control parameter.
|
|
5582
5580
|
:param compliance_status: Exclusive to findings that are generated as the result of a check run against a specific rule in a supported standard, such as CIS AWS Foundations. Contains security standard-related finding details.
|
|
@@ -6523,7 +6521,7 @@ class CfnInsight(
|
|
|
6523
6521
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnInsight.StringFilterProperty"]]]]:
|
|
6524
6522
|
'''The unique identifier of a control across standards.
|
|
6525
6523
|
|
|
6526
|
-
Values for this field typically consist of an AWS
|
|
6524
|
+
Values for this field typically consist of an AWS service and a number, such as APIGateway.5.
|
|
6527
6525
|
|
|
6528
6526
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-insight-awssecurityfindingfilters.html#cfn-securityhub-insight-awssecurityfindingfilters-compliancesecuritycontrolid
|
|
6529
6527
|
'''
|
|
@@ -9687,7 +9685,19 @@ class CfnSecurityControl(
|
|
|
9687
9685
|
cfn_security_control = securityhub.CfnSecurityControl(self, "MyCfnSecurityControl",
|
|
9688
9686
|
parameters={
|
|
9689
9687
|
"parameters_key": securityhub.CfnSecurityControl.ParameterConfigurationProperty(
|
|
9690
|
-
value_type="valueType"
|
|
9688
|
+
value_type="valueType",
|
|
9689
|
+
|
|
9690
|
+
# the properties below are optional
|
|
9691
|
+
value=securityhub.CfnSecurityControl.ParameterValueProperty(
|
|
9692
|
+
boolean=False,
|
|
9693
|
+
double=123,
|
|
9694
|
+
enum="enum",
|
|
9695
|
+
enum_list=["enumList"],
|
|
9696
|
+
integer=123,
|
|
9697
|
+
integer_list=[123],
|
|
9698
|
+
string="string",
|
|
9699
|
+
string_list=["stringList"]
|
|
9700
|
+
)
|
|
9691
9701
|
)
|
|
9692
9702
|
},
|
|
9693
9703
|
|
|
@@ -9714,7 +9724,7 @@ class CfnSecurityControl(
|
|
|
9714
9724
|
:param parameters: An object that identifies the name of a control parameter, its current value, and whether it has been customized.
|
|
9715
9725
|
:param last_update_reason: The most recent reason for updating the customizable properties of a security control. This differs from the ``UpdateReason`` field of the ```BatchUpdateStandardsControlAssociations`` <https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_BatchUpdateStandardsControlAssociations.html>`_ API, which tracks the reason for updating the enablement status of a control. This field accepts alphanumeric characters in addition to white spaces, dashes, and underscores.
|
|
9716
9726
|
:param security_control_arn: The Amazon Resource Name (ARN) for a security control across standards, such as ``arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1`` . This parameter doesn't mention a specific standard.
|
|
9717
|
-
:param security_control_id: The unique identifier of a security control across standards. Values for this field typically consist of an AWS
|
|
9727
|
+
:param security_control_id: The unique identifier of a security control across standards. Values for this field typically consist of an AWS service name and a number, such as APIGateway.3.
|
|
9718
9728
|
'''
|
|
9719
9729
|
if __debug__:
|
|
9720
9730
|
type_hints = typing.get_type_hints(_typecheckingstub__726fa705fd558de76e132e75c55b8475c62b8dc48c449b5a702f64b1f4bff214)
|
|
@@ -9824,13 +9834,19 @@ class CfnSecurityControl(
|
|
|
9824
9834
|
@jsii.data_type(
|
|
9825
9835
|
jsii_type="aws-cdk-lib.aws_securityhub.CfnSecurityControl.ParameterConfigurationProperty",
|
|
9826
9836
|
jsii_struct_bases=[],
|
|
9827
|
-
name_mapping={"value_type": "valueType"},
|
|
9837
|
+
name_mapping={"value_type": "valueType", "value": "value"},
|
|
9828
9838
|
)
|
|
9829
9839
|
class ParameterConfigurationProperty:
|
|
9830
|
-
def __init__(
|
|
9840
|
+
def __init__(
|
|
9841
|
+
self,
|
|
9842
|
+
*,
|
|
9843
|
+
value_type: builtins.str,
|
|
9844
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSecurityControl.ParameterValueProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9845
|
+
) -> None:
|
|
9831
9846
|
'''An object that provides the current value of a security control parameter and identifies whether it has been customized.
|
|
9832
9847
|
|
|
9833
9848
|
:param value_type: Identifies whether a control parameter uses a custom user-defined value or subscribes to the default AWS Security Hub behavior. When ``ValueType`` is set equal to ``DEFAULT`` , the default behavior can be a specific Security Hub default value, or the default behavior can be to ignore a specific parameter. When ``ValueType`` is set equal to ``DEFAULT`` , Security Hub ignores user-provided input for the ``Value`` field. When ``ValueType`` is set equal to ``CUSTOM`` , the ``Value`` field can't be empty.
|
|
9849
|
+
:param value: The current value of a control parameter.
|
|
9834
9850
|
|
|
9835
9851
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-securitycontrol-parameterconfiguration.html
|
|
9836
9852
|
:exampleMetadata: fixture=_generated
|
|
@@ -9842,15 +9858,30 @@ class CfnSecurityControl(
|
|
|
9842
9858
|
from aws_cdk import aws_securityhub as securityhub
|
|
9843
9859
|
|
|
9844
9860
|
parameter_configuration_property = securityhub.CfnSecurityControl.ParameterConfigurationProperty(
|
|
9845
|
-
value_type="valueType"
|
|
9861
|
+
value_type="valueType",
|
|
9862
|
+
|
|
9863
|
+
# the properties below are optional
|
|
9864
|
+
value=securityhub.CfnSecurityControl.ParameterValueProperty(
|
|
9865
|
+
boolean=False,
|
|
9866
|
+
double=123,
|
|
9867
|
+
enum="enum",
|
|
9868
|
+
enum_list=["enumList"],
|
|
9869
|
+
integer=123,
|
|
9870
|
+
integer_list=[123],
|
|
9871
|
+
string="string",
|
|
9872
|
+
string_list=["stringList"]
|
|
9873
|
+
)
|
|
9846
9874
|
)
|
|
9847
9875
|
'''
|
|
9848
9876
|
if __debug__:
|
|
9849
9877
|
type_hints = typing.get_type_hints(_typecheckingstub__b4f8a75fb36fae6899e2291977edacf36a70ed147a49bd553150965029bec549)
|
|
9850
9878
|
check_type(argname="argument value_type", value=value_type, expected_type=type_hints["value_type"])
|
|
9879
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9851
9880
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
9852
9881
|
"value_type": value_type,
|
|
9853
9882
|
}
|
|
9883
|
+
if value is not None:
|
|
9884
|
+
self._values["value"] = value
|
|
9854
9885
|
|
|
9855
9886
|
@builtins.property
|
|
9856
9887
|
def value_type(self) -> builtins.str:
|
|
@@ -9866,6 +9897,17 @@ class CfnSecurityControl(
|
|
|
9866
9897
|
assert result is not None, "Required property 'value_type' is missing"
|
|
9867
9898
|
return typing.cast(builtins.str, result)
|
|
9868
9899
|
|
|
9900
|
+
@builtins.property
|
|
9901
|
+
def value(
|
|
9902
|
+
self,
|
|
9903
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSecurityControl.ParameterValueProperty"]]:
|
|
9904
|
+
'''The current value of a control parameter.
|
|
9905
|
+
|
|
9906
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-securitycontrol-parameterconfiguration.html#cfn-securityhub-securitycontrol-parameterconfiguration-value
|
|
9907
|
+
'''
|
|
9908
|
+
result = self._values.get("value")
|
|
9909
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSecurityControl.ParameterValueProperty"]], result)
|
|
9910
|
+
|
|
9869
9911
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
9870
9912
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
9871
9913
|
|
|
@@ -9877,6 +9919,179 @@ class CfnSecurityControl(
|
|
|
9877
9919
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
9878
9920
|
)
|
|
9879
9921
|
|
|
9922
|
+
@jsii.data_type(
|
|
9923
|
+
jsii_type="aws-cdk-lib.aws_securityhub.CfnSecurityControl.ParameterValueProperty",
|
|
9924
|
+
jsii_struct_bases=[],
|
|
9925
|
+
name_mapping={
|
|
9926
|
+
"boolean": "boolean",
|
|
9927
|
+
"double": "double",
|
|
9928
|
+
"enum": "enum",
|
|
9929
|
+
"enum_list": "enumList",
|
|
9930
|
+
"integer": "integer",
|
|
9931
|
+
"integer_list": "integerList",
|
|
9932
|
+
"string": "string",
|
|
9933
|
+
"string_list": "stringList",
|
|
9934
|
+
},
|
|
9935
|
+
)
|
|
9936
|
+
class ParameterValueProperty:
|
|
9937
|
+
def __init__(
|
|
9938
|
+
self,
|
|
9939
|
+
*,
|
|
9940
|
+
boolean: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
9941
|
+
double: typing.Optional[jsii.Number] = None,
|
|
9942
|
+
enum: typing.Optional[builtins.str] = None,
|
|
9943
|
+
enum_list: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
9944
|
+
integer: typing.Optional[jsii.Number] = None,
|
|
9945
|
+
integer_list: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[jsii.Number]]] = None,
|
|
9946
|
+
string: typing.Optional[builtins.str] = None,
|
|
9947
|
+
string_list: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
9948
|
+
) -> None:
|
|
9949
|
+
'''An object that includes the data type of a security control parameter and its current value.
|
|
9950
|
+
|
|
9951
|
+
:param boolean: A control parameter that is a boolean.
|
|
9952
|
+
:param double: A control parameter that is a double.
|
|
9953
|
+
:param enum: A control parameter that is an enum.
|
|
9954
|
+
:param enum_list: A control parameter that is a list of enums.
|
|
9955
|
+
:param integer: A control parameter that is an integer.
|
|
9956
|
+
:param integer_list: A control parameter that is a list of integers.
|
|
9957
|
+
:param string: A control parameter that is a string.
|
|
9958
|
+
:param string_list: A control parameter that is a list of strings.
|
|
9959
|
+
|
|
9960
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-securitycontrol-parametervalue.html
|
|
9961
|
+
:exampleMetadata: fixture=_generated
|
|
9962
|
+
|
|
9963
|
+
Example::
|
|
9964
|
+
|
|
9965
|
+
# The code below shows an example of how to instantiate this type.
|
|
9966
|
+
# The values are placeholders you should change.
|
|
9967
|
+
from aws_cdk import aws_securityhub as securityhub
|
|
9968
|
+
|
|
9969
|
+
parameter_value_property = securityhub.CfnSecurityControl.ParameterValueProperty(
|
|
9970
|
+
boolean=False,
|
|
9971
|
+
double=123,
|
|
9972
|
+
enum="enum",
|
|
9973
|
+
enum_list=["enumList"],
|
|
9974
|
+
integer=123,
|
|
9975
|
+
integer_list=[123],
|
|
9976
|
+
string="string",
|
|
9977
|
+
string_list=["stringList"]
|
|
9978
|
+
)
|
|
9979
|
+
'''
|
|
9980
|
+
if __debug__:
|
|
9981
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0cc6352822613fffa320be35bf75f34228be34d529ce2169c19a447dce31c967)
|
|
9982
|
+
check_type(argname="argument boolean", value=boolean, expected_type=type_hints["boolean"])
|
|
9983
|
+
check_type(argname="argument double", value=double, expected_type=type_hints["double"])
|
|
9984
|
+
check_type(argname="argument enum", value=enum, expected_type=type_hints["enum"])
|
|
9985
|
+
check_type(argname="argument enum_list", value=enum_list, expected_type=type_hints["enum_list"])
|
|
9986
|
+
check_type(argname="argument integer", value=integer, expected_type=type_hints["integer"])
|
|
9987
|
+
check_type(argname="argument integer_list", value=integer_list, expected_type=type_hints["integer_list"])
|
|
9988
|
+
check_type(argname="argument string", value=string, expected_type=type_hints["string"])
|
|
9989
|
+
check_type(argname="argument string_list", value=string_list, expected_type=type_hints["string_list"])
|
|
9990
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
9991
|
+
if boolean is not None:
|
|
9992
|
+
self._values["boolean"] = boolean
|
|
9993
|
+
if double is not None:
|
|
9994
|
+
self._values["double"] = double
|
|
9995
|
+
if enum is not None:
|
|
9996
|
+
self._values["enum"] = enum
|
|
9997
|
+
if enum_list is not None:
|
|
9998
|
+
self._values["enum_list"] = enum_list
|
|
9999
|
+
if integer is not None:
|
|
10000
|
+
self._values["integer"] = integer
|
|
10001
|
+
if integer_list is not None:
|
|
10002
|
+
self._values["integer_list"] = integer_list
|
|
10003
|
+
if string is not None:
|
|
10004
|
+
self._values["string"] = string
|
|
10005
|
+
if string_list is not None:
|
|
10006
|
+
self._values["string_list"] = string_list
|
|
10007
|
+
|
|
10008
|
+
@builtins.property
|
|
10009
|
+
def boolean(
|
|
10010
|
+
self,
|
|
10011
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
10012
|
+
'''A control parameter that is a boolean.
|
|
10013
|
+
|
|
10014
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-securitycontrol-parametervalue.html#cfn-securityhub-securitycontrol-parametervalue-boolean
|
|
10015
|
+
'''
|
|
10016
|
+
result = self._values.get("boolean")
|
|
10017
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
10018
|
+
|
|
10019
|
+
@builtins.property
|
|
10020
|
+
def double(self) -> typing.Optional[jsii.Number]:
|
|
10021
|
+
'''A control parameter that is a double.
|
|
10022
|
+
|
|
10023
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-securitycontrol-parametervalue.html#cfn-securityhub-securitycontrol-parametervalue-double
|
|
10024
|
+
'''
|
|
10025
|
+
result = self._values.get("double")
|
|
10026
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
10027
|
+
|
|
10028
|
+
@builtins.property
|
|
10029
|
+
def enum(self) -> typing.Optional[builtins.str]:
|
|
10030
|
+
'''A control parameter that is an enum.
|
|
10031
|
+
|
|
10032
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-securitycontrol-parametervalue.html#cfn-securityhub-securitycontrol-parametervalue-enum
|
|
10033
|
+
'''
|
|
10034
|
+
result = self._values.get("enum")
|
|
10035
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
10036
|
+
|
|
10037
|
+
@builtins.property
|
|
10038
|
+
def enum_list(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
10039
|
+
'''A control parameter that is a list of enums.
|
|
10040
|
+
|
|
10041
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-securitycontrol-parametervalue.html#cfn-securityhub-securitycontrol-parametervalue-enumlist
|
|
10042
|
+
'''
|
|
10043
|
+
result = self._values.get("enum_list")
|
|
10044
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
10045
|
+
|
|
10046
|
+
@builtins.property
|
|
10047
|
+
def integer(self) -> typing.Optional[jsii.Number]:
|
|
10048
|
+
'''A control parameter that is an integer.
|
|
10049
|
+
|
|
10050
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-securitycontrol-parametervalue.html#cfn-securityhub-securitycontrol-parametervalue-integer
|
|
10051
|
+
'''
|
|
10052
|
+
result = self._values.get("integer")
|
|
10053
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
10054
|
+
|
|
10055
|
+
@builtins.property
|
|
10056
|
+
def integer_list(
|
|
10057
|
+
self,
|
|
10058
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[jsii.Number]]]:
|
|
10059
|
+
'''A control parameter that is a list of integers.
|
|
10060
|
+
|
|
10061
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-securitycontrol-parametervalue.html#cfn-securityhub-securitycontrol-parametervalue-integerlist
|
|
10062
|
+
'''
|
|
10063
|
+
result = self._values.get("integer_list")
|
|
10064
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[jsii.Number]]], result)
|
|
10065
|
+
|
|
10066
|
+
@builtins.property
|
|
10067
|
+
def string(self) -> typing.Optional[builtins.str]:
|
|
10068
|
+
'''A control parameter that is a string.
|
|
10069
|
+
|
|
10070
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-securitycontrol-parametervalue.html#cfn-securityhub-securitycontrol-parametervalue-string
|
|
10071
|
+
'''
|
|
10072
|
+
result = self._values.get("string")
|
|
10073
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
10074
|
+
|
|
10075
|
+
@builtins.property
|
|
10076
|
+
def string_list(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
10077
|
+
'''A control parameter that is a list of strings.
|
|
10078
|
+
|
|
10079
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-securitycontrol-parametervalue.html#cfn-securityhub-securitycontrol-parametervalue-stringlist
|
|
10080
|
+
'''
|
|
10081
|
+
result = self._values.get("string_list")
|
|
10082
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
10083
|
+
|
|
10084
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
10085
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
10086
|
+
|
|
10087
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
10088
|
+
return not (rhs == self)
|
|
10089
|
+
|
|
10090
|
+
def __repr__(self) -> str:
|
|
10091
|
+
return "ParameterValueProperty(%s)" % ", ".join(
|
|
10092
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
10093
|
+
)
|
|
10094
|
+
|
|
9880
10095
|
|
|
9881
10096
|
@jsii.data_type(
|
|
9882
10097
|
jsii_type="aws-cdk-lib.aws_securityhub.CfnSecurityControlProps",
|
|
@@ -9902,7 +10117,7 @@ class CfnSecurityControlProps:
|
|
|
9902
10117
|
:param parameters: An object that identifies the name of a control parameter, its current value, and whether it has been customized.
|
|
9903
10118
|
:param last_update_reason: The most recent reason for updating the customizable properties of a security control. This differs from the ``UpdateReason`` field of the ```BatchUpdateStandardsControlAssociations`` <https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_BatchUpdateStandardsControlAssociations.html>`_ API, which tracks the reason for updating the enablement status of a control. This field accepts alphanumeric characters in addition to white spaces, dashes, and underscores.
|
|
9904
10119
|
:param security_control_arn: The Amazon Resource Name (ARN) for a security control across standards, such as ``arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1`` . This parameter doesn't mention a specific standard.
|
|
9905
|
-
:param security_control_id: The unique identifier of a security control across standards. Values for this field typically consist of an AWS
|
|
10120
|
+
:param security_control_id: The unique identifier of a security control across standards. Values for this field typically consist of an AWS service name and a number, such as APIGateway.3.
|
|
9906
10121
|
|
|
9907
10122
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-securitycontrol.html
|
|
9908
10123
|
:exampleMetadata: fixture=_generated
|
|
@@ -9916,7 +10131,19 @@ class CfnSecurityControlProps:
|
|
|
9916
10131
|
cfn_security_control_props = securityhub.CfnSecurityControlProps(
|
|
9917
10132
|
parameters={
|
|
9918
10133
|
"parameters_key": securityhub.CfnSecurityControl.ParameterConfigurationProperty(
|
|
9919
|
-
value_type="valueType"
|
|
10134
|
+
value_type="valueType",
|
|
10135
|
+
|
|
10136
|
+
# the properties below are optional
|
|
10137
|
+
value=securityhub.CfnSecurityControl.ParameterValueProperty(
|
|
10138
|
+
boolean=False,
|
|
10139
|
+
double=123,
|
|
10140
|
+
enum="enum",
|
|
10141
|
+
enum_list=["enumList"],
|
|
10142
|
+
integer=123,
|
|
10143
|
+
integer_list=[123],
|
|
10144
|
+
string="string",
|
|
10145
|
+
string_list=["stringList"]
|
|
10146
|
+
)
|
|
9920
10147
|
)
|
|
9921
10148
|
},
|
|
9922
10149
|
|
|
@@ -9978,7 +10205,7 @@ class CfnSecurityControlProps:
|
|
|
9978
10205
|
def security_control_id(self) -> typing.Optional[builtins.str]:
|
|
9979
10206
|
'''The unique identifier of a security control across standards.
|
|
9980
10207
|
|
|
9981
|
-
Values for this field typically consist of an AWS
|
|
10208
|
+
Values for this field typically consist of an AWS service name and a number, such as APIGateway.3.
|
|
9982
10209
|
|
|
9983
10210
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-securitycontrol.html#cfn-securityhub-securitycontrol-securitycontrolid
|
|
9984
10211
|
'''
|
|
@@ -11215,6 +11442,21 @@ def _typecheckingstub__ff55fd11201a4a7c92e4e58e9fa5bcdb6762a8ac0310ada761c3b9015
|
|
|
11215
11442
|
def _typecheckingstub__b4f8a75fb36fae6899e2291977edacf36a70ed147a49bd553150965029bec549(
|
|
11216
11443
|
*,
|
|
11217
11444
|
value_type: builtins.str,
|
|
11445
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSecurityControl.ParameterValueProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11446
|
+
) -> None:
|
|
11447
|
+
"""Type checking stubs"""
|
|
11448
|
+
pass
|
|
11449
|
+
|
|
11450
|
+
def _typecheckingstub__0cc6352822613fffa320be35bf75f34228be34d529ce2169c19a447dce31c967(
|
|
11451
|
+
*,
|
|
11452
|
+
boolean: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
11453
|
+
double: typing.Optional[jsii.Number] = None,
|
|
11454
|
+
enum: typing.Optional[builtins.str] = None,
|
|
11455
|
+
enum_list: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
11456
|
+
integer: typing.Optional[jsii.Number] = None,
|
|
11457
|
+
integer_list: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[jsii.Number]]] = None,
|
|
11458
|
+
string: typing.Optional[builtins.str] = None,
|
|
11459
|
+
string_list: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
11218
11460
|
) -> None:
|
|
11219
11461
|
"""Type checking stubs"""
|
|
11220
11462
|
pass
|