{"version":"2","toolVersion":"1.84.0","snippets":{"dee8e955ef522b832fed1afe62d7bd865d1b8ba8a335a5a7129e971ec2249e93":{"translations":{"python":{"source":"import aws_cdk.aws_codebuild as codebuild\n\n\namplify_app = amplify.App(self, \"MyApp\",\n source_code_provider=amplify.GitHubSourceCodeProvider(\n owner=\"\",\n repository=\"\",\n oauth_token=SecretValue.secrets_manager(\"my-github-token\")\n ),\n build_spec=codebuild.BuildSpec.from_object_to_yaml({\n # Alternatively add a `amplify.yml` to the repo\n \"version\": \"1.0\",\n \"frontend\": {\n \"phases\": {\n \"pre_build\": {\n \"commands\": [\"yarn\"\n ]\n },\n \"build\": {\n \"commands\": [\"yarn build\"\n ]\n }\n },\n \"artifacts\": {\n \"base_directory\": \"public\",\n \"files\": -\"**/*\"\n }\n }\n })\n)","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.CodeBuild;\n\n\nvar amplifyApp = new App(this, \"MyApp\", new AppProps {\n SourceCodeProvider = new GitHubSourceCodeProvider(new GitHubSourceCodeProviderProps {\n Owner = \"\",\n Repository = \"\",\n OauthToken = SecretValue.SecretsManager(\"my-github-token\")\n }),\n BuildSpec = BuildSpec.FromObjectToYaml(new Dictionary {\n // Alternatively add a `amplify.yml` to the repo\n { \"version\", \"1.0\" },\n { \"frontend\", new Dictionary>> {\n { \"phases\", new Struct {\n PreBuild = new Struct {\n Commands = new [] { \"yarn\" }\n },\n Build = new Struct {\n Commands = new [] { \"yarn build\" }\n }\n } },\n { \"artifacts\", new Struct {\n BaseDirectory = \"public\",\n Files = -\"**/*\"\n } }\n } }\n })\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.services.codebuild.*;\n\n\nApp amplifyApp = App.Builder.create(this, \"MyApp\")\n .sourceCodeProvider(GitHubSourceCodeProvider.Builder.create()\n .owner(\"\")\n .repository(\"\")\n .oauthToken(SecretValue.secretsManager(\"my-github-token\"))\n .build())\n .buildSpec(BuildSpec.fromObjectToYaml(Map.of(\n // Alternatively add a `amplify.yml` to the repo\n \"version\", \"1.0\",\n \"frontend\", Map.of(\n \"phases\", Map.of(\n \"preBuild\", Map.of(\n \"commands\", List.of(\"yarn\")),\n \"build\", Map.of(\n \"commands\", List.of(\"yarn build\"))),\n \"artifacts\", Map.of(\n \"baseDirectory\", \"public\",\n \"files\", -\"**/*\")))))\n .build();","version":"1"},"go":{"source":"import codebuild \"github.com/aws-samples/dummy/awscdkawscodebuild\"\n\n\namplifyApp := amplify.NewApp(this, jsii.String(\"MyApp\"), &AppProps{\n\tSourceCodeProvider: amplify.NewGitHubSourceCodeProvider(&GitHubSourceCodeProviderProps{\n\t\tOwner: jsii.String(\"\"),\n\t\tRepository: jsii.String(\"\"),\n\t\tOauthToken: awscdkcore.SecretValue_SecretsManager(jsii.String(\"my-github-token\")),\n\t}),\n\tBuildSpec: codebuild.BuildSpec_FromObjectToYaml(map[string]interface{}{\n\t\t// Alternatively add a `amplify.yml` to the repo\n\t\t\"version\": jsii.String(\"1.0\"),\n\t\t\"frontend\": map[string]map[string]map[string][]*string{\n\t\t\t\"phases\": map[string]map[string][]*string{\n\t\t\t\t\"preBuild\": map[string][]*string{\n\t\t\t\t\t\"commands\": []*string{\n\t\t\t\t\t\tjsii.String(\"yarn\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\"build\": map[string][]*string{\n\t\t\t\t\t\"commands\": []*string{\n\t\t\t\t\t\tjsii.String(\"yarn build\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\t\"artifacts\": map[string]interface{}{\n\t\t\t\t\"baseDirectory\": jsii.String(\"public\"),\n\t\t\t\t\"files\": -jsii.String(\"**/*\"),\n\t\t\t},\n\t\t},\n\t}),\n})","version":"1"},"$":{"source":"import * as codebuild from '@aws-cdk/aws-codebuild';\n\nconst amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitHubSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-github-token'),\n }),\n buildSpec: codebuild.BuildSpec.fromObjectToYaml({\n // Alternatively add a `amplify.yml` to the repo\n version: '1.0',\n frontend: {\n phases: {\n preBuild: {\n commands: [\n 'yarn',\n ],\n },\n build: {\n commands: [\n 'yarn build',\n ],\n },\n },\n artifacts: {\n baseDirectory: 'public',\n files:\n - '**/*',\n },\n },\n }),\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-amplify"},"field":{"field":"markdown","line":25}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App","@aws-cdk/aws-amplify.AppProps","@aws-cdk/aws-amplify.GitHubSourceCodeProvider","@aws-cdk/aws-amplify.GitHubSourceCodeProviderProps","@aws-cdk/aws-amplify.ISourceCodeProvider","@aws-cdk/aws-codebuild.BuildSpec","@aws-cdk/aws-codebuild.BuildSpec#fromObjectToYaml","@aws-cdk/core.SecretValue","@aws-cdk/core.SecretValue#secretsManager","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\nimport * as codebuild from '@aws-cdk/aws-codebuild';\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitHubSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-github-token'),\n }),\n buildSpec: codebuild.BuildSpec.fromObjectToYaml({\n // Alternatively add a `amplify.yml` to the repo\n version: '1.0',\n frontend: {\n phases: {\n preBuild: {\n commands: [\n 'yarn',\n ],\n },\n build: {\n commands: [\n 'yarn build',\n ],\n },\n },\n artifacts: {\n baseDirectory: 'public',\n files:\n - '**/*',\n },\n },\n }),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":10,"75":26,"104":1,"192":2,"193":8,"194":5,"196":2,"197":2,"207":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":15,"290":1},"fqnsFingerprint":"9a264cb89fdf83a419708152a974e372f1e0d91cc8d408eff40690876d81d7a6"},"bc5d6ee1115b5cabf8a4144a97738dc973f933eebde9174843b695568e4869b4":{"translations":{"python":{"source":"amplify_app = amplify.App(self, \"MyApp\",\n source_code_provider=amplify.GitLabSourceCodeProvider(\n owner=\"\",\n repository=\"\",\n oauth_token=SecretValue.secrets_manager(\"my-gitlab-token\")\n )\n)","version":"2"},"csharp":{"source":"var amplifyApp = new App(this, \"MyApp\", new AppProps {\n SourceCodeProvider = new GitLabSourceCodeProvider(new GitLabSourceCodeProviderProps {\n Owner = \"\",\n Repository = \"\",\n OauthToken = SecretValue.SecretsManager(\"my-gitlab-token\")\n })\n});","version":"1"},"java":{"source":"App amplifyApp = App.Builder.create(this, \"MyApp\")\n .sourceCodeProvider(GitLabSourceCodeProvider.Builder.create()\n .owner(\"\")\n .repository(\"\")\n .oauthToken(SecretValue.secretsManager(\"my-gitlab-token\"))\n .build())\n .build();","version":"1"},"go":{"source":"amplifyApp := amplify.NewApp(this, jsii.String(\"MyApp\"), &AppProps{\n\tSourceCodeProvider: amplify.NewGitLabSourceCodeProvider(&GitLabSourceCodeProviderProps{\n\t\tOwner: jsii.String(\"\"),\n\t\tRepository: jsii.String(\"\"),\n\t\tOauthToken: awscdkcore.SecretValue_SecretsManager(jsii.String(\"my-gitlab-token\")),\n\t}),\n})","version":"1"},"$":{"source":"const amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitLabSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-gitlab-token'),\n }),\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-amplify"},"field":{"field":"markdown","line":62}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App","@aws-cdk/aws-amplify.AppProps","@aws-cdk/aws-amplify.GitLabSourceCodeProvider","@aws-cdk/aws-amplify.GitLabSourceCodeProviderProps","@aws-cdk/aws-amplify.ISourceCodeProvider","@aws-cdk/core.SecretValue","@aws-cdk/core.SecretValue#secretsManager","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitLabSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-gitlab-token'),\n }),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":11,"104":1,"193":2,"194":3,"196":1,"197":2,"225":1,"242":1,"243":1,"281":4},"fqnsFingerprint":"6baa95ffaf2f35710851eaef77b516c0f6771906644ad2ca925e75e2baf56d06"},"7042004bcec55598dc94f0e60a9d87d6ac40a45afee2fc90bb3562183ab7e8c4":{"translations":{"python":{"source":"import aws_cdk.aws_codecommit as codecommit\n\n\nrepository = codecommit.Repository(self, \"Repo\",\n repository_name=\"my-repo\"\n)\n\namplify_app = amplify.App(self, \"App\",\n source_code_provider=amplify.CodeCommitSourceCodeProvider(repository=repository)\n)","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.CodeCommit;\n\n\nvar repository = new Repository(this, \"Repo\", new RepositoryProps {\n RepositoryName = \"my-repo\"\n});\n\nvar amplifyApp = new App(this, \"App\", new AppProps {\n SourceCodeProvider = new CodeCommitSourceCodeProvider(new CodeCommitSourceCodeProviderProps { Repository = repository })\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.services.codecommit.*;\n\n\nRepository repository = Repository.Builder.create(this, \"Repo\")\n .repositoryName(\"my-repo\")\n .build();\n\nApp amplifyApp = App.Builder.create(this, \"App\")\n .sourceCodeProvider(CodeCommitSourceCodeProvider.Builder.create().repository(repository).build())\n .build();","version":"1"},"go":{"source":"import codecommit \"github.com/aws-samples/dummy/awscdkawscodecommit\"\n\n\nrepository := codecommit.NewRepository(this, jsii.String(\"Repo\"), &RepositoryProps{\n\tRepositoryName: jsii.String(\"my-repo\"),\n})\n\namplifyApp := amplify.NewApp(this, jsii.String(\"App\"), &AppProps{\n\tSourceCodeProvider: amplify.NewCodeCommitSourceCodeProvider(&CodeCommitSourceCodeProviderProps{\n\t\tRepository: *Repository,\n\t}),\n})","version":"1"},"$":{"source":"import * as codecommit from '@aws-cdk/aws-codecommit';\n\nconst repository = new codecommit.Repository(this, 'Repo', {\n repositoryName: 'my-repo',\n});\n\nconst amplifyApp = new amplify.App(this, 'App', {\n sourceCodeProvider: new amplify.CodeCommitSourceCodeProvider({ repository }),\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-amplify"},"field":{"field":"markdown","line":74}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App","@aws-cdk/aws-amplify.AppProps","@aws-cdk/aws-amplify.CodeCommitSourceCodeProvider","@aws-cdk/aws-amplify.CodeCommitSourceCodeProviderProps","@aws-cdk/aws-amplify.ISourceCodeProvider","@aws-cdk/aws-codecommit.IRepository","@aws-cdk/aws-codecommit.Repository","@aws-cdk/aws-codecommit.RepositoryProps","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\nimport * as codecommit from '@aws-cdk/aws-codecommit';\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst repository = new codecommit.Repository(this, 'Repo', {\n repositoryName: 'my-repo',\n});\n\nconst amplifyApp = new amplify.App(this, 'App', {\n sourceCodeProvider: new amplify.CodeCommitSourceCodeProvider({ repository }),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":12,"104":2,"193":3,"194":3,"197":3,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"281":2,"282":1,"290":1},"fqnsFingerprint":"98e9d561095a0aea30b78fcd3877f82b890cbbda21cc12b8e3b5813bc1aeb4d3"},"530b7f9d42103866eca8dcef2bdc73fe955a6d3f48aaec606c79279c0622c147":{"translations":{"python":{"source":"# amplify_app: amplify.App\n\n\nmaster = amplify_app.add_branch(\"master\") # `id` will be used as repo branch name\ndev = amplify_app.add_branch(\"dev\",\n performance_mode=True\n)\ndev.add_environment(\"STAGE\", \"dev\")","version":"2"},"csharp":{"source":"App amplifyApp;\n\n\nvar master = amplifyApp.AddBranch(\"master\"); // `id` will be used as repo branch name\nvar dev = amplifyApp.AddBranch(\"dev\", new BranchOptions {\n PerformanceMode = true\n});\ndev.AddEnvironment(\"STAGE\", \"dev\");","version":"1"},"java":{"source":"App amplifyApp;\n\n\nBranch master = amplifyApp.addBranch(\"master\"); // `id` will be used as repo branch name\nBranch dev = amplifyApp.addBranch(\"dev\", BranchOptions.builder()\n .performanceMode(true)\n .build());\ndev.addEnvironment(\"STAGE\", \"dev\");","version":"1"},"go":{"source":"var amplifyApp app\n\n\nmaster := amplifyApp.AddBranch(jsii.String(\"master\")) // `id` will be used as repo branch name\ndev := amplifyApp.AddBranch(jsii.String(\"dev\"), &BranchOptions{\n\tPerformanceMode: jsii.Boolean(true),\n})\ndev.AddEnvironment(jsii.String(\"STAGE\"), jsii.String(\"dev\"))","version":"1"},"$":{"source":"declare const amplifyApp: amplify.App;\n\nconst master = amplifyApp.addBranch('master'); // `id` will be used as repo branch name\nconst dev = amplifyApp.addBranch('dev', {\n performanceMode: true, // optional, enables performance mode\n});\ndev.addEnvironment('STAGE', 'dev');","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-amplify"},"field":{"field":"markdown","line":91}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App#addBranch","@aws-cdk/aws-amplify.Branch","@aws-cdk/aws-amplify.Branch#addEnvironment","@aws-cdk/aws-amplify.BranchOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const amplifyApp: amplify.App;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst master = amplifyApp.addBranch('master'); // `id` will be used as repo branch name\nconst dev = amplifyApp.addBranch('dev', {\n performanceMode: true, // optional, enables performance mode\n});\ndev.addEnvironment('STAGE', 'dev');\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":12,"106":1,"130":1,"153":1,"169":1,"193":1,"194":3,"196":3,"225":3,"226":1,"242":3,"243":3,"281":1,"290":1},"fqnsFingerprint":"34ea63d682ed00644266af2120fd54f3b713d1c69d03c46ffa9bd3fafca119e0"},"3a53ce1619d2c861fab7e5f6889677b2a6b587b168864bee2e3e4c4f050b758e":{"translations":{"python":{"source":"# amplify_app: amplify.App\n\namplify_app.add_custom_rule({\n \"source\": \"/docs/specific-filename.html\",\n \"target\": \"/documents/different-filename.html\",\n \"status\": amplify.RedirectStatus.TEMPORARY_REDIRECT\n})","version":"2"},"csharp":{"source":"App amplifyApp;\n\namplifyApp.AddCustomRule(new Dictionary {\n { \"source\", \"/docs/specific-filename.html\" },\n { \"target\", \"/documents/different-filename.html\" },\n { \"status\", RedirectStatus.TEMPORARY_REDIRECT }\n});","version":"1"},"java":{"source":"App amplifyApp;\n\namplifyApp.addCustomRule(Map.of(\n \"source\", \"/docs/specific-filename.html\",\n \"target\", \"/documents/different-filename.html\",\n \"status\", RedirectStatus.TEMPORARY_REDIRECT));","version":"1"},"go":{"source":"var amplifyApp app\n\namplifyApp.AddCustomRule(map[string]interface{}{\n\t\"source\": jsii.String(\"/docs/specific-filename.html\"),\n\t\"target\": jsii.String(\"/documents/different-filename.html\"),\n\t\"status\": amplify.RedirectStatus_TEMPORARY_REDIRECT,\n})","version":"1"},"$":{"source":"declare const amplifyApp: amplify.App;\namplifyApp.addCustomRule({\n source: '/docs/specific-filename.html',\n target: '/documents/different-filename.html',\n status: amplify.RedirectStatus.TEMPORARY_REDIRECT,\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-amplify"},"field":{"field":"markdown","line":105}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App#addCustomRule","@aws-cdk/aws-amplify.CustomRule","@aws-cdk/aws-amplify.RedirectStatus","@aws-cdk/aws-amplify.RedirectStatus#TEMPORARY_REDIRECT"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const amplifyApp: amplify.App;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\namplifyApp.addCustomRule({\n source: '/docs/specific-filename.html',\n target: '/documents/different-filename.html',\n status: amplify.RedirectStatus.TEMPORARY_REDIRECT,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":11,"130":1,"153":1,"169":1,"193":1,"194":3,"196":1,"225":1,"226":1,"242":1,"243":1,"281":3,"290":1},"fqnsFingerprint":"410654c86f3d2b8c68aeb0c354f5b1fb5be740d6eba6c5f034883ffaa0785a83"},"8d191e9a465045fc6a15e0cd8d37ef3d8f72c91bb8109580132af91bbc7c3aa5":{"translations":{"python":{"source":"# my_single_page_app: amplify.App\n\n\nmy_single_page_app.add_custom_rule(amplify.CustomRule.SINGLE_PAGE_APPLICATION_REDIRECT)","version":"2"},"csharp":{"source":"App mySinglePageApp;\n\n\nmySinglePageApp.AddCustomRule(CustomRule.SINGLE_PAGE_APPLICATION_REDIRECT);","version":"1"},"java":{"source":"App mySinglePageApp;\n\n\nmySinglePageApp.addCustomRule(CustomRule.SINGLE_PAGE_APPLICATION_REDIRECT);","version":"1"},"go":{"source":"var mySinglePageApp app\n\n\nmySinglePageApp.AddCustomRule(amplify.CustomRule_SINGLE_PAGE_APPLICATION_REDIRECT())","version":"1"},"$":{"source":"declare const mySinglePageApp: amplify.App;\n\nmySinglePageApp.addCustomRule(amplify.CustomRule.SINGLE_PAGE_APPLICATION_REDIRECT);","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-amplify"},"field":{"field":"markdown","line":120}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App#addCustomRule","@aws-cdk/aws-amplify.CustomRule","@aws-cdk/aws-amplify.CustomRule#SINGLE_PAGE_APPLICATION_REDIRECT"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const mySinglePageApp: amplify.App;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nmySinglePageApp.addCustomRule(amplify.CustomRule.SINGLE_PAGE_APPLICATION_REDIRECT);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"75":8,"130":1,"153":1,"169":1,"194":3,"196":1,"225":1,"226":1,"242":1,"243":1,"290":1},"fqnsFingerprint":"886224cee7ffe6282a3c16ab17e93bda835c3bfcbc68596196b42af8e6779344"},"ca3de45f2fcb8d83d0e8ddb924d132f0baf5a5cdfda5dc944e266d5b52831df9":{"translations":{"python":{"source":"# amplify_app: amplify.App\n# master: amplify.Branch\n# dev: amplify.Branch\n\n\ndomain = amplify_app.add_domain(\"example.com\",\n enable_auto_subdomain=True, # in case subdomains should be auto registered for branches\n auto_subdomain_creation_patterns=[\"*\", \"pr*\"]\n)\ndomain.map_root(master) # map master branch to domain root\ndomain.map_sub_domain(master, \"www\")\ndomain.map_sub_domain(dev)","version":"2"},"csharp":{"source":"App amplifyApp;\nBranch master;\nBranch dev;\n\n\nvar domain = amplifyApp.AddDomain(\"example.com\", new DomainOptions {\n EnableAutoSubdomain = true, // in case subdomains should be auto registered for branches\n AutoSubdomainCreationPatterns = new [] { \"*\", \"pr*\" }\n});\ndomain.MapRoot(master); // map master branch to domain root\ndomain.MapSubDomain(master, \"www\");\ndomain.MapSubDomain(dev);","version":"1"},"java":{"source":"App amplifyApp;\nBranch master;\nBranch dev;\n\n\nDomain domain = amplifyApp.addDomain(\"example.com\", DomainOptions.builder()\n .enableAutoSubdomain(true) // in case subdomains should be auto registered for branches\n .autoSubdomainCreationPatterns(List.of(\"*\", \"pr*\"))\n .build());\ndomain.mapRoot(master); // map master branch to domain root\ndomain.mapSubDomain(master, \"www\");\ndomain.mapSubDomain(dev);","version":"1"},"go":{"source":"var amplifyApp app\nvar master branch\nvar dev branch\n\n\ndomain := amplifyApp.AddDomain(jsii.String(\"example.com\"), &DomainOptions{\n\tEnableAutoSubdomain: jsii.Boolean(true),\n\t // in case subdomains should be auto registered for branches\n\tAutoSubdomainCreationPatterns: []*string{\n\t\tjsii.String(\"*\"),\n\t\tjsii.String(\"pr*\"),\n\t},\n})\ndomain.MapRoot(master) // map master branch to domain root\ndomain.MapSubDomain(master, jsii.String(\"www\"))\ndomain.MapSubDomain(dev)","version":"1"},"$":{"source":"declare const amplifyApp: amplify.App;\ndeclare const master: amplify.Branch;\ndeclare const dev: amplify.Branch;\n\nconst domain = amplifyApp.addDomain('example.com', {\n enableAutoSubdomain: true, // in case subdomains should be auto registered for branches\n autoSubdomainCreationPatterns: ['*', 'pr*'], // regex for branches that should auto register subdomains\n});\ndomain.mapRoot(master); // map master branch to domain root\ndomain.mapSubDomain(master, 'www');\ndomain.mapSubDomain(dev); // sub domain prefix defaults to branch name","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-amplify"},"field":{"field":"markdown","line":128}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App#addDomain","@aws-cdk/aws-amplify.Domain","@aws-cdk/aws-amplify.Domain#mapRoot","@aws-cdk/aws-amplify.Domain#mapSubDomain","@aws-cdk/aws-amplify.DomainOptions","@aws-cdk/aws-amplify.IBranch"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const amplifyApp: amplify.App;\ndeclare const master: amplify.Branch;\ndeclare const dev: amplify.Branch;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst domain = amplifyApp.addDomain('example.com', {\n enableAutoSubdomain: true, // in case subdomains should be auto registered for branches\n autoSubdomainCreationPatterns: ['*', 'pr*'], // regex for branches that should auto register subdomains\n});\ndomain.mapRoot(master); // map master branch to domain root\ndomain.mapSubDomain(master, 'www');\ndomain.mapSubDomain(dev);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":23,"106":1,"130":3,"153":3,"169":3,"192":1,"193":1,"194":4,"196":4,"225":4,"226":3,"242":4,"243":4,"281":2,"290":1},"fqnsFingerprint":"f7dcf80964d197f5382ca76f9c6828d26070c42ad8945d0277d9af4a4feab534"},"0d6ffbeb4295b8fbdff431d4e2248e0b17d9f50decce083eed4949e7c243293c":{"translations":{"python":{"source":"amplify_app = amplify.App(self, \"MyApp\",\n source_code_provider=amplify.GitHubSourceCodeProvider(\n owner=\"\",\n repository=\"\",\n oauth_token=SecretValue.secrets_manager(\"my-github-token\")\n ),\n basic_auth=amplify.BasicAuth.from_credentials(\"username\", SecretValue.secrets_manager(\"my-github-token\"))\n)","version":"2"},"csharp":{"source":"var amplifyApp = new App(this, \"MyApp\", new AppProps {\n SourceCodeProvider = new GitHubSourceCodeProvider(new GitHubSourceCodeProviderProps {\n Owner = \"\",\n Repository = \"\",\n OauthToken = SecretValue.SecretsManager(\"my-github-token\")\n }),\n BasicAuth = BasicAuth.FromCredentials(\"username\", SecretValue.SecretsManager(\"my-github-token\"))\n});","version":"1"},"java":{"source":"App amplifyApp = App.Builder.create(this, \"MyApp\")\n .sourceCodeProvider(GitHubSourceCodeProvider.Builder.create()\n .owner(\"\")\n .repository(\"\")\n .oauthToken(SecretValue.secretsManager(\"my-github-token\"))\n .build())\n .basicAuth(BasicAuth.fromCredentials(\"username\", SecretValue.secretsManager(\"my-github-token\")))\n .build();","version":"1"},"go":{"source":"amplifyApp := amplify.NewApp(this, jsii.String(\"MyApp\"), &AppProps{\n\tSourceCodeProvider: amplify.NewGitHubSourceCodeProvider(&GitHubSourceCodeProviderProps{\n\t\tOwner: jsii.String(\"\"),\n\t\tRepository: jsii.String(\"\"),\n\t\tOauthToken: awscdkcore.SecretValue_SecretsManager(jsii.String(\"my-github-token\")),\n\t}),\n\tBasicAuth: amplify.BasicAuth_FromCredentials(jsii.String(\"username\"), *awscdkcore.SecretValue_*SecretsManager(jsii.String(\"my-github-token\"))),\n})","version":"1"},"$":{"source":"const amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitHubSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-github-token'),\n }),\n basicAuth: amplify.BasicAuth.fromCredentials('username', SecretValue.secretsManager('my-github-token')),\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-amplify"},"field":{"field":"markdown","line":148}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App","@aws-cdk/aws-amplify.AppProps","@aws-cdk/aws-amplify.BasicAuth","@aws-cdk/aws-amplify.BasicAuth#fromCredentials","@aws-cdk/aws-amplify.GitHubSourceCodeProvider","@aws-cdk/aws-amplify.GitHubSourceCodeProviderProps","@aws-cdk/aws-amplify.ISourceCodeProvider","@aws-cdk/core.SecretValue","@aws-cdk/core.SecretValue#secretsManager","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitHubSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-github-token'),\n }),\n basicAuth: amplify.BasicAuth.fromCredentials('username', SecretValue.secretsManager('my-github-token')),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":6,"75":17,"104":1,"193":2,"194":6,"196":3,"197":2,"225":1,"242":1,"243":1,"281":5},"fqnsFingerprint":"95aed611fb461b78c856111cd64e4bc4bd0e94460cb486d38291653269fffd63"},"21c66e308f13e58f5f10218a210f0ba9db3cb258ac8ba050c0f219034c4617c3":{"translations":{"python":{"source":"amplify_app = amplify.App(self, \"MyApp\",\n source_code_provider=amplify.GitHubSourceCodeProvider(\n owner=\"\",\n repository=\"\",\n oauth_token=SecretValue.secrets_manager(\"my-github-token\")\n ),\n basic_auth=amplify.BasicAuth.from_generated_password(\"username\")\n)","version":"2"},"csharp":{"source":"var amplifyApp = new App(this, \"MyApp\", new AppProps {\n SourceCodeProvider = new GitHubSourceCodeProvider(new GitHubSourceCodeProviderProps {\n Owner = \"\",\n Repository = \"\",\n OauthToken = SecretValue.SecretsManager(\"my-github-token\")\n }),\n BasicAuth = BasicAuth.FromGeneratedPassword(\"username\")\n});","version":"1"},"java":{"source":"App amplifyApp = App.Builder.create(this, \"MyApp\")\n .sourceCodeProvider(GitHubSourceCodeProvider.Builder.create()\n .owner(\"\")\n .repository(\"\")\n .oauthToken(SecretValue.secretsManager(\"my-github-token\"))\n .build())\n .basicAuth(BasicAuth.fromGeneratedPassword(\"username\"))\n .build();","version":"1"},"go":{"source":"amplifyApp := amplify.NewApp(this, jsii.String(\"MyApp\"), &AppProps{\n\tSourceCodeProvider: amplify.NewGitHubSourceCodeProvider(&GitHubSourceCodeProviderProps{\n\t\tOwner: jsii.String(\"\"),\n\t\tRepository: jsii.String(\"\"),\n\t\tOauthToken: awscdkcore.SecretValue_SecretsManager(jsii.String(\"my-github-token\")),\n\t}),\n\tBasicAuth: amplify.BasicAuth_FromGeneratedPassword(jsii.String(\"username\")),\n})","version":"1"},"$":{"source":"const amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitHubSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-github-token'),\n }),\n basicAuth: amplify.BasicAuth.fromGeneratedPassword('username'),\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-amplify"},"field":{"field":"markdown","line":161}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App","@aws-cdk/aws-amplify.AppProps","@aws-cdk/aws-amplify.BasicAuth","@aws-cdk/aws-amplify.BasicAuth#fromGeneratedPassword","@aws-cdk/aws-amplify.GitHubSourceCodeProvider","@aws-cdk/aws-amplify.GitHubSourceCodeProviderProps","@aws-cdk/aws-amplify.ISourceCodeProvider","@aws-cdk/core.SecretValue","@aws-cdk/core.SecretValue#secretsManager","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitHubSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-github-token'),\n }),\n basicAuth: amplify.BasicAuth.fromGeneratedPassword('username'),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":5,"75":15,"104":1,"193":2,"194":5,"196":2,"197":2,"225":1,"242":1,"243":1,"281":5},"fqnsFingerprint":"2a5d6690cc5dead2520d8f058331ac123e22eec1d88b3d0a030496e8764445fd"},"a176d3a5dd8d0fcf7a9598a2c23dfd6414112072f48dc5615d4dbe6b29c79c7f":{"translations":{"python":{"source":"# amplify_app: amplify.App\n\namplify_app.add_branch(\"feature/next\",\n basic_auth=amplify.BasicAuth.from_generated_password(\"username\")\n)","version":"2"},"csharp":{"source":"App amplifyApp;\n\namplifyApp.AddBranch(\"feature/next\", new BranchOptions {\n BasicAuth = BasicAuth.FromGeneratedPassword(\"username\")\n});","version":"1"},"java":{"source":"App amplifyApp;\n\namplifyApp.addBranch(\"feature/next\", BranchOptions.builder()\n .basicAuth(BasicAuth.fromGeneratedPassword(\"username\"))\n .build());","version":"1"},"go":{"source":"var amplifyApp app\n\namplifyApp.AddBranch(jsii.String(\"feature/next\"), &BranchOptions{\n\tBasicAuth: amplify.BasicAuth_FromGeneratedPassword(jsii.String(\"username\")),\n})","version":"1"},"$":{"source":"declare const amplifyApp: amplify.App;\namplifyApp.addBranch('feature/next', {\n basicAuth: amplify.BasicAuth.fromGeneratedPassword('username'),\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-amplify"},"field":{"field":"markdown","line":174}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App#addBranch","@aws-cdk/aws-amplify.BasicAuth","@aws-cdk/aws-amplify.BasicAuth#fromGeneratedPassword","@aws-cdk/aws-amplify.BranchOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const amplifyApp: amplify.App;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\namplifyApp.addBranch('feature/next', {\n basicAuth: amplify.BasicAuth.fromGeneratedPassword('username'),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":9,"130":1,"153":1,"169":1,"193":1,"194":3,"196":2,"225":1,"226":1,"242":1,"243":1,"281":1,"290":1},"fqnsFingerprint":"6a174142eba0b3fd61fa77510b5c13c8cdb0cc6090303f3c6920b369aad58489"},"69fb9eb3cdc51ec0f8afa77ee4a112ecf0f24da1d78e8f847ca5764b0f0f16f7":{"translations":{"python":{"source":"amplify_app = amplify.App(self, \"MyApp\",\n source_code_provider=amplify.GitHubSourceCodeProvider(\n owner=\"\",\n repository=\"\",\n oauth_token=SecretValue.secrets_manager(\"my-github-token\")\n ),\n auto_branch_creation=amplify.AutoBranchCreation( # Automatically connect branches that match a pattern set\n patterns=[\"feature/*\", \"test/*\"]),\n auto_branch_deletion=True\n)","version":"2"},"csharp":{"source":"var amplifyApp = new App(this, \"MyApp\", new AppProps {\n SourceCodeProvider = new GitHubSourceCodeProvider(new GitHubSourceCodeProviderProps {\n Owner = \"\",\n Repository = \"\",\n OauthToken = SecretValue.SecretsManager(\"my-github-token\")\n }),\n AutoBranchCreation = new AutoBranchCreation { // Automatically connect branches that match a pattern set\n Patterns = new [] { \"feature/*\", \"test/*\" } },\n AutoBranchDeletion = true\n});","version":"1"},"java":{"source":"App amplifyApp = App.Builder.create(this, \"MyApp\")\n .sourceCodeProvider(GitHubSourceCodeProvider.Builder.create()\n .owner(\"\")\n .repository(\"\")\n .oauthToken(SecretValue.secretsManager(\"my-github-token\"))\n .build())\n .autoBranchCreation(AutoBranchCreation.builder() // Automatically connect branches that match a pattern set\n .patterns(List.of(\"feature/*\", \"test/*\")).build())\n .autoBranchDeletion(true)\n .build();","version":"1"},"go":{"source":"amplifyApp := amplify.NewApp(this, jsii.String(\"MyApp\"), &AppProps{\n\tSourceCodeProvider: amplify.NewGitHubSourceCodeProvider(&GitHubSourceCodeProviderProps{\n\t\tOwner: jsii.String(\"\"),\n\t\tRepository: jsii.String(\"\"),\n\t\tOauthToken: awscdkcore.SecretValue_SecretsManager(jsii.String(\"my-github-token\")),\n\t}),\n\tAutoBranchCreation: &AutoBranchCreation{\n\t\t // Automatically connect branches that match a pattern set\n\t\tPatterns: []*string{\n\t\t\tjsii.String(\"feature/*\"),\n\t\t\tjsii.String(\"test/*\"),\n\t\t},\n\t},\n\tAutoBranchDeletion: jsii.Boolean(true),\n})","version":"1"},"$":{"source":"const amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitHubSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-github-token'),\n }),\n autoBranchCreation: { // Automatically connect branches that match a pattern set\n patterns: ['feature/*', 'test/*'],\n },\n autoBranchDeletion: true, // Automatically disconnect a branch when you delete a branch from your repository\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-amplify"},"field":{"field":"markdown","line":186}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App","@aws-cdk/aws-amplify.AppProps","@aws-cdk/aws-amplify.AutoBranchCreation","@aws-cdk/aws-amplify.GitHubSourceCodeProvider","@aws-cdk/aws-amplify.GitHubSourceCodeProviderProps","@aws-cdk/aws-amplify.ISourceCodeProvider","@aws-cdk/core.SecretValue","@aws-cdk/core.SecretValue#secretsManager","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitHubSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-github-token'),\n }),\n autoBranchCreation: { // Automatically connect branches that match a pattern set\n patterns: ['feature/*', 'test/*'],\n },\n autoBranchDeletion: true, // Automatically disconnect a branch when you delete a branch from your repository\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":6,"75":14,"104":1,"106":1,"192":1,"193":3,"194":3,"196":1,"197":2,"225":1,"242":1,"243":1,"281":7},"fqnsFingerprint":"1b79da97f8fe2914038d2fb37c66331e32f8bc283a8bdd4f74670f0f99e340ee"},"c2f8aa69fbb819c678f2f8c2e937af128b2d32ba74d6ceeb825a14f92f8a99ce":{"translations":{"python":{"source":"amplify_app = amplify.App(self, \"App\",\n source_code_provider=amplify.GitHubSourceCodeProvider(\n owner=\"\",\n repository=\"\",\n oauth_token=SecretValue.secrets_manager(\"my-github-token\")\n ),\n custom_response_headers=[amplify.CustomResponseHeader(\n pattern=\"*.json\",\n headers={\n \"custom-header-name-1\": \"custom-header-value-1\",\n \"custom-header-name-2\": \"custom-header-value-2\"\n }\n ), amplify.CustomResponseHeader(\n pattern=\"/path/*\",\n headers={\n \"custom-header-name-1\": \"custom-header-value-2\"\n }\n )\n ]\n)","version":"2"},"csharp":{"source":"var amplifyApp = new App(this, \"App\", new AppProps {\n SourceCodeProvider = new GitHubSourceCodeProvider(new GitHubSourceCodeProviderProps {\n Owner = \"\",\n Repository = \"\",\n OauthToken = SecretValue.SecretsManager(\"my-github-token\")\n }),\n CustomResponseHeaders = new [] { new CustomResponseHeader {\n Pattern = \"*.json\",\n Headers = new Dictionary {\n { \"custom-header-name-1\", \"custom-header-value-1\" },\n { \"custom-header-name-2\", \"custom-header-value-2\" }\n }\n }, new CustomResponseHeader {\n Pattern = \"/path/*\",\n Headers = new Dictionary {\n { \"custom-header-name-1\", \"custom-header-value-2\" }\n }\n } }\n});","version":"1"},"java":{"source":"App amplifyApp = App.Builder.create(this, \"App\")\n .sourceCodeProvider(GitHubSourceCodeProvider.Builder.create()\n .owner(\"\")\n .repository(\"\")\n .oauthToken(SecretValue.secretsManager(\"my-github-token\"))\n .build())\n .customResponseHeaders(List.of(CustomResponseHeader.builder()\n .pattern(\"*.json\")\n .headers(Map.of(\n \"custom-header-name-1\", \"custom-header-value-1\",\n \"custom-header-name-2\", \"custom-header-value-2\"))\n .build(), CustomResponseHeader.builder()\n .pattern(\"/path/*\")\n .headers(Map.of(\n \"custom-header-name-1\", \"custom-header-value-2\"))\n .build()))\n .build();","version":"1"},"go":{"source":"amplifyApp := amplify.NewApp(this, jsii.String(\"App\"), &AppProps{\n\tSourceCodeProvider: amplify.NewGitHubSourceCodeProvider(&GitHubSourceCodeProviderProps{\n\t\tOwner: jsii.String(\"\"),\n\t\tRepository: jsii.String(\"\"),\n\t\tOauthToken: awscdkcore.SecretValue_SecretsManager(jsii.String(\"my-github-token\")),\n\t}),\n\tCustomResponseHeaders: []customResponseHeader{\n\t\t&customResponseHeader{\n\t\t\tPattern: jsii.String(\"*.json\"),\n\t\t\tHeaders: map[string]*string{\n\t\t\t\t\"custom-header-name-1\": jsii.String(\"custom-header-value-1\"),\n\t\t\t\t\"custom-header-name-2\": jsii.String(\"custom-header-value-2\"),\n\t\t\t},\n\t\t},\n\t\t&customResponseHeader{\n\t\t\tPattern: jsii.String(\"/path/*\"),\n\t\t\tHeaders: map[string]*string{\n\t\t\t\t\"custom-header-name-1\": jsii.String(\"custom-header-value-2\"),\n\t\t\t},\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"const amplifyApp = new amplify.App(this, 'App', {\n sourceCodeProvider: new amplify.GitHubSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-github-token'),\n }),\n customResponseHeaders: [\n {\n pattern: '*.json',\n headers: {\n 'custom-header-name-1': 'custom-header-value-1',\n 'custom-header-name-2': 'custom-header-value-2',\n },\n },\n {\n pattern: '/path/*',\n headers: {\n 'custom-header-name-1': 'custom-header-value-2',\n },\n },\n ],\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-amplify"},"field":{"field":"markdown","line":204}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App","@aws-cdk/aws-amplify.AppProps","@aws-cdk/aws-amplify.GitHubSourceCodeProvider","@aws-cdk/aws-amplify.GitHubSourceCodeProviderProps","@aws-cdk/aws-amplify.ISourceCodeProvider","@aws-cdk/core.SecretValue","@aws-cdk/core.SecretValue#secretsManager","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst amplifyApp = new amplify.App(this, 'App', {\n sourceCodeProvider: new amplify.GitHubSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-github-token'),\n }),\n customResponseHeaders: [\n {\n pattern: '*.json',\n headers: {\n 'custom-header-name-1': 'custom-header-value-1',\n 'custom-header-name-2': 'custom-header-value-2',\n },\n },\n {\n pattern: '/path/*',\n headers: {\n 'custom-header-name-1': 'custom-header-value-2',\n },\n },\n ],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":12,"75":16,"104":1,"192":1,"193":6,"194":3,"196":1,"197":2,"225":1,"242":1,"243":1,"281":12},"fqnsFingerprint":"e2342470ef266eebf01b6159312722f622edbd284649aaa20f6d01fe3cebf158"},"a4197fbf42e4eac07222bc5e2c88b80af04f98dee66423e1c35cc56932a23d93":{"translations":{"python":{"source":"import aws_cdk.aws_s3_assets as assets\n\n# asset: assets.Asset\n# amplify_app: amplify.App\n\nbranch = amplify_app.add_branch(\"dev\", asset=asset)","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.S3.Assets;\n\nAsset asset;\nApp amplifyApp;\n\nvar branch = amplifyApp.AddBranch(\"dev\", new BranchOptions { Asset = asset });","version":"1"},"java":{"source":"import software.amazon.awscdk.services.s3.assets.*;\n\nAsset asset;\nApp amplifyApp;\n\nBranch branch = amplifyApp.addBranch(\"dev\", BranchOptions.builder().asset(asset).build());","version":"1"},"go":{"source":"import assets \"github.com/aws-samples/dummy/awscdkawss3assets\"\n\nvar asset asset\nvar amplifyApp app\n\nbranch := amplifyApp.AddBranch(jsii.String(\"dev\"), &BranchOptions{\n\tAsset: asset,\n})","version":"1"},"$":{"source":"import * as assets from '@aws-cdk/aws-s3-assets';\n\ndeclare const asset: assets.Asset;\ndeclare const amplifyApp: amplify.App;\nconst branch = amplifyApp.addBranch(\"dev\", { asset: asset });","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-amplify"},"field":{"field":"markdown","line":233}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App#addBranch","@aws-cdk/aws-amplify.Branch","@aws-cdk/aws-amplify.BranchOptions","@aws-cdk/aws-s3-assets.Asset"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\nimport * as assets from '@aws-cdk/aws-s3-assets';\n\ndeclare const asset: assets.Asset;\ndeclare const amplifyApp: amplify.App;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst branch = amplifyApp.addBranch(\"dev\", { asset: asset });\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":12,"130":2,"153":2,"169":2,"193":1,"194":1,"196":1,"225":3,"242":3,"243":3,"254":1,"255":1,"256":1,"281":1,"290":1},"fqnsFingerprint":"02258ce3d97b96972829967bfc41d2c48e4cc9bc963da57be59c63c284302365"},"1cf86efaa266846df6f586a42b9258af7ecd6e58b4c62811fe4ddf4266e2b708":{"translations":{"python":{"source":"amplify_app = amplify.App(self, \"MyApp\",\n source_code_provider=amplify.GitHubSourceCodeProvider(\n owner=\"\",\n repository=\"\",\n oauth_token=SecretValue.secrets_manager(\"my-github-token\")\n ),\n auto_branch_creation=amplify.AutoBranchCreation( # Automatically connect branches that match a pattern set\n patterns=[\"feature/*\", \"test/*\"]),\n auto_branch_deletion=True\n)","version":"2"},"csharp":{"source":"var amplifyApp = new App(this, \"MyApp\", new AppProps {\n SourceCodeProvider = new GitHubSourceCodeProvider(new GitHubSourceCodeProviderProps {\n Owner = \"\",\n Repository = \"\",\n OauthToken = SecretValue.SecretsManager(\"my-github-token\")\n }),\n AutoBranchCreation = new AutoBranchCreation { // Automatically connect branches that match a pattern set\n Patterns = new [] { \"feature/*\", \"test/*\" } },\n AutoBranchDeletion = true\n});","version":"1"},"java":{"source":"App amplifyApp = App.Builder.create(this, \"MyApp\")\n .sourceCodeProvider(GitHubSourceCodeProvider.Builder.create()\n .owner(\"\")\n .repository(\"\")\n .oauthToken(SecretValue.secretsManager(\"my-github-token\"))\n .build())\n .autoBranchCreation(AutoBranchCreation.builder() // Automatically connect branches that match a pattern set\n .patterns(List.of(\"feature/*\", \"test/*\")).build())\n .autoBranchDeletion(true)\n .build();","version":"1"},"go":{"source":"amplifyApp := amplify.NewApp(this, jsii.String(\"MyApp\"), &AppProps{\n\tSourceCodeProvider: amplify.NewGitHubSourceCodeProvider(&GitHubSourceCodeProviderProps{\n\t\tOwner: jsii.String(\"\"),\n\t\tRepository: jsii.String(\"\"),\n\t\tOauthToken: awscdkcore.SecretValue_SecretsManager(jsii.String(\"my-github-token\")),\n\t}),\n\tAutoBranchCreation: &AutoBranchCreation{\n\t\t // Automatically connect branches that match a pattern set\n\t\tPatterns: []*string{\n\t\t\tjsii.String(\"feature/*\"),\n\t\t\tjsii.String(\"test/*\"),\n\t\t},\n\t},\n\tAutoBranchDeletion: jsii.Boolean(true),\n})","version":"1"},"$":{"source":"const amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitHubSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-github-token'),\n }),\n autoBranchCreation: { // Automatically connect branches that match a pattern set\n patterns: ['feature/*', 'test/*'],\n },\n autoBranchDeletion: true, // Automatically disconnect a branch when you delete a branch from your repository\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.App"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App","@aws-cdk/aws-amplify.AppProps","@aws-cdk/aws-amplify.AutoBranchCreation","@aws-cdk/aws-amplify.GitHubSourceCodeProvider","@aws-cdk/aws-amplify.GitHubSourceCodeProviderProps","@aws-cdk/aws-amplify.ISourceCodeProvider","@aws-cdk/core.SecretValue","@aws-cdk/core.SecretValue#secretsManager","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitHubSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-github-token'),\n }),\n autoBranchCreation: { // Automatically connect branches that match a pattern set\n patterns: ['feature/*', 'test/*'],\n },\n autoBranchDeletion: true, // Automatically disconnect a branch when you delete a branch from your repository\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":6,"75":14,"104":1,"106":1,"192":1,"193":3,"194":3,"196":1,"197":2,"225":1,"242":1,"243":1,"281":7},"fqnsFingerprint":"1b79da97f8fe2914038d2fb37c66331e32f8bc283a8bdd4f74670f0f99e340ee"},"3275c8c5584e250566d27962c4a40059baad88a04a28962f41676b67d96c8cfc":{"translations":{"python":{"source":"amplify_app = amplify.App(self, \"MyApp\",\n source_code_provider=amplify.GitHubSourceCodeProvider(\n owner=\"\",\n repository=\"\",\n oauth_token=SecretValue.secrets_manager(\"my-github-token\")\n ),\n auto_branch_creation=amplify.AutoBranchCreation( # Automatically connect branches that match a pattern set\n patterns=[\"feature/*\", \"test/*\"]),\n auto_branch_deletion=True\n)","version":"2"},"csharp":{"source":"var amplifyApp = new App(this, \"MyApp\", new AppProps {\n SourceCodeProvider = new GitHubSourceCodeProvider(new GitHubSourceCodeProviderProps {\n Owner = \"\",\n Repository = \"\",\n OauthToken = SecretValue.SecretsManager(\"my-github-token\")\n }),\n AutoBranchCreation = new AutoBranchCreation { // Automatically connect branches that match a pattern set\n Patterns = new [] { \"feature/*\", \"test/*\" } },\n AutoBranchDeletion = true\n});","version":"1"},"java":{"source":"App amplifyApp = App.Builder.create(this, \"MyApp\")\n .sourceCodeProvider(GitHubSourceCodeProvider.Builder.create()\n .owner(\"\")\n .repository(\"\")\n .oauthToken(SecretValue.secretsManager(\"my-github-token\"))\n .build())\n .autoBranchCreation(AutoBranchCreation.builder() // Automatically connect branches that match a pattern set\n .patterns(List.of(\"feature/*\", \"test/*\")).build())\n .autoBranchDeletion(true)\n .build();","version":"1"},"go":{"source":"amplifyApp := amplify.NewApp(this, jsii.String(\"MyApp\"), &AppProps{\n\tSourceCodeProvider: amplify.NewGitHubSourceCodeProvider(&GitHubSourceCodeProviderProps{\n\t\tOwner: jsii.String(\"\"),\n\t\tRepository: jsii.String(\"\"),\n\t\tOauthToken: awscdkcore.SecretValue_SecretsManager(jsii.String(\"my-github-token\")),\n\t}),\n\tAutoBranchCreation: &AutoBranchCreation{\n\t\t // Automatically connect branches that match a pattern set\n\t\tPatterns: []*string{\n\t\t\tjsii.String(\"feature/*\"),\n\t\t\tjsii.String(\"test/*\"),\n\t\t},\n\t},\n\tAutoBranchDeletion: jsii.Boolean(true),\n})","version":"1"},"$":{"source":"const amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitHubSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-github-token'),\n }),\n autoBranchCreation: { // Automatically connect branches that match a pattern set\n patterns: ['feature/*', 'test/*'],\n },\n autoBranchDeletion: true, // Automatically disconnect a branch when you delete a branch from your repository\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.AppProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App","@aws-cdk/aws-amplify.AppProps","@aws-cdk/aws-amplify.AutoBranchCreation","@aws-cdk/aws-amplify.GitHubSourceCodeProvider","@aws-cdk/aws-amplify.GitHubSourceCodeProviderProps","@aws-cdk/aws-amplify.ISourceCodeProvider","@aws-cdk/core.SecretValue","@aws-cdk/core.SecretValue#secretsManager","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitHubSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-github-token'),\n }),\n autoBranchCreation: { // Automatically connect branches that match a pattern set\n patterns: ['feature/*', 'test/*'],\n },\n autoBranchDeletion: true, // Automatically disconnect a branch when you delete a branch from your repository\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":6,"75":14,"104":1,"106":1,"192":1,"193":3,"194":3,"196":1,"197":2,"225":1,"242":1,"243":1,"281":7},"fqnsFingerprint":"1b79da97f8fe2914038d2fb37c66331e32f8bc283a8bdd4f74670f0f99e340ee"},"d4449305071cb7f1260385fa91208f5b4170ab1d16b415fac9462aadc269a219":{"translations":{"python":{"source":"amplify_app = amplify.App(self, \"MyApp\",\n source_code_provider=amplify.GitHubSourceCodeProvider(\n owner=\"\",\n repository=\"\",\n oauth_token=SecretValue.secrets_manager(\"my-github-token\")\n ),\n auto_branch_creation=amplify.AutoBranchCreation( # Automatically connect branches that match a pattern set\n patterns=[\"feature/*\", \"test/*\"]),\n auto_branch_deletion=True\n)","version":"2"},"csharp":{"source":"var amplifyApp = new App(this, \"MyApp\", new AppProps {\n SourceCodeProvider = new GitHubSourceCodeProvider(new GitHubSourceCodeProviderProps {\n Owner = \"\",\n Repository = \"\",\n OauthToken = SecretValue.SecretsManager(\"my-github-token\")\n }),\n AutoBranchCreation = new AutoBranchCreation { // Automatically connect branches that match a pattern set\n Patterns = new [] { \"feature/*\", \"test/*\" } },\n AutoBranchDeletion = true\n});","version":"1"},"java":{"source":"App amplifyApp = App.Builder.create(this, \"MyApp\")\n .sourceCodeProvider(GitHubSourceCodeProvider.Builder.create()\n .owner(\"\")\n .repository(\"\")\n .oauthToken(SecretValue.secretsManager(\"my-github-token\"))\n .build())\n .autoBranchCreation(AutoBranchCreation.builder() // Automatically connect branches that match a pattern set\n .patterns(List.of(\"feature/*\", \"test/*\")).build())\n .autoBranchDeletion(true)\n .build();","version":"1"},"go":{"source":"amplifyApp := amplify.NewApp(this, jsii.String(\"MyApp\"), &AppProps{\n\tSourceCodeProvider: amplify.NewGitHubSourceCodeProvider(&GitHubSourceCodeProviderProps{\n\t\tOwner: jsii.String(\"\"),\n\t\tRepository: jsii.String(\"\"),\n\t\tOauthToken: awscdkcore.SecretValue_SecretsManager(jsii.String(\"my-github-token\")),\n\t}),\n\tAutoBranchCreation: &AutoBranchCreation{\n\t\t // Automatically connect branches that match a pattern set\n\t\tPatterns: []*string{\n\t\t\tjsii.String(\"feature/*\"),\n\t\t\tjsii.String(\"test/*\"),\n\t\t},\n\t},\n\tAutoBranchDeletion: jsii.Boolean(true),\n})","version":"1"},"$":{"source":"const amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitHubSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-github-token'),\n }),\n autoBranchCreation: { // Automatically connect branches that match a pattern set\n patterns: ['feature/*', 'test/*'],\n },\n autoBranchDeletion: true, // Automatically disconnect a branch when you delete a branch from your repository\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.AutoBranchCreation"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App","@aws-cdk/aws-amplify.AppProps","@aws-cdk/aws-amplify.AutoBranchCreation","@aws-cdk/aws-amplify.GitHubSourceCodeProvider","@aws-cdk/aws-amplify.GitHubSourceCodeProviderProps","@aws-cdk/aws-amplify.ISourceCodeProvider","@aws-cdk/core.SecretValue","@aws-cdk/core.SecretValue#secretsManager","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitHubSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-github-token'),\n }),\n autoBranchCreation: { // Automatically connect branches that match a pattern set\n patterns: ['feature/*', 'test/*'],\n },\n autoBranchDeletion: true, // Automatically disconnect a branch when you delete a branch from your repository\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":6,"75":14,"104":1,"106":1,"192":1,"193":3,"194":3,"196":1,"197":2,"225":1,"242":1,"243":1,"281":7},"fqnsFingerprint":"1b79da97f8fe2914038d2fb37c66331e32f8bc283a8bdd4f74670f0f99e340ee"},"e646f9991bd1a4d6b7d2ef405b7f356607ad1d90220af939fa0b5c60b9964b0d":{"translations":{"python":{"source":"amplify_app = amplify.App(self, \"MyApp\",\n source_code_provider=amplify.GitHubSourceCodeProvider(\n owner=\"\",\n repository=\"\",\n oauth_token=SecretValue.secrets_manager(\"my-github-token\")\n ),\n basic_auth=amplify.BasicAuth.from_generated_password(\"username\")\n)","version":"2"},"csharp":{"source":"var amplifyApp = new App(this, \"MyApp\", new AppProps {\n SourceCodeProvider = new GitHubSourceCodeProvider(new GitHubSourceCodeProviderProps {\n Owner = \"\",\n Repository = \"\",\n OauthToken = SecretValue.SecretsManager(\"my-github-token\")\n }),\n BasicAuth = BasicAuth.FromGeneratedPassword(\"username\")\n});","version":"1"},"java":{"source":"App amplifyApp = App.Builder.create(this, \"MyApp\")\n .sourceCodeProvider(GitHubSourceCodeProvider.Builder.create()\n .owner(\"\")\n .repository(\"\")\n .oauthToken(SecretValue.secretsManager(\"my-github-token\"))\n .build())\n .basicAuth(BasicAuth.fromGeneratedPassword(\"username\"))\n .build();","version":"1"},"go":{"source":"amplifyApp := amplify.NewApp(this, jsii.String(\"MyApp\"), &AppProps{\n\tSourceCodeProvider: amplify.NewGitHubSourceCodeProvider(&GitHubSourceCodeProviderProps{\n\t\tOwner: jsii.String(\"\"),\n\t\tRepository: jsii.String(\"\"),\n\t\tOauthToken: awscdkcore.SecretValue_SecretsManager(jsii.String(\"my-github-token\")),\n\t}),\n\tBasicAuth: amplify.BasicAuth_FromGeneratedPassword(jsii.String(\"username\")),\n})","version":"1"},"$":{"source":"const amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitHubSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-github-token'),\n }),\n basicAuth: amplify.BasicAuth.fromGeneratedPassword('username'),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.BasicAuth"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App","@aws-cdk/aws-amplify.AppProps","@aws-cdk/aws-amplify.BasicAuth","@aws-cdk/aws-amplify.BasicAuth#fromGeneratedPassword","@aws-cdk/aws-amplify.GitHubSourceCodeProvider","@aws-cdk/aws-amplify.GitHubSourceCodeProviderProps","@aws-cdk/aws-amplify.ISourceCodeProvider","@aws-cdk/core.SecretValue","@aws-cdk/core.SecretValue#secretsManager","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitHubSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-github-token'),\n }),\n basicAuth: amplify.BasicAuth.fromGeneratedPassword('username'),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":5,"75":15,"104":1,"193":2,"194":5,"196":2,"197":2,"225":1,"242":1,"243":1,"281":5},"fqnsFingerprint":"2a5d6690cc5dead2520d8f058331ac123e22eec1d88b3d0a030496e8764445fd"},"f0733f3212c7cdf92735e5c77dc582b0d5d417eafecad83cbb7f793c8e86268d":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_amplify as amplify\n\nbasic_auth_config = amplify.BasicAuthConfig(\n enable_basic_auth=False,\n password=\"password\",\n username=\"username\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Amplify;\n\nvar basicAuthConfig = new BasicAuthConfig {\n EnableBasicAuth = false,\n Password = \"password\",\n Username = \"username\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.amplify.*;\n\nBasicAuthConfig basicAuthConfig = BasicAuthConfig.builder()\n .enableBasicAuth(false)\n .password(\"password\")\n .username(\"username\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport amplify \"github.com/aws-samples/dummy/awscdkawsamplify\"\n\nbasicAuthConfig := &BasicAuthConfig{\n\tEnableBasicAuth: jsii.Boolean(false),\n\tPassword: jsii.String(\"password\"),\n\tUsername: jsii.String(\"username\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nconst basicAuthConfig: amplify.BasicAuthConfig = {\n enableBasicAuth: false,\n password: 'password',\n username: 'username',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.BasicAuthConfig"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.BasicAuthConfig"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst basicAuthConfig: amplify.BasicAuthConfig = {\n enableBasicAuth: false,\n password: 'password',\n username: 'username',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":7,"91":1,"153":1,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":3,"290":1},"fqnsFingerprint":"15a30a2cc4dfed54199ce067938ccaa8b9a1755ffd3328c454974be68491ec06"},"42e6a9b14c026b266bcf7b03185a3669439f1d6eb562a698ba74aec0db483020":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_amplify as amplify\nimport aws_cdk.aws_kms as kms\nimport aws_cdk.core as cdk\n\n# key: kms.Key\n# secret_value: cdk.SecretValue\n\nbasic_auth_props = amplify.BasicAuthProps(\n username=\"username\",\n\n # the properties below are optional\n encryption_key=key,\n password=secret_value\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Amplify;\nusing Amazon.CDK.AWS.KMS;\nusing Amazon.CDK;\n\nKey key;\nSecretValue secretValue;\nvar basicAuthProps = new BasicAuthProps {\n Username = \"username\",\n\n // the properties below are optional\n EncryptionKey = key,\n Password = secretValue\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.amplify.*;\nimport software.amazon.awscdk.services.kms.*;\nimport software.amazon.awscdk.core.*;\n\nKey key;\nSecretValue secretValue;\n\nBasicAuthProps basicAuthProps = BasicAuthProps.builder()\n .username(\"username\")\n\n // the properties below are optional\n .encryptionKey(key)\n .password(secretValue)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport amplify \"github.com/aws-samples/dummy/awscdkawsamplify\"\nimport kms \"github.com/aws-samples/dummy/awscdkawskms\"\nimport cdk \"github.com/aws-samples/dummy/awscdkcore\"\n\nvar key key\nvar secretValue secretValue\n\nbasicAuthProps := &BasicAuthProps{\n\tUsername: jsii.String(\"username\"),\n\n\t// the properties below are optional\n\tEncryptionKey: key,\n\tPassword: secretValue,\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const key: kms.Key;\ndeclare const secretValue: cdk.SecretValue;\nconst basicAuthProps: amplify.BasicAuthProps = {\n username: 'username',\n\n // the properties below are optional\n encryptionKey: key,\n password: secretValue,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.BasicAuthProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.BasicAuthProps","@aws-cdk/aws-kms.IKey","@aws-cdk/core.SecretValue"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const key: kms.Key;\ndeclare const secretValue: cdk.SecretValue;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst basicAuthProps: amplify.BasicAuthProps = {\n username: 'username',\n\n // the properties below are optional\n encryptionKey: key,\n password: secretValue,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":4,"75":17,"130":2,"153":3,"169":3,"193":1,"225":3,"242":3,"243":3,"254":3,"255":3,"256":3,"281":3,"290":1},"fqnsFingerprint":"41dbadd519c41d2ed1aa970fb406558843f1f4a1d6df76e14950d5c4a6264ab0"},"79353915feedadaa0510ec357823bd189f34d54741489961fdf08679ae12f954":{"translations":{"python":{"source":"# amplify_app: amplify.App\n\n\nmaster = amplify_app.add_branch(\"master\") # `id` will be used as repo branch name\ndev = amplify_app.add_branch(\"dev\",\n performance_mode=True\n)\ndev.add_environment(\"STAGE\", \"dev\")","version":"2"},"csharp":{"source":"App amplifyApp;\n\n\nvar master = amplifyApp.AddBranch(\"master\"); // `id` will be used as repo branch name\nvar dev = amplifyApp.AddBranch(\"dev\", new BranchOptions {\n PerformanceMode = true\n});\ndev.AddEnvironment(\"STAGE\", \"dev\");","version":"1"},"java":{"source":"App amplifyApp;\n\n\nBranch master = amplifyApp.addBranch(\"master\"); // `id` will be used as repo branch name\nBranch dev = amplifyApp.addBranch(\"dev\", BranchOptions.builder()\n .performanceMode(true)\n .build());\ndev.addEnvironment(\"STAGE\", \"dev\");","version":"1"},"go":{"source":"var amplifyApp app\n\n\nmaster := amplifyApp.AddBranch(jsii.String(\"master\")) // `id` will be used as repo branch name\ndev := amplifyApp.AddBranch(jsii.String(\"dev\"), &BranchOptions{\n\tPerformanceMode: jsii.Boolean(true),\n})\ndev.AddEnvironment(jsii.String(\"STAGE\"), jsii.String(\"dev\"))","version":"1"},"$":{"source":"declare const amplifyApp: amplify.App;\n\nconst master = amplifyApp.addBranch('master'); // `id` will be used as repo branch name\nconst dev = amplifyApp.addBranch('dev', {\n performanceMode: true, // optional, enables performance mode\n});\ndev.addEnvironment('STAGE', 'dev');","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.Branch"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App#addBranch","@aws-cdk/aws-amplify.Branch","@aws-cdk/aws-amplify.Branch#addEnvironment","@aws-cdk/aws-amplify.BranchOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const amplifyApp: amplify.App;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst master = amplifyApp.addBranch('master'); // `id` will be used as repo branch name\nconst dev = amplifyApp.addBranch('dev', {\n performanceMode: true, // optional, enables performance mode\n});\ndev.addEnvironment('STAGE', 'dev');\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":12,"106":1,"130":1,"153":1,"169":1,"193":1,"194":3,"196":3,"225":3,"226":1,"242":3,"243":3,"281":1,"290":1},"fqnsFingerprint":"34ea63d682ed00644266af2120fd54f3b713d1c69d03c46ffa9bd3fafca119e0"},"672d0863e39700f4c8beb2474087fc2c42b2a871ac42de3a86b48a2d4fc1c8cc":{"translations":{"python":{"source":"# amplify_app: amplify.App\n\n\nmaster = amplify_app.add_branch(\"master\") # `id` will be used as repo branch name\ndev = amplify_app.add_branch(\"dev\",\n performance_mode=True\n)\ndev.add_environment(\"STAGE\", \"dev\")","version":"2"},"csharp":{"source":"App amplifyApp;\n\n\nvar master = amplifyApp.AddBranch(\"master\"); // `id` will be used as repo branch name\nvar dev = amplifyApp.AddBranch(\"dev\", new BranchOptions {\n PerformanceMode = true\n});\ndev.AddEnvironment(\"STAGE\", \"dev\");","version":"1"},"java":{"source":"App amplifyApp;\n\n\nBranch master = amplifyApp.addBranch(\"master\"); // `id` will be used as repo branch name\nBranch dev = amplifyApp.addBranch(\"dev\", BranchOptions.builder()\n .performanceMode(true)\n .build());\ndev.addEnvironment(\"STAGE\", \"dev\");","version":"1"},"go":{"source":"var amplifyApp app\n\n\nmaster := amplifyApp.AddBranch(jsii.String(\"master\")) // `id` will be used as repo branch name\ndev := amplifyApp.AddBranch(jsii.String(\"dev\"), &BranchOptions{\n\tPerformanceMode: jsii.Boolean(true),\n})\ndev.AddEnvironment(jsii.String(\"STAGE\"), jsii.String(\"dev\"))","version":"1"},"$":{"source":"declare const amplifyApp: amplify.App;\n\nconst master = amplifyApp.addBranch('master'); // `id` will be used as repo branch name\nconst dev = amplifyApp.addBranch('dev', {\n performanceMode: true, // optional, enables performance mode\n});\ndev.addEnvironment('STAGE', 'dev');","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.BranchOptions"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App#addBranch","@aws-cdk/aws-amplify.Branch","@aws-cdk/aws-amplify.Branch#addEnvironment","@aws-cdk/aws-amplify.BranchOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const amplifyApp: amplify.App;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst master = amplifyApp.addBranch('master'); // `id` will be used as repo branch name\nconst dev = amplifyApp.addBranch('dev', {\n performanceMode: true, // optional, enables performance mode\n});\ndev.addEnvironment('STAGE', 'dev');\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":12,"106":1,"130":1,"153":1,"169":1,"193":1,"194":3,"196":3,"225":3,"226":1,"242":3,"243":3,"281":1,"290":1},"fqnsFingerprint":"34ea63d682ed00644266af2120fd54f3b713d1c69d03c46ffa9bd3fafca119e0"},"aad8e83582e9c2f9e86ecf1c127713b1494cefc48a3608aa4d5ed60cee0a3ce9":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_amplify as amplify\nimport aws_cdk.aws_codebuild as codebuild\nimport aws_cdk.aws_s3_assets as s3_assets\n\n# app: amplify.App\n# asset: s3_assets.Asset\n# basic_auth: amplify.BasicAuth\n# build_spec: codebuild.BuildSpec\n\nbranch_props = amplify.BranchProps(\n app=app,\n\n # the properties below are optional\n asset=asset,\n auto_build=False,\n basic_auth=basic_auth,\n branch_name=\"branchName\",\n build_spec=build_spec,\n description=\"description\",\n environment_variables={\n \"environment_variables_key\": \"environmentVariables\"\n },\n performance_mode=False,\n pull_request_environment_name=\"pullRequestEnvironmentName\",\n pull_request_preview=False,\n stage=\"stage\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Amplify;\nusing Amazon.CDK.AWS.CodeBuild;\nusing Amazon.CDK.AWS.S3.Assets;\n\nApp app;\nAsset asset;\nBasicAuth basicAuth;\nBuildSpec buildSpec;\n\nvar branchProps = new BranchProps {\n App = app,\n\n // the properties below are optional\n Asset = asset,\n AutoBuild = false,\n BasicAuth = basicAuth,\n BranchName = \"branchName\",\n BuildSpec = buildSpec,\n Description = \"description\",\n EnvironmentVariables = new Dictionary {\n { \"environmentVariablesKey\", \"environmentVariables\" }\n },\n PerformanceMode = false,\n PullRequestEnvironmentName = \"pullRequestEnvironmentName\",\n PullRequestPreview = false,\n Stage = \"stage\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.amplify.*;\nimport software.amazon.awscdk.services.codebuild.*;\nimport software.amazon.awscdk.services.s3.assets.*;\n\nApp app;\nAsset asset;\nBasicAuth basicAuth;\nBuildSpec buildSpec;\n\nBranchProps branchProps = BranchProps.builder()\n .app(app)\n\n // the properties below are optional\n .asset(asset)\n .autoBuild(false)\n .basicAuth(basicAuth)\n .branchName(\"branchName\")\n .buildSpec(buildSpec)\n .description(\"description\")\n .environmentVariables(Map.of(\n \"environmentVariablesKey\", \"environmentVariables\"))\n .performanceMode(false)\n .pullRequestEnvironmentName(\"pullRequestEnvironmentName\")\n .pullRequestPreview(false)\n .stage(\"stage\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport amplify \"github.com/aws-samples/dummy/awscdkawsamplify\"\nimport codebuild \"github.com/aws-samples/dummy/awscdkawscodebuild\"\nimport s3_assets \"github.com/aws-samples/dummy/awscdkawss3assets\"\n\nvar app app\nvar asset asset\nvar basicAuth basicAuth\nvar buildSpec buildSpec\n\nbranchProps := &BranchProps{\n\tApp: app,\n\n\t// the properties below are optional\n\tAsset: asset,\n\tAutoBuild: jsii.Boolean(false),\n\tBasicAuth: basicAuth,\n\tBranchName: jsii.String(\"branchName\"),\n\tBuildSpec: buildSpec,\n\tDescription: jsii.String(\"description\"),\n\tEnvironmentVariables: map[string]*string{\n\t\t\"environmentVariablesKey\": jsii.String(\"environmentVariables\"),\n\t},\n\tPerformanceMode: jsii.Boolean(false),\n\tPullRequestEnvironmentName: jsii.String(\"pullRequestEnvironmentName\"),\n\tPullRequestPreview: jsii.Boolean(false),\n\tStage: jsii.String(\"stage\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nimport * as codebuild from '@aws-cdk/aws-codebuild';\nimport * as s3_assets from '@aws-cdk/aws-s3-assets';\n\ndeclare const app: amplify.App;\ndeclare const asset: s3_assets.Asset;\ndeclare const basicAuth: amplify.BasicAuth;\ndeclare const buildSpec: codebuild.BuildSpec;\nconst branchProps: amplify.BranchProps = {\n app: app,\n\n // the properties below are optional\n asset: asset,\n autoBuild: false,\n basicAuth: basicAuth,\n branchName: 'branchName',\n buildSpec: buildSpec,\n description: 'description',\n environmentVariables: {\n environmentVariablesKey: 'environmentVariables',\n },\n performanceMode: false,\n pullRequestEnvironmentName: 'pullRequestEnvironmentName',\n pullRequestPreview: false,\n stage: 'stage',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.BranchProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.BasicAuth","@aws-cdk/aws-amplify.BranchProps","@aws-cdk/aws-amplify.IApp","@aws-cdk/aws-codebuild.BuildSpec","@aws-cdk/aws-s3-assets.Asset"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nimport * as codebuild from '@aws-cdk/aws-codebuild';\nimport * as s3_assets from '@aws-cdk/aws-s3-assets';\n\ndeclare const app: amplify.App;\ndeclare const asset: s3_assets.Asset;\ndeclare const basicAuth: amplify.BasicAuth;\ndeclare const buildSpec: codebuild.BuildSpec;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst branchProps: amplify.BranchProps = {\n app: app,\n\n // the properties below are optional\n asset: asset,\n autoBuild: false,\n basicAuth: basicAuth,\n branchName: 'branchName',\n buildSpec: buildSpec,\n description: 'description',\n environmentVariables: {\n environmentVariablesKey: 'environmentVariables',\n },\n performanceMode: false,\n pullRequestEnvironmentName: 'pullRequestEnvironmentName',\n pullRequestPreview: false,\n stage: 'stage',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":8,"75":35,"91":3,"130":4,"153":5,"169":5,"193":2,"225":5,"242":5,"243":5,"254":3,"255":3,"256":3,"281":13,"290":1},"fqnsFingerprint":"87dd1caf10de7e8c3011a30f29212851e22e133a73d32c22f4701d4a3d02aac1"},"f3d27ccd6cf8ab4b6693c44fb98ff498f2ef4879166e465b21d9b067ce314dd1":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_amplify as amplify\n\ncfn_app = amplify.CfnApp(self, \"MyCfnApp\",\n name=\"name\",\n\n # the properties below are optional\n access_token=\"accessToken\",\n auto_branch_creation_config=amplify.CfnApp.AutoBranchCreationConfigProperty(\n auto_branch_creation_patterns=[\"autoBranchCreationPatterns\"],\n basic_auth_config=amplify.CfnApp.BasicAuthConfigProperty(\n enable_basic_auth=False,\n password=\"password\",\n username=\"username\"\n ),\n build_spec=\"buildSpec\",\n enable_auto_branch_creation=False,\n enable_auto_build=False,\n enable_performance_mode=False,\n enable_pull_request_preview=False,\n environment_variables=[amplify.CfnApp.EnvironmentVariableProperty(\n name=\"name\",\n value=\"value\"\n )],\n framework=\"framework\",\n pull_request_environment_name=\"pullRequestEnvironmentName\",\n stage=\"stage\"\n ),\n basic_auth_config=amplify.CfnApp.BasicAuthConfigProperty(\n enable_basic_auth=False,\n password=\"password\",\n username=\"username\"\n ),\n build_spec=\"buildSpec\",\n custom_headers=\"customHeaders\",\n custom_rules=[amplify.CfnApp.CustomRuleProperty(\n source=\"source\",\n target=\"target\",\n\n # the properties below are optional\n condition=\"condition\",\n status=\"status\"\n )],\n description=\"description\",\n enable_branch_auto_deletion=False,\n environment_variables=[amplify.CfnApp.EnvironmentVariableProperty(\n name=\"name\",\n value=\"value\"\n )],\n iam_service_role=\"iamServiceRole\",\n oauth_token=\"oauthToken\",\n platform=\"platform\",\n repository=\"repository\",\n tags=[CfnTag(\n key=\"key\",\n value=\"value\"\n )]\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Amplify;\n\nvar cfnApp = new CfnApp(this, \"MyCfnApp\", new CfnAppProps {\n Name = \"name\",\n\n // the properties below are optional\n AccessToken = \"accessToken\",\n AutoBranchCreationConfig = new AutoBranchCreationConfigProperty {\n AutoBranchCreationPatterns = new [] { \"autoBranchCreationPatterns\" },\n BasicAuthConfig = new BasicAuthConfigProperty {\n EnableBasicAuth = false,\n Password = \"password\",\n Username = \"username\"\n },\n BuildSpec = \"buildSpec\",\n EnableAutoBranchCreation = false,\n EnableAutoBuild = false,\n EnablePerformanceMode = false,\n EnablePullRequestPreview = false,\n EnvironmentVariables = new [] { new EnvironmentVariableProperty {\n Name = \"name\",\n Value = \"value\"\n } },\n Framework = \"framework\",\n PullRequestEnvironmentName = \"pullRequestEnvironmentName\",\n Stage = \"stage\"\n },\n BasicAuthConfig = new BasicAuthConfigProperty {\n EnableBasicAuth = false,\n Password = \"password\",\n Username = \"username\"\n },\n BuildSpec = \"buildSpec\",\n CustomHeaders = \"customHeaders\",\n CustomRules = new [] { new CustomRuleProperty {\n Source = \"source\",\n Target = \"target\",\n\n // the properties below are optional\n Condition = \"condition\",\n Status = \"status\"\n } },\n Description = \"description\",\n EnableBranchAutoDeletion = false,\n EnvironmentVariables = new [] { new EnvironmentVariableProperty {\n Name = \"name\",\n Value = \"value\"\n } },\n IamServiceRole = \"iamServiceRole\",\n OauthToken = \"oauthToken\",\n Platform = \"platform\",\n Repository = \"repository\",\n Tags = new [] { new CfnTag {\n Key = \"key\",\n Value = \"value\"\n } }\n});","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.amplify.*;\n\nCfnApp cfnApp = CfnApp.Builder.create(this, \"MyCfnApp\")\n .name(\"name\")\n\n // the properties below are optional\n .accessToken(\"accessToken\")\n .autoBranchCreationConfig(AutoBranchCreationConfigProperty.builder()\n .autoBranchCreationPatterns(List.of(\"autoBranchCreationPatterns\"))\n .basicAuthConfig(BasicAuthConfigProperty.builder()\n .enableBasicAuth(false)\n .password(\"password\")\n .username(\"username\")\n .build())\n .buildSpec(\"buildSpec\")\n .enableAutoBranchCreation(false)\n .enableAutoBuild(false)\n .enablePerformanceMode(false)\n .enablePullRequestPreview(false)\n .environmentVariables(List.of(EnvironmentVariableProperty.builder()\n .name(\"name\")\n .value(\"value\")\n .build()))\n .framework(\"framework\")\n .pullRequestEnvironmentName(\"pullRequestEnvironmentName\")\n .stage(\"stage\")\n .build())\n .basicAuthConfig(BasicAuthConfigProperty.builder()\n .enableBasicAuth(false)\n .password(\"password\")\n .username(\"username\")\n .build())\n .buildSpec(\"buildSpec\")\n .customHeaders(\"customHeaders\")\n .customRules(List.of(CustomRuleProperty.builder()\n .source(\"source\")\n .target(\"target\")\n\n // the properties below are optional\n .condition(\"condition\")\n .status(\"status\")\n .build()))\n .description(\"description\")\n .enableBranchAutoDeletion(false)\n .environmentVariables(List.of(EnvironmentVariableProperty.builder()\n .name(\"name\")\n .value(\"value\")\n .build()))\n .iamServiceRole(\"iamServiceRole\")\n .oauthToken(\"oauthToken\")\n .platform(\"platform\")\n .repository(\"repository\")\n .tags(List.of(CfnTag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport amplify \"github.com/aws-samples/dummy/awscdkawsamplify\"\n\ncfnApp := amplify.NewCfnApp(this, jsii.String(\"MyCfnApp\"), &CfnAppProps{\n\tName: jsii.String(\"name\"),\n\n\t// the properties below are optional\n\tAccessToken: jsii.String(\"accessToken\"),\n\tAutoBranchCreationConfig: &AutoBranchCreationConfigProperty{\n\t\tAutoBranchCreationPatterns: []*string{\n\t\t\tjsii.String(\"autoBranchCreationPatterns\"),\n\t\t},\n\t\tBasicAuthConfig: &BasicAuthConfigProperty{\n\t\t\tEnableBasicAuth: jsii.Boolean(false),\n\t\t\tPassword: jsii.String(\"password\"),\n\t\t\tUsername: jsii.String(\"username\"),\n\t\t},\n\t\tBuildSpec: jsii.String(\"buildSpec\"),\n\t\tEnableAutoBranchCreation: jsii.Boolean(false),\n\t\tEnableAutoBuild: jsii.Boolean(false),\n\t\tEnablePerformanceMode: jsii.Boolean(false),\n\t\tEnablePullRequestPreview: jsii.Boolean(false),\n\t\tEnvironmentVariables: []interface{}{\n\t\t\t&EnvironmentVariableProperty{\n\t\t\t\tName: jsii.String(\"name\"),\n\t\t\t\tValue: jsii.String(\"value\"),\n\t\t\t},\n\t\t},\n\t\tFramework: jsii.String(\"framework\"),\n\t\tPullRequestEnvironmentName: jsii.String(\"pullRequestEnvironmentName\"),\n\t\tStage: jsii.String(\"stage\"),\n\t},\n\tBasicAuthConfig: &BasicAuthConfigProperty{\n\t\tEnableBasicAuth: jsii.Boolean(false),\n\t\tPassword: jsii.String(\"password\"),\n\t\tUsername: jsii.String(\"username\"),\n\t},\n\tBuildSpec: jsii.String(\"buildSpec\"),\n\tCustomHeaders: jsii.String(\"customHeaders\"),\n\tCustomRules: []interface{}{\n\t\t&CustomRuleProperty{\n\t\t\tSource: jsii.String(\"source\"),\n\t\t\tTarget: jsii.String(\"target\"),\n\n\t\t\t// the properties below are optional\n\t\t\tCondition: jsii.String(\"condition\"),\n\t\t\tStatus: jsii.String(\"status\"),\n\t\t},\n\t},\n\tDescription: jsii.String(\"description\"),\n\tEnableBranchAutoDeletion: jsii.Boolean(false),\n\tEnvironmentVariables: []interface{}{\n\t\t&EnvironmentVariableProperty{\n\t\t\tName: jsii.String(\"name\"),\n\t\t\tValue: jsii.String(\"value\"),\n\t\t},\n\t},\n\tIamServiceRole: jsii.String(\"iamServiceRole\"),\n\tOauthToken: jsii.String(\"oauthToken\"),\n\tPlatform: jsii.String(\"platform\"),\n\tRepository: jsii.String(\"repository\"),\n\tTags: []cfnTag{\n\t\t&cfnTag{\n\t\t\tKey: jsii.String(\"key\"),\n\t\t\tValue: jsii.String(\"value\"),\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nconst cfnApp = new amplify.CfnApp(this, 'MyCfnApp', {\n name: 'name',\n\n // the properties below are optional\n accessToken: 'accessToken',\n autoBranchCreationConfig: {\n autoBranchCreationPatterns: ['autoBranchCreationPatterns'],\n basicAuthConfig: {\n enableBasicAuth: false,\n password: 'password',\n username: 'username',\n },\n buildSpec: 'buildSpec',\n enableAutoBranchCreation: false,\n enableAutoBuild: false,\n enablePerformanceMode: false,\n enablePullRequestPreview: false,\n environmentVariables: [{\n name: 'name',\n value: 'value',\n }],\n framework: 'framework',\n pullRequestEnvironmentName: 'pullRequestEnvironmentName',\n stage: 'stage',\n },\n basicAuthConfig: {\n enableBasicAuth: false,\n password: 'password',\n username: 'username',\n },\n buildSpec: 'buildSpec',\n customHeaders: 'customHeaders',\n customRules: [{\n source: 'source',\n target: 'target',\n\n // the properties below are optional\n condition: 'condition',\n status: 'status',\n }],\n description: 'description',\n enableBranchAutoDeletion: false,\n environmentVariables: [{\n name: 'name',\n value: 'value',\n }],\n iamServiceRole: 'iamServiceRole',\n oauthToken: 'oauthToken',\n platform: 'platform',\n repository: 'repository',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.CfnApp"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.CfnApp","@aws-cdk/aws-amplify.CfnAppProps","@aws-cdk/core.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnApp = new amplify.CfnApp(this, 'MyCfnApp', {\n name: 'name',\n\n // the properties below are optional\n accessToken: 'accessToken',\n autoBranchCreationConfig: {\n autoBranchCreationPatterns: ['autoBranchCreationPatterns'],\n basicAuthConfig: {\n enableBasicAuth: false,\n password: 'password',\n username: 'username',\n },\n buildSpec: 'buildSpec',\n enableAutoBranchCreation: false,\n enableAutoBuild: false,\n enablePerformanceMode: false,\n enablePullRequestPreview: false,\n environmentVariables: [{\n name: 'name',\n value: 'value',\n }],\n framework: 'framework',\n pullRequestEnvironmentName: 'pullRequestEnvironmentName',\n stage: 'stage',\n },\n basicAuthConfig: {\n enableBasicAuth: false,\n password: 'password',\n username: 'username',\n },\n buildSpec: 'buildSpec',\n customHeaders: 'customHeaders',\n customRules: [{\n source: 'source',\n target: 'target',\n\n // the properties below are optional\n condition: 'condition',\n status: 'status',\n }],\n description: 'description',\n enableBranchAutoDeletion: false,\n environmentVariables: [{\n name: 'name',\n value: 'value',\n }],\n iamServiceRole: 'iamServiceRole',\n oauthToken: 'oauthToken',\n platform: 'platform',\n repository: 'repository',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":30,"75":46,"91":7,"104":1,"192":5,"193":8,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":42,"290":1},"fqnsFingerprint":"1ac7a5d690483623ef86668a5c2f140daf049b88902fcf869ce32be22d73faba"},"56b4e6e239580ca597c3a056b627032970d72c9e0ccc06b9becb5545afb905d4":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_amplify as amplify\n\nauto_branch_creation_config_property = amplify.CfnApp.AutoBranchCreationConfigProperty(\n auto_branch_creation_patterns=[\"autoBranchCreationPatterns\"],\n basic_auth_config=amplify.CfnApp.BasicAuthConfigProperty(\n enable_basic_auth=False,\n password=\"password\",\n username=\"username\"\n ),\n build_spec=\"buildSpec\",\n enable_auto_branch_creation=False,\n enable_auto_build=False,\n enable_performance_mode=False,\n enable_pull_request_preview=False,\n environment_variables=[amplify.CfnApp.EnvironmentVariableProperty(\n name=\"name\",\n value=\"value\"\n )],\n framework=\"framework\",\n pull_request_environment_name=\"pullRequestEnvironmentName\",\n stage=\"stage\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Amplify;\n\nvar autoBranchCreationConfigProperty = new AutoBranchCreationConfigProperty {\n AutoBranchCreationPatterns = new [] { \"autoBranchCreationPatterns\" },\n BasicAuthConfig = new BasicAuthConfigProperty {\n EnableBasicAuth = false,\n Password = \"password\",\n Username = \"username\"\n },\n BuildSpec = \"buildSpec\",\n EnableAutoBranchCreation = false,\n EnableAutoBuild = false,\n EnablePerformanceMode = false,\n EnablePullRequestPreview = false,\n EnvironmentVariables = new [] { new EnvironmentVariableProperty {\n Name = \"name\",\n Value = \"value\"\n } },\n Framework = \"framework\",\n PullRequestEnvironmentName = \"pullRequestEnvironmentName\",\n Stage = \"stage\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.amplify.*;\n\nAutoBranchCreationConfigProperty autoBranchCreationConfigProperty = AutoBranchCreationConfigProperty.builder()\n .autoBranchCreationPatterns(List.of(\"autoBranchCreationPatterns\"))\n .basicAuthConfig(BasicAuthConfigProperty.builder()\n .enableBasicAuth(false)\n .password(\"password\")\n .username(\"username\")\n .build())\n .buildSpec(\"buildSpec\")\n .enableAutoBranchCreation(false)\n .enableAutoBuild(false)\n .enablePerformanceMode(false)\n .enablePullRequestPreview(false)\n .environmentVariables(List.of(EnvironmentVariableProperty.builder()\n .name(\"name\")\n .value(\"value\")\n .build()))\n .framework(\"framework\")\n .pullRequestEnvironmentName(\"pullRequestEnvironmentName\")\n .stage(\"stage\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport amplify \"github.com/aws-samples/dummy/awscdkawsamplify\"\n\nautoBranchCreationConfigProperty := &AutoBranchCreationConfigProperty{\n\tAutoBranchCreationPatterns: []*string{\n\t\tjsii.String(\"autoBranchCreationPatterns\"),\n\t},\n\tBasicAuthConfig: &BasicAuthConfigProperty{\n\t\tEnableBasicAuth: jsii.Boolean(false),\n\t\tPassword: jsii.String(\"password\"),\n\t\tUsername: jsii.String(\"username\"),\n\t},\n\tBuildSpec: jsii.String(\"buildSpec\"),\n\tEnableAutoBranchCreation: jsii.Boolean(false),\n\tEnableAutoBuild: jsii.Boolean(false),\n\tEnablePerformanceMode: jsii.Boolean(false),\n\tEnablePullRequestPreview: jsii.Boolean(false),\n\tEnvironmentVariables: []interface{}{\n\t\t&EnvironmentVariableProperty{\n\t\t\tName: jsii.String(\"name\"),\n\t\t\tValue: jsii.String(\"value\"),\n\t\t},\n\t},\n\tFramework: jsii.String(\"framework\"),\n\tPullRequestEnvironmentName: jsii.String(\"pullRequestEnvironmentName\"),\n\tStage: jsii.String(\"stage\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nconst autoBranchCreationConfigProperty: amplify.CfnApp.AutoBranchCreationConfigProperty = {\n autoBranchCreationPatterns: ['autoBranchCreationPatterns'],\n basicAuthConfig: {\n enableBasicAuth: false,\n password: 'password',\n username: 'username',\n },\n buildSpec: 'buildSpec',\n enableAutoBranchCreation: false,\n enableAutoBuild: false,\n enablePerformanceMode: false,\n enablePullRequestPreview: false,\n environmentVariables: [{\n name: 'name',\n value: 'value',\n }],\n framework: 'framework',\n pullRequestEnvironmentName: 'pullRequestEnvironmentName',\n stage: 'stage',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.CfnApp.AutoBranchCreationConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.CfnApp.AutoBranchCreationConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst autoBranchCreationConfigProperty: amplify.CfnApp.AutoBranchCreationConfigProperty = {\n autoBranchCreationPatterns: ['autoBranchCreationPatterns'],\n basicAuthConfig: {\n enableBasicAuth: false,\n password: 'password',\n username: 'username',\n },\n buildSpec: 'buildSpec',\n enableAutoBranchCreation: false,\n enableAutoBuild: false,\n enablePerformanceMode: false,\n enablePullRequestPreview: false,\n environmentVariables: [{\n name: 'name',\n value: 'value',\n }],\n framework: 'framework',\n pullRequestEnvironmentName: 'pullRequestEnvironmentName',\n stage: 'stage',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":10,"75":21,"91":5,"153":2,"169":1,"192":2,"193":3,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":16,"290":1},"fqnsFingerprint":"7493c5176e93ddb1390e5bf01796731c6900d590e17857851cf4c70fbf19cbbb"},"6435f7517136d2eb46a5d2ae901d4ee1b14c28d488d7a8f40cbca990aadee277":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_amplify as amplify\n\nbasic_auth_config_property = amplify.CfnApp.BasicAuthConfigProperty(\n enable_basic_auth=False,\n password=\"password\",\n username=\"username\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Amplify;\n\nvar basicAuthConfigProperty = new BasicAuthConfigProperty {\n EnableBasicAuth = false,\n Password = \"password\",\n Username = \"username\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.amplify.*;\n\nBasicAuthConfigProperty basicAuthConfigProperty = BasicAuthConfigProperty.builder()\n .enableBasicAuth(false)\n .password(\"password\")\n .username(\"username\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport amplify \"github.com/aws-samples/dummy/awscdkawsamplify\"\n\nbasicAuthConfigProperty := &BasicAuthConfigProperty{\n\tEnableBasicAuth: jsii.Boolean(false),\n\tPassword: jsii.String(\"password\"),\n\tUsername: jsii.String(\"username\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nconst basicAuthConfigProperty: amplify.CfnApp.BasicAuthConfigProperty = {\n enableBasicAuth: false,\n password: 'password',\n username: 'username',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.CfnApp.BasicAuthConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.CfnApp.BasicAuthConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst basicAuthConfigProperty: amplify.CfnApp.BasicAuthConfigProperty = {\n enableBasicAuth: false,\n password: 'password',\n username: 'username',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":8,"91":1,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":3,"290":1},"fqnsFingerprint":"eb98f141e4af393a0b89d038eb5cd06640a2c8894a8be0eeb8a79da14aea5cf6"},"163cf332a75a28f7ec77e3158e3cd866afad32b75bc669d98d800ef220c566a4":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_amplify as amplify\n\ncustom_rule_property = amplify.CfnApp.CustomRuleProperty(\n source=\"source\",\n target=\"target\",\n\n # the properties below are optional\n condition=\"condition\",\n status=\"status\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Amplify;\n\nvar customRuleProperty = new CustomRuleProperty {\n Source = \"source\",\n Target = \"target\",\n\n // the properties below are optional\n Condition = \"condition\",\n Status = \"status\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.amplify.*;\n\nCustomRuleProperty customRuleProperty = CustomRuleProperty.builder()\n .source(\"source\")\n .target(\"target\")\n\n // the properties below are optional\n .condition(\"condition\")\n .status(\"status\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport amplify \"github.com/aws-samples/dummy/awscdkawsamplify\"\n\ncustomRuleProperty := &CustomRuleProperty{\n\tSource: jsii.String(\"source\"),\n\tTarget: jsii.String(\"target\"),\n\n\t// the properties below are optional\n\tCondition: jsii.String(\"condition\"),\n\tStatus: jsii.String(\"status\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nconst customRuleProperty: amplify.CfnApp.CustomRuleProperty = {\n source: 'source',\n target: 'target',\n\n // the properties below are optional\n condition: 'condition',\n status: 'status',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.CfnApp.CustomRuleProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.CfnApp.CustomRuleProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst customRuleProperty: amplify.CfnApp.CustomRuleProperty = {\n source: 'source',\n target: 'target',\n\n // the properties below are optional\n condition: 'condition',\n status: 'status',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":5,"75":9,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":4,"290":1},"fqnsFingerprint":"e8c8e417a032fd216bd11007ae7d1e6c121ac2fd80f8355a07acbfc9df93e46c"},"c5c5ece094b67a7faea3054e797e87823896eb44512d3ad50faac8ab31c9383d":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_amplify as amplify\n\nenvironment_variable_property = amplify.CfnApp.EnvironmentVariableProperty(\n name=\"name\",\n value=\"value\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Amplify;\n\nvar environmentVariableProperty = new EnvironmentVariableProperty {\n Name = \"name\",\n Value = \"value\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.amplify.*;\n\nEnvironmentVariableProperty environmentVariableProperty = EnvironmentVariableProperty.builder()\n .name(\"name\")\n .value(\"value\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport amplify \"github.com/aws-samples/dummy/awscdkawsamplify\"\n\nenvironmentVariableProperty := &EnvironmentVariableProperty{\n\tName: jsii.String(\"name\"),\n\tValue: jsii.String(\"value\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nconst environmentVariableProperty: amplify.CfnApp.EnvironmentVariableProperty = {\n name: 'name',\n value: 'value',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.CfnApp.EnvironmentVariableProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.CfnApp.EnvironmentVariableProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst environmentVariableProperty: amplify.CfnApp.EnvironmentVariableProperty = {\n name: 'name',\n value: 'value',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":7,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"313f035c85f82e87ce72f8152f1d71bab6e99caeb5154616155afc9f75595d7b"},"3648cadccb9c79eec3f54e3d84d314c609dcdb8bce4f059690bd8ade803d99f2":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_amplify as amplify\n\ncfn_app_props = amplify.CfnAppProps(\n name=\"name\",\n\n # the properties below are optional\n access_token=\"accessToken\",\n auto_branch_creation_config=amplify.CfnApp.AutoBranchCreationConfigProperty(\n auto_branch_creation_patterns=[\"autoBranchCreationPatterns\"],\n basic_auth_config=amplify.CfnApp.BasicAuthConfigProperty(\n enable_basic_auth=False,\n password=\"password\",\n username=\"username\"\n ),\n build_spec=\"buildSpec\",\n enable_auto_branch_creation=False,\n enable_auto_build=False,\n enable_performance_mode=False,\n enable_pull_request_preview=False,\n environment_variables=[amplify.CfnApp.EnvironmentVariableProperty(\n name=\"name\",\n value=\"value\"\n )],\n framework=\"framework\",\n pull_request_environment_name=\"pullRequestEnvironmentName\",\n stage=\"stage\"\n ),\n basic_auth_config=amplify.CfnApp.BasicAuthConfigProperty(\n enable_basic_auth=False,\n password=\"password\",\n username=\"username\"\n ),\n build_spec=\"buildSpec\",\n custom_headers=\"customHeaders\",\n custom_rules=[amplify.CfnApp.CustomRuleProperty(\n source=\"source\",\n target=\"target\",\n\n # the properties below are optional\n condition=\"condition\",\n status=\"status\"\n )],\n description=\"description\",\n enable_branch_auto_deletion=False,\n environment_variables=[amplify.CfnApp.EnvironmentVariableProperty(\n name=\"name\",\n value=\"value\"\n )],\n iam_service_role=\"iamServiceRole\",\n oauth_token=\"oauthToken\",\n platform=\"platform\",\n repository=\"repository\",\n tags=[CfnTag(\n key=\"key\",\n value=\"value\"\n )]\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Amplify;\n\nvar cfnAppProps = new CfnAppProps {\n Name = \"name\",\n\n // the properties below are optional\n AccessToken = \"accessToken\",\n AutoBranchCreationConfig = new AutoBranchCreationConfigProperty {\n AutoBranchCreationPatterns = new [] { \"autoBranchCreationPatterns\" },\n BasicAuthConfig = new BasicAuthConfigProperty {\n EnableBasicAuth = false,\n Password = \"password\",\n Username = \"username\"\n },\n BuildSpec = \"buildSpec\",\n EnableAutoBranchCreation = false,\n EnableAutoBuild = false,\n EnablePerformanceMode = false,\n EnablePullRequestPreview = false,\n EnvironmentVariables = new [] { new EnvironmentVariableProperty {\n Name = \"name\",\n Value = \"value\"\n } },\n Framework = \"framework\",\n PullRequestEnvironmentName = \"pullRequestEnvironmentName\",\n Stage = \"stage\"\n },\n BasicAuthConfig = new BasicAuthConfigProperty {\n EnableBasicAuth = false,\n Password = \"password\",\n Username = \"username\"\n },\n BuildSpec = \"buildSpec\",\n CustomHeaders = \"customHeaders\",\n CustomRules = new [] { new CustomRuleProperty {\n Source = \"source\",\n Target = \"target\",\n\n // the properties below are optional\n Condition = \"condition\",\n Status = \"status\"\n } },\n Description = \"description\",\n EnableBranchAutoDeletion = false,\n EnvironmentVariables = new [] { new EnvironmentVariableProperty {\n Name = \"name\",\n Value = \"value\"\n } },\n IamServiceRole = \"iamServiceRole\",\n OauthToken = \"oauthToken\",\n Platform = \"platform\",\n Repository = \"repository\",\n Tags = new [] { new CfnTag {\n Key = \"key\",\n Value = \"value\"\n } }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.amplify.*;\n\nCfnAppProps cfnAppProps = CfnAppProps.builder()\n .name(\"name\")\n\n // the properties below are optional\n .accessToken(\"accessToken\")\n .autoBranchCreationConfig(AutoBranchCreationConfigProperty.builder()\n .autoBranchCreationPatterns(List.of(\"autoBranchCreationPatterns\"))\n .basicAuthConfig(BasicAuthConfigProperty.builder()\n .enableBasicAuth(false)\n .password(\"password\")\n .username(\"username\")\n .build())\n .buildSpec(\"buildSpec\")\n .enableAutoBranchCreation(false)\n .enableAutoBuild(false)\n .enablePerformanceMode(false)\n .enablePullRequestPreview(false)\n .environmentVariables(List.of(EnvironmentVariableProperty.builder()\n .name(\"name\")\n .value(\"value\")\n .build()))\n .framework(\"framework\")\n .pullRequestEnvironmentName(\"pullRequestEnvironmentName\")\n .stage(\"stage\")\n .build())\n .basicAuthConfig(BasicAuthConfigProperty.builder()\n .enableBasicAuth(false)\n .password(\"password\")\n .username(\"username\")\n .build())\n .buildSpec(\"buildSpec\")\n .customHeaders(\"customHeaders\")\n .customRules(List.of(CustomRuleProperty.builder()\n .source(\"source\")\n .target(\"target\")\n\n // the properties below are optional\n .condition(\"condition\")\n .status(\"status\")\n .build()))\n .description(\"description\")\n .enableBranchAutoDeletion(false)\n .environmentVariables(List.of(EnvironmentVariableProperty.builder()\n .name(\"name\")\n .value(\"value\")\n .build()))\n .iamServiceRole(\"iamServiceRole\")\n .oauthToken(\"oauthToken\")\n .platform(\"platform\")\n .repository(\"repository\")\n .tags(List.of(CfnTag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport amplify \"github.com/aws-samples/dummy/awscdkawsamplify\"\n\ncfnAppProps := &CfnAppProps{\n\tName: jsii.String(\"name\"),\n\n\t// the properties below are optional\n\tAccessToken: jsii.String(\"accessToken\"),\n\tAutoBranchCreationConfig: &AutoBranchCreationConfigProperty{\n\t\tAutoBranchCreationPatterns: []*string{\n\t\t\tjsii.String(\"autoBranchCreationPatterns\"),\n\t\t},\n\t\tBasicAuthConfig: &BasicAuthConfigProperty{\n\t\t\tEnableBasicAuth: jsii.Boolean(false),\n\t\t\tPassword: jsii.String(\"password\"),\n\t\t\tUsername: jsii.String(\"username\"),\n\t\t},\n\t\tBuildSpec: jsii.String(\"buildSpec\"),\n\t\tEnableAutoBranchCreation: jsii.Boolean(false),\n\t\tEnableAutoBuild: jsii.Boolean(false),\n\t\tEnablePerformanceMode: jsii.Boolean(false),\n\t\tEnablePullRequestPreview: jsii.Boolean(false),\n\t\tEnvironmentVariables: []interface{}{\n\t\t\t&EnvironmentVariableProperty{\n\t\t\t\tName: jsii.String(\"name\"),\n\t\t\t\tValue: jsii.String(\"value\"),\n\t\t\t},\n\t\t},\n\t\tFramework: jsii.String(\"framework\"),\n\t\tPullRequestEnvironmentName: jsii.String(\"pullRequestEnvironmentName\"),\n\t\tStage: jsii.String(\"stage\"),\n\t},\n\tBasicAuthConfig: &BasicAuthConfigProperty{\n\t\tEnableBasicAuth: jsii.Boolean(false),\n\t\tPassword: jsii.String(\"password\"),\n\t\tUsername: jsii.String(\"username\"),\n\t},\n\tBuildSpec: jsii.String(\"buildSpec\"),\n\tCustomHeaders: jsii.String(\"customHeaders\"),\n\tCustomRules: []interface{}{\n\t\t&CustomRuleProperty{\n\t\t\tSource: jsii.String(\"source\"),\n\t\t\tTarget: jsii.String(\"target\"),\n\n\t\t\t// the properties below are optional\n\t\t\tCondition: jsii.String(\"condition\"),\n\t\t\tStatus: jsii.String(\"status\"),\n\t\t},\n\t},\n\tDescription: jsii.String(\"description\"),\n\tEnableBranchAutoDeletion: jsii.Boolean(false),\n\tEnvironmentVariables: []interface{}{\n\t\t&EnvironmentVariableProperty{\n\t\t\tName: jsii.String(\"name\"),\n\t\t\tValue: jsii.String(\"value\"),\n\t\t},\n\t},\n\tIamServiceRole: jsii.String(\"iamServiceRole\"),\n\tOauthToken: jsii.String(\"oauthToken\"),\n\tPlatform: jsii.String(\"platform\"),\n\tRepository: jsii.String(\"repository\"),\n\tTags: []cfnTag{\n\t\t&cfnTag{\n\t\t\tKey: jsii.String(\"key\"),\n\t\t\tValue: jsii.String(\"value\"),\n\t\t},\n\t},\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nconst cfnAppProps: amplify.CfnAppProps = {\n name: 'name',\n\n // the properties below are optional\n accessToken: 'accessToken',\n autoBranchCreationConfig: {\n autoBranchCreationPatterns: ['autoBranchCreationPatterns'],\n basicAuthConfig: {\n enableBasicAuth: false,\n password: 'password',\n username: 'username',\n },\n buildSpec: 'buildSpec',\n enableAutoBranchCreation: false,\n enableAutoBuild: false,\n enablePerformanceMode: false,\n enablePullRequestPreview: false,\n environmentVariables: [{\n name: 'name',\n value: 'value',\n }],\n framework: 'framework',\n pullRequestEnvironmentName: 'pullRequestEnvironmentName',\n stage: 'stage',\n },\n basicAuthConfig: {\n enableBasicAuth: false,\n password: 'password',\n username: 'username',\n },\n buildSpec: 'buildSpec',\n customHeaders: 'customHeaders',\n customRules: [{\n source: 'source',\n target: 'target',\n\n // the properties below are optional\n condition: 'condition',\n status: 'status',\n }],\n description: 'description',\n enableBranchAutoDeletion: false,\n environmentVariables: [{\n name: 'name',\n value: 'value',\n }],\n iamServiceRole: 'iamServiceRole',\n oauthToken: 'oauthToken',\n platform: 'platform',\n repository: 'repository',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.CfnAppProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.CfnAppProps"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnAppProps: amplify.CfnAppProps = {\n name: 'name',\n\n // the properties below are optional\n accessToken: 'accessToken',\n autoBranchCreationConfig: {\n autoBranchCreationPatterns: ['autoBranchCreationPatterns'],\n basicAuthConfig: {\n enableBasicAuth: false,\n password: 'password',\n username: 'username',\n },\n buildSpec: 'buildSpec',\n enableAutoBranchCreation: false,\n enableAutoBuild: false,\n enablePerformanceMode: false,\n enablePullRequestPreview: false,\n environmentVariables: [{\n name: 'name',\n value: 'value',\n }],\n framework: 'framework',\n pullRequestEnvironmentName: 'pullRequestEnvironmentName',\n stage: 'stage',\n },\n basicAuthConfig: {\n enableBasicAuth: false,\n password: 'password',\n username: 'username',\n },\n buildSpec: 'buildSpec',\n customHeaders: 'customHeaders',\n customRules: [{\n source: 'source',\n target: 'target',\n\n // the properties below are optional\n condition: 'condition',\n status: 'status',\n }],\n description: 'description',\n enableBranchAutoDeletion: false,\n environmentVariables: [{\n name: 'name',\n value: 'value',\n }],\n iamServiceRole: 'iamServiceRole',\n oauthToken: 'oauthToken',\n platform: 'platform',\n repository: 'repository',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":29,"75":46,"91":7,"153":1,"169":1,"192":5,"193":8,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":42,"290":1},"fqnsFingerprint":"feae43a35d8e8a75417b124c7046db16d800b661ebba1ae7b5099ac5a286c187"},"2b6114229ba48d4425690850fdc5523593b9d019907a2fa0976dc801ffdb7267":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_amplify as amplify\n\ncfn_branch = amplify.CfnBranch(self, \"MyCfnBranch\",\n app_id=\"appId\",\n branch_name=\"branchName\",\n\n # the properties below are optional\n basic_auth_config=amplify.CfnBranch.BasicAuthConfigProperty(\n password=\"password\",\n username=\"username\",\n\n # the properties below are optional\n enable_basic_auth=False\n ),\n build_spec=\"buildSpec\",\n description=\"description\",\n enable_auto_build=False,\n enable_performance_mode=False,\n enable_pull_request_preview=False,\n environment_variables=[amplify.CfnBranch.EnvironmentVariableProperty(\n name=\"name\",\n value=\"value\"\n )],\n framework=\"framework\",\n pull_request_environment_name=\"pullRequestEnvironmentName\",\n stage=\"stage\",\n tags=[CfnTag(\n key=\"key\",\n value=\"value\"\n )]\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Amplify;\n\nvar cfnBranch = new CfnBranch(this, \"MyCfnBranch\", new CfnBranchProps {\n AppId = \"appId\",\n BranchName = \"branchName\",\n\n // the properties below are optional\n BasicAuthConfig = new BasicAuthConfigProperty {\n Password = \"password\",\n Username = \"username\",\n\n // the properties below are optional\n EnableBasicAuth = false\n },\n BuildSpec = \"buildSpec\",\n Description = \"description\",\n EnableAutoBuild = false,\n EnablePerformanceMode = false,\n EnablePullRequestPreview = false,\n EnvironmentVariables = new [] { new EnvironmentVariableProperty {\n Name = \"name\",\n Value = \"value\"\n } },\n Framework = \"framework\",\n PullRequestEnvironmentName = \"pullRequestEnvironmentName\",\n Stage = \"stage\",\n Tags = new [] { new CfnTag {\n Key = \"key\",\n Value = \"value\"\n } }\n});","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.amplify.*;\n\nCfnBranch cfnBranch = CfnBranch.Builder.create(this, \"MyCfnBranch\")\n .appId(\"appId\")\n .branchName(\"branchName\")\n\n // the properties below are optional\n .basicAuthConfig(BasicAuthConfigProperty.builder()\n .password(\"password\")\n .username(\"username\")\n\n // the properties below are optional\n .enableBasicAuth(false)\n .build())\n .buildSpec(\"buildSpec\")\n .description(\"description\")\n .enableAutoBuild(false)\n .enablePerformanceMode(false)\n .enablePullRequestPreview(false)\n .environmentVariables(List.of(EnvironmentVariableProperty.builder()\n .name(\"name\")\n .value(\"value\")\n .build()))\n .framework(\"framework\")\n .pullRequestEnvironmentName(\"pullRequestEnvironmentName\")\n .stage(\"stage\")\n .tags(List.of(CfnTag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport amplify \"github.com/aws-samples/dummy/awscdkawsamplify\"\n\ncfnBranch := amplify.NewCfnBranch(this, jsii.String(\"MyCfnBranch\"), &CfnBranchProps{\n\tAppId: jsii.String(\"appId\"),\n\tBranchName: jsii.String(\"branchName\"),\n\n\t// the properties below are optional\n\tBasicAuthConfig: &BasicAuthConfigProperty{\n\t\tPassword: jsii.String(\"password\"),\n\t\tUsername: jsii.String(\"username\"),\n\n\t\t// the properties below are optional\n\t\tEnableBasicAuth: jsii.Boolean(false),\n\t},\n\tBuildSpec: jsii.String(\"buildSpec\"),\n\tDescription: jsii.String(\"description\"),\n\tEnableAutoBuild: jsii.Boolean(false),\n\tEnablePerformanceMode: jsii.Boolean(false),\n\tEnablePullRequestPreview: jsii.Boolean(false),\n\tEnvironmentVariables: []interface{}{\n\t\t&EnvironmentVariableProperty{\n\t\t\tName: jsii.String(\"name\"),\n\t\t\tValue: jsii.String(\"value\"),\n\t\t},\n\t},\n\tFramework: jsii.String(\"framework\"),\n\tPullRequestEnvironmentName: jsii.String(\"pullRequestEnvironmentName\"),\n\tStage: jsii.String(\"stage\"),\n\tTags: []cfnTag{\n\t\t&cfnTag{\n\t\t\tKey: jsii.String(\"key\"),\n\t\t\tValue: jsii.String(\"value\"),\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nconst cfnBranch = new amplify.CfnBranch(this, 'MyCfnBranch', {\n appId: 'appId',\n branchName: 'branchName',\n\n // the properties below are optional\n basicAuthConfig: {\n password: 'password',\n username: 'username',\n\n // the properties below are optional\n enableBasicAuth: false,\n },\n buildSpec: 'buildSpec',\n description: 'description',\n enableAutoBuild: false,\n enablePerformanceMode: false,\n enablePullRequestPreview: false,\n environmentVariables: [{\n name: 'name',\n value: 'value',\n }],\n framework: 'framework',\n pullRequestEnvironmentName: 'pullRequestEnvironmentName',\n stage: 'stage',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.CfnBranch"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.CfnBranch","@aws-cdk/aws-amplify.CfnBranchProps","@aws-cdk/core.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnBranch = new amplify.CfnBranch(this, 'MyCfnBranch', {\n appId: 'appId',\n branchName: 'branchName',\n\n // the properties below are optional\n basicAuthConfig: {\n password: 'password',\n username: 'username',\n\n // the properties below are optional\n enableBasicAuth: false,\n },\n buildSpec: 'buildSpec',\n description: 'description',\n enableAutoBuild: false,\n enablePerformanceMode: false,\n enablePullRequestPreview: false,\n environmentVariables: [{\n name: 'name',\n value: 'value',\n }],\n framework: 'framework',\n pullRequestEnvironmentName: 'pullRequestEnvironmentName',\n stage: 'stage',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":15,"75":24,"91":4,"104":1,"192":2,"193":4,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":20,"290":1},"fqnsFingerprint":"ebecd6a12bea52fd8c4427d07785df47d27c5a039b5147379d706e5e6e1e0e7f"},"7a6e417b9cf2c79cf1e9241fee659fd15c7e4094a748877ce56487b918d318eb":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_amplify as amplify\n\nbasic_auth_config_property = amplify.CfnBranch.BasicAuthConfigProperty(\n password=\"password\",\n username=\"username\",\n\n # the properties below are optional\n enable_basic_auth=False\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Amplify;\n\nvar basicAuthConfigProperty = new BasicAuthConfigProperty {\n Password = \"password\",\n Username = \"username\",\n\n // the properties below are optional\n EnableBasicAuth = false\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.amplify.*;\n\nBasicAuthConfigProperty basicAuthConfigProperty = BasicAuthConfigProperty.builder()\n .password(\"password\")\n .username(\"username\")\n\n // the properties below are optional\n .enableBasicAuth(false)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport amplify \"github.com/aws-samples/dummy/awscdkawsamplify\"\n\nbasicAuthConfigProperty := &BasicAuthConfigProperty{\n\tPassword: jsii.String(\"password\"),\n\tUsername: jsii.String(\"username\"),\n\n\t// the properties below are optional\n\tEnableBasicAuth: jsii.Boolean(false),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nconst basicAuthConfigProperty: amplify.CfnBranch.BasicAuthConfigProperty = {\n password: 'password',\n username: 'username',\n\n // the properties below are optional\n enableBasicAuth: false,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.CfnBranch.BasicAuthConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.CfnBranch.BasicAuthConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst basicAuthConfigProperty: amplify.CfnBranch.BasicAuthConfigProperty = {\n password: 'password',\n username: 'username',\n\n // the properties below are optional\n enableBasicAuth: false,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":8,"91":1,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":3,"290":1},"fqnsFingerprint":"d47aa0fc95ae73064bed7439fd98efbafffd6b2908af688b5ef796ae6b10957b"},"2af936087a4d6c01706a371b1cb1cee2f27bfd4d43c49cfa03bc8e7c22456603":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_amplify as amplify\n\nenvironment_variable_property = amplify.CfnBranch.EnvironmentVariableProperty(\n name=\"name\",\n value=\"value\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Amplify;\n\nvar environmentVariableProperty = new EnvironmentVariableProperty {\n Name = \"name\",\n Value = \"value\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.amplify.*;\n\nEnvironmentVariableProperty environmentVariableProperty = EnvironmentVariableProperty.builder()\n .name(\"name\")\n .value(\"value\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport amplify \"github.com/aws-samples/dummy/awscdkawsamplify\"\n\nenvironmentVariableProperty := &EnvironmentVariableProperty{\n\tName: jsii.String(\"name\"),\n\tValue: jsii.String(\"value\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nconst environmentVariableProperty: amplify.CfnBranch.EnvironmentVariableProperty = {\n name: 'name',\n value: 'value',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.CfnBranch.EnvironmentVariableProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.CfnBranch.EnvironmentVariableProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst environmentVariableProperty: amplify.CfnBranch.EnvironmentVariableProperty = {\n name: 'name',\n value: 'value',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":7,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"c96537ee9c9e9136e785e13222048a4d5680e5c4d68bdf83c6be70928a2c648c"},"3e514caaf99a78e55e1652b867373d2085cf4846d1592c4c36f783678d5661af":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_amplify as amplify\n\ncfn_branch_props = amplify.CfnBranchProps(\n app_id=\"appId\",\n branch_name=\"branchName\",\n\n # the properties below are optional\n basic_auth_config=amplify.CfnBranch.BasicAuthConfigProperty(\n password=\"password\",\n username=\"username\",\n\n # the properties below are optional\n enable_basic_auth=False\n ),\n build_spec=\"buildSpec\",\n description=\"description\",\n enable_auto_build=False,\n enable_performance_mode=False,\n enable_pull_request_preview=False,\n environment_variables=[amplify.CfnBranch.EnvironmentVariableProperty(\n name=\"name\",\n value=\"value\"\n )],\n framework=\"framework\",\n pull_request_environment_name=\"pullRequestEnvironmentName\",\n stage=\"stage\",\n tags=[CfnTag(\n key=\"key\",\n value=\"value\"\n )]\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Amplify;\n\nvar cfnBranchProps = new CfnBranchProps {\n AppId = \"appId\",\n BranchName = \"branchName\",\n\n // the properties below are optional\n BasicAuthConfig = new BasicAuthConfigProperty {\n Password = \"password\",\n Username = \"username\",\n\n // the properties below are optional\n EnableBasicAuth = false\n },\n BuildSpec = \"buildSpec\",\n Description = \"description\",\n EnableAutoBuild = false,\n EnablePerformanceMode = false,\n EnablePullRequestPreview = false,\n EnvironmentVariables = new [] { new EnvironmentVariableProperty {\n Name = \"name\",\n Value = \"value\"\n } },\n Framework = \"framework\",\n PullRequestEnvironmentName = \"pullRequestEnvironmentName\",\n Stage = \"stage\",\n Tags = new [] { new CfnTag {\n Key = \"key\",\n Value = \"value\"\n } }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.amplify.*;\n\nCfnBranchProps cfnBranchProps = CfnBranchProps.builder()\n .appId(\"appId\")\n .branchName(\"branchName\")\n\n // the properties below are optional\n .basicAuthConfig(BasicAuthConfigProperty.builder()\n .password(\"password\")\n .username(\"username\")\n\n // the properties below are optional\n .enableBasicAuth(false)\n .build())\n .buildSpec(\"buildSpec\")\n .description(\"description\")\n .enableAutoBuild(false)\n .enablePerformanceMode(false)\n .enablePullRequestPreview(false)\n .environmentVariables(List.of(EnvironmentVariableProperty.builder()\n .name(\"name\")\n .value(\"value\")\n .build()))\n .framework(\"framework\")\n .pullRequestEnvironmentName(\"pullRequestEnvironmentName\")\n .stage(\"stage\")\n .tags(List.of(CfnTag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport amplify \"github.com/aws-samples/dummy/awscdkawsamplify\"\n\ncfnBranchProps := &CfnBranchProps{\n\tAppId: jsii.String(\"appId\"),\n\tBranchName: jsii.String(\"branchName\"),\n\n\t// the properties below are optional\n\tBasicAuthConfig: &BasicAuthConfigProperty{\n\t\tPassword: jsii.String(\"password\"),\n\t\tUsername: jsii.String(\"username\"),\n\n\t\t// the properties below are optional\n\t\tEnableBasicAuth: jsii.Boolean(false),\n\t},\n\tBuildSpec: jsii.String(\"buildSpec\"),\n\tDescription: jsii.String(\"description\"),\n\tEnableAutoBuild: jsii.Boolean(false),\n\tEnablePerformanceMode: jsii.Boolean(false),\n\tEnablePullRequestPreview: jsii.Boolean(false),\n\tEnvironmentVariables: []interface{}{\n\t\t&EnvironmentVariableProperty{\n\t\t\tName: jsii.String(\"name\"),\n\t\t\tValue: jsii.String(\"value\"),\n\t\t},\n\t},\n\tFramework: jsii.String(\"framework\"),\n\tPullRequestEnvironmentName: jsii.String(\"pullRequestEnvironmentName\"),\n\tStage: jsii.String(\"stage\"),\n\tTags: []cfnTag{\n\t\t&cfnTag{\n\t\t\tKey: jsii.String(\"key\"),\n\t\t\tValue: jsii.String(\"value\"),\n\t\t},\n\t},\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nconst cfnBranchProps: amplify.CfnBranchProps = {\n appId: 'appId',\n branchName: 'branchName',\n\n // the properties below are optional\n basicAuthConfig: {\n password: 'password',\n username: 'username',\n\n // the properties below are optional\n enableBasicAuth: false,\n },\n buildSpec: 'buildSpec',\n description: 'description',\n enableAutoBuild: false,\n enablePerformanceMode: false,\n enablePullRequestPreview: false,\n environmentVariables: [{\n name: 'name',\n value: 'value',\n }],\n framework: 'framework',\n pullRequestEnvironmentName: 'pullRequestEnvironmentName',\n stage: 'stage',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.CfnBranchProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.CfnBranchProps"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnBranchProps: amplify.CfnBranchProps = {\n appId: 'appId',\n branchName: 'branchName',\n\n // the properties below are optional\n basicAuthConfig: {\n password: 'password',\n username: 'username',\n\n // the properties below are optional\n enableBasicAuth: false,\n },\n buildSpec: 'buildSpec',\n description: 'description',\n enableAutoBuild: false,\n enablePerformanceMode: false,\n enablePullRequestPreview: false,\n environmentVariables: [{\n name: 'name',\n value: 'value',\n }],\n framework: 'framework',\n pullRequestEnvironmentName: 'pullRequestEnvironmentName',\n stage: 'stage',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":14,"75":24,"91":4,"153":1,"169":1,"192":2,"193":4,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":20,"290":1},"fqnsFingerprint":"72a7a1d90ecba8fd3c3f664257f7a06c6dd480c489a1e1b9d9c71ec2e0494110"},"a001e0fb8b28d4a9913d060760aa941be1f83fc42965efcc13b89f81798b9765":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_amplify as amplify\n\ncfn_domain = amplify.CfnDomain(self, \"MyCfnDomain\",\n app_id=\"appId\",\n domain_name=\"domainName\",\n sub_domain_settings=[amplify.CfnDomain.SubDomainSettingProperty(\n branch_name=\"branchName\",\n prefix=\"prefix\"\n )],\n\n # the properties below are optional\n auto_sub_domain_creation_patterns=[\"autoSubDomainCreationPatterns\"],\n auto_sub_domain_iam_role=\"autoSubDomainIamRole\",\n enable_auto_sub_domain=False\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Amplify;\n\nvar cfnDomain = new CfnDomain(this, \"MyCfnDomain\", new CfnDomainProps {\n AppId = \"appId\",\n DomainName = \"domainName\",\n SubDomainSettings = new [] { new SubDomainSettingProperty {\n BranchName = \"branchName\",\n Prefix = \"prefix\"\n } },\n\n // the properties below are optional\n AutoSubDomainCreationPatterns = new [] { \"autoSubDomainCreationPatterns\" },\n AutoSubDomainIamRole = \"autoSubDomainIamRole\",\n EnableAutoSubDomain = false\n});","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.amplify.*;\n\nCfnDomain cfnDomain = CfnDomain.Builder.create(this, \"MyCfnDomain\")\n .appId(\"appId\")\n .domainName(\"domainName\")\n .subDomainSettings(List.of(SubDomainSettingProperty.builder()\n .branchName(\"branchName\")\n .prefix(\"prefix\")\n .build()))\n\n // the properties below are optional\n .autoSubDomainCreationPatterns(List.of(\"autoSubDomainCreationPatterns\"))\n .autoSubDomainIamRole(\"autoSubDomainIamRole\")\n .enableAutoSubDomain(false)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport amplify \"github.com/aws-samples/dummy/awscdkawsamplify\"\n\ncfnDomain := amplify.NewCfnDomain(this, jsii.String(\"MyCfnDomain\"), &CfnDomainProps{\n\tAppId: jsii.String(\"appId\"),\n\tDomainName: jsii.String(\"domainName\"),\n\tSubDomainSettings: []interface{}{\n\t\t&SubDomainSettingProperty{\n\t\t\tBranchName: jsii.String(\"branchName\"),\n\t\t\tPrefix: jsii.String(\"prefix\"),\n\t\t},\n\t},\n\n\t// the properties below are optional\n\tAutoSubDomainCreationPatterns: []*string{\n\t\tjsii.String(\"autoSubDomainCreationPatterns\"),\n\t},\n\tAutoSubDomainIamRole: jsii.String(\"autoSubDomainIamRole\"),\n\tEnableAutoSubDomain: jsii.Boolean(false),\n})","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nconst cfnDomain = new amplify.CfnDomain(this, 'MyCfnDomain', {\n appId: 'appId',\n domainName: 'domainName',\n subDomainSettings: [{\n branchName: 'branchName',\n prefix: 'prefix',\n }],\n\n // the properties below are optional\n autoSubDomainCreationPatterns: ['autoSubDomainCreationPatterns'],\n autoSubDomainIamRole: 'autoSubDomainIamRole',\n enableAutoSubDomain: false,\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.CfnDomain"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.CfnDomain","@aws-cdk/aws-amplify.CfnDomainProps","@aws-cdk/core.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnDomain = new amplify.CfnDomain(this, 'MyCfnDomain', {\n appId: 'appId',\n domainName: 'domainName',\n subDomainSettings: [{\n branchName: 'branchName',\n prefix: 'prefix',\n }],\n\n // the properties below are optional\n autoSubDomainCreationPatterns: ['autoSubDomainCreationPatterns'],\n autoSubDomainIamRole: 'autoSubDomainIamRole',\n enableAutoSubDomain: false,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":8,"75":12,"91":1,"104":1,"192":2,"193":2,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":8,"290":1},"fqnsFingerprint":"585d8a05555b2f006f571e23ef18852e087da26aef63194456c5cd056514885e"},"0d76b595215895bb7fe4ec4bf1a5da95176c69c804b6f17c75d047c5f8588132":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_amplify as amplify\n\nsub_domain_setting_property = amplify.CfnDomain.SubDomainSettingProperty(\n branch_name=\"branchName\",\n prefix=\"prefix\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Amplify;\n\nvar subDomainSettingProperty = new SubDomainSettingProperty {\n BranchName = \"branchName\",\n Prefix = \"prefix\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.amplify.*;\n\nSubDomainSettingProperty subDomainSettingProperty = SubDomainSettingProperty.builder()\n .branchName(\"branchName\")\n .prefix(\"prefix\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport amplify \"github.com/aws-samples/dummy/awscdkawsamplify\"\n\nsubDomainSettingProperty := &SubDomainSettingProperty{\n\tBranchName: jsii.String(\"branchName\"),\n\tPrefix: jsii.String(\"prefix\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nconst subDomainSettingProperty: amplify.CfnDomain.SubDomainSettingProperty = {\n branchName: 'branchName',\n prefix: 'prefix',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.CfnDomain.SubDomainSettingProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.CfnDomain.SubDomainSettingProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst subDomainSettingProperty: amplify.CfnDomain.SubDomainSettingProperty = {\n branchName: 'branchName',\n prefix: 'prefix',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":7,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"1a3062a0c6f06302d9f1958d21a2206817858179732e615d55c5ac418b1fb1a4"},"cff0a976bc3e9037a93c8b8e8147a8bfed185bc074581039c41c49d7faf7bc33":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_amplify as amplify\n\ncfn_domain_props = amplify.CfnDomainProps(\n app_id=\"appId\",\n domain_name=\"domainName\",\n sub_domain_settings=[amplify.CfnDomain.SubDomainSettingProperty(\n branch_name=\"branchName\",\n prefix=\"prefix\"\n )],\n\n # the properties below are optional\n auto_sub_domain_creation_patterns=[\"autoSubDomainCreationPatterns\"],\n auto_sub_domain_iam_role=\"autoSubDomainIamRole\",\n enable_auto_sub_domain=False\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Amplify;\n\nvar cfnDomainProps = new CfnDomainProps {\n AppId = \"appId\",\n DomainName = \"domainName\",\n SubDomainSettings = new [] { new SubDomainSettingProperty {\n BranchName = \"branchName\",\n Prefix = \"prefix\"\n } },\n\n // the properties below are optional\n AutoSubDomainCreationPatterns = new [] { \"autoSubDomainCreationPatterns\" },\n AutoSubDomainIamRole = \"autoSubDomainIamRole\",\n EnableAutoSubDomain = false\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.amplify.*;\n\nCfnDomainProps cfnDomainProps = CfnDomainProps.builder()\n .appId(\"appId\")\n .domainName(\"domainName\")\n .subDomainSettings(List.of(SubDomainSettingProperty.builder()\n .branchName(\"branchName\")\n .prefix(\"prefix\")\n .build()))\n\n // the properties below are optional\n .autoSubDomainCreationPatterns(List.of(\"autoSubDomainCreationPatterns\"))\n .autoSubDomainIamRole(\"autoSubDomainIamRole\")\n .enableAutoSubDomain(false)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport amplify \"github.com/aws-samples/dummy/awscdkawsamplify\"\n\ncfnDomainProps := &CfnDomainProps{\n\tAppId: jsii.String(\"appId\"),\n\tDomainName: jsii.String(\"domainName\"),\n\tSubDomainSettings: []interface{}{\n\t\t&SubDomainSettingProperty{\n\t\t\tBranchName: jsii.String(\"branchName\"),\n\t\t\tPrefix: jsii.String(\"prefix\"),\n\t\t},\n\t},\n\n\t// the properties below are optional\n\tAutoSubDomainCreationPatterns: []*string{\n\t\tjsii.String(\"autoSubDomainCreationPatterns\"),\n\t},\n\tAutoSubDomainIamRole: jsii.String(\"autoSubDomainIamRole\"),\n\tEnableAutoSubDomain: jsii.Boolean(false),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nconst cfnDomainProps: amplify.CfnDomainProps = {\n appId: 'appId',\n domainName: 'domainName',\n subDomainSettings: [{\n branchName: 'branchName',\n prefix: 'prefix',\n }],\n\n // the properties below are optional\n autoSubDomainCreationPatterns: ['autoSubDomainCreationPatterns'],\n autoSubDomainIamRole: 'autoSubDomainIamRole',\n enableAutoSubDomain: false,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.CfnDomainProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.CfnDomainProps"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnDomainProps: amplify.CfnDomainProps = {\n appId: 'appId',\n domainName: 'domainName',\n subDomainSettings: [{\n branchName: 'branchName',\n prefix: 'prefix',\n }],\n\n // the properties below are optional\n autoSubDomainCreationPatterns: ['autoSubDomainCreationPatterns'],\n autoSubDomainIamRole: 'autoSubDomainIamRole',\n enableAutoSubDomain: false,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":7,"75":12,"91":1,"153":1,"169":1,"192":2,"193":2,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":8,"290":1},"fqnsFingerprint":"6e0cff59a8163cb350ced86a67a051662eb6983d57b7e4ac86f177dcdd249991"},"1cd112ba3af3f6d9b23d5b533bd25eee306c771fe723042cbae4c22d539c4d20":{"translations":{"python":{"source":"import aws_cdk.aws_codecommit as codecommit\n\n\nrepository = codecommit.Repository(self, \"Repo\",\n repository_name=\"my-repo\"\n)\n\namplify_app = amplify.App(self, \"App\",\n source_code_provider=amplify.CodeCommitSourceCodeProvider(repository=repository)\n)","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.CodeCommit;\n\n\nvar repository = new Repository(this, \"Repo\", new RepositoryProps {\n RepositoryName = \"my-repo\"\n});\n\nvar amplifyApp = new App(this, \"App\", new AppProps {\n SourceCodeProvider = new CodeCommitSourceCodeProvider(new CodeCommitSourceCodeProviderProps { Repository = repository })\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.services.codecommit.*;\n\n\nRepository repository = Repository.Builder.create(this, \"Repo\")\n .repositoryName(\"my-repo\")\n .build();\n\nApp amplifyApp = App.Builder.create(this, \"App\")\n .sourceCodeProvider(CodeCommitSourceCodeProvider.Builder.create().repository(repository).build())\n .build();","version":"1"},"go":{"source":"import codecommit \"github.com/aws-samples/dummy/awscdkawscodecommit\"\n\n\nrepository := codecommit.NewRepository(this, jsii.String(\"Repo\"), &RepositoryProps{\n\tRepositoryName: jsii.String(\"my-repo\"),\n})\n\namplifyApp := amplify.NewApp(this, jsii.String(\"App\"), &AppProps{\n\tSourceCodeProvider: amplify.NewCodeCommitSourceCodeProvider(&CodeCommitSourceCodeProviderProps{\n\t\tRepository: *Repository,\n\t}),\n})","version":"1"},"$":{"source":"import * as codecommit from '@aws-cdk/aws-codecommit';\n\nconst repository = new codecommit.Repository(this, 'Repo', {\n repositoryName: 'my-repo',\n});\n\nconst amplifyApp = new amplify.App(this, 'App', {\n sourceCodeProvider: new amplify.CodeCommitSourceCodeProvider({ repository }),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.CodeCommitSourceCodeProvider"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App","@aws-cdk/aws-amplify.AppProps","@aws-cdk/aws-amplify.CodeCommitSourceCodeProvider","@aws-cdk/aws-amplify.CodeCommitSourceCodeProviderProps","@aws-cdk/aws-amplify.ISourceCodeProvider","@aws-cdk/aws-codecommit.IRepository","@aws-cdk/aws-codecommit.Repository","@aws-cdk/aws-codecommit.RepositoryProps","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\nimport * as codecommit from '@aws-cdk/aws-codecommit';\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst repository = new codecommit.Repository(this, 'Repo', {\n repositoryName: 'my-repo',\n});\n\nconst amplifyApp = new amplify.App(this, 'App', {\n sourceCodeProvider: new amplify.CodeCommitSourceCodeProvider({ repository }),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":12,"104":2,"193":3,"194":3,"197":3,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"281":2,"282":1,"290":1},"fqnsFingerprint":"98e9d561095a0aea30b78fcd3877f82b890cbbda21cc12b8e3b5813bc1aeb4d3"},"60d4d5eb7779321b8a2b27f8d89a58a0ce8a0cc1471303655a48cd2ebef93eb0":{"translations":{"python":{"source":"import aws_cdk.aws_codecommit as codecommit\n\n\nrepository = codecommit.Repository(self, \"Repo\",\n repository_name=\"my-repo\"\n)\n\namplify_app = amplify.App(self, \"App\",\n source_code_provider=amplify.CodeCommitSourceCodeProvider(repository=repository)\n)","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.CodeCommit;\n\n\nvar repository = new Repository(this, \"Repo\", new RepositoryProps {\n RepositoryName = \"my-repo\"\n});\n\nvar amplifyApp = new App(this, \"App\", new AppProps {\n SourceCodeProvider = new CodeCommitSourceCodeProvider(new CodeCommitSourceCodeProviderProps { Repository = repository })\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.services.codecommit.*;\n\n\nRepository repository = Repository.Builder.create(this, \"Repo\")\n .repositoryName(\"my-repo\")\n .build();\n\nApp amplifyApp = App.Builder.create(this, \"App\")\n .sourceCodeProvider(CodeCommitSourceCodeProvider.Builder.create().repository(repository).build())\n .build();","version":"1"},"go":{"source":"import codecommit \"github.com/aws-samples/dummy/awscdkawscodecommit\"\n\n\nrepository := codecommit.NewRepository(this, jsii.String(\"Repo\"), &RepositoryProps{\n\tRepositoryName: jsii.String(\"my-repo\"),\n})\n\namplifyApp := amplify.NewApp(this, jsii.String(\"App\"), &AppProps{\n\tSourceCodeProvider: amplify.NewCodeCommitSourceCodeProvider(&CodeCommitSourceCodeProviderProps{\n\t\tRepository: *Repository,\n\t}),\n})","version":"1"},"$":{"source":"import * as codecommit from '@aws-cdk/aws-codecommit';\n\nconst repository = new codecommit.Repository(this, 'Repo', {\n repositoryName: 'my-repo',\n});\n\nconst amplifyApp = new amplify.App(this, 'App', {\n sourceCodeProvider: new amplify.CodeCommitSourceCodeProvider({ repository }),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.CodeCommitSourceCodeProviderProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App","@aws-cdk/aws-amplify.AppProps","@aws-cdk/aws-amplify.CodeCommitSourceCodeProvider","@aws-cdk/aws-amplify.CodeCommitSourceCodeProviderProps","@aws-cdk/aws-amplify.ISourceCodeProvider","@aws-cdk/aws-codecommit.IRepository","@aws-cdk/aws-codecommit.Repository","@aws-cdk/aws-codecommit.RepositoryProps","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\nimport * as codecommit from '@aws-cdk/aws-codecommit';\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst repository = new codecommit.Repository(this, 'Repo', {\n repositoryName: 'my-repo',\n});\n\nconst amplifyApp = new amplify.App(this, 'App', {\n sourceCodeProvider: new amplify.CodeCommitSourceCodeProvider({ repository }),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":12,"104":2,"193":3,"194":3,"197":3,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"281":2,"282":1,"290":1},"fqnsFingerprint":"98e9d561095a0aea30b78fcd3877f82b890cbbda21cc12b8e3b5813bc1aeb4d3"},"0eb6d9ffa70d932d222291380ce3c08fb606eb6f5d9115b1936b79d70b952ad1":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_amplify as amplify\n\ncustom_response_header = amplify.CustomResponseHeader(\n headers={\n \"headers_key\": \"headers\"\n },\n pattern=\"pattern\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Amplify;\n\nvar customResponseHeader = new CustomResponseHeader {\n Headers = new Dictionary {\n { \"headersKey\", \"headers\" }\n },\n Pattern = \"pattern\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.amplify.*;\n\nCustomResponseHeader customResponseHeader = CustomResponseHeader.builder()\n .headers(Map.of(\n \"headersKey\", \"headers\"))\n .pattern(\"pattern\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport amplify \"github.com/aws-samples/dummy/awscdkawsamplify\"\n\ncustomResponseHeader := &CustomResponseHeader{\n\tHeaders: map[string]*string{\n\t\t\"headersKey\": jsii.String(\"headers\"),\n\t},\n\tPattern: jsii.String(\"pattern\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nconst customResponseHeader: amplify.CustomResponseHeader = {\n headers: {\n headersKey: 'headers',\n },\n pattern: 'pattern',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.CustomResponseHeader"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.CustomResponseHeader"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst customResponseHeader: amplify.CustomResponseHeader = {\n headers: {\n headersKey: 'headers',\n },\n pattern: 'pattern',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":7,"153":1,"169":1,"193":2,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":3,"290":1},"fqnsFingerprint":"9cd7a0e85e3924ce0ee34e168585f0d26ff39e2b043f30f2a3c9dba9a5aaf2ac"},"503e016ed2b59ff1609572c3ee1e2c6a97235398ccab797059caa71c4aa603b5":{"translations":{"python":{"source":"# amplify_app: amplify.App\n\namplify_app.add_custom_rule({\n \"source\": \"/docs/specific-filename.html\",\n \"target\": \"/documents/different-filename.html\",\n \"status\": amplify.RedirectStatus.TEMPORARY_REDIRECT\n})","version":"2"},"csharp":{"source":"App amplifyApp;\n\namplifyApp.AddCustomRule(new Dictionary {\n { \"source\", \"/docs/specific-filename.html\" },\n { \"target\", \"/documents/different-filename.html\" },\n { \"status\", RedirectStatus.TEMPORARY_REDIRECT }\n});","version":"1"},"java":{"source":"App amplifyApp;\n\namplifyApp.addCustomRule(Map.of(\n \"source\", \"/docs/specific-filename.html\",\n \"target\", \"/documents/different-filename.html\",\n \"status\", RedirectStatus.TEMPORARY_REDIRECT));","version":"1"},"go":{"source":"var amplifyApp app\n\namplifyApp.AddCustomRule(map[string]interface{}{\n\t\"source\": jsii.String(\"/docs/specific-filename.html\"),\n\t\"target\": jsii.String(\"/documents/different-filename.html\"),\n\t\"status\": amplify.RedirectStatus_TEMPORARY_REDIRECT,\n})","version":"1"},"$":{"source":"declare const amplifyApp: amplify.App;\namplifyApp.addCustomRule({\n source: '/docs/specific-filename.html',\n target: '/documents/different-filename.html',\n status: amplify.RedirectStatus.TEMPORARY_REDIRECT,\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.CustomRule"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App#addCustomRule","@aws-cdk/aws-amplify.CustomRule","@aws-cdk/aws-amplify.RedirectStatus","@aws-cdk/aws-amplify.RedirectStatus#TEMPORARY_REDIRECT"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const amplifyApp: amplify.App;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\namplifyApp.addCustomRule({\n source: '/docs/specific-filename.html',\n target: '/documents/different-filename.html',\n status: amplify.RedirectStatus.TEMPORARY_REDIRECT,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":11,"130":1,"153":1,"169":1,"193":1,"194":3,"196":1,"225":1,"226":1,"242":1,"243":1,"281":3,"290":1},"fqnsFingerprint":"410654c86f3d2b8c68aeb0c354f5b1fb5be740d6eba6c5f034883ffaa0785a83"},"6bbda4997c676f0908ada4d577d7129150c7d227d9e5fe08cbff91382755f39c":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_amplify as amplify\n\ncustom_rule_options = amplify.CustomRuleOptions(\n source=\"source\",\n target=\"target\",\n\n # the properties below are optional\n condition=\"condition\",\n status=amplify.RedirectStatus.REWRITE\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Amplify;\n\nvar customRuleOptions = new CustomRuleOptions {\n Source = \"source\",\n Target = \"target\",\n\n // the properties below are optional\n Condition = \"condition\",\n Status = RedirectStatus.REWRITE\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.amplify.*;\n\nCustomRuleOptions customRuleOptions = CustomRuleOptions.builder()\n .source(\"source\")\n .target(\"target\")\n\n // the properties below are optional\n .condition(\"condition\")\n .status(RedirectStatus.REWRITE)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport amplify \"github.com/aws-samples/dummy/awscdkawsamplify\"\n\ncustomRuleOptions := &CustomRuleOptions{\n\tSource: jsii.String(\"source\"),\n\tTarget: jsii.String(\"target\"),\n\n\t// the properties below are optional\n\tCondition: jsii.String(\"condition\"),\n\tStatus: amplify.RedirectStatus_REWRITE,\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nconst customRuleOptions: amplify.CustomRuleOptions = {\n source: 'source',\n target: 'target',\n\n // the properties below are optional\n condition: 'condition',\n status: amplify.RedirectStatus.REWRITE,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.CustomRuleOptions"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.CustomRuleOptions","@aws-cdk/aws-amplify.RedirectStatus","@aws-cdk/aws-amplify.RedirectStatus#REWRITE"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst customRuleOptions: amplify.CustomRuleOptions = {\n source: 'source',\n target: 'target',\n\n // the properties below are optional\n condition: 'condition',\n status: amplify.RedirectStatus.REWRITE,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":4,"75":11,"153":1,"169":1,"193":1,"194":2,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":4,"290":1},"fqnsFingerprint":"bcc6fe03aeb5bc6974436d16d7cd866f53909ad259075e12cfc1217c6f786e96"},"49bc906bfd222aadfe500ff28c8016875c918f5265f8e08330c0e9bc58ca3ba8":{"translations":{"python":{"source":"# amplify_app: amplify.App\n# master: amplify.Branch\n# dev: amplify.Branch\n\n\ndomain = amplify_app.add_domain(\"example.com\",\n enable_auto_subdomain=True, # in case subdomains should be auto registered for branches\n auto_subdomain_creation_patterns=[\"*\", \"pr*\"]\n)\ndomain.map_root(master) # map master branch to domain root\ndomain.map_sub_domain(master, \"www\")\ndomain.map_sub_domain(dev)","version":"2"},"csharp":{"source":"App amplifyApp;\nBranch master;\nBranch dev;\n\n\nvar domain = amplifyApp.AddDomain(\"example.com\", new DomainOptions {\n EnableAutoSubdomain = true, // in case subdomains should be auto registered for branches\n AutoSubdomainCreationPatterns = new [] { \"*\", \"pr*\" }\n});\ndomain.MapRoot(master); // map master branch to domain root\ndomain.MapSubDomain(master, \"www\");\ndomain.MapSubDomain(dev);","version":"1"},"java":{"source":"App amplifyApp;\nBranch master;\nBranch dev;\n\n\nDomain domain = amplifyApp.addDomain(\"example.com\", DomainOptions.builder()\n .enableAutoSubdomain(true) // in case subdomains should be auto registered for branches\n .autoSubdomainCreationPatterns(List.of(\"*\", \"pr*\"))\n .build());\ndomain.mapRoot(master); // map master branch to domain root\ndomain.mapSubDomain(master, \"www\");\ndomain.mapSubDomain(dev);","version":"1"},"go":{"source":"var amplifyApp app\nvar master branch\nvar dev branch\n\n\ndomain := amplifyApp.AddDomain(jsii.String(\"example.com\"), &DomainOptions{\n\tEnableAutoSubdomain: jsii.Boolean(true),\n\t // in case subdomains should be auto registered for branches\n\tAutoSubdomainCreationPatterns: []*string{\n\t\tjsii.String(\"*\"),\n\t\tjsii.String(\"pr*\"),\n\t},\n})\ndomain.MapRoot(master) // map master branch to domain root\ndomain.MapSubDomain(master, jsii.String(\"www\"))\ndomain.MapSubDomain(dev)","version":"1"},"$":{"source":"declare const amplifyApp: amplify.App;\ndeclare const master: amplify.Branch;\ndeclare const dev: amplify.Branch;\n\nconst domain = amplifyApp.addDomain('example.com', {\n enableAutoSubdomain: true, // in case subdomains should be auto registered for branches\n autoSubdomainCreationPatterns: ['*', 'pr*'], // regex for branches that should auto register subdomains\n});\ndomain.mapRoot(master); // map master branch to domain root\ndomain.mapSubDomain(master, 'www');\ndomain.mapSubDomain(dev); // sub domain prefix defaults to branch name","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.Domain"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App#addDomain","@aws-cdk/aws-amplify.Domain","@aws-cdk/aws-amplify.Domain#mapRoot","@aws-cdk/aws-amplify.Domain#mapSubDomain","@aws-cdk/aws-amplify.DomainOptions","@aws-cdk/aws-amplify.IBranch"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const amplifyApp: amplify.App;\ndeclare const master: amplify.Branch;\ndeclare const dev: amplify.Branch;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst domain = amplifyApp.addDomain('example.com', {\n enableAutoSubdomain: true, // in case subdomains should be auto registered for branches\n autoSubdomainCreationPatterns: ['*', 'pr*'], // regex for branches that should auto register subdomains\n});\ndomain.mapRoot(master); // map master branch to domain root\ndomain.mapSubDomain(master, 'www');\ndomain.mapSubDomain(dev);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":23,"106":1,"130":3,"153":3,"169":3,"192":1,"193":1,"194":4,"196":4,"225":4,"226":3,"242":4,"243":4,"281":2,"290":1},"fqnsFingerprint":"f7dcf80964d197f5382ca76f9c6828d26070c42ad8945d0277d9af4a4feab534"},"ef756710dc99edeac5aae74b5ec3843ad6256b0ae49017085179d3b5a8c42218":{"translations":{"python":{"source":"# amplify_app: amplify.App\n# master: amplify.Branch\n# dev: amplify.Branch\n\n\ndomain = amplify_app.add_domain(\"example.com\",\n enable_auto_subdomain=True, # in case subdomains should be auto registered for branches\n auto_subdomain_creation_patterns=[\"*\", \"pr*\"]\n)\ndomain.map_root(master) # map master branch to domain root\ndomain.map_sub_domain(master, \"www\")\ndomain.map_sub_domain(dev)","version":"2"},"csharp":{"source":"App amplifyApp;\nBranch master;\nBranch dev;\n\n\nvar domain = amplifyApp.AddDomain(\"example.com\", new DomainOptions {\n EnableAutoSubdomain = true, // in case subdomains should be auto registered for branches\n AutoSubdomainCreationPatterns = new [] { \"*\", \"pr*\" }\n});\ndomain.MapRoot(master); // map master branch to domain root\ndomain.MapSubDomain(master, \"www\");\ndomain.MapSubDomain(dev);","version":"1"},"java":{"source":"App amplifyApp;\nBranch master;\nBranch dev;\n\n\nDomain domain = amplifyApp.addDomain(\"example.com\", DomainOptions.builder()\n .enableAutoSubdomain(true) // in case subdomains should be auto registered for branches\n .autoSubdomainCreationPatterns(List.of(\"*\", \"pr*\"))\n .build());\ndomain.mapRoot(master); // map master branch to domain root\ndomain.mapSubDomain(master, \"www\");\ndomain.mapSubDomain(dev);","version":"1"},"go":{"source":"var amplifyApp app\nvar master branch\nvar dev branch\n\n\ndomain := amplifyApp.AddDomain(jsii.String(\"example.com\"), &DomainOptions{\n\tEnableAutoSubdomain: jsii.Boolean(true),\n\t // in case subdomains should be auto registered for branches\n\tAutoSubdomainCreationPatterns: []*string{\n\t\tjsii.String(\"*\"),\n\t\tjsii.String(\"pr*\"),\n\t},\n})\ndomain.MapRoot(master) // map master branch to domain root\ndomain.MapSubDomain(master, jsii.String(\"www\"))\ndomain.MapSubDomain(dev)","version":"1"},"$":{"source":"declare const amplifyApp: amplify.App;\ndeclare const master: amplify.Branch;\ndeclare const dev: amplify.Branch;\n\nconst domain = amplifyApp.addDomain('example.com', {\n enableAutoSubdomain: true, // in case subdomains should be auto registered for branches\n autoSubdomainCreationPatterns: ['*', 'pr*'], // regex for branches that should auto register subdomains\n});\ndomain.mapRoot(master); // map master branch to domain root\ndomain.mapSubDomain(master, 'www');\ndomain.mapSubDomain(dev); // sub domain prefix defaults to branch name","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.DomainOptions"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App#addDomain","@aws-cdk/aws-amplify.Domain","@aws-cdk/aws-amplify.Domain#mapRoot","@aws-cdk/aws-amplify.Domain#mapSubDomain","@aws-cdk/aws-amplify.DomainOptions","@aws-cdk/aws-amplify.IBranch"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const amplifyApp: amplify.App;\ndeclare const master: amplify.Branch;\ndeclare const dev: amplify.Branch;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst domain = amplifyApp.addDomain('example.com', {\n enableAutoSubdomain: true, // in case subdomains should be auto registered for branches\n autoSubdomainCreationPatterns: ['*', 'pr*'], // regex for branches that should auto register subdomains\n});\ndomain.mapRoot(master); // map master branch to domain root\ndomain.mapSubDomain(master, 'www');\ndomain.mapSubDomain(dev);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":23,"106":1,"130":3,"153":3,"169":3,"192":1,"193":1,"194":4,"196":4,"225":4,"226":3,"242":4,"243":4,"281":2,"290":1},"fqnsFingerprint":"f7dcf80964d197f5382ca76f9c6828d26070c42ad8945d0277d9af4a4feab534"},"07d8bfd4ee279c7f974d485576b99b55ed1b13e40af7dff84fc26db0eef9ac82":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_amplify as amplify\nimport aws_cdk.aws_iam as iam\n\n# app: amplify.App\n# branch: amplify.Branch\n# role: iam.Role\n\ndomain_props = amplify.DomainProps(\n app=app,\n\n # the properties below are optional\n auto_subdomain_creation_patterns=[\"autoSubdomainCreationPatterns\"],\n auto_sub_domain_iam_role=role,\n domain_name=\"domainName\",\n enable_auto_subdomain=False,\n sub_domains=[amplify.SubDomain(\n branch=branch,\n\n # the properties below are optional\n prefix=\"prefix\"\n )]\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Amplify;\nusing Amazon.CDK.AWS.IAM;\n\nApp app;\nBranch branch;\nRole role;\n\nvar domainProps = new DomainProps {\n App = app,\n\n // the properties below are optional\n AutoSubdomainCreationPatterns = new [] { \"autoSubdomainCreationPatterns\" },\n AutoSubDomainIamRole = role,\n DomainName = \"domainName\",\n EnableAutoSubdomain = false,\n SubDomains = new [] { new SubDomain {\n Branch = branch,\n\n // the properties below are optional\n Prefix = \"prefix\"\n } }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.amplify.*;\nimport software.amazon.awscdk.services.iam.*;\n\nApp app;\nBranch branch;\nRole role;\n\nDomainProps domainProps = DomainProps.builder()\n .app(app)\n\n // the properties below are optional\n .autoSubdomainCreationPatterns(List.of(\"autoSubdomainCreationPatterns\"))\n .autoSubDomainIamRole(role)\n .domainName(\"domainName\")\n .enableAutoSubdomain(false)\n .subDomains(List.of(SubDomain.builder()\n .branch(branch)\n\n // the properties below are optional\n .prefix(\"prefix\")\n .build()))\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport amplify \"github.com/aws-samples/dummy/awscdkawsamplify\"\nimport iam \"github.com/aws-samples/dummy/awscdkawsiam\"\n\nvar app app\nvar branch branch\nvar role role\n\ndomainProps := &DomainProps{\n\tApp: app,\n\n\t// the properties below are optional\n\tAutoSubdomainCreationPatterns: []*string{\n\t\tjsii.String(\"autoSubdomainCreationPatterns\"),\n\t},\n\tAutoSubDomainIamRole: role,\n\tDomainName: jsii.String(\"domainName\"),\n\tEnableAutoSubdomain: jsii.Boolean(false),\n\tSubDomains: []subDomain{\n\t\t&subDomain{\n\t\t\tBranch: branch,\n\n\t\t\t// the properties below are optional\n\t\t\tPrefix: jsii.String(\"prefix\"),\n\t\t},\n\t},\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nimport * as iam from '@aws-cdk/aws-iam';\n\ndeclare const app: amplify.App;\ndeclare const branch: amplify.Branch;\ndeclare const role: iam.Role;\nconst domainProps: amplify.DomainProps = {\n app: app,\n\n // the properties below are optional\n autoSubdomainCreationPatterns: ['autoSubdomainCreationPatterns'],\n autoSubDomainIamRole: role,\n domainName: 'domainName',\n enableAutoSubdomain: false,\n subDomains: [{\n branch: branch,\n\n // the properties below are optional\n prefix: 'prefix',\n }],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.DomainProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.DomainProps","@aws-cdk/aws-amplify.IApp","@aws-cdk/aws-amplify.IBranch","@aws-cdk/aws-iam.IRole"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nimport * as iam from '@aws-cdk/aws-iam';\n\ndeclare const app: amplify.App;\ndeclare const branch: amplify.Branch;\ndeclare const role: iam.Role;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst domainProps: amplify.DomainProps = {\n app: app,\n\n // the properties below are optional\n autoSubdomainCreationPatterns: ['autoSubdomainCreationPatterns'],\n autoSubDomainIamRole: role,\n domainName: 'domainName',\n enableAutoSubdomain: false,\n subDomains: [{\n branch: branch,\n\n // the properties below are optional\n prefix: 'prefix',\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":5,"75":25,"91":1,"130":3,"153":4,"169":4,"192":2,"193":2,"225":4,"242":4,"243":4,"254":2,"255":2,"256":2,"281":8,"290":1},"fqnsFingerprint":"b472fb94552969c34ab29a367775952ebe691bd45ebef46b07225a8837da9c74"},"cad383d26620a97d239e373a200769ac3c628a44ef6f084c0022994899d0e13d":{"translations":{"python":{"source":"amplify_app = amplify.App(self, \"MyApp\",\n source_code_provider=amplify.GitHubSourceCodeProvider(\n owner=\"\",\n repository=\"\",\n oauth_token=SecretValue.secrets_manager(\"my-github-token\")\n ),\n auto_branch_creation=amplify.AutoBranchCreation( # Automatically connect branches that match a pattern set\n patterns=[\"feature/*\", \"test/*\"]),\n auto_branch_deletion=True\n)","version":"2"},"csharp":{"source":"var amplifyApp = new App(this, \"MyApp\", new AppProps {\n SourceCodeProvider = new GitHubSourceCodeProvider(new GitHubSourceCodeProviderProps {\n Owner = \"\",\n Repository = \"\",\n OauthToken = SecretValue.SecretsManager(\"my-github-token\")\n }),\n AutoBranchCreation = new AutoBranchCreation { // Automatically connect branches that match a pattern set\n Patterns = new [] { \"feature/*\", \"test/*\" } },\n AutoBranchDeletion = true\n});","version":"1"},"java":{"source":"App amplifyApp = App.Builder.create(this, \"MyApp\")\n .sourceCodeProvider(GitHubSourceCodeProvider.Builder.create()\n .owner(\"\")\n .repository(\"\")\n .oauthToken(SecretValue.secretsManager(\"my-github-token\"))\n .build())\n .autoBranchCreation(AutoBranchCreation.builder() // Automatically connect branches that match a pattern set\n .patterns(List.of(\"feature/*\", \"test/*\")).build())\n .autoBranchDeletion(true)\n .build();","version":"1"},"go":{"source":"amplifyApp := amplify.NewApp(this, jsii.String(\"MyApp\"), &AppProps{\n\tSourceCodeProvider: amplify.NewGitHubSourceCodeProvider(&GitHubSourceCodeProviderProps{\n\t\tOwner: jsii.String(\"\"),\n\t\tRepository: jsii.String(\"\"),\n\t\tOauthToken: awscdkcore.SecretValue_SecretsManager(jsii.String(\"my-github-token\")),\n\t}),\n\tAutoBranchCreation: &AutoBranchCreation{\n\t\t // Automatically connect branches that match a pattern set\n\t\tPatterns: []*string{\n\t\t\tjsii.String(\"feature/*\"),\n\t\t\tjsii.String(\"test/*\"),\n\t\t},\n\t},\n\tAutoBranchDeletion: jsii.Boolean(true),\n})","version":"1"},"$":{"source":"const amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitHubSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-github-token'),\n }),\n autoBranchCreation: { // Automatically connect branches that match a pattern set\n patterns: ['feature/*', 'test/*'],\n },\n autoBranchDeletion: true, // Automatically disconnect a branch when you delete a branch from your repository\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.GitHubSourceCodeProvider"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App","@aws-cdk/aws-amplify.AppProps","@aws-cdk/aws-amplify.AutoBranchCreation","@aws-cdk/aws-amplify.GitHubSourceCodeProvider","@aws-cdk/aws-amplify.GitHubSourceCodeProviderProps","@aws-cdk/aws-amplify.ISourceCodeProvider","@aws-cdk/core.SecretValue","@aws-cdk/core.SecretValue#secretsManager","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitHubSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-github-token'),\n }),\n autoBranchCreation: { // Automatically connect branches that match a pattern set\n patterns: ['feature/*', 'test/*'],\n },\n autoBranchDeletion: true, // Automatically disconnect a branch when you delete a branch from your repository\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":6,"75":14,"104":1,"106":1,"192":1,"193":3,"194":3,"196":1,"197":2,"225":1,"242":1,"243":1,"281":7},"fqnsFingerprint":"1b79da97f8fe2914038d2fb37c66331e32f8bc283a8bdd4f74670f0f99e340ee"},"602aabb1ee7fd33d1f4fa7d0eb1494aff3002e10bc2bb7a1966a4cf6aba9eab5":{"translations":{"python":{"source":"amplify_app = amplify.App(self, \"MyApp\",\n source_code_provider=amplify.GitHubSourceCodeProvider(\n owner=\"\",\n repository=\"\",\n oauth_token=SecretValue.secrets_manager(\"my-github-token\")\n ),\n auto_branch_creation=amplify.AutoBranchCreation( # Automatically connect branches that match a pattern set\n patterns=[\"feature/*\", \"test/*\"]),\n auto_branch_deletion=True\n)","version":"2"},"csharp":{"source":"var amplifyApp = new App(this, \"MyApp\", new AppProps {\n SourceCodeProvider = new GitHubSourceCodeProvider(new GitHubSourceCodeProviderProps {\n Owner = \"\",\n Repository = \"\",\n OauthToken = SecretValue.SecretsManager(\"my-github-token\")\n }),\n AutoBranchCreation = new AutoBranchCreation { // Automatically connect branches that match a pattern set\n Patterns = new [] { \"feature/*\", \"test/*\" } },\n AutoBranchDeletion = true\n});","version":"1"},"java":{"source":"App amplifyApp = App.Builder.create(this, \"MyApp\")\n .sourceCodeProvider(GitHubSourceCodeProvider.Builder.create()\n .owner(\"\")\n .repository(\"\")\n .oauthToken(SecretValue.secretsManager(\"my-github-token\"))\n .build())\n .autoBranchCreation(AutoBranchCreation.builder() // Automatically connect branches that match a pattern set\n .patterns(List.of(\"feature/*\", \"test/*\")).build())\n .autoBranchDeletion(true)\n .build();","version":"1"},"go":{"source":"amplifyApp := amplify.NewApp(this, jsii.String(\"MyApp\"), &AppProps{\n\tSourceCodeProvider: amplify.NewGitHubSourceCodeProvider(&GitHubSourceCodeProviderProps{\n\t\tOwner: jsii.String(\"\"),\n\t\tRepository: jsii.String(\"\"),\n\t\tOauthToken: awscdkcore.SecretValue_SecretsManager(jsii.String(\"my-github-token\")),\n\t}),\n\tAutoBranchCreation: &AutoBranchCreation{\n\t\t // Automatically connect branches that match a pattern set\n\t\tPatterns: []*string{\n\t\t\tjsii.String(\"feature/*\"),\n\t\t\tjsii.String(\"test/*\"),\n\t\t},\n\t},\n\tAutoBranchDeletion: jsii.Boolean(true),\n})","version":"1"},"$":{"source":"const amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitHubSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-github-token'),\n }),\n autoBranchCreation: { // Automatically connect branches that match a pattern set\n patterns: ['feature/*', 'test/*'],\n },\n autoBranchDeletion: true, // Automatically disconnect a branch when you delete a branch from your repository\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.GitHubSourceCodeProviderProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App","@aws-cdk/aws-amplify.AppProps","@aws-cdk/aws-amplify.AutoBranchCreation","@aws-cdk/aws-amplify.GitHubSourceCodeProvider","@aws-cdk/aws-amplify.GitHubSourceCodeProviderProps","@aws-cdk/aws-amplify.ISourceCodeProvider","@aws-cdk/core.SecretValue","@aws-cdk/core.SecretValue#secretsManager","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitHubSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-github-token'),\n }),\n autoBranchCreation: { // Automatically connect branches that match a pattern set\n patterns: ['feature/*', 'test/*'],\n },\n autoBranchDeletion: true, // Automatically disconnect a branch when you delete a branch from your repository\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":6,"75":14,"104":1,"106":1,"192":1,"193":3,"194":3,"196":1,"197":2,"225":1,"242":1,"243":1,"281":7},"fqnsFingerprint":"1b79da97f8fe2914038d2fb37c66331e32f8bc283a8bdd4f74670f0f99e340ee"},"3cfadf70ab97d469a0a18b8e5eb2eff486fb9c67a9f65b6a4de2127bf06ab9b1":{"translations":{"python":{"source":"amplify_app = amplify.App(self, \"MyApp\",\n source_code_provider=amplify.GitLabSourceCodeProvider(\n owner=\"\",\n repository=\"\",\n oauth_token=SecretValue.secrets_manager(\"my-gitlab-token\")\n )\n)","version":"2"},"csharp":{"source":"var amplifyApp = new App(this, \"MyApp\", new AppProps {\n SourceCodeProvider = new GitLabSourceCodeProvider(new GitLabSourceCodeProviderProps {\n Owner = \"\",\n Repository = \"\",\n OauthToken = SecretValue.SecretsManager(\"my-gitlab-token\")\n })\n});","version":"1"},"java":{"source":"App amplifyApp = App.Builder.create(this, \"MyApp\")\n .sourceCodeProvider(GitLabSourceCodeProvider.Builder.create()\n .owner(\"\")\n .repository(\"\")\n .oauthToken(SecretValue.secretsManager(\"my-gitlab-token\"))\n .build())\n .build();","version":"1"},"go":{"source":"amplifyApp := amplify.NewApp(this, jsii.String(\"MyApp\"), &AppProps{\n\tSourceCodeProvider: amplify.NewGitLabSourceCodeProvider(&GitLabSourceCodeProviderProps{\n\t\tOwner: jsii.String(\"\"),\n\t\tRepository: jsii.String(\"\"),\n\t\tOauthToken: awscdkcore.SecretValue_SecretsManager(jsii.String(\"my-gitlab-token\")),\n\t}),\n})","version":"1"},"$":{"source":"const amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitLabSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-gitlab-token'),\n }),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.GitLabSourceCodeProvider"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App","@aws-cdk/aws-amplify.AppProps","@aws-cdk/aws-amplify.GitLabSourceCodeProvider","@aws-cdk/aws-amplify.GitLabSourceCodeProviderProps","@aws-cdk/aws-amplify.ISourceCodeProvider","@aws-cdk/core.SecretValue","@aws-cdk/core.SecretValue#secretsManager","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitLabSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-gitlab-token'),\n }),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":11,"104":1,"193":2,"194":3,"196":1,"197":2,"225":1,"242":1,"243":1,"281":4},"fqnsFingerprint":"6baa95ffaf2f35710851eaef77b516c0f6771906644ad2ca925e75e2baf56d06"},"73ecc69fcc8268e80f1ec34bdbe20795049f0648a62d533697b316963b357b72":{"translations":{"python":{"source":"amplify_app = amplify.App(self, \"MyApp\",\n source_code_provider=amplify.GitLabSourceCodeProvider(\n owner=\"\",\n repository=\"\",\n oauth_token=SecretValue.secrets_manager(\"my-gitlab-token\")\n )\n)","version":"2"},"csharp":{"source":"var amplifyApp = new App(this, \"MyApp\", new AppProps {\n SourceCodeProvider = new GitLabSourceCodeProvider(new GitLabSourceCodeProviderProps {\n Owner = \"\",\n Repository = \"\",\n OauthToken = SecretValue.SecretsManager(\"my-gitlab-token\")\n })\n});","version":"1"},"java":{"source":"App amplifyApp = App.Builder.create(this, \"MyApp\")\n .sourceCodeProvider(GitLabSourceCodeProvider.Builder.create()\n .owner(\"\")\n .repository(\"\")\n .oauthToken(SecretValue.secretsManager(\"my-gitlab-token\"))\n .build())\n .build();","version":"1"},"go":{"source":"amplifyApp := amplify.NewApp(this, jsii.String(\"MyApp\"), &AppProps{\n\tSourceCodeProvider: amplify.NewGitLabSourceCodeProvider(&GitLabSourceCodeProviderProps{\n\t\tOwner: jsii.String(\"\"),\n\t\tRepository: jsii.String(\"\"),\n\t\tOauthToken: awscdkcore.SecretValue_SecretsManager(jsii.String(\"my-gitlab-token\")),\n\t}),\n})","version":"1"},"$":{"source":"const amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitLabSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-gitlab-token'),\n }),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.GitLabSourceCodeProviderProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App","@aws-cdk/aws-amplify.AppProps","@aws-cdk/aws-amplify.GitLabSourceCodeProvider","@aws-cdk/aws-amplify.GitLabSourceCodeProviderProps","@aws-cdk/aws-amplify.ISourceCodeProvider","@aws-cdk/core.SecretValue","@aws-cdk/core.SecretValue#secretsManager","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst amplifyApp = new amplify.App(this, 'MyApp', {\n sourceCodeProvider: new amplify.GitLabSourceCodeProvider({\n owner: '',\n repository: '',\n oauthToken: SecretValue.secretsManager('my-gitlab-token'),\n }),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":11,"104":1,"193":2,"194":3,"196":1,"197":2,"225":1,"242":1,"243":1,"281":4},"fqnsFingerprint":"6baa95ffaf2f35710851eaef77b516c0f6771906644ad2ca925e75e2baf56d06"},"0d13674cff5f7e19bb464013561481fbfa046cb24e19a5c28320753a6b7596c6":{"translations":{"python":{"source":"# amplify_app: amplify.App\n\namplify_app.add_custom_rule({\n \"source\": \"/docs/specific-filename.html\",\n \"target\": \"/documents/different-filename.html\",\n \"status\": amplify.RedirectStatus.TEMPORARY_REDIRECT\n})","version":"2"},"csharp":{"source":"App amplifyApp;\n\namplifyApp.AddCustomRule(new Dictionary {\n { \"source\", \"/docs/specific-filename.html\" },\n { \"target\", \"/documents/different-filename.html\" },\n { \"status\", RedirectStatus.TEMPORARY_REDIRECT }\n});","version":"1"},"java":{"source":"App amplifyApp;\n\namplifyApp.addCustomRule(Map.of(\n \"source\", \"/docs/specific-filename.html\",\n \"target\", \"/documents/different-filename.html\",\n \"status\", RedirectStatus.TEMPORARY_REDIRECT));","version":"1"},"go":{"source":"var amplifyApp app\n\namplifyApp.AddCustomRule(map[string]interface{}{\n\t\"source\": jsii.String(\"/docs/specific-filename.html\"),\n\t\"target\": jsii.String(\"/documents/different-filename.html\"),\n\t\"status\": amplify.RedirectStatus_TEMPORARY_REDIRECT,\n})","version":"1"},"$":{"source":"declare const amplifyApp: amplify.App;\namplifyApp.addCustomRule({\n source: '/docs/specific-filename.html',\n target: '/documents/different-filename.html',\n status: amplify.RedirectStatus.TEMPORARY_REDIRECT,\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.RedirectStatus"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.App#addCustomRule","@aws-cdk/aws-amplify.CustomRule","@aws-cdk/aws-amplify.RedirectStatus","@aws-cdk/aws-amplify.RedirectStatus#TEMPORARY_REDIRECT"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const amplifyApp: amplify.App;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\nimport * as amplify from '@aws-cdk/aws-amplify';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\namplifyApp.addCustomRule({\n source: '/docs/specific-filename.html',\n target: '/documents/different-filename.html',\n status: amplify.RedirectStatus.TEMPORARY_REDIRECT,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":11,"130":1,"153":1,"169":1,"193":1,"194":3,"196":1,"225":1,"226":1,"242":1,"243":1,"281":3,"290":1},"fqnsFingerprint":"410654c86f3d2b8c68aeb0c354f5b1fb5be740d6eba6c5f034883ffaa0785a83"},"ab82180bd1822ef1b6bc5d9a7bec9ff005f7300bb0c3e70c790cdfe8a5248e89":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_amplify as amplify\nimport aws_cdk.core as cdk\n\n# secret_value: cdk.SecretValue\n\nsource_code_provider_config = amplify.SourceCodeProviderConfig(\n repository=\"repository\",\n\n # the properties below are optional\n access_token=secret_value,\n oauth_token=secret_value\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Amplify;\nusing Amazon.CDK;\n\nSecretValue secretValue;\nvar sourceCodeProviderConfig = new SourceCodeProviderConfig {\n Repository = \"repository\",\n\n // the properties below are optional\n AccessToken = secretValue,\n OauthToken = secretValue\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.amplify.*;\nimport software.amazon.awscdk.core.*;\n\nSecretValue secretValue;\n\nSourceCodeProviderConfig sourceCodeProviderConfig = SourceCodeProviderConfig.builder()\n .repository(\"repository\")\n\n // the properties below are optional\n .accessToken(secretValue)\n .oauthToken(secretValue)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport amplify \"github.com/aws-samples/dummy/awscdkawsamplify\"\nimport cdk \"github.com/aws-samples/dummy/awscdkcore\"\n\nvar secretValue secretValue\n\nsourceCodeProviderConfig := &SourceCodeProviderConfig{\n\tRepository: jsii.String(\"repository\"),\n\n\t// the properties below are optional\n\tAccessToken: secretValue,\n\tOauthToken: secretValue,\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const secretValue: cdk.SecretValue;\nconst sourceCodeProviderConfig: amplify.SourceCodeProviderConfig = {\n repository: 'repository',\n\n // the properties below are optional\n accessToken: secretValue,\n oauthToken: secretValue,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.SourceCodeProviderConfig"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.SourceCodeProviderConfig","@aws-cdk/core.SecretValue"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const secretValue: cdk.SecretValue;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst sourceCodeProviderConfig: amplify.SourceCodeProviderConfig = {\n repository: 'repository',\n\n // the properties below are optional\n accessToken: secretValue,\n oauthToken: secretValue,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":13,"130":1,"153":2,"169":2,"193":1,"225":2,"242":2,"243":2,"254":2,"255":2,"256":2,"281":3,"290":1},"fqnsFingerprint":"d042f9f40e9026741fc8fb6815d814b9f54d51ed1d45deda14f55acce9ff6570"},"38f346ee7d1eb86a5203e6667d91756a457db446889c6f476bfd728d27549af8":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_amplify as amplify\n\n# branch: amplify.Branch\n\nsub_domain = amplify.SubDomain(\n branch=branch,\n\n # the properties below are optional\n prefix=\"prefix\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Amplify;\n\nBranch branch;\n\nvar subDomain = new SubDomain {\n Branch = branch,\n\n // the properties below are optional\n Prefix = \"prefix\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.amplify.*;\n\nBranch branch;\n\nSubDomain subDomain = SubDomain.builder()\n .branch(branch)\n\n // the properties below are optional\n .prefix(\"prefix\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport amplify \"github.com/aws-samples/dummy/awscdkawsamplify\"\n\nvar branch branch\n\nsubDomain := &SubDomain{\n\tBranch: branch,\n\n\t// the properties below are optional\n\tPrefix: jsii.String(\"prefix\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\n\ndeclare const branch: amplify.Branch;\nconst subDomain: amplify.SubDomain = {\n branch: branch,\n\n // the properties below are optional\n prefix: 'prefix',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-amplify.SubDomain"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-amplify.IBranch","@aws-cdk/aws-amplify.SubDomain"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as amplify from '@aws-cdk/aws-amplify';\n\ndeclare const branch: amplify.Branch;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst subDomain: amplify.SubDomain = {\n branch: branch,\n\n // the properties below are optional\n prefix: 'prefix',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":10,"130":1,"153":2,"169":2,"193":1,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"88e8c8e1750007ea066f408325f5227ded6407bfbcc9081ed892876081e36b0f"}}}