@aws-solutions-constructs/aws-route53-apigateway 2.24.0 → 2.26.0

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.
package/.jsii CHANGED
@@ -8,8 +8,8 @@
8
8
  "url": "https://aws.amazon.com"
9
9
  },
10
10
  "dependencies": {
11
- "@aws-solutions-constructs/core": "2.24.0",
12
- "aws-cdk-lib": "^2.37.1",
11
+ "@aws-solutions-constructs/core": "2.26.0",
12
+ "aws-cdk-lib": "^2.45.0",
13
13
  "constructs": "^10.0.0"
14
14
  },
15
15
  "dependencyClosure": {
@@ -755,6 +755,32 @@
755
755
  }
756
756
  }
757
757
  },
758
+ "aws-cdk-lib.aws_connectcampaigns": {
759
+ "targets": {
760
+ "dotnet": {
761
+ "namespace": "Amazon.CDK.AWS.ConnectCampaigns"
762
+ },
763
+ "java": {
764
+ "package": "software.amazon.awscdk.services.connectcampaigns"
765
+ },
766
+ "python": {
767
+ "module": "aws_cdk.aws_connectcampaigns"
768
+ }
769
+ }
770
+ },
771
+ "aws-cdk-lib.aws_controltower": {
772
+ "targets": {
773
+ "dotnet": {
774
+ "namespace": "Amazon.CDK.AWS.ControlTower"
775
+ },
776
+ "java": {
777
+ "package": "software.amazon.awscdk.services.controltower"
778
+ },
779
+ "python": {
780
+ "module": "aws_cdk.aws_controltower"
781
+ }
782
+ }
783
+ },
758
784
  "aws-cdk-lib.aws_cur": {
759
785
  "targets": {
760
786
  "dotnet": {
@@ -1522,6 +1548,19 @@
1522
1548
  }
1523
1549
  }
1524
1550
  },
1551
+ "aws-cdk-lib.aws_iotfleetwise": {
1552
+ "targets": {
1553
+ "dotnet": {
1554
+ "namespace": "Amazon.CDK.AWS.IoTFleetWise"
1555
+ },
1556
+ "java": {
1557
+ "package": "software.amazon.awscdk.services.iotfleetwise"
1558
+ },
1559
+ "python": {
1560
+ "module": "aws_cdk.aws_iotfleetwise"
1561
+ }
1562
+ }
1563
+ },
1525
1564
  "aws-cdk-lib.aws_iotsitewise": {
1526
1565
  "targets": {
1527
1566
  "dotnet": {
@@ -1873,6 +1912,19 @@
1873
1912
  }
1874
1913
  }
1875
1914
  },
1915
+ "aws-cdk-lib.aws_m2": {
1916
+ "targets": {
1917
+ "dotnet": {
1918
+ "namespace": "Amazon.CDK.AWS.M2"
1919
+ },
1920
+ "java": {
1921
+ "package": "software.amazon.awscdk.services.m2"
1922
+ },
1923
+ "python": {
1924
+ "module": "aws_cdk.aws_m2"
1925
+ }
1926
+ }
1927
+ },
1876
1928
  "aws-cdk-lib.aws_macie": {
1877
1929
  "targets": {
1878
1930
  "dotnet": {
@@ -2302,6 +2354,19 @@
2302
2354
  }
2303
2355
  }
2304
2356
  },
2357
+ "aws-cdk-lib.aws_rolesanywhere": {
2358
+ "targets": {
2359
+ "dotnet": {
2360
+ "namespace": "Amazon.CDK.AWS.RolesAnywhere"
2361
+ },
2362
+ "java": {
2363
+ "package": "software.amazon.awscdk.services.rolesanywhere"
2364
+ },
2365
+ "python": {
2366
+ "module": "aws_cdk.aws_rolesanywhere"
2367
+ }
2368
+ }
2369
+ },
2305
2370
  "aws-cdk-lib.aws_route53": {
2306
2371
  "targets": {
2307
2372
  "dotnet": {
@@ -2731,6 +2796,19 @@
2731
2796
  }
2732
2797
  }
2733
2798
  },
2799
+ "aws-cdk-lib.aws_supportapp": {
2800
+ "targets": {
2801
+ "dotnet": {
2802
+ "namespace": "Amazon.CDK.AWS.SupportApp"
2803
+ },
2804
+ "java": {
2805
+ "package": "software.amazon.awscdk.services.supportapp"
2806
+ },
2807
+ "python": {
2808
+ "module": "aws_cdk.aws_supportapp"
2809
+ }
2810
+ }
2811
+ },
2734
2812
  "aws-cdk-lib.aws_synthetics": {
2735
2813
  "targets": {
2736
2814
  "dotnet": {
@@ -3046,7 +3124,7 @@
3046
3124
  },
3047
3125
  "description": "CDK constructs for connecting an Amazon Route53 domain to an API Gateway.",
3048
3126
  "homepage": "https://github.com/awslabs/aws-solutions-constructs.git",
3049
- "jsiiVersion": "1.67.0 (build 2c027f5)",
3127
+ "jsiiVersion": "1.69.0 (build f656c31)",
3050
3128
  "keywords": [
3051
3129
  "aws",
3052
3130
  "cdk",
@@ -3065,7 +3143,7 @@
3065
3143
  },
3066
3144
  "name": "@aws-solutions-constructs/aws-route53-apigateway",
3067
3145
  "readme": {
3068
- "markdown": "# aws-route53-apigateway module\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![Stability: Experimental](https://img.shields.io/badge/stability-Experimental-important.svg?style=for-the-badge)\n\n> All classes are under active development and subject to non-backward compatible changes or removal in any\n> future version. These are not subject to the [Semantic Versioning](https://semver.org/) model.\n> This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.\n\n---\n<!--END STABILITY BANNER-->\n\n| **Reference Documentation**:| <span style=\"font-weight: normal\">https://docs.aws.amazon.com/solutions/latest/constructs/</span>|\n|:-------------|:-------------|\n<div style=\"height:8px\"></div>\n\n| **Language** | **Package** |\n|:-------------|-----------------|\n|![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`aws_solutions_constructs.aws_route53_apigateway`|\n|![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@aws-solutions-constructs/aws-route53-apigateway`|\n|![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java|`software.amazon.awsconstructs.services.route53apigateway`|\n\n## Overview\n\nThis AWS Solutions Construct implements an Amazon Route 53 connected to a configured Amazon API Gateway REST API.\n\nHere is a minimal deployable pattern definition:\n\nTypescript\n``` typescript\nimport { Construct } from 'constructs';\nimport { Stack, StackProps } from 'aws-cdk-lib';\nimport * as route53 from \"aws-cdk-lib/aws-route53\";\nimport * as acm from \"aws-cdk-lib/aws-certificatemanager\";\nimport { Route53ToApiGateway } from '@aws-solutions-constructs/aws-route53-apigateway';\n\n// The construct requires an existing REST API, this can be created in raw CDK or extracted\n// from a previously instantiated construct that created an API Gateway REST API\nconst existingRestApi = previouslyCreatedApigatewayToLambdaConstruct.apiGateway;\n\n// domainName must match existing hosted zone in your account and the existing certificate\nconst ourHostedZone = route53.HostedZone.fromLookup(this, 'HostedZone', {\n domainName: \"example.com\",\n});\n\nconst certificate = acm.Certificate.fromCertificateArn(\n this,\n \"fake-cert\",\n \"arn:aws:acm:us-east-1:123456789012:certificate/11112222-3333-1234-1234-123456789012\"\n);\n\n// This construct can only be attached to a configured API Gateway.\nnew Route53ToApiGateway(this, 'Route53ToApiGatewayPattern', {\n existingApiGatewayInterface: existingRestApi,\n existingHostedZoneInterface: ourHostedZone,\n publicApi: true,\n existingCertificateInterface: certificate\n});\n```\n\nPython\n```python\nfrom aws_solutions_constructs.aws_route53_apigateway import Route53ToApiGateway\nfrom aws_cdk import (\n aws_route53 as route53,\n aws_certificatemanager as acm,\n Stack\n)\nfrom constructs import Construct\n\n# The construct requires an existing REST API, this can be created in raw CDK or extracted\n# from a previously instantiated construct that created an API Gateway REST API\nexistingRestApi = previouslyCreatedApigatewayToLambdaConstruct.apiGateway\n\n# domain_name must match existing hosted zone in your account and the existing certificate\nourHostedZone = route53.HostedZone.from_lookup(self, 'HostedZone',\n domain_name=\"example.com\",\n )\n\n# Obtain a pre-existing certificate from your account\ncertificate = acm.Certificate.from_certificate_arn(\n self,\n 'existing-cert',\n \"arn:aws:acm:us-east-1:123456789012:certificate/11112222-3333-1234-1234-123456789012\"\n)\n\n# This construct can only be attached to a configured API Gateway.\nRoute53ToApiGateway(self, 'Route53ToApigatewayPattern',\n existing_api_gateway_interface=existingRestApi,\n existing_hosted_zone_interface=ourHostedZone,\n public_api=True,\n existing_certificate_interface=certificate\n )\n\n```\n\nJava\n``` java\nimport software.constructs.Construct;\n\nimport software.amazon.awscdk.Stack;\nimport software.amazon.awscdk.StackProps;\nimport software.amazon.awscdk.services.route53.*;\nimport software.amazon.awscdk.services.apigateway.*;\nimport software.amazon.awscdk.services.certificatemanager.*;\nimport software.amazon.awsconstructs.services.route53apigateway.*;\n\n// The construct requires an existing REST API, this can be created in raw CDK\n// or extracted from a previously instantiated construct that created an API\n// Gateway REST API\nfinal IRestApi existingRestApi = previouslyCreatedApigatewayToLambdaConstruct.getApiGateway();\n\n// domainName must match existing hosted zone in your account and the existing certificate\nfinal IHostedZone ourHostedZone = HostedZone.fromLookup(this, \"HostedZone\",\n new HostedZoneProviderProps.Builder()\n .domainName(\"example.com\")\n .build());\n\n// Obtain a pre-existing certificate from your account\nfinal ICertificate certificate = Certificate.fromCertificateArn(\n this,\n \"existing-cert\",\n \"arn:aws:acm:us-east-1:123456789012:certificate/11112222-3333-1234-1234-123456789012\");\n\n// This construct can only be attached to a configured API Gateway.\nnew Route53ToApiGateway(this, \"Route53ToApiGatewayPattern\",\n new Route53ToApiGatewayProps.Builder()\n .existingApiGatewayInterface(existingRestApi)\n .existingHostedZoneInterface(ourHostedZone)\n .publicApi(true)\n .existingCertificateInterface(certificate)\n .build());\n```\n\n## Pattern Construct Props\n\nThis construct cannot create a new Public Hosted Zone, if you are creating a public API you must supply an existing Public Hosted Zone that will be reconfigured with a new Alias record. Public Hosted Zones are configured with public domain names and are not well suited to be launched and torn down dynamically, so this construct will only reconfigure existing Public Hosted Zones.\n\nThis construct can create Private Hosted Zones. If you want a Private Hosted Zone, then you can either provide an existing Private Hosted Zone or a privateHostedZoneProps value with at least the Domain Name defined. If you are using privateHostedZoneProps, an existing wildcard certificate (*.example.com) must be issued from a previous domain to be used in the newly created Private Hosted Zone. New certificate creation and validation do not take place in this construct. A private Rest API already exists in a VPC, so that VPC must be provided in the existingVpc prop. There is no scenario where this construct can create a new VPC (since it can't create a new API), so the vpcProps property is not supported on this construct.\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n| publicApi | boolean | Whether the construct is deploying a private or public API. This has implications for the Hosted Zone and VPC. |\n| privateHostedZoneProps? | [route53.PrivateHostedZoneProps](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-route53.PrivateHostedZoneProps.html) | Optional custom properties for a new Private Hosted Zone. Cannot be specified for a public API. Cannot specify a VPC, it will use the VPC in existingVpc or the VPC created by the construct. Providing both this and existingHostedZoneInterface is an error. |\n| existingHostedZoneInterface? | [route53.IHostedZone](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-route53.IHostedZone.html) | Existing Public or Private Hosted Zone (type must match publicApi setting). Specifying both this and privateHostedZoneProps is an error. If this is a Private Hosted Zone, the associated VPC must be provided as the existingVpc property.|\n| existingVpc? | [ec2.IVpc](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-ec2.IVpc.html) | An existing VPC in which to deploy the construct.|\n|existingApiGatewayInterface|[api.IRestApi](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-apigateway.IRestApi.html)|The existing API Gateway instance that will be connected to the Route 53 hosted zone. *Note that Route 53 can only be connected to a configured API Gateway, so this construct only accepts an existing IRestApi and does not accept apiGatewayProps.*|\n| existingCertificateInterface |[certificatemanager.ICertificate](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-certificatemanager.ICertificate.html)| An existing AWS Certificate Manager certificate for your custom domain name.|\n\n## Pattern Properties\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n|hostedZone|[route53.IHostedZone](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-route53.IHostedZone.html)|The hosted zone used by the construct (whether created by the construct or provided by the client) |\n| vpc? | [ec2.IVpc](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-ec2.IVpc.html) | The VPC used by the construct. |\n|apiGateway|[api.RestApi](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-apigateway.RestApi.html)|Returns an instance of the API Gateway REST API created by the pattern.|\n|certificate|[certificatemanager.ICertificate](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-certificatemanager.ICertificate.html)| THe certificate used by the construct (whether create by the construct or provided by the client)\n\n## Default settings\nOut of the box implementation of the Construct without any override will set the following defaults:\n\n### Amazon Route53\n* Adds an ALIAS record to the new or provided Hosted Zone that routes to the construct's API Gateway\n\n### Amazon API Gateway\n* User provided API Gateway object is used as-is\n* Sets up custom domain name mapping to API\n\n## Architecture\n\n![Architecture Diagram](architecture.png)\n\n***\n&copy; Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n"
3146
+ "markdown": "# aws-route53-apigateway module\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![Stability: Experimental](https://img.shields.io/badge/stability-Experimental-important.svg?style=for-the-badge)\n\n> All classes are under active development and subject to non-backward compatible changes or removal in any\n> future version. These are not subject to the [Semantic Versioning](https://semver.org/) model.\n> This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.\n\n---\n<!--END STABILITY BANNER-->\n\n| **Reference Documentation**:| <span style=\"font-weight: normal\">https://docs.aws.amazon.com/solutions/latest/constructs/</span>|\n|:-------------|:-------------|\n<div style=\"height:8px\"></div>\n\n| **Language** | **Package** |\n|:-------------|-----------------|\n|![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`aws_solutions_constructs.aws_route53_apigateway`|\n|![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@aws-solutions-constructs/aws-route53-apigateway`|\n|![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java|`software.amazon.awsconstructs.services.route53apigateway`|\n\n## Overview\n\nThis AWS Solutions Construct implements an Amazon Route 53 connected to a configured Amazon API Gateway REST API.\n\nHere is a minimal deployable pattern definition:\n\nTypescript\n``` typescript\nimport { Construct } from 'constructs';\nimport { Stack, StackProps } from 'aws-cdk-lib';\nimport * as route53 from \"aws-cdk-lib/aws-route53\";\nimport * as acm from \"aws-cdk-lib/aws-certificatemanager\";\nimport { Route53ToApiGateway } from '@aws-solutions-constructs/aws-route53-apigateway';\n\n// The construct requires an existing REST API, this can be created in raw CDK or extracted\n// from a previously instantiated construct that created an API Gateway REST API\nconst existingRestApi = previouslyCreatedApigatewayToLambdaConstruct.apiGateway;\n\n// domainName must match existing hosted zone in your account and the existing certificate\nconst ourHostedZone = route53.HostedZone.fromLookup(this, 'HostedZone', {\n domainName: \"example.com\",\n});\n\nconst certificate = acm.Certificate.fromCertificateArn(\n this,\n \"fake-cert\",\n \"arn:aws:acm:us-east-1:123456789012:certificate/11112222-3333-1234-1234-123456789012\"\n);\n\n// This construct can only be attached to a configured API Gateway.\nnew Route53ToApiGateway(this, 'Route53ToApiGatewayPattern', {\n existingApiGatewayInterface: existingRestApi,\n existingHostedZoneInterface: ourHostedZone,\n publicApi: true,\n existingCertificateInterface: certificate\n});\n```\n\nPython\n```python\nfrom aws_solutions_constructs.aws_route53_apigateway import Route53ToApiGateway\nfrom aws_cdk import (\n aws_route53 as route53,\n aws_certificatemanager as acm,\n Stack\n)\nfrom constructs import Construct\n\n# The construct requires an existing REST API, this can be created in raw CDK or extracted\n# from a previously instantiated construct that created an API Gateway REST API\nexistingRestApi = previouslyCreatedApigatewayToLambdaConstruct.apiGateway\n\n# domain_name must match existing hosted zone in your account and the existing certificate\nourHostedZone = route53.HostedZone.from_lookup(self, 'HostedZone',\n domain_name=\"example.com\",\n )\n\n# Obtain a pre-existing certificate from your account\ncertificate = acm.Certificate.from_certificate_arn(\n self,\n 'existing-cert',\n \"arn:aws:acm:us-east-1:123456789012:certificate/11112222-3333-1234-1234-123456789012\"\n)\n\n# This construct can only be attached to a configured API Gateway.\nRoute53ToApiGateway(self, 'Route53ToApigatewayPattern',\n existing_api_gateway_interface=existingRestApi,\n existing_hosted_zone_interface=ourHostedZone,\n public_api=True,\n existing_certificate_interface=certificate\n )\n\n```\n\nJava\n``` java\nimport software.constructs.Construct;\n\nimport software.amazon.awscdk.Stack;\nimport software.amazon.awscdk.StackProps;\nimport software.amazon.awscdk.services.route53.*;\nimport software.amazon.awscdk.services.apigateway.*;\nimport software.amazon.awscdk.services.certificatemanager.*;\nimport software.amazon.awsconstructs.services.route53apigateway.*;\n\n// The construct requires an existing REST API, this can be created in raw CDK\n// or extracted from a previously instantiated construct that created an API\n// Gateway REST API\nfinal IRestApi existingRestApi = previouslyCreatedApigatewayToLambdaConstruct.getApiGateway();\n\n// domainName must match existing hosted zone in your account and the existing certificate\nfinal IHostedZone ourHostedZone = HostedZone.fromLookup(this, \"HostedZone\",\n new HostedZoneProviderProps.Builder()\n .domainName(\"example.com\")\n .build());\n\n// Obtain a pre-existing certificate from your account\nfinal ICertificate certificate = Certificate.fromCertificateArn(\n this,\n \"existing-cert\",\n \"arn:aws:acm:us-east-1:123456789012:certificate/11112222-3333-1234-1234-123456789012\");\n\n// This construct can only be attached to a configured API Gateway.\nnew Route53ToApiGateway(this, \"Route53ToApiGatewayPattern\",\n new Route53ToApiGatewayProps.Builder()\n .existingApiGatewayInterface(existingRestApi)\n .existingHostedZoneInterface(ourHostedZone)\n .publicApi(true)\n .existingCertificateInterface(certificate)\n .build());\n```\n\n## Pattern Construct Props\n\nThis construct cannot create a new Public Hosted Zone, if you are creating a public API you must supply an existing Public Hosted Zone that will be reconfigured with a new Alias record. Public Hosted Zones are configured with public domain names and are not well suited to be launched and torn down dynamically, so this construct will only reconfigure existing Public Hosted Zones.\n\nThis construct can create Private Hosted Zones. If you want a Private Hosted Zone, then you can either provide an existing Private Hosted Zone or a privateHostedZoneProps value with at least the Domain Name defined. If you are using privateHostedZoneProps, an existing wildcard certificate (*.example.com) must be issued from a previous domain to be used in the newly created Private Hosted Zone. New certificate creation and validation do not take place in this construct. A private Rest API already exists in a VPC, so that VPC must be provided in the existingVpc prop. There is no scenario where this construct can create a new VPC (since it can't create a new API), so the vpcProps property is not supported on this construct.\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n| publicApi | boolean | Whether the construct is deploying a private or public API. This has implications for the Hosted Zone and VPC. |\n| privateHostedZoneProps? | [route53.PrivateHostedZoneProps](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_route53.PrivateHostedZoneProps.html) | Optional custom properties for a new Private Hosted Zone. Cannot be specified for a public API. Cannot specify a VPC, it will use the VPC in existingVpc or the VPC created by the construct. Providing both this and existingHostedZoneInterface is an error. |\n| existingHostedZoneInterface? | [route53.IHostedZone](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_route53.IHostedZone.html) | Existing Public or Private Hosted Zone (type must match publicApi setting). Specifying both this and privateHostedZoneProps is an error. If this is a Private Hosted Zone, the associated VPC must be provided as the existingVpc property.|\n| existingVpc? | [ec2.IVpc](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.IVpc.html) | An existing VPC in which to deploy the construct.|\n|existingApiGatewayInterface|[api.IRestApi](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apigateway.IRestApi.html)|The existing API Gateway instance that will be connected to the Route 53 hosted zone. *Note that Route 53 can only be connected to a configured API Gateway, so this construct only accepts an existing IRestApi and does not accept apiGatewayProps.*|\n| existingCertificateInterface |[certificatemanager.ICertificate](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_certificatemanager.ICertificate.html)| An existing AWS Certificate Manager certificate for your custom domain name.|\n\n## Pattern Properties\n\n| **Name** | **Type** | **Description** |\n|:-------------|:----------------|-----------------|\n|hostedZone|[route53.IHostedZone](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_route53.IHostedZone.html)|The hosted zone used by the construct (whether created by the construct or provided by the client) |\n| vpc? | [ec2.IVpc](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.IVpc.html) | The VPC used by the construct. |\n|apiGateway|[api.RestApi](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apigateway.RestApi.html)|Returns an instance of the API Gateway REST API created by the pattern.|\n|certificate|[certificatemanager.ICertificate](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_certificatemanager.ICertificate.html)| THe certificate used by the construct (whether create by the construct or provided by the client)\n\n## Default settings\nOut of the box implementation of the Construct without any override will set the following defaults:\n\n### Amazon Route53\n* Adds an ALIAS record to the new or provided Hosted Zone that routes to the construct's API Gateway\n\n### Amazon API Gateway\n* User provided API Gateway object is used as-is\n* Sets up custom domain name mapping to API\n\n## Architecture\n\n![Architecture Diagram](architecture.png)\n\n***\n&copy; Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n"
3069
3147
  },
3070
3148
  "repository": {
3071
3149
  "directory": "source/patterns/@aws-solutions-constructs/aws-route53-apigateway",
@@ -3325,6 +3403,6 @@
3325
3403
  "symbolId": "lib/index:Route53ToApiGatewayProps"
3326
3404
  }
3327
3405
  },
3328
- "version": "2.24.0",
3329
- "fingerprint": "n2idWVmG+hKdnYqG0392xU3/K9v2MaKgUC6gJxTucMo="
3406
+ "version": "2.26.0",
3407
+ "fingerprint": "/YET8QGu7cxgFCWSJboT4MSqecxnuTyS+fAM2mccveE="
3330
3408
  }
package/README.md CHANGED
@@ -143,20 +143,20 @@ This construct can create Private Hosted Zones. If you want a Private Hosted Zon
143
143
  | **Name** | **Type** | **Description** |
144
144
  |:-------------|:----------------|-----------------|
145
145
  | publicApi | boolean | Whether the construct is deploying a private or public API. This has implications for the Hosted Zone and VPC. |
146
- | privateHostedZoneProps? | [route53.PrivateHostedZoneProps](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-route53.PrivateHostedZoneProps.html) | Optional custom properties for a new Private Hosted Zone. Cannot be specified for a public API. Cannot specify a VPC, it will use the VPC in existingVpc or the VPC created by the construct. Providing both this and existingHostedZoneInterface is an error. |
147
- | existingHostedZoneInterface? | [route53.IHostedZone](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-route53.IHostedZone.html) | Existing Public or Private Hosted Zone (type must match publicApi setting). Specifying both this and privateHostedZoneProps is an error. If this is a Private Hosted Zone, the associated VPC must be provided as the existingVpc property.|
148
- | existingVpc? | [ec2.IVpc](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-ec2.IVpc.html) | An existing VPC in which to deploy the construct.|
149
- |existingApiGatewayInterface|[api.IRestApi](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-apigateway.IRestApi.html)|The existing API Gateway instance that will be connected to the Route 53 hosted zone. *Note that Route 53 can only be connected to a configured API Gateway, so this construct only accepts an existing IRestApi and does not accept apiGatewayProps.*|
150
- | existingCertificateInterface |[certificatemanager.ICertificate](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-certificatemanager.ICertificate.html)| An existing AWS Certificate Manager certificate for your custom domain name.|
146
+ | privateHostedZoneProps? | [route53.PrivateHostedZoneProps](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_route53.PrivateHostedZoneProps.html) | Optional custom properties for a new Private Hosted Zone. Cannot be specified for a public API. Cannot specify a VPC, it will use the VPC in existingVpc or the VPC created by the construct. Providing both this and existingHostedZoneInterface is an error. |
147
+ | existingHostedZoneInterface? | [route53.IHostedZone](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_route53.IHostedZone.html) | Existing Public or Private Hosted Zone (type must match publicApi setting). Specifying both this and privateHostedZoneProps is an error. If this is a Private Hosted Zone, the associated VPC must be provided as the existingVpc property.|
148
+ | existingVpc? | [ec2.IVpc](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.IVpc.html) | An existing VPC in which to deploy the construct.|
149
+ |existingApiGatewayInterface|[api.IRestApi](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apigateway.IRestApi.html)|The existing API Gateway instance that will be connected to the Route 53 hosted zone. *Note that Route 53 can only be connected to a configured API Gateway, so this construct only accepts an existing IRestApi and does not accept apiGatewayProps.*|
150
+ | existingCertificateInterface |[certificatemanager.ICertificate](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_certificatemanager.ICertificate.html)| An existing AWS Certificate Manager certificate for your custom domain name.|
151
151
 
152
152
  ## Pattern Properties
153
153
 
154
154
  | **Name** | **Type** | **Description** |
155
155
  |:-------------|:----------------|-----------------|
156
- |hostedZone|[route53.IHostedZone](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-route53.IHostedZone.html)|The hosted zone used by the construct (whether created by the construct or provided by the client) |
157
- | vpc? | [ec2.IVpc](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-ec2.IVpc.html) | The VPC used by the construct. |
158
- |apiGateway|[api.RestApi](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-apigateway.RestApi.html)|Returns an instance of the API Gateway REST API created by the pattern.|
159
- |certificate|[certificatemanager.ICertificate](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-certificatemanager.ICertificate.html)| THe certificate used by the construct (whether create by the construct or provided by the client)
156
+ |hostedZone|[route53.IHostedZone](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_route53.IHostedZone.html)|The hosted zone used by the construct (whether created by the construct or provided by the client) |
157
+ | vpc? | [ec2.IVpc](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.IVpc.html) | The VPC used by the construct. |
158
+ |apiGateway|[api.RestApi](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apigateway.RestApi.html)|Returns an instance of the API Gateway REST API created by the pattern.|
159
+ |certificate|[certificatemanager.ICertificate](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_certificatemanager.ICertificate.html)| THe certificate used by the construct (whether create by the construct or provided by the client)
160
160
 
161
161
  ## Default settings
162
162
  Out of the box implementation of the Construct without any override will set the following defaults:
package/lib/index.js CHANGED
@@ -74,5 +74,5 @@ class Route53ToApiGateway extends constructs_1.Construct {
74
74
  }
75
75
  exports.Route53ToApiGateway = Route53ToApiGateway;
76
76
  _a = JSII_RTTI_SYMBOL_1;
77
- Route53ToApiGateway[_a] = { fqn: "@aws-solutions-constructs/aws-route53-apigateway.Route53ToApiGateway", version: "2.24.0" };
77
+ Route53ToApiGateway[_a] = { fqn: "@aws-solutions-constructs/aws-route53-apigateway.Route53ToApiGateway", version: "2.26.0" };
78
78
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQWVBLG1EQUFtRDtBQUNuRCwyREFBMkQ7QUFFM0QsMkRBQTJEO0FBRTNELHdGQUF3RjtBQUN4RiwyQ0FBdUM7QUFpRHZDOztHQUVHO0FBQ0gsTUFBYSxtQkFBb0IsU0FBUSxzQkFBUztJQUtoRDs7Ozs7OztPQU9HO0lBQ0gsWUFBWSxLQUFnQixFQUFFLEVBQVUsRUFBRSxLQUErQjtRQUN2RSxLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyxDQUFDO1FBQ2pCLFFBQVEsQ0FBQyxVQUFVLENBQUMsS0FBSyxDQUFDLENBQUM7UUFFM0IsSUFBSSxDQUFDLFdBQVcsR0FBRyxLQUFLLENBQUMsNEJBQTRCLENBQUM7UUFFdEQsSUFBSSxLQUFLLENBQUMsV0FBVyxFQUFFO1lBQ3JCLElBQUksQ0FBQyxHQUFHLEdBQUcsS0FBSyxDQUFDLFdBQVcsQ0FBQztTQUM5QjtRQUVELHlDQUF5QztRQUN6QyxJQUFJLEtBQUssQ0FBQywyQkFBMkIsRUFBRTtZQUNyQyxJQUFJLENBQUMsVUFBVSxHQUFHLEtBQUssQ0FBQywyQkFBMkIsQ0FBQztZQUVwRCxJQUFJLEtBQUssQ0FBQyxXQUFXLEVBQUU7Z0JBQ3JCLE1BQU0sSUFBSSxLQUFLLENBQUMsb0VBQW9FLENBQUMsQ0FBQzthQUN2RjtZQUNELElBQUksS0FBSyxDQUFDLHNCQUFzQixFQUFFO2dCQUNo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hdGV3YXlJbnRlcmZhY2UgYXMgYXBpLlJlc3RBcGk7XG5cbiAgICAvLyBBZGQgY3VzdG9tIGRvbWFpbiBuYW1lIGluIEFQSSBHYXRld2F5XG4gICAgdGhpcy5hcGlHYXRld2F5LmFkZERvbWFpbk5hbWUoJ0N1c3RvbURvbWFpbk5hbWUnLCB7XG4gICAgICBkb21haW5OYW1lOiB0aGlzLmhvc3RlZFpvbmUuem9uZU5hbWUsXG4gICAgICBjZXJ0aWZpY2F0ZTogdGhpcy5jZXJ0aWZpY2F0ZVxuICAgIH0pO1xuXG4gICAgLy8gQ3JlYXRlIEEgUmVjb3JkIGluIGN1c3RvbSBkb21haW4gdG8gcm91dGUgdHJhZmZpYyB0byBBUEkgR2F0ZXdheVxuICAgIG5ldyByb3V0ZTUzLkFSZWNvcmQodGhpcywgJ0N1c3RvbURvbWFpbkFsaWFzUmVjb3JkJywge1xuICAgICAgem9uZTogdGhpcy5ob3N0ZWRab25lLFxuICAgICAgdGFyZ2V0OiByb3V0ZTUzLlJlY29yZFRhcmdldC5mcm9tQWxpYXMobmV3IHRhcmdldHMuQXBpR2F0ZXdheSh0aGlzLmFwaUdhdGV3YXkpKVxuICAgIH0pO1xuICB9XG59Il19
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-solutions-constructs/aws-route53-apigateway",
3
- "version": "2.24.0",
3
+ "version": "2.26.0",
4
4
  "description": "CDK constructs for connecting an Amazon Route53 domain to an API Gateway.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -53,14 +53,14 @@
53
53
  }
54
54
  },
55
55
  "dependencies": {
56
- "@aws-solutions-constructs/core": "2.24.0"
56
+ "@aws-solutions-constructs/core": "2.26.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-cdk/assert": "2.37.1",
59
+ "@aws-cdk/assert": "2.45.0",
60
60
  "@types/jest": "^26.0.22",
61
61
  "@types/node": "^10.3.0",
62
62
  "prettier": "^2.5.1",
63
- "aws-cdk-lib": "2.37.1",
63
+ "aws-cdk-lib": "2.45.0",
64
64
  "constructs": "^10.0.0"
65
65
  },
66
66
  "jest": {
@@ -78,8 +78,8 @@
78
78
  ]
79
79
  },
80
80
  "peerDependencies": {
81
- "@aws-solutions-constructs/core": "2.24.0",
82
- "aws-cdk-lib": "^2.37.1",
81
+ "@aws-solutions-constructs/core": "2.26.0",
82
+ "aws-cdk-lib": "^2.45.0",
83
83
  "constructs": "^10.0.0"
84
84
  },
85
85
  "keywords": [