Skip to content

Commit

Permalink
Fix integration test for new appsync route53-target
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottRobinson03 committed Nov 8, 2024
1 parent 2af31e5 commit fd783f7
Show file tree
Hide file tree
Showing 9 changed files with 685 additions and 15 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
{
"Resources": {
"apiC8550315": {
"Type": "AWS::AppSync::GraphQLApi",
"Properties": {
"AuthenticationType": "API_KEY",
"Name": "api"
}
},
"apiSchema0EA92056": {
"Type": "AWS::AppSync::GraphQLSchema",
"Properties": {
"ApiId": {
"Fn::GetAtt": [
"apiC8550315",
"ApiId"
]
},
"Definition": "type test {\n version: String!\n}\ntype Query {\n getTests: [test]!\n}\ntype Mutation {\n addTest(version: String!): test\n}\n"
}
},
"apiDomainNameBBFE36A4": {
"Type": "AWS::AppSync::DomainName",
"Properties": {
"CertificateArn": "arn:aws:acm:us-east-1:123456789012:certificate/a1b2c3d4-efa5-6789-bc12-3456d789e123",
"Description": {
"Fn::Join": [
"",
[
"domain for api at ",
{
"Fn::GetAtt": [
"apiC8550315",
"GraphQLUrl"
]
}
]
]
},
"DomainName": "my.sample.domain.name"
}
},
"apiDomainAssociation1CF2F52A": {
"Type": "AWS::AppSync::DomainNameApiAssociation",
"Properties": {
"ApiId": {
"Fn::GetAtt": [
"apiC8550315",
"ApiId"
]
},
"DomainName": "my.sample.domain.name"
},
"DependsOn": [
"apiDomainNameBBFE36A4"
]
},
"apiDefaultApiKey6AB8D7C4": {
"Type": "AWS::AppSync::ApiKey",
"Properties": {
"ApiId": {
"Fn::GetAtt": [
"apiC8550315",
"ApiId"
]
}
},
"DependsOn": [
"apiSchema0EA92056"
]
},
"Alias325C5727": {
"Type": "AWS::Route53::RecordSet",
"Properties": {
"AliasTarget": {
"DNSName": {
"Fn::GetAtt": [
"apiDomainNameBBFE36A4",
"AppSyncDomainName"
]
},
"HostedZoneId": {
"Fn::FindInMap": [
"AWSCloudFrontPartitionHostedZoneIdMap",
{
"Ref": "AWS::Partition"
},
"zoneId"
]
}
},
"HostedZoneId": "Z012345678A901BCD2EFG",
"Name": "my.sample.domain.name",
"Type": "A"
}
}
},
"Mappings": {
"AWSCloudFrontPartitionHostedZoneIdMap": {
"aws": {
"zoneId": "Z2FDTNDATAQYW2"
},
"aws-cn": {
"zoneId": "Z3RFFRIM2A3IF5"
}
}
},
"Parameters": {
"BootstrapVersion": {
"Type": "AWS::SSM::Parameter::Value<String>",
"Default": "/cdk-bootstrap/hnb659fds/version",
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
}
},
"Rules": {
"CheckBootstrapVersion": {
"Assertions": [
{
"Assert": {
"Fn::Not": [
{
"Fn::Contains": [
[
"1",
"2",
"3",
"4",
"5"
],
{
"Ref": "BootstrapVersion"
}
]
}
]
},
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
}
]
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fd783f7

Please sign in to comment.