aws-cdk-lib 2.161.0__py3-none-any.whl → 2.162.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.
Files changed (45) hide show
  1. aws_cdk/__init__.py +64 -10
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.161.0.jsii.tgz → aws-cdk-lib@2.162.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2/__init__.py +16 -7
  5. aws_cdk/aws_apigatewayv2_authorizers/__init__.py +94 -0
  6. aws_cdk/aws_appsync/__init__.py +35 -0
  7. aws_cdk/aws_b2bi/__init__.py +18 -21
  8. aws_cdk/aws_cloudformation/__init__.py +59 -5
  9. aws_cdk/aws_cloudfront/__init__.py +4 -4
  10. aws_cdk/aws_codebuild/__init__.py +6 -6
  11. aws_cdk/aws_codepipeline/__init__.py +1 -1
  12. aws_cdk/aws_codepipeline_actions/__init__.py +1 -1
  13. aws_cdk/aws_dynamodb/__init__.py +1 -1
  14. aws_cdk/aws_ec2/__init__.py +13 -3
  15. aws_cdk/aws_ecs/__init__.py +122 -29
  16. aws_cdk/aws_eks/__init__.py +62 -51
  17. aws_cdk/aws_elasticloadbalancingv2/__init__.py +139 -25
  18. aws_cdk/aws_emr/__init__.py +2182 -2129
  19. aws_cdk/aws_glue/__init__.py +9 -6
  20. aws_cdk/aws_iam/__init__.py +26 -4
  21. aws_cdk/aws_iot/__init__.py +190 -0
  22. aws_cdk/aws_iotsitewise/__init__.py +3 -1
  23. aws_cdk/aws_lambda/__init__.py +7 -1
  24. aws_cdk/aws_lambda_event_sources/__init__.py +2 -2
  25. aws_cdk/aws_logs/__init__.py +6 -6
  26. aws_cdk/aws_quicksight/__init__.py +32 -19
  27. aws_cdk/aws_rds/__init__.py +62 -30
  28. aws_cdk/aws_route53/__init__.py +5 -1
  29. aws_cdk/aws_route53resolver/__init__.py +17 -3
  30. aws_cdk/aws_s3/__init__.py +47 -25
  31. aws_cdk/aws_s3_assets/__init__.py +2 -2
  32. aws_cdk/aws_s3_notifications/__init__.py +1 -1
  33. aws_cdk/aws_servicecatalog/__init__.py +2 -2
  34. aws_cdk/aws_servicediscovery/__init__.py +8 -8
  35. aws_cdk/aws_sqs/__init__.py +12 -10
  36. aws_cdk/aws_stepfunctions_tasks/__init__.py +20 -20
  37. aws_cdk/cloudformation_include/__init__.py +4 -4
  38. aws_cdk/custom_resources/__init__.py +1 -1
  39. aws_cdk/pipelines/__init__.py +1 -1
  40. {aws_cdk_lib-2.161.0.dist-info → aws_cdk_lib-2.162.0.dist-info}/METADATA +4 -4
  41. {aws_cdk_lib-2.161.0.dist-info → aws_cdk_lib-2.162.0.dist-info}/RECORD +45 -45
  42. {aws_cdk_lib-2.161.0.dist-info → aws_cdk_lib-2.162.0.dist-info}/LICENSE +0 -0
  43. {aws_cdk_lib-2.161.0.dist-info → aws_cdk_lib-2.162.0.dist-info}/NOTICE +0 -0
  44. {aws_cdk_lib-2.161.0.dist-info → aws_cdk_lib-2.162.0.dist-info}/WHEEL +0 -0
  45. {aws_cdk_lib-2.161.0.dist-info → aws_cdk_lib-2.162.0.dist-info}/top_level.txt +0 -0
@@ -147422,7 +147422,7 @@ class CfnFolder(
147422
147422
  metaclass=jsii.JSIIMeta,
147423
147423
  jsii_type="aws-cdk-lib.aws_quicksight.CfnFolder",
147424
147424
  ):
147425
- '''Definition of the AWS::QuickSight::Folder Resource Type.
147425
+ '''Creates an empty shared folder.
147426
147426
 
147427
147427
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-folder.html
147428
147428
  :cloudformationResource: AWS::QuickSight::Folder
@@ -147470,12 +147470,12 @@ class CfnFolder(
147470
147470
  :param scope: Scope in which this resource is defined.
147471
147471
  :param id: Construct identifier for this resource (unique in its scope).
147472
147472
  :param aws_account_id:
147473
- :param folder_id:
147474
- :param folder_type:
147475
- :param name:
147476
- :param parent_folder_arn:
147473
+ :param folder_id: The ID of the folder.
147474
+ :param folder_type: The type of folder it is.
147475
+ :param name: A display name for the folder.
147476
+ :param parent_folder_arn: The Amazon Resource Name (ARN) for the folder.
147477
147477
  :param permissions:
147478
- :param sharing_model:
147478
+ :param sharing_model: The sharing scope of the folder.
147479
147479
  :param tags:
147480
147480
  '''
147481
147481
  if __debug__:
@@ -147528,7 +147528,8 @@ class CfnFolder(
147528
147528
  @builtins.property
147529
147529
  @jsii.member(jsii_name="attrArn")
147530
147530
  def attr_arn(self) -> builtins.str:
147531
- '''
147531
+ '''The Amazon Resource Name (ARN) for the folder.
147532
+
147532
147533
  :cloudformationAttribute: Arn
147533
147534
  '''
147534
147535
  return typing.cast(builtins.str, jsii.get(self, "attrArn"))
@@ -147536,7 +147537,8 @@ class CfnFolder(
147536
147537
  @builtins.property
147537
147538
  @jsii.member(jsii_name="attrCreatedTime")
147538
147539
  def attr_created_time(self) -> builtins.str:
147539
- '''
147540
+ '''The time that the folder was created.
147541
+
147540
147542
  :cloudformationAttribute: CreatedTime
147541
147543
  '''
147542
147544
  return typing.cast(builtins.str, jsii.get(self, "attrCreatedTime"))
@@ -147544,7 +147546,8 @@ class CfnFolder(
147544
147546
  @builtins.property
147545
147547
  @jsii.member(jsii_name="attrLastUpdatedTime")
147546
147548
  def attr_last_updated_time(self) -> builtins.str:
147547
- '''
147549
+ '''The time that the folder was last updated.
147550
+
147548
147551
  :cloudformationAttribute: LastUpdatedTime
147549
147552
  '''
147550
147553
  return typing.cast(builtins.str, jsii.get(self, "attrLastUpdatedTime"))
@@ -147575,6 +147578,7 @@ class CfnFolder(
147575
147578
  @builtins.property
147576
147579
  @jsii.member(jsii_name="folderId")
147577
147580
  def folder_id(self) -> typing.Optional[builtins.str]:
147581
+ '''The ID of the folder.'''
147578
147582
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "folderId"))
147579
147583
 
147580
147584
  @folder_id.setter
@@ -147587,6 +147591,7 @@ class CfnFolder(
147587
147591
  @builtins.property
147588
147592
  @jsii.member(jsii_name="folderType")
147589
147593
  def folder_type(self) -> typing.Optional[builtins.str]:
147594
+ '''The type of folder it is.'''
147590
147595
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "folderType"))
147591
147596
 
147592
147597
  @folder_type.setter
@@ -147599,6 +147604,7 @@ class CfnFolder(
147599
147604
  @builtins.property
147600
147605
  @jsii.member(jsii_name="name")
147601
147606
  def name(self) -> typing.Optional[builtins.str]:
147607
+ '''A display name for the folder.'''
147602
147608
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "name"))
147603
147609
 
147604
147610
  @name.setter
@@ -147611,6 +147617,7 @@ class CfnFolder(
147611
147617
  @builtins.property
147612
147618
  @jsii.member(jsii_name="parentFolderArn")
147613
147619
  def parent_folder_arn(self) -> typing.Optional[builtins.str]:
147620
+ '''The Amazon Resource Name (ARN) for the folder.'''
147614
147621
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "parentFolderArn"))
147615
147622
 
147616
147623
  @parent_folder_arn.setter
@@ -147640,6 +147647,7 @@ class CfnFolder(
147640
147647
  @builtins.property
147641
147648
  @jsii.member(jsii_name="sharingModel")
147642
147649
  def sharing_model(self) -> typing.Optional[builtins.str]:
147650
+ '''The sharing scope of the folder.'''
147643
147651
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "sharingModel"))
147644
147652
 
147645
147653
  @sharing_model.setter
@@ -147763,12 +147771,12 @@ class CfnFolderProps:
147763
147771
  '''Properties for defining a ``CfnFolder``.
147764
147772
 
147765
147773
  :param aws_account_id:
147766
- :param folder_id:
147767
- :param folder_type:
147768
- :param name:
147769
- :param parent_folder_arn:
147774
+ :param folder_id: The ID of the folder.
147775
+ :param folder_type: The type of folder it is.
147776
+ :param name: A display name for the folder.
147777
+ :param parent_folder_arn: The Amazon Resource Name (ARN) for the folder.
147770
147778
  :param permissions:
147771
- :param sharing_model:
147779
+ :param sharing_model: The sharing scope of the folder.
147772
147780
  :param tags:
147773
147781
 
147774
147782
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-folder.html
@@ -147835,7 +147843,8 @@ class CfnFolderProps:
147835
147843
 
147836
147844
  @builtins.property
147837
147845
  def folder_id(self) -> typing.Optional[builtins.str]:
147838
- '''
147846
+ '''The ID of the folder.
147847
+
147839
147848
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-folder.html#cfn-quicksight-folder-folderid
147840
147849
  '''
147841
147850
  result = self._values.get("folder_id")
@@ -147843,7 +147852,8 @@ class CfnFolderProps:
147843
147852
 
147844
147853
  @builtins.property
147845
147854
  def folder_type(self) -> typing.Optional[builtins.str]:
147846
- '''
147855
+ '''The type of folder it is.
147856
+
147847
147857
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-folder.html#cfn-quicksight-folder-foldertype
147848
147858
  '''
147849
147859
  result = self._values.get("folder_type")
@@ -147851,7 +147861,8 @@ class CfnFolderProps:
147851
147861
 
147852
147862
  @builtins.property
147853
147863
  def name(self) -> typing.Optional[builtins.str]:
147854
- '''
147864
+ '''A display name for the folder.
147865
+
147855
147866
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-folder.html#cfn-quicksight-folder-name
147856
147867
  '''
147857
147868
  result = self._values.get("name")
@@ -147859,7 +147870,8 @@ class CfnFolderProps:
147859
147870
 
147860
147871
  @builtins.property
147861
147872
  def parent_folder_arn(self) -> typing.Optional[builtins.str]:
147862
- '''
147873
+ '''The Amazon Resource Name (ARN) for the folder.
147874
+
147863
147875
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-folder.html#cfn-quicksight-folder-parentfolderarn
147864
147876
  '''
147865
147877
  result = self._values.get("parent_folder_arn")
@@ -147877,7 +147889,8 @@ class CfnFolderProps:
147877
147889
 
147878
147890
  @builtins.property
147879
147891
  def sharing_model(self) -> typing.Optional[builtins.str]:
147880
- '''
147892
+ '''The sharing scope of the folder.
147893
+
147881
147894
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-folder.html#cfn-quicksight-folder-sharingmodel
147882
147895
  '''
147883
147896
  result = self._values.get("sharing_model")
@@ -1418,6 +1418,7 @@ The following example shows granting Data API access to a Lamba function.
1418
1418
  ```python
1419
1419
  # vpc: ec2.Vpc
1420
1420
  # fn: lambda.Function
1421
+ # secret: secretsmanager.Secret
1421
1422
 
1422
1423
 
1423
1424
  # Create a serverless V1 cluster
@@ -1435,6 +1436,14 @@ cluster = rds.DatabaseCluster(self, "Cluster",
1435
1436
  enable_data_api=True
1436
1437
  )
1437
1438
  cluster.grant_data_api_access(fn)
1439
+
1440
+ # Import an Aurora cluster
1441
+ imported_cluster = rds.DatabaseCluster.from_database_cluster_attributes(self, "ImportedCluster",
1442
+ cluster_identifier="clusterIdentifier",
1443
+ secret=secret,
1444
+ data_api_enabled=True
1445
+ )
1446
+ imported_cluster.grant_data_api_access(fn)
1438
1447
  ```
1439
1448
 
1440
1449
  **Note**: To invoke the Data API, the resource will need to read the secret associated with the cluster.
@@ -8495,7 +8504,7 @@ class CfnDBInstance(
8495
8504
  :param db_name: The meaning of this parameter differs according to the database engine you use. .. epigraph:: If you specify the ``[DBSnapshotIdentifier](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-dbsnapshotidentifier)`` property, this property only applies to RDS for Oracle. *Amazon Aurora* Not applicable. The database name is managed by the DB cluster. *Db2* The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance. Constraints: - Must contain 1 to 64 letters or numbers. - Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9). - Can't be a word reserved by the specified database engine. *MySQL* The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Constraints: - Must contain 1 to 64 letters or numbers. - Can't be a word reserved by the specified database engine *MariaDB* The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Constraints: - Must contain 1 to 64 letters or numbers. - Can't be a word reserved by the specified database engine *PostgreSQL* The name of the database to create when the DB instance is created. If this parameter is not specified, the default ``postgres`` database is created in the DB instance. Constraints: - Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9). - Must contain 1 to 63 characters. - Can't be a word reserved by the specified database engine *Oracle* The Oracle System ID (SID) of the created DB instance. If you specify ``null`` , the default value ``ORCL`` is used. You can't specify the string NULL, or any other reserved word, for ``DBName`` . Default: ``ORCL`` Constraints: - Can't be longer than 8 characters *SQL Server* Not applicable. Must be null.
8496
8505
  :param db_parameter_group_name: The name of an existing DB parameter group or a reference to an `AWS::RDS::DBParameterGroup <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbparametergroup.html>`_ resource created in the template. To list all of the available DB parameter group names, use the following command: ``aws rds describe-db-parameter-groups --query "DBParameterGroups[].DBParameterGroupName" --output text`` .. epigraph:: If any of the data members of the referenced parameter group are changed during an update, the DB instance might need to be restarted, which causes some interruption. If the parameter group contains static parameters, whether they were changed or not, an update triggers a reboot. If you don't specify a value for ``DBParameterGroupName`` property, the default DB parameter group for the specified engine and engine version is used.
8497
8506
  :param db_security_groups: A list of the DB security groups to assign to the DB instance. The list can include both the name of existing DB security groups or references to AWS::RDS::DBSecurityGroup resources created in the template. If you set DBSecurityGroups, you must not set VPCSecurityGroups, and vice versa. Also, note that the DBSecurityGroups property exists only for backwards compatibility with older regions and is no longer recommended for providing security information to an RDS DB instance. Instead, use VPCSecurityGroups. .. epigraph:: If you specify this property, AWS CloudFormation sends only the following properties (if specified) to Amazon RDS during create operations: - ``AllocatedStorage`` - ``AutoMinorVersionUpgrade`` - ``AvailabilityZone`` - ``BackupRetentionPeriod`` - ``CharacterSetName`` - ``DBInstanceClass`` - ``DBName`` - ``DBParameterGroupName`` - ``DBSecurityGroups`` - ``DBSubnetGroupName`` - ``Engine`` - ``EngineVersion`` - ``Iops`` - ``LicenseModel`` - ``MasterUsername`` - ``MasterUserPassword`` - ``MultiAZ`` - ``OptionGroupName`` - ``PreferredBackupWindow`` - ``PreferredMaintenanceWindow`` All other properties are ignored. Specify a virtual private cloud (VPC) security group if you want to submit other properties, such as ``StorageType`` , ``StorageEncrypted`` , or ``KmsKeyId`` . If you're already using the ``DBSecurityGroups`` property, you can't use these other properties by updating your DB instance to use a VPC security group. You must recreate the DB instance.
8498
- :param db_snapshot_identifier: The name or Amazon Resource Name (ARN) of the DB snapshot that's used to restore the DB instance. If you're restoring from a shared manual DB snapshot, you must specify the ARN of the snapshot. By specifying this property, you can create a DB instance from the specified DB snapshot. If the ``DBSnapshotIdentifier`` property is an empty string or the ``AWS::RDS::DBInstance`` declaration has no ``DBSnapshotIdentifier`` property, AWS CloudFormation creates a new database. If the property contains a value (other than an empty string), AWS CloudFormation creates a database from the specified snapshot. If a snapshot with the specified name doesn't exist, AWS CloudFormation can't create the database and it rolls back the stack. Some DB instance properties aren't valid when you restore from a snapshot, such as the ``MasterUsername`` and ``MasterUserPassword`` properties. For information about the properties that you can specify, see the ``RestoreDBInstanceFromDBSnapshot`` action in the *Amazon RDS API Reference* . After you restore a DB instance with a ``DBSnapshotIdentifier`` property, you must specify the same ``DBSnapshotIdentifier`` property for any future updates to the DB instance. When you specify this property for an update, the DB instance is not restored from the DB snapshot again, and the data in the database is not changed. However, if you don't specify the ``DBSnapshotIdentifier`` property, an empty DB instance is created, and the original DB instance is deleted. If you specify a property that is different from the previous snapshot restore property, a new DB instance is restored from the specified ``DBSnapshotIdentifier`` property, and the original DB instance is deleted. If you specify the ``DBSnapshotIdentifier`` property to restore a DB instance (as opposed to specifying it for DB instance updates), then don't specify the following properties: - ``CharacterSetName`` - ``DBClusterIdentifier`` - ``DBName`` - ``DeleteAutomatedBackups`` - ``KmsKeyId`` - ``MasterUsername`` - ``MasterUserPassword`` - ``PerformanceInsightsKMSKeyId`` - ``PerformanceInsightsRetentionPeriod`` - ``PromotionTier`` - ``SourceDBInstanceIdentifier`` - ``SourceRegion`` - ``StorageEncrypted`` (for an encrypted snapshot) - ``Timezone`` *Amazon Aurora* Not applicable. Snapshot restore is managed by the DB cluster.
8507
+ :param db_snapshot_identifier: The name or Amazon Resource Name (ARN) of the DB snapshot that's used to restore the DB instance. If you're restoring from a shared manual DB snapshot, you must specify the ARN of the snapshot. By specifying this property, you can create a DB instance from the specified DB snapshot. If the ``DBSnapshotIdentifier`` property is an empty string or the ``AWS::RDS::DBInstance`` declaration has no ``DBSnapshotIdentifier`` property, AWS CloudFormation creates a new database. If the property contains a value (other than an empty string), AWS CloudFormation creates a database from the specified snapshot. If a snapshot with the specified name doesn't exist, AWS CloudFormation can't create the database and it rolls back the stack. Some DB instance properties aren't valid when you restore from a snapshot, such as the ``MasterUsername`` and ``MasterUserPassword`` properties. For information about the properties that you can specify, see the ``RestoreDBInstanceFromDBSnapshot`` action in the *Amazon RDS API Reference* . After you restore a DB instance with a ``DBSnapshotIdentifier`` property, you must specify the same ``DBSnapshotIdentifier`` property for any future updates to the DB instance. When you specify this property for an update, the DB instance is not restored from the DB snapshot again, and the data in the database is not changed. However, if you don't specify the ``DBSnapshotIdentifier`` property, an empty DB instance is created, and the original DB instance is deleted. If you specify a property that is different from the previous snapshot restore property, a new DB instance is restored from the specified ``DBSnapshotIdentifier`` property, and the original DB instance is deleted. If you specify the ``DBSnapshotIdentifier`` property to restore a DB instance (as opposed to specifying it for DB instance updates), then don't specify the following properties: - ``CharacterSetName`` - ``DBClusterIdentifier`` - ``DBName`` - ``KmsKeyId`` - ``MasterUsername`` - ``MasterUserPassword`` - ``PromotionTier`` - ``SourceDBInstanceIdentifier`` - ``SourceRegion`` - ``StorageEncrypted`` (for an unencrypted snapshot) - ``Timezone`` *Amazon Aurora* Not applicable. Snapshot restore is managed by the DB cluster.
8499
8508
  :param db_subnet_group_name: A DB subnet group to associate with the DB instance. If you update this value, the new subnet group must be a subnet group in a new VPC. If there's no DB subnet group, then the DB instance isn't a VPC DB instance. For more information about using Amazon RDS in a VPC, see `Amazon VPC and Amazon RDS <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.html>`_ in the *Amazon RDS User Guide* . This setting doesn't apply to Amazon Aurora DB instances. The DB subnet group is managed by the DB cluster. If specified, the setting must match the DB cluster setting.
8500
8509
  :param dedicated_log_volume: Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
8501
8510
  :param delete_automated_backups: A value that indicates whether to remove automated backups immediately after the DB instance is deleted. This parameter isn't case-sensitive. The default is to remove automated backups immediately after the DB instance is deleted. *Amazon Aurora* Not applicable. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the DB cluster are not deleted.
@@ -10522,7 +10531,7 @@ class CfnDBInstanceProps:
10522
10531
  :param db_name: The meaning of this parameter differs according to the database engine you use. .. epigraph:: If you specify the ``[DBSnapshotIdentifier](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-dbsnapshotidentifier)`` property, this property only applies to RDS for Oracle. *Amazon Aurora* Not applicable. The database name is managed by the DB cluster. *Db2* The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance. Constraints: - Must contain 1 to 64 letters or numbers. - Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9). - Can't be a word reserved by the specified database engine. *MySQL* The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Constraints: - Must contain 1 to 64 letters or numbers. - Can't be a word reserved by the specified database engine *MariaDB* The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Constraints: - Must contain 1 to 64 letters or numbers. - Can't be a word reserved by the specified database engine *PostgreSQL* The name of the database to create when the DB instance is created. If this parameter is not specified, the default ``postgres`` database is created in the DB instance. Constraints: - Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9). - Must contain 1 to 63 characters. - Can't be a word reserved by the specified database engine *Oracle* The Oracle System ID (SID) of the created DB instance. If you specify ``null`` , the default value ``ORCL`` is used. You can't specify the string NULL, or any other reserved word, for ``DBName`` . Default: ``ORCL`` Constraints: - Can't be longer than 8 characters *SQL Server* Not applicable. Must be null.
10523
10532
  :param db_parameter_group_name: The name of an existing DB parameter group or a reference to an `AWS::RDS::DBParameterGroup <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbparametergroup.html>`_ resource created in the template. To list all of the available DB parameter group names, use the following command: ``aws rds describe-db-parameter-groups --query "DBParameterGroups[].DBParameterGroupName" --output text`` .. epigraph:: If any of the data members of the referenced parameter group are changed during an update, the DB instance might need to be restarted, which causes some interruption. If the parameter group contains static parameters, whether they were changed or not, an update triggers a reboot. If you don't specify a value for ``DBParameterGroupName`` property, the default DB parameter group for the specified engine and engine version is used.
10524
10533
  :param db_security_groups: A list of the DB security groups to assign to the DB instance. The list can include both the name of existing DB security groups or references to AWS::RDS::DBSecurityGroup resources created in the template. If you set DBSecurityGroups, you must not set VPCSecurityGroups, and vice versa. Also, note that the DBSecurityGroups property exists only for backwards compatibility with older regions and is no longer recommended for providing security information to an RDS DB instance. Instead, use VPCSecurityGroups. .. epigraph:: If you specify this property, AWS CloudFormation sends only the following properties (if specified) to Amazon RDS during create operations: - ``AllocatedStorage`` - ``AutoMinorVersionUpgrade`` - ``AvailabilityZone`` - ``BackupRetentionPeriod`` - ``CharacterSetName`` - ``DBInstanceClass`` - ``DBName`` - ``DBParameterGroupName`` - ``DBSecurityGroups`` - ``DBSubnetGroupName`` - ``Engine`` - ``EngineVersion`` - ``Iops`` - ``LicenseModel`` - ``MasterUsername`` - ``MasterUserPassword`` - ``MultiAZ`` - ``OptionGroupName`` - ``PreferredBackupWindow`` - ``PreferredMaintenanceWindow`` All other properties are ignored. Specify a virtual private cloud (VPC) security group if you want to submit other properties, such as ``StorageType`` , ``StorageEncrypted`` , or ``KmsKeyId`` . If you're already using the ``DBSecurityGroups`` property, you can't use these other properties by updating your DB instance to use a VPC security group. You must recreate the DB instance.
10525
- :param db_snapshot_identifier: The name or Amazon Resource Name (ARN) of the DB snapshot that's used to restore the DB instance. If you're restoring from a shared manual DB snapshot, you must specify the ARN of the snapshot. By specifying this property, you can create a DB instance from the specified DB snapshot. If the ``DBSnapshotIdentifier`` property is an empty string or the ``AWS::RDS::DBInstance`` declaration has no ``DBSnapshotIdentifier`` property, AWS CloudFormation creates a new database. If the property contains a value (other than an empty string), AWS CloudFormation creates a database from the specified snapshot. If a snapshot with the specified name doesn't exist, AWS CloudFormation can't create the database and it rolls back the stack. Some DB instance properties aren't valid when you restore from a snapshot, such as the ``MasterUsername`` and ``MasterUserPassword`` properties. For information about the properties that you can specify, see the ``RestoreDBInstanceFromDBSnapshot`` action in the *Amazon RDS API Reference* . After you restore a DB instance with a ``DBSnapshotIdentifier`` property, you must specify the same ``DBSnapshotIdentifier`` property for any future updates to the DB instance. When you specify this property for an update, the DB instance is not restored from the DB snapshot again, and the data in the database is not changed. However, if you don't specify the ``DBSnapshotIdentifier`` property, an empty DB instance is created, and the original DB instance is deleted. If you specify a property that is different from the previous snapshot restore property, a new DB instance is restored from the specified ``DBSnapshotIdentifier`` property, and the original DB instance is deleted. If you specify the ``DBSnapshotIdentifier`` property to restore a DB instance (as opposed to specifying it for DB instance updates), then don't specify the following properties: - ``CharacterSetName`` - ``DBClusterIdentifier`` - ``DBName`` - ``DeleteAutomatedBackups`` - ``KmsKeyId`` - ``MasterUsername`` - ``MasterUserPassword`` - ``PerformanceInsightsKMSKeyId`` - ``PerformanceInsightsRetentionPeriod`` - ``PromotionTier`` - ``SourceDBInstanceIdentifier`` - ``SourceRegion`` - ``StorageEncrypted`` (for an encrypted snapshot) - ``Timezone`` *Amazon Aurora* Not applicable. Snapshot restore is managed by the DB cluster.
10534
+ :param db_snapshot_identifier: The name or Amazon Resource Name (ARN) of the DB snapshot that's used to restore the DB instance. If you're restoring from a shared manual DB snapshot, you must specify the ARN of the snapshot. By specifying this property, you can create a DB instance from the specified DB snapshot. If the ``DBSnapshotIdentifier`` property is an empty string or the ``AWS::RDS::DBInstance`` declaration has no ``DBSnapshotIdentifier`` property, AWS CloudFormation creates a new database. If the property contains a value (other than an empty string), AWS CloudFormation creates a database from the specified snapshot. If a snapshot with the specified name doesn't exist, AWS CloudFormation can't create the database and it rolls back the stack. Some DB instance properties aren't valid when you restore from a snapshot, such as the ``MasterUsername`` and ``MasterUserPassword`` properties. For information about the properties that you can specify, see the ``RestoreDBInstanceFromDBSnapshot`` action in the *Amazon RDS API Reference* . After you restore a DB instance with a ``DBSnapshotIdentifier`` property, you must specify the same ``DBSnapshotIdentifier`` property for any future updates to the DB instance. When you specify this property for an update, the DB instance is not restored from the DB snapshot again, and the data in the database is not changed. However, if you don't specify the ``DBSnapshotIdentifier`` property, an empty DB instance is created, and the original DB instance is deleted. If you specify a property that is different from the previous snapshot restore property, a new DB instance is restored from the specified ``DBSnapshotIdentifier`` property, and the original DB instance is deleted. If you specify the ``DBSnapshotIdentifier`` property to restore a DB instance (as opposed to specifying it for DB instance updates), then don't specify the following properties: - ``CharacterSetName`` - ``DBClusterIdentifier`` - ``DBName`` - ``KmsKeyId`` - ``MasterUsername`` - ``MasterUserPassword`` - ``PromotionTier`` - ``SourceDBInstanceIdentifier`` - ``SourceRegion`` - ``StorageEncrypted`` (for an unencrypted snapshot) - ``Timezone`` *Amazon Aurora* Not applicable. Snapshot restore is managed by the DB cluster.
10526
10535
  :param db_subnet_group_name: A DB subnet group to associate with the DB instance. If you update this value, the new subnet group must be a subnet group in a new VPC. If there's no DB subnet group, then the DB instance isn't a VPC DB instance. For more information about using Amazon RDS in a VPC, see `Amazon VPC and Amazon RDS <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.html>`_ in the *Amazon RDS User Guide* . This setting doesn't apply to Amazon Aurora DB instances. The DB subnet group is managed by the DB cluster. If specified, the setting must match the DB cluster setting.
10527
10536
  :param dedicated_log_volume: Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
10528
10537
  :param delete_automated_backups: A value that indicates whether to remove automated backups immediately after the DB instance is deleted. This parameter isn't case-sensitive. The default is to remove automated backups immediately after the DB instance is deleted. *Amazon Aurora* Not applicable. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the DB cluster are not deleted.
@@ -11394,16 +11403,13 @@ class CfnDBInstanceProps:
11394
11403
  - ``CharacterSetName``
11395
11404
  - ``DBClusterIdentifier``
11396
11405
  - ``DBName``
11397
- - ``DeleteAutomatedBackups``
11398
11406
  - ``KmsKeyId``
11399
11407
  - ``MasterUsername``
11400
11408
  - ``MasterUserPassword``
11401
- - ``PerformanceInsightsKMSKeyId``
11402
- - ``PerformanceInsightsRetentionPeriod``
11403
11409
  - ``PromotionTier``
11404
11410
  - ``SourceDBInstanceIdentifier``
11405
11411
  - ``SourceRegion``
11406
- - ``StorageEncrypted`` (for an encrypted snapshot)
11412
+ - ``StorageEncrypted`` (for an unencrypted snapshot)
11407
11413
  - ``Timezone``
11408
11414
 
11409
11415
  *Amazon Aurora*
@@ -16063,7 +16069,7 @@ class CfnGlobalCluster(
16063
16069
  :param global_cluster_identifier: The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.
16064
16070
  :param source_db_cluster_identifier: The Amazon Resource Name (ARN) to use as the primary cluster of the global database. If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster: - ``DatabaseName`` - ``Engine`` - ``EngineVersion`` - ``StorageEncrypted``
16065
16071
  :param storage_encrypted: Specifies whether to enable storage encryption for the new global database cluster. Constraints: - Can't be specified if ``SourceDBClusterIdentifier`` is specified. In this case, Amazon Aurora uses the setting from the source DB cluster.
16066
- :param tags: An array of key-value pairs to apply to this resource.
16072
+ :param tags: Metadata assigned to an Amazon RDS resource consisting of a key-value pair. For more information, see `Tagging Amazon RDS resources <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html>`_ in the *Amazon RDS User Guide* or `Tagging Amazon Aurora and Amazon RDS resources <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html>`_ in the *Amazon Aurora User Guide* .
16067
16073
  '''
16068
16074
  if __debug__:
16069
16075
  type_hints = typing.get_type_hints(_typecheckingstub__1611fa62b935d4f304c9fd8befd7c639fa3cc4898c7c6d9f86feb2d669b72e80)
@@ -16230,7 +16236,7 @@ class CfnGlobalCluster(
16230
16236
  @builtins.property
16231
16237
  @jsii.member(jsii_name="tags")
16232
16238
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
16233
- '''An array of key-value pairs to apply to this resource.'''
16239
+ '''Metadata assigned to an Amazon RDS resource consisting of a key-value pair.'''
16234
16240
  return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
16235
16241
 
16236
16242
  @tags.setter
@@ -16277,7 +16283,7 @@ class CfnGlobalClusterProps:
16277
16283
  :param global_cluster_identifier: The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.
16278
16284
  :param source_db_cluster_identifier: The Amazon Resource Name (ARN) to use as the primary cluster of the global database. If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster: - ``DatabaseName`` - ``Engine`` - ``EngineVersion`` - ``StorageEncrypted``
16279
16285
  :param storage_encrypted: Specifies whether to enable storage encryption for the new global database cluster. Constraints: - Can't be specified if ``SourceDBClusterIdentifier`` is specified. In this case, Amazon Aurora uses the setting from the source DB cluster.
16280
- :param tags: An array of key-value pairs to apply to this resource.
16286
+ :param tags: Metadata assigned to an Amazon RDS resource consisting of a key-value pair. For more information, see `Tagging Amazon RDS resources <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html>`_ in the *Amazon RDS User Guide* or `Tagging Amazon Aurora and Amazon RDS resources <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html>`_ in the *Amazon Aurora User Guide* .
16281
16287
 
16282
16288
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-globalcluster.html
16283
16289
  :exampleMetadata: fixture=_generated
@@ -16436,7 +16442,9 @@ class CfnGlobalClusterProps:
16436
16442
 
16437
16443
  @builtins.property
16438
16444
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
16439
- '''An array of key-value pairs to apply to this resource.
16445
+ '''Metadata assigned to an Amazon RDS resource consisting of a key-value pair.
16446
+
16447
+ For more information, see `Tagging Amazon RDS resources <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html>`_ in the *Amazon RDS User Guide* or `Tagging Amazon Aurora and Amazon RDS resources <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html>`_ in the *Amazon Aurora User Guide* .
16440
16448
 
16441
16449
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-globalcluster.html#cfn-rds-globalcluster-tags
16442
16450
  '''
@@ -19450,6 +19458,7 @@ class DBClusterStorageType(enum.Enum):
19450
19458
  "cluster_identifier": "clusterIdentifier",
19451
19459
  "cluster_endpoint_address": "clusterEndpointAddress",
19452
19460
  "cluster_resource_identifier": "clusterResourceIdentifier",
19461
+ "data_api_enabled": "dataApiEnabled",
19453
19462
  "engine": "engine",
19454
19463
  "instance_endpoint_addresses": "instanceEndpointAddresses",
19455
19464
  "instance_identifiers": "instanceIdentifiers",
@@ -19466,6 +19475,7 @@ class DatabaseClusterAttributes:
19466
19475
  cluster_identifier: builtins.str,
19467
19476
  cluster_endpoint_address: typing.Optional[builtins.str] = None,
19468
19477
  cluster_resource_identifier: typing.Optional[builtins.str] = None,
19478
+ data_api_enabled: typing.Optional[builtins.bool] = None,
19469
19479
  engine: typing.Optional["IClusterEngine"] = None,
19470
19480
  instance_endpoint_addresses: typing.Optional[typing.Sequence[builtins.str]] = None,
19471
19481
  instance_identifiers: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -19479,6 +19489,7 @@ class DatabaseClusterAttributes:
19479
19489
  :param cluster_identifier: Identifier for the cluster.
19480
19490
  :param cluster_endpoint_address: Cluster endpoint address. Default: - no endpoint address
19481
19491
  :param cluster_resource_identifier: The immutable identifier for the cluster; for example: cluster-ABCD1234EFGH5678IJKL90MNOP. This AWS Region-unique identifier is used to grant access to the cluster. Default: none
19492
+ :param data_api_enabled: Whether the Data API for the cluster is enabled. Default: false
19482
19493
  :param engine: The engine of the existing Cluster. Default: - the imported Cluster's engine is unknown
19483
19494
  :param instance_endpoint_addresses: Endpoint addresses of individual instances. Default: - no instance endpoints
19484
19495
  :param instance_identifiers: Identifier for the instances. Default: - no instance identifiers
@@ -19487,40 +19498,45 @@ class DatabaseClusterAttributes:
19487
19498
  :param secret: The secret attached to the database cluster. Default: - the imported Cluster's secret is unknown
19488
19499
  :param security_groups: The security groups of the database cluster. Default: - no security groups
19489
19500
 
19490
- :exampleMetadata: fixture=_generated
19501
+ :exampleMetadata: infused
19491
19502
 
19492
19503
  Example::
19493
19504
 
19494
- # The code below shows an example of how to instantiate this type.
19495
- # The values are placeholders you should change.
19496
- from aws_cdk import aws_ec2 as ec2
19497
- from aws_cdk import aws_rds as rds
19498
- from aws_cdk import aws_secretsmanager as secretsmanager
19499
-
19500
- # cluster_engine: rds.IClusterEngine
19505
+ # vpc: ec2.Vpc
19506
+ # fn: lambda.Function
19501
19507
  # secret: secretsmanager.Secret
19502
- # security_group: ec2.SecurityGroup
19503
19508
 
19504
- database_cluster_attributes = rds.DatabaseClusterAttributes(
19505
- cluster_identifier="clusterIdentifier",
19506
19509
 
19507
- # the properties below are optional
19508
- cluster_endpoint_address="clusterEndpointAddress",
19509
- cluster_resource_identifier="clusterResourceIdentifier",
19510
- engine=cluster_engine,
19511
- instance_endpoint_addresses=["instanceEndpointAddresses"],
19512
- instance_identifiers=["instanceIdentifiers"],
19513
- port=123,
19514
- reader_endpoint_address="readerEndpointAddress",
19510
+ # Create a serverless V1 cluster
19511
+ serverless_v1_cluster = rds.ServerlessCluster(self, "AnotherCluster",
19512
+ engine=rds.DatabaseClusterEngine.AURORA_MYSQL,
19513
+ vpc=vpc, # this parameter is optional for serverless Clusters
19514
+ enable_data_api=True
19515
+ )
19516
+ serverless_v1_cluster.grant_data_api_access(fn)
19517
+
19518
+ # Create an Aurora cluster
19519
+ cluster = rds.DatabaseCluster(self, "Cluster",
19520
+ engine=rds.DatabaseClusterEngine.AURORA_MYSQL,
19521
+ vpc=vpc,
19522
+ enable_data_api=True
19523
+ )
19524
+ cluster.grant_data_api_access(fn)
19525
+
19526
+ # Import an Aurora cluster
19527
+ imported_cluster = rds.DatabaseCluster.from_database_cluster_attributes(self, "ImportedCluster",
19528
+ cluster_identifier="clusterIdentifier",
19515
19529
  secret=secret,
19516
- security_groups=[security_group]
19530
+ data_api_enabled=True
19517
19531
  )
19532
+ imported_cluster.grant_data_api_access(fn)
19518
19533
  '''
19519
19534
  if __debug__:
19520
19535
  type_hints = typing.get_type_hints(_typecheckingstub__ed300072ed57a352a09d26b0a71ae628bf48c46f003dddeb880d02b1b85a68bc)
19521
19536
  check_type(argname="argument cluster_identifier", value=cluster_identifier, expected_type=type_hints["cluster_identifier"])
19522
19537
  check_type(argname="argument cluster_endpoint_address", value=cluster_endpoint_address, expected_type=type_hints["cluster_endpoint_address"])
19523
19538
  check_type(argname="argument cluster_resource_identifier", value=cluster_resource_identifier, expected_type=type_hints["cluster_resource_identifier"])
19539
+ check_type(argname="argument data_api_enabled", value=data_api_enabled, expected_type=type_hints["data_api_enabled"])
19524
19540
  check_type(argname="argument engine", value=engine, expected_type=type_hints["engine"])
19525
19541
  check_type(argname="argument instance_endpoint_addresses", value=instance_endpoint_addresses, expected_type=type_hints["instance_endpoint_addresses"])
19526
19542
  check_type(argname="argument instance_identifiers", value=instance_identifiers, expected_type=type_hints["instance_identifiers"])
@@ -19535,6 +19551,8 @@ class DatabaseClusterAttributes:
19535
19551
  self._values["cluster_endpoint_address"] = cluster_endpoint_address
19536
19552
  if cluster_resource_identifier is not None:
19537
19553
  self._values["cluster_resource_identifier"] = cluster_resource_identifier
19554
+ if data_api_enabled is not None:
19555
+ self._values["data_api_enabled"] = data_api_enabled
19538
19556
  if engine is not None:
19539
19557
  self._values["engine"] = engine
19540
19558
  if instance_endpoint_addresses is not None:
@@ -19577,6 +19595,15 @@ class DatabaseClusterAttributes:
19577
19595
  result = self._values.get("cluster_resource_identifier")
19578
19596
  return typing.cast(typing.Optional[builtins.str], result)
19579
19597
 
19598
+ @builtins.property
19599
+ def data_api_enabled(self) -> typing.Optional[builtins.bool]:
19600
+ '''Whether the Data API for the cluster is enabled.
19601
+
19602
+ :default: false
19603
+ '''
19604
+ result = self._values.get("data_api_enabled")
19605
+ return typing.cast(typing.Optional[builtins.bool], result)
19606
+
19580
19607
  @builtins.property
19581
19608
  def engine(self) -> typing.Optional["IClusterEngine"]:
19582
19609
  '''The engine of the existing Cluster.
@@ -43746,6 +43773,7 @@ class DatabaseCluster(
43746
43773
  cluster_identifier: builtins.str,
43747
43774
  cluster_endpoint_address: typing.Optional[builtins.str] = None,
43748
43775
  cluster_resource_identifier: typing.Optional[builtins.str] = None,
43776
+ data_api_enabled: typing.Optional[builtins.bool] = None,
43749
43777
  engine: typing.Optional[IClusterEngine] = None,
43750
43778
  instance_endpoint_addresses: typing.Optional[typing.Sequence[builtins.str]] = None,
43751
43779
  instance_identifiers: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -43761,6 +43789,7 @@ class DatabaseCluster(
43761
43789
  :param cluster_identifier: Identifier for the cluster.
43762
43790
  :param cluster_endpoint_address: Cluster endpoint address. Default: - no endpoint address
43763
43791
  :param cluster_resource_identifier: The immutable identifier for the cluster; for example: cluster-ABCD1234EFGH5678IJKL90MNOP. This AWS Region-unique identifier is used to grant access to the cluster. Default: none
43792
+ :param data_api_enabled: Whether the Data API for the cluster is enabled. Default: false
43764
43793
  :param engine: The engine of the existing Cluster. Default: - the imported Cluster's engine is unknown
43765
43794
  :param instance_endpoint_addresses: Endpoint addresses of individual instances. Default: - no instance endpoints
43766
43795
  :param instance_identifiers: Identifier for the instances. Default: - no instance identifiers
@@ -43777,6 +43806,7 @@ class DatabaseCluster(
43777
43806
  cluster_identifier=cluster_identifier,
43778
43807
  cluster_endpoint_address=cluster_endpoint_address,
43779
43808
  cluster_resource_identifier=cluster_resource_identifier,
43809
+ data_api_enabled=data_api_enabled,
43780
43810
  engine=engine,
43781
43811
  instance_endpoint_addresses=instance_endpoint_addresses,
43782
43812
  instance_identifiers=instance_identifiers,
@@ -47186,6 +47216,7 @@ def _typecheckingstub__ed300072ed57a352a09d26b0a71ae628bf48c46f003dddeb880d02b1b
47186
47216
  cluster_identifier: builtins.str,
47187
47217
  cluster_endpoint_address: typing.Optional[builtins.str] = None,
47188
47218
  cluster_resource_identifier: typing.Optional[builtins.str] = None,
47219
+ data_api_enabled: typing.Optional[builtins.bool] = None,
47189
47220
  engine: typing.Optional[IClusterEngine] = None,
47190
47221
  instance_endpoint_addresses: typing.Optional[typing.Sequence[builtins.str]] = None,
47191
47222
  instance_identifiers: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -48989,6 +49020,7 @@ def _typecheckingstub__d7cb0d9ec8799a7f25049acfbf2838c0699426663debfac03fac47054
48989
49020
  cluster_identifier: builtins.str,
48990
49021
  cluster_endpoint_address: typing.Optional[builtins.str] = None,
48991
49022
  cluster_resource_identifier: typing.Optional[builtins.str] = None,
49023
+ data_api_enabled: typing.Optional[builtins.bool] = None,
48992
49024
  engine: typing.Optional[IClusterEngine] = None,
48993
49025
  instance_endpoint_addresses: typing.Optional[typing.Sequence[builtins.str]] = None,
48994
49026
  instance_identifiers: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -106,11 +106,14 @@ route53.ARecord(self, "ARecord",
106
106
 
107
107
  To create an A record of type alias with target set to another record created outside CDK:
108
108
 
109
- ### This function registers the given input i.e. DNS Name(string) of an existing record as an AliasTarget to the new ARecord. To register a target that is created as part of CDK use this instead https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_route53_targets-readme.html
109
+ This function registers the given input i.e. DNS Name(string) of an existing record as an AliasTarget to the new ARecord. To register a target that is created as part of CDK use this instead.
110
+
111
+ Detailed information can be found in the [documentation](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_route53_targets-readme.html).
110
112
 
111
113
  ```python
112
114
  # my_zone: route53.HostedZone
113
115
 
116
+
114
117
  target_record = "existing.record.cdk.local"
115
118
  record = route53.ARecord.from_aRecord_attributes(self, "A",
116
119
  zone=my_zone,
@@ -10240,6 +10243,7 @@ class ARecordAttrs(RecordSetOptions):
10240
10243
 
10241
10244
  # my_zone: route53.HostedZone
10242
10245
 
10246
+
10243
10247
  target_record = "existing.record.cdk.local"
10244
10248
  record = route53.ARecord.from_aRecord_attributes(self, "A",
10245
10249
  zone=my_zone,
@@ -3650,7 +3650,7 @@ class CfnResolverRule(
3650
3650
  :param ip: One IPv4 address that you want to forward DNS queries to.
3651
3651
  :param ipv6: One IPv6 address that you want to forward DNS queries to.
3652
3652
  :param port: The port at ``Ip`` that you want to forward DNS queries to.
3653
- :param protocol: The protocols for the target address. The protocol you choose needs to be supported by the outbound endpoint of the Resolver rule.
3653
+ :param protocol: The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only. For an inbound endpoint you can apply the protocols as follows: - Do53 and DoH in combination. - Do53 and DoH-FIPS in combination. - Do53 alone. - DoH alone. - DoH-FIPS alone. - None, which is treated as Do53. For an outbound endpoint you can apply the protocols as follows: - Do53 and DoH in combination. - Do53 alone. - DoH alone. - None, which is treated as Do53.
3654
3654
 
3655
3655
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-resolverrule-targetaddress.html
3656
3656
  :exampleMetadata: fixture=_generated
@@ -3713,9 +3713,23 @@ class CfnResolverRule(
3713
3713
 
3714
3714
  @builtins.property
3715
3715
  def protocol(self) -> typing.Optional[builtins.str]:
3716
- '''The protocols for the target address.
3716
+ '''The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only.
3717
3717
 
3718
- The protocol you choose needs to be supported by the outbound endpoint of the Resolver rule.
3718
+ For an inbound endpoint you can apply the protocols as follows:
3719
+
3720
+ - Do53 and DoH in combination.
3721
+ - Do53 and DoH-FIPS in combination.
3722
+ - Do53 alone.
3723
+ - DoH alone.
3724
+ - DoH-FIPS alone.
3725
+ - None, which is treated as Do53.
3726
+
3727
+ For an outbound endpoint you can apply the protocols as follows:
3728
+
3729
+ - Do53 and DoH in combination.
3730
+ - Do53 alone.
3731
+ - DoH alone.
3732
+ - None, which is treated as Do53.
3719
3733
 
3720
3734
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-resolverrule-targetaddress.html#cfn-route53resolver-resolverrule-targetaddress-protocol
3721
3735
  '''