forked from aws/aws-cdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(stepfunction-tasks/route53-targets/lambda-events-source): break…
… dependencies on experimental modules (aws#14227) *chore(stepfunction-tasks/route53-targets/lambda-events-source): break dependencies on between stable and experimental modules
Showing
24 changed files
with
229 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 9 additions & 6 deletions
15
packages/@aws-cdk/aws-route53-targets/lib/api-gatewayv2-domain-name.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
import * as apigv2 from '@aws-cdk/aws-apigatewayv2'; | ||
import * as route53 from '@aws-cdk/aws-route53'; | ||
|
||
/** | ||
* Defines an API Gateway V2 domain name as the alias target. | ||
*/ | ||
export class ApiGatewayv2Domain implements route53.IAliasRecordTarget { | ||
constructor(private readonly domainName: apigv2.IDomainName) { } | ||
export class ApiGatewayv2DomainProperties implements route53.IAliasRecordTarget { | ||
/** | ||
* @param regionalDomainName the region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. | ||
* @param regionalHostedZoneId the domain name associated with the regional endpoint for this custom domain name. | ||
*/ | ||
constructor(private readonly regionalDomainName: string, private readonly regionalHostedZoneId: string) { } | ||
|
||
public bind(_record: route53.IRecordSet): route53.AliasRecordTargetConfig { | ||
return { | ||
dnsName: this.domainName.regionalDomainName, | ||
hostedZoneId: this.domainName.regionalHostedZoneId, | ||
dnsName: this.regionalDomainName, | ||
hostedZoneId: this.regionalHostedZoneId, | ||
}; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.