@aws-cdk/aws-route53
Advanced tools
Comparing version 0.16.0 to 0.17.0
{ | ||
"name": "@aws-cdk/aws-route53", | ||
"version": "0.16.0", | ||
"version": "0.17.0", | ||
"description": "CDK Constructs for AWS Route53", | ||
@@ -55,19 +55,19 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.16.0", | ||
"@aws-cdk/assert": "^0.17.0", | ||
"aws-sdk": "^2.259.1", | ||
"cdk-build-tools": "^0.16.0", | ||
"cdk-integ-tools": "^0.16.0", | ||
"cfn2ts": "^0.16.0", | ||
"pkglint": "^0.16.0" | ||
"cdk-build-tools": "^0.17.0", | ||
"cdk-integ-tools": "^0.17.0", | ||
"cfn2ts": "^0.17.0", | ||
"pkglint": "^0.17.0" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/aws-ec2": "^0.16.0", | ||
"@aws-cdk/aws-logs": "^0.16.0", | ||
"@aws-cdk/cdk": "^0.16.0" | ||
"@aws-cdk/aws-ec2": "^0.17.0", | ||
"@aws-cdk/aws-logs": "^0.17.0", | ||
"@aws-cdk/cdk": "^0.17.0" | ||
}, | ||
"homepage": "https://github.com/awslabs/aws-cdk", | ||
"peerDependencies": { | ||
"@aws-cdk/aws-ec2": "^0.16.0", | ||
"@aws-cdk/cdk": "^0.16.0" | ||
"@aws-cdk/aws-ec2": "^0.17.0", | ||
"@aws-cdk/cdk": "^0.17.0" | ||
} | ||
} |
@@ -45,1 +45,22 @@ ## AWS Route53 Constuct Library | ||
``` | ||
### Adding records to existing hosted zones | ||
If you know the ID and Name of a Hosted Zone, you can import it directly: | ||
```ts | ||
const zone = HostedZoneRef.import(this, 'MyZone', { | ||
zoneName: 'example.com', | ||
hostedZoneId: 'ZOJJZC49E0EPZ', | ||
}); | ||
``` | ||
If you don't know the ID of a Hosted Zone, you can use the `HostedZoneProvider` | ||
to discover and import it: | ||
```ts | ||
const zone = new HostedZoneProvider(this, { | ||
domainName: 'example.com' | ||
}).findAndImport(this, 'MyZone'); | ||
``` |
@@ -88,2 +88,5 @@ { | ||
"Type": "AWS::EC2::Route", | ||
"DependsOn": [ | ||
"VPCVPCGW99B986DC" | ||
], | ||
"Properties": { | ||
@@ -169,2 +172,5 @@ "RouteTableId": { | ||
"Type": "AWS::EC2::Route", | ||
"DependsOn": [ | ||
"VPCVPCGW99B986DC" | ||
], | ||
"Properties": { | ||
@@ -250,2 +256,5 @@ "RouteTableId": { | ||
"Type": "AWS::EC2::Route", | ||
"DependsOn": [ | ||
"VPCVPCGW99B986DC" | ||
], | ||
"Properties": { | ||
@@ -500,2 +509,2 @@ "RouteTableId": { | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
438135
2832
66
+ Added@aws-cdk/aws-cloudwatch@0.17.0(transitive)
+ Added@aws-cdk/aws-ec2@0.17.0(transitive)
+ Added@aws-cdk/aws-iam@0.17.0(transitive)
+ Added@aws-cdk/aws-logs@0.17.0(transitive)
+ Added@aws-cdk/cdk@0.17.0(transitive)
+ Added@aws-cdk/cx-api@0.17.0(transitive)
- Removed@aws-cdk/aws-cloudwatch@0.16.0(transitive)
- Removed@aws-cdk/aws-ec2@0.16.0(transitive)
- Removed@aws-cdk/aws-iam@0.16.0(transitive)
- Removed@aws-cdk/aws-logs@0.16.0(transitive)
- Removed@aws-cdk/cdk@0.16.0(transitive)
- Removed@aws-cdk/cx-api@0.16.0(transitive)
Updated@aws-cdk/aws-ec2@^0.17.0
Updated@aws-cdk/aws-logs@^0.17.0
Updated@aws-cdk/cdk@^0.17.0