{"version":"2","toolVersion":"1.84.0","snippets":{"3358dcf51ec3298f6b8189fed54ab7475c69a00caa0232f2de940b94c67a6018":{"translations":{"python":{"source":"import aws_cdk.aws_codeartifact as codeartifact","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.CodeArtifact;","version":"1"},"java":{"source":"import software.amazon.awscdk.services.codeartifact.*;","version":"1"},"go":{"source":"import codeartifact \"github.com/aws-samples/dummy/awscdkawscodeartifact\"","version":"1"},"$":{"source":"import * as codeartifact from '@aws-cdk/aws-codeartifact';","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-codeartifact"},"field":{"field":"markdown","line":21}},"didCompile":true,"fqnsReferenced":[],"fullSource":"import * as codeartifact from '@aws-cdk/aws-codeartifact';","syntaxKindCounter":{"10":1,"75":1,"254":1,"255":1,"256":1,"290":1},"fqnsFingerprint":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},"862d3054afac64f44601db22c4d22c3666cb5217e8f3152e1b6244fa3a9f0232":{"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_codeartifact as codeartifact\n\n# permissions_policy_document: Any\n\ncfn_domain = codeartifact.CfnDomain(self, \"MyCfnDomain\",\n domain_name=\"domainName\",\n\n # the properties below are optional\n encryption_key=\"encryptionKey\",\n permissions_policy_document=permissions_policy_document,\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.CodeArtifact;\n\nvar permissionsPolicyDocument;\n\nvar cfnDomain = new CfnDomain(this, \"MyCfnDomain\", new CfnDomainProps {\n DomainName = \"domainName\",\n\n // the properties below are optional\n EncryptionKey = \"encryptionKey\",\n PermissionsPolicyDocument = permissionsPolicyDocument,\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.codeartifact.*;\n\nObject permissionsPolicyDocument;\n\nCfnDomain cfnDomain = CfnDomain.Builder.create(this, \"MyCfnDomain\")\n .domainName(\"domainName\")\n\n // the properties below are optional\n .encryptionKey(\"encryptionKey\")\n .permissionsPolicyDocument(permissionsPolicyDocument)\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 codeartifact \"github.com/aws-samples/dummy/awscdkawscodeartifact\"\n\nvar permissionsPolicyDocument interface{}\n\ncfnDomain := codeartifact.NewCfnDomain(this, jsii.String(\"MyCfnDomain\"), &CfnDomainProps{\n\tDomainName: jsii.String(\"domainName\"),\n\n\t// the properties below are optional\n\tEncryptionKey: jsii.String(\"encryptionKey\"),\n\tPermissionsPolicyDocument: permissionsPolicyDocument,\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 codeartifact from '@aws-cdk/aws-codeartifact';\n\ndeclare const permissionsPolicyDocument: any;\nconst cfnDomain = new codeartifact.CfnDomain(this, 'MyCfnDomain', {\n domainName: 'domainName',\n\n // the properties below are optional\n encryptionKey: 'encryptionKey',\n permissionsPolicyDocument: permissionsPolicyDocument,\n tags: [{\n key: 'key',\n value: 'value',\n }],\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-codeartifact.CfnDomain"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-codeartifact.CfnDomain","@aws-cdk/aws-codeartifact.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 codeartifact from '@aws-cdk/aws-codeartifact';\n\ndeclare const permissionsPolicyDocument: any;\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 codeartifact.CfnDomain(this, 'MyCfnDomain', {\n domainName: 'domainName',\n\n // the properties below are optional\n encryptionKey: 'encryptionKey',\n permissionsPolicyDocument: permissionsPolicyDocument,\n tags: [{\n key: 'key',\n value: 'value',\n }],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":6,"75":12,"104":1,"125":1,"130":1,"192":1,"193":2,"194":1,"197":1,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"281":6,"290":1},"fqnsFingerprint":"3940163f1e3048537feabda95575e9c8bd4a3bc6a6809573c51118f5e0a78c49"},"de6a34b37a77359e0a417338b3257dfdbf7d6d5b11f44355289daa4f0fa090be":{"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_codeartifact as codeartifact\n\n# permissions_policy_document: Any\n\ncfn_domain_props = codeartifact.CfnDomainProps(\n domain_name=\"domainName\",\n\n # the properties below are optional\n encryption_key=\"encryptionKey\",\n permissions_policy_document=permissions_policy_document,\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.CodeArtifact;\n\nvar permissionsPolicyDocument;\n\nvar cfnDomainProps = new CfnDomainProps {\n DomainName = \"domainName\",\n\n // the properties below are optional\n EncryptionKey = \"encryptionKey\",\n PermissionsPolicyDocument = permissionsPolicyDocument,\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.codeartifact.*;\n\nObject permissionsPolicyDocument;\n\nCfnDomainProps cfnDomainProps = CfnDomainProps.builder()\n .domainName(\"domainName\")\n\n // the properties below are optional\n .encryptionKey(\"encryptionKey\")\n .permissionsPolicyDocument(permissionsPolicyDocument)\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 codeartifact \"github.com/aws-samples/dummy/awscdkawscodeartifact\"\n\nvar permissionsPolicyDocument interface{}\n\ncfnDomainProps := &CfnDomainProps{\n\tDomainName: jsii.String(\"domainName\"),\n\n\t// the properties below are optional\n\tEncryptionKey: jsii.String(\"encryptionKey\"),\n\tPermissionsPolicyDocument: permissionsPolicyDocument,\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 codeartifact from '@aws-cdk/aws-codeartifact';\n\ndeclare const permissionsPolicyDocument: any;\nconst cfnDomainProps: codeartifact.CfnDomainProps = {\n domainName: 'domainName',\n\n // the properties below are optional\n encryptionKey: 'encryptionKey',\n permissionsPolicyDocument: permissionsPolicyDocument,\n tags: [{\n key: 'key',\n value: 'value',\n }],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-codeartifact.CfnDomainProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-codeartifact.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 codeartifact from '@aws-cdk/aws-codeartifact';\n\ndeclare const permissionsPolicyDocument: any;\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: codeartifact.CfnDomainProps = {\n domainName: 'domainName',\n\n // the properties below are optional\n encryptionKey: 'encryptionKey',\n permissionsPolicyDocument: permissionsPolicyDocument,\n tags: [{\n key: 'key',\n value: 'value',\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":5,"75":12,"125":1,"130":1,"153":1,"169":1,"192":1,"193":2,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"281":6,"290":1},"fqnsFingerprint":"8571aabf9aaa365d7b13516578866106ade4fbe0024312821fcc8545a7ef72bf"},"e61243cb9cec3a48a19400b440140788aecf0a7ce4e785fe147dda771c5e1a37":{"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_codeartifact as codeartifact\n\n# permissions_policy_document: Any\n\ncfn_repository = codeartifact.CfnRepository(self, \"MyCfnRepository\",\n domain_name=\"domainName\",\n repository_name=\"repositoryName\",\n\n # the properties below are optional\n description=\"description\",\n domain_owner=\"domainOwner\",\n external_connections=[\"externalConnections\"],\n permissions_policy_document=permissions_policy_document,\n tags=[CfnTag(\n key=\"key\",\n value=\"value\"\n )],\n upstreams=[\"upstreams\"]\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.CodeArtifact;\n\nvar permissionsPolicyDocument;\n\nvar cfnRepository = new CfnRepository(this, \"MyCfnRepository\", new CfnRepositoryProps {\n DomainName = \"domainName\",\n RepositoryName = \"repositoryName\",\n\n // the properties below are optional\n Description = \"description\",\n DomainOwner = \"domainOwner\",\n ExternalConnections = new [] { \"externalConnections\" },\n PermissionsPolicyDocument = permissionsPolicyDocument,\n Tags = new [] { new CfnTag {\n Key = \"key\",\n Value = \"value\"\n } },\n Upstreams = new [] { \"upstreams\" }\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.codeartifact.*;\n\nObject permissionsPolicyDocument;\n\nCfnRepository cfnRepository = CfnRepository.Builder.create(this, \"MyCfnRepository\")\n .domainName(\"domainName\")\n .repositoryName(\"repositoryName\")\n\n // the properties below are optional\n .description(\"description\")\n .domainOwner(\"domainOwner\")\n .externalConnections(List.of(\"externalConnections\"))\n .permissionsPolicyDocument(permissionsPolicyDocument)\n .tags(List.of(CfnTag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .upstreams(List.of(\"upstreams\"))\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 codeartifact \"github.com/aws-samples/dummy/awscdkawscodeartifact\"\n\nvar permissionsPolicyDocument interface{}\n\ncfnRepository := codeartifact.NewCfnRepository(this, jsii.String(\"MyCfnRepository\"), &CfnRepositoryProps{\n\tDomainName: jsii.String(\"domainName\"),\n\tRepositoryName: jsii.String(\"repositoryName\"),\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tDomainOwner: jsii.String(\"domainOwner\"),\n\tExternalConnections: []*string{\n\t\tjsii.String(\"externalConnections\"),\n\t},\n\tPermissionsPolicyDocument: permissionsPolicyDocument,\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\tUpstreams: []*string{\n\t\tjsii.String(\"upstreams\"),\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 codeartifact from '@aws-cdk/aws-codeartifact';\n\ndeclare const permissionsPolicyDocument: any;\nconst cfnRepository = new codeartifact.CfnRepository(this, 'MyCfnRepository', {\n domainName: 'domainName',\n repositoryName: 'repositoryName',\n\n // the properties below are optional\n description: 'description',\n domainOwner: 'domainOwner',\n externalConnections: ['externalConnections'],\n permissionsPolicyDocument: permissionsPolicyDocument,\n tags: [{\n key: 'key',\n value: 'value',\n }],\n upstreams: ['upstreams'],\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-codeartifact.CfnRepository"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-codeartifact.CfnRepository","@aws-cdk/aws-codeartifact.CfnRepositoryProps","@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 codeartifact from '@aws-cdk/aws-codeartifact';\n\ndeclare const permissionsPolicyDocument: any;\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 cfnRepository = new codeartifact.CfnRepository(this, 'MyCfnRepository', {\n domainName: 'domainName',\n repositoryName: 'repositoryName',\n\n // the properties below are optional\n description: 'description',\n domainOwner: 'domainOwner',\n externalConnections: ['externalConnections'],\n permissionsPolicyDocument: permissionsPolicyDocument,\n tags: [{\n key: 'key',\n value: 'value',\n }],\n upstreams: ['upstreams'],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":10,"75":16,"104":1,"125":1,"130":1,"192":3,"193":2,"194":1,"197":1,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"281":10,"290":1},"fqnsFingerprint":"5793a157f27b1a9013a77ae67865ea8bad04a0e848697484f6f848173204daf7"},"96ce130b425ae8b36a083dcb6e3a4e32fd41eefd8176cad07f71501711ab4625":{"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_codeartifact as codeartifact\n\n# permissions_policy_document: Any\n\ncfn_repository_props = codeartifact.CfnRepositoryProps(\n domain_name=\"domainName\",\n repository_name=\"repositoryName\",\n\n # the properties below are optional\n description=\"description\",\n domain_owner=\"domainOwner\",\n external_connections=[\"externalConnections\"],\n permissions_policy_document=permissions_policy_document,\n tags=[CfnTag(\n key=\"key\",\n value=\"value\"\n )],\n upstreams=[\"upstreams\"]\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.CodeArtifact;\n\nvar permissionsPolicyDocument;\n\nvar cfnRepositoryProps = new CfnRepositoryProps {\n DomainName = \"domainName\",\n RepositoryName = \"repositoryName\",\n\n // the properties below are optional\n Description = \"description\",\n DomainOwner = \"domainOwner\",\n ExternalConnections = new [] { \"externalConnections\" },\n PermissionsPolicyDocument = permissionsPolicyDocument,\n Tags = new [] { new CfnTag {\n Key = \"key\",\n Value = \"value\"\n } },\n Upstreams = new [] { \"upstreams\" }\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.codeartifact.*;\n\nObject permissionsPolicyDocument;\n\nCfnRepositoryProps cfnRepositoryProps = CfnRepositoryProps.builder()\n .domainName(\"domainName\")\n .repositoryName(\"repositoryName\")\n\n // the properties below are optional\n .description(\"description\")\n .domainOwner(\"domainOwner\")\n .externalConnections(List.of(\"externalConnections\"))\n .permissionsPolicyDocument(permissionsPolicyDocument)\n .tags(List.of(CfnTag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .upstreams(List.of(\"upstreams\"))\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 codeartifact \"github.com/aws-samples/dummy/awscdkawscodeartifact\"\n\nvar permissionsPolicyDocument interface{}\n\ncfnRepositoryProps := &CfnRepositoryProps{\n\tDomainName: jsii.String(\"domainName\"),\n\tRepositoryName: jsii.String(\"repositoryName\"),\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tDomainOwner: jsii.String(\"domainOwner\"),\n\tExternalConnections: []*string{\n\t\tjsii.String(\"externalConnections\"),\n\t},\n\tPermissionsPolicyDocument: permissionsPolicyDocument,\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\tUpstreams: []*string{\n\t\tjsii.String(\"upstreams\"),\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 codeartifact from '@aws-cdk/aws-codeartifact';\n\ndeclare const permissionsPolicyDocument: any;\nconst cfnRepositoryProps: codeartifact.CfnRepositoryProps = {\n domainName: 'domainName',\n repositoryName: 'repositoryName',\n\n // the properties below are optional\n description: 'description',\n domainOwner: 'domainOwner',\n externalConnections: ['externalConnections'],\n permissionsPolicyDocument: permissionsPolicyDocument,\n tags: [{\n key: 'key',\n value: 'value',\n }],\n upstreams: ['upstreams'],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-codeartifact.CfnRepositoryProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-codeartifact.CfnRepositoryProps"],"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 codeartifact from '@aws-cdk/aws-codeartifact';\n\ndeclare const permissionsPolicyDocument: any;\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 cfnRepositoryProps: codeartifact.CfnRepositoryProps = {\n domainName: 'domainName',\n repositoryName: 'repositoryName',\n\n // the properties below are optional\n description: 'description',\n domainOwner: 'domainOwner',\n externalConnections: ['externalConnections'],\n permissionsPolicyDocument: permissionsPolicyDocument,\n tags: [{\n key: 'key',\n value: 'value',\n }],\n upstreams: ['upstreams'],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":9,"75":16,"125":1,"130":1,"153":1,"169":1,"192":3,"193":2,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"281":10,"290":1},"fqnsFingerprint":"9fdbbf3837eb58dafa89a41bff3fd8f349ddff4bf550cb49908bac7ecdd99e11"}}}