UNPKG

478 kBJSONView Raw
1{"version":"2","toolVersion":"1.84.0","snippets":{"7cf49f40f663c44c6234d9e5bf65b18c13a6e7329610df601d01a65a8bccd5d7":{"translations":{"python":{"source":"# repo: codecommit.Repository\n# project: codebuild.Project\n\n\non_commit_rule = repo.on_commit(\"OnCommit\",\n target=targets.CodeBuildProject(project),\n branches=[\"master\"]\n)","version":"2"},"csharp":{"source":"Repository repo;\nProject project;\n\n\nvar onCommitRule = repo.OnCommit(\"OnCommit\", new OnCommitOptions {\n Target = new CodeBuildProject(project),\n Branches = new [] { \"master\" }\n});","version":"1"},"java":{"source":"Repository repo;\nProject project;\n\n\nRule onCommitRule = repo.onCommit(\"OnCommit\", OnCommitOptions.builder()\n .target(new CodeBuildProject(project))\n .branches(List.of(\"master\"))\n .build());","version":"1"},"go":{"source":"var repo repository\nvar project project\n\n\nonCommitRule := repo.onCommit(jsii.String(\"OnCommit\"), &OnCommitOptions{\n\tTarget: targets.NewCodeBuildProject(project),\n\tBranches: []*string{\n\t\tjsii.String(\"master\"),\n\t},\n})","version":"1"},"$":{"source":"declare const repo: codecommit.Repository;\ndeclare const project: codebuild.Project;\n\nconst onCommitRule = repo.onCommit('OnCommit', {\n target: new targets.CodeBuildProject(project),\n branches: ['master']\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-events"},"field":{"field":"markdown","line":66}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-codebuild.IProject","@aws-cdk/aws-codecommit.OnCommitOptions","@aws-cdk/aws-events-targets.CodeBuildProject","@aws-cdk/aws-events.IRuleTarget","@aws-cdk/aws-events.Rule"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const repo: codecommit.Repository;\ndeclare const project: codebuild.Project;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack, Duration } from '@aws-cdk/core';\nimport * as events from '@aws-cdk/aws-events';\nimport * as targets from '@aws-cdk/aws-events-targets';\nimport * as codecommit from '@aws-cdk/aws-codecommit';\nimport * as codebuild from '@aws-cdk/aws-codebuild';\nimport * as sns from '@aws-cdk/aws-sns';\nimport * as ecs from '@aws-cdk/aws-ecs';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as lambda from '@aws-cdk/aws-lambda';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst onCommitRule = repo.onCommit('OnCommit', {\n target: new targets.CodeBuildProject(project),\n branches: ['master']\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n\n","syntaxKindCounter":{"10":2,"75":14,"130":2,"153":2,"169":2,"192":1,"193":1,"194":2,"196":1,"197":1,"225":3,"242":3,"243":3,"281":2,"290":1},"fqnsFingerprint":"3fa46bae365388a3aec910d84565560bc386b834f02893ec7f0fb5ca224cc5cd"},"0ff6e72a22dbd36dacd690373116c162c1bd2b4ff43d7d01218d1ac6811c0ab7":{"translations":{"python":{"source":"# on_commit_rule: events.Rule\n# topic: sns.Topic\n\n\non_commit_rule.add_target(targets.SnsTopic(topic,\n message=events.RuleTargetInput.from_text(f\"A commit was pushed to the repository {codecommit.ReferenceEvent.repositoryName} on branch {codecommit.ReferenceEvent.referenceName}\")\n))","version":"2"},"csharp":{"source":"Rule onCommitRule;\nTopic topic;\n\n\nonCommitRule.AddTarget(new SnsTopic(topic, new SnsTopicProps {\n Message = RuleTargetInput.FromText($\"A commit was pushed to the repository {codecommit.ReferenceEvent.repositoryName} on branch {codecommit.ReferenceEvent.referenceName}\")\n}));","version":"1"},"java":{"source":"Rule onCommitRule;\nTopic topic;\n\n\nonCommitRule.addTarget(SnsTopic.Builder.create(topic)\n .message(RuleTargetInput.fromText(String.format(\"A commit was pushed to the repository %s on branch %s\", ReferenceEvent.getRepositoryName(), ReferenceEvent.getReferenceName())))\n .build());","version":"1"},"go":{"source":"var onCommitRule rule\nvar topic topic\n\n\nonCommitRule.AddTarget(targets.NewSnsTopic(topic, &SnsTopicProps{\n\tMessage: events.RuleTargetInput_FromText(\n\tfmt.Sprintf(\"A commit was pushed to the repository %v on branch %v\", codecommit.ReferenceEvent_RepositoryName(), codecommit.ReferenceEvent_ReferenceName())),\n}))","version":"1"},"$":{"source":"declare const onCommitRule: events.Rule;\ndeclare const topic: sns.Topic;\n\nonCommitRule.addTarget(new targets.SnsTopic(topic, {\n message: events.RuleTargetInput.fromText(\n `A commit was pushed to the repository ${codecommit.ReferenceEvent.repositoryName} on branch ${codecommit.ReferenceEvent.referenceName}`\n )\n}));","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-events"},"field":{"field":"markdown","line":83}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events-targets.SnsTopic","@aws-cdk/aws-events-targets.SnsTopicProps","@aws-cdk/aws-events.IRuleTarget","@aws-cdk/aws-events.Rule#addTarget","@aws-cdk/aws-events.RuleTargetInput","@aws-cdk/aws-events.RuleTargetInput#fromText","@aws-cdk/aws-sns.ITopic"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const onCommitRule: events.Rule;\ndeclare const topic: sns.Topic;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack, Duration } from '@aws-cdk/core';\nimport * as events from '@aws-cdk/aws-events';\nimport * as targets from '@aws-cdk/aws-events-targets';\nimport * as codecommit from '@aws-cdk/aws-codecommit';\nimport * as codebuild from '@aws-cdk/aws-codebuild';\nimport * as sns from '@aws-cdk/aws-sns';\nimport * as ecs from '@aws-cdk/aws-ecs';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as lambda from '@aws-cdk/aws-lambda';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n\nonCommitRule.addTarget(new targets.SnsTopic(topic, {\n message: events.RuleTargetInput.fromText(\n `A commit was pushed to the repository ${codecommit.ReferenceEvent.repositoryName} on branch ${codecommit.ReferenceEvent.referenceName}`\n )\n}));\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n\n","syntaxKindCounter":{"15":1,"16":1,"17":1,"75":21,"130":2,"153":2,"169":2,"193":1,"194":8,"196":2,"197":1,"211":1,"221":2,"225":2,"226":1,"242":2,"243":2,"281":1,"290":1},"fqnsFingerprint":"17f8405b9e7122e4d8512b184bbce81153b50796382b9b3414dcfc406a6c288b"},"8acd9a78f8d185adde2917387febff93e5528fbbc486f4e4718724eadc295dca":{"translations":{"python":{"source":"# on_commit_rule: events.Rule\n# topic: sns.Topic\n\n\non_commit_rule.add_target(targets.SnsTopic(topic,\n message=events.RuleTargetInput.from_object({\n \"DataType\": f\"custom_{events.EventField.fromPath('$.detail-type')}\"\n })\n))","version":"2"},"csharp":{"source":"Rule onCommitRule;\nTopic topic;\n\n\nonCommitRule.AddTarget(new SnsTopic(topic, new SnsTopicProps {\n Message = RuleTargetInput.FromObject(new Dictionary<string, string> {\n { \"DataType\", $\"custom_{events.EventField.fromPath('$.detail-type')}\" }\n })\n}));","version":"1"},"java":{"source":"Rule onCommitRule;\nTopic topic;\n\n\nonCommitRule.addTarget(SnsTopic.Builder.create(topic)\n .message(RuleTargetInput.fromObject(Map.of(\n \"DataType\", String.format(\"custom_%s\", EventField.fromPath(\"$.detail-type\")))))\n .build());","version":"1"},"go":{"source":"var onCommitRule rule\nvar topic topic\n\n\nonCommitRule.AddTarget(targets.NewSnsTopic(topic, &SnsTopicProps{\n\tMessage: events.RuleTargetInput_FromObject(map[string]*string{\n\t\t\"DataType\": fmt.Sprintf(\"custom_%v\", events.EventField_fromPath(jsii.String(\"$.detail-type\"))),\n\t}),\n}))","version":"1"},"$":{"source":"declare const onCommitRule: events.Rule;\ndeclare const topic: sns.Topic;\n\nonCommitRule.addTarget(new targets.SnsTopic(topic, {\n message: events.RuleTargetInput.fromObject(\n {\n DataType: `custom_${events.EventField.fromPath('$.detail-type')}`\n }\n )\n}));","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-events"},"field":{"field":"markdown","line":96}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events-targets.SnsTopic","@aws-cdk/aws-events-targets.SnsTopicProps","@aws-cdk/aws-events.IRuleTarget","@aws-cdk/aws-events.Rule#addTarget","@aws-cdk/aws-events.RuleTargetInput","@aws-cdk/aws-events.RuleTargetInput#fromObject","@aws-cdk/aws-sns.ITopic"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const onCommitRule: events.Rule;\ndeclare const topic: sns.Topic;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack, Duration } from '@aws-cdk/core';\nimport * as events from '@aws-cdk/aws-events';\nimport * as targets from '@aws-cdk/aws-events-targets';\nimport * as codecommit from '@aws-cdk/aws-codecommit';\nimport * as codebuild from '@aws-cdk/aws-codebuild';\nimport * as sns from '@aws-cdk/aws-sns';\nimport * as ecs from '@aws-cdk/aws-ecs';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as lambda from '@aws-cdk/aws-lambda';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n\nonCommitRule.addTarget(new targets.SnsTopic(topic, {\n message: events.RuleTargetInput.fromObject(\n {\n DataType: `custom_${events.EventField.fromPath('$.detail-type')}`\n }\n )\n}));\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n\n","syntaxKindCounter":{"10":1,"15":1,"17":1,"75":19,"130":2,"153":2,"169":2,"193":2,"194":6,"196":3,"197":1,"211":1,"221":1,"225":2,"226":1,"242":2,"243":2,"281":2,"290":1},"fqnsFingerprint":"3511f83f4b74b5103c3317670d6d987cc260b6fa124d00da54859d346bf5717b"},"eccf9afcaf8de6691b31152d3661bc14dc7cee02f8010f72354b48b5fa5ed3d8":{"translations":{"python":{"source":"from aws_cdk.aws_events import Rule, Schedule\nfrom aws_cdk.aws_events_targets import EcsTask\nfrom aws_cdk.aws_ecs import Cluster, TaskDefinition\nfrom aws_cdk.aws_iam import Role\n\n# cluster: Cluster\n# task_definition: TaskDefinition\n# role: Role\n\n\necs_task_target = EcsTask(cluster=cluster, task_definition=task_definition, role=role)\n\nRule(self, \"ScheduleRule\",\n schedule=Schedule.cron(minute=\"0\", hour=\"4\"),\n targets=[ecs_task_target]\n)","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.Events;\nusing Amazon.CDK.AWS.Events.Targets;\nusing Amazon.CDK.AWS.ECS;\nusing Amazon.CDK.AWS.IAM;\n\nCluster cluster;\nTaskDefinition taskDefinition;\nRole role;\n\n\nvar ecsTaskTarget = new EcsTask(new EcsTaskProps { Cluster = cluster, TaskDefinition = taskDefinition, Role = role });\n\nnew Rule(this, \"ScheduleRule\", new RuleProps {\n Schedule = Schedule.Cron(new CronOptions { Minute = \"0\", Hour = \"4\" }),\n Targets = new [] { ecsTaskTarget }\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.services.events.Rule;\nimport software.amazon.awscdk.services.events.Schedule;\nimport software.amazon.awscdk.services.events.targets.EcsTask;\nimport software.amazon.awscdk.services.ecs.Cluster;\nimport software.amazon.awscdk.services.ecs.TaskDefinition;\nimport software.amazon.awscdk.services.iam.Role;\n\nCluster cluster;\nTaskDefinition taskDefinition;\nRole role;\n\n\nEcsTask ecsTaskTarget = EcsTask.Builder.create().cluster(cluster).taskDefinition(taskDefinition).role(role).build();\n\nRule.Builder.create(this, \"ScheduleRule\")\n .schedule(Schedule.cron(CronOptions.builder().minute(\"0\").hour(\"4\").build()))\n .targets(List.of(ecsTaskTarget))\n .build();","version":"1"},"go":{"source":"import \"github.com/aws-samples/dummy/awscdkawsevents\"\nimport \"github.com/aws-samples/dummy/awscdkawseventstargets\"\nimport \"github.com/aws-samples/dummy/awscdkawsecs\"\nimport \"github.com/aws-samples/dummy/awscdkawsiam\"\n\nvar cluster cluster\nvar taskDefinition taskDefinition\nvar role role\n\n\necsTaskTarget := awscdkawseventstargets.NewEcsTask(&EcsTaskProps{\n\tCluster: Cluster,\n\tTaskDefinition: TaskDefinition,\n\tRole: Role,\n})\n\nawscdkawsevents.NewRule(this, jsii.String(\"ScheduleRule\"), &RuleProps{\n\tSchedule: *awscdkawsevents.Schedule_Cron(&CronOptions{\n\t\tMinute: jsii.String(\"0\"),\n\t\tHour: jsii.String(\"4\"),\n\t}),\n\tTargets: []iRuleTarget{\n\t\tecsTaskTarget,\n\t},\n})","version":"1"},"$":{"source":"import { Rule, Schedule } from '@aws-cdk/aws-events';\nimport { EcsTask } from '@aws-cdk/aws-events-targets';\nimport { Cluster, TaskDefinition } from '@aws-cdk/aws-ecs';\nimport { Role } from '@aws-cdk/aws-iam';\n\ndeclare const cluster: Cluster;\ndeclare const taskDefinition: TaskDefinition;\ndeclare const role: Role;\n\nconst ecsTaskTarget = new EcsTask({ cluster, taskDefinition, role });\n\nnew Rule(this, 'ScheduleRule', {\n schedule: Schedule.cron({ minute: '0', hour: '4' }),\n targets: [ecsTaskTarget],\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-events"},"field":{"field":"markdown","line":116}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-ecs.ICluster","@aws-cdk/aws-ecs.ITaskDefinition","@aws-cdk/aws-events-targets.EcsTask","@aws-cdk/aws-events-targets.EcsTaskProps","@aws-cdk/aws-events.CronOptions","@aws-cdk/aws-events.Rule","@aws-cdk/aws-events.RuleProps","@aws-cdk/aws-events.Schedule","@aws-cdk/aws-events.Schedule#cron","@aws-cdk/aws-iam.IRole","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\nimport { Rule, Schedule } from '@aws-cdk/aws-events';\nimport { EcsTask } from '@aws-cdk/aws-events-targets';\nimport { Cluster, TaskDefinition } from '@aws-cdk/aws-ecs';\nimport { Role } from '@aws-cdk/aws-iam';\n\ndeclare const cluster: Cluster;\ndeclare const taskDefinition: TaskDefinition;\ndeclare const role: Role;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack, Duration } from '@aws-cdk/core';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst ecsTaskTarget = new EcsTask({ cluster, taskDefinition, role });\n\nnew Rule(this, 'ScheduleRule', {\n schedule: Schedule.cron({ minute: '0', hour: '4' }),\n targets: [ecsTaskTarget],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n\n","syntaxKindCounter":{"10":7,"75":25,"104":1,"130":3,"169":3,"192":1,"193":3,"194":1,"196":1,"197":2,"225":4,"226":1,"242":4,"243":4,"254":4,"255":4,"257":4,"258":6,"281":4,"282":3,"290":1},"fqnsFingerprint":"ba24d6b0c94156cd4cbeed8deb6d72affe5a486be7ee873dd16d6ed01058f37a"},"fc9533bb39108e00dfa980b5b1c40dfe71ad2e992477c5bac2208bf6ca78c9d5":{"translations":{"python":{"source":"# cluster: ecs.Cluster\n# task_definition: ecs.TaskDefinition\n# role: iam.Role\n\n\nplatform_version = ecs.FargatePlatformVersion.VERSION1_4\necs_task_target = targets.EcsTask(cluster=cluster, task_definition=task_definition, role=role, platform_version=platform_version)","version":"2"},"csharp":{"source":"Cluster cluster;\nTaskDefinition taskDefinition;\nRole role;\n\n\nvar platformVersion = FargatePlatformVersion.VERSION1_4;\nvar ecsTaskTarget = new EcsTask(new EcsTaskProps { Cluster = cluster, TaskDefinition = taskDefinition, Role = role, PlatformVersion = platformVersion });","version":"1"},"java":{"source":"Cluster cluster;\nTaskDefinition taskDefinition;\nRole role;\n\n\nFargatePlatformVersion platformVersion = FargatePlatformVersion.VERSION1_4;\nEcsTask ecsTaskTarget = EcsTask.Builder.create().cluster(cluster).taskDefinition(taskDefinition).role(role).platformVersion(platformVersion).build();","version":"1"},"go":{"source":"var cluster cluster\nvar taskDefinition taskDefinition\nvar role role\n\n\nplatformVersion := ecs.FargatePlatformVersion_VERSION1_4\necsTaskTarget := targets.NewEcsTask(&EcsTaskProps{\n\tCluster: Cluster,\n\tTaskDefinition: TaskDefinition,\n\tRole: Role,\n\tPlatformVersion: PlatformVersion,\n})","version":"1"},"$":{"source":"declare const cluster: ecs.Cluster;\ndeclare const taskDefinition: ecs.TaskDefinition;\ndeclare const role: iam.Role;\n\nconst platformVersion = ecs.FargatePlatformVersion.VERSION1_4;\nconst ecsTaskTarget = new targets.EcsTask({ cluster, taskDefinition, role, platformVersion });","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-events"},"field":{"field":"markdown","line":136}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-ecs.FargatePlatformVersion","@aws-cdk/aws-ecs.FargatePlatformVersion#VERSION1_4","@aws-cdk/aws-ecs.ICluster","@aws-cdk/aws-ecs.ITaskDefinition","@aws-cdk/aws-events-targets.EcsTask","@aws-cdk/aws-events-targets.EcsTaskProps","@aws-cdk/aws-iam.IRole"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const cluster: ecs.Cluster;\ndeclare const taskDefinition: ecs.TaskDefinition;\ndeclare const role: iam.Role;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack, Duration } from '@aws-cdk/core';\nimport * as events from '@aws-cdk/aws-events';\nimport * as targets from '@aws-cdk/aws-events-targets';\nimport * as codecommit from '@aws-cdk/aws-codecommit';\nimport * as codebuild from '@aws-cdk/aws-codebuild';\nimport * as sns from '@aws-cdk/aws-sns';\nimport * as ecs from '@aws-cdk/aws-ecs';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as lambda from '@aws-cdk/aws-lambda';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst platformVersion = ecs.FargatePlatformVersion.VERSION1_4;\nconst ecsTaskTarget = new targets.EcsTask({ cluster, taskDefinition, role, platformVersion });\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n\n","syntaxKindCounter":{"75":20,"130":3,"153":3,"169":3,"193":1,"194":3,"197":1,"225":5,"242":5,"243":5,"282":4,"290":1},"fqnsFingerprint":"029e1e71468bba3704ceee73794a8170855cdc586b334946a17e190ec0b8d4aa"},"cb3ed42d1e89aa602607c9052cd892132b3e488d3a8a51142ae4d813b3e1bcc7":{"translations":{"python":{"source":"from aws_cdk.core import Environment, Environment\nfrom aws_cdk.core import App, Stack\nimport aws_cdk.aws_codebuild as codebuild\nimport aws_cdk.aws_codecommit as codecommit\nimport aws_cdk.aws_events_targets as targets\n\napp = App()\n\naccount1 = \"11111111111\"\naccount2 = \"22222222222\"\n\nstack1 = Stack(app, \"Stack1\", env=Environment(account=account1, region=\"us-west-1\"))\nrepo = codecommit.Repository(stack1, \"Repository\",\n repository_name=\"myrepository\"\n)\n\nstack2 = Stack(app, \"Stack2\", env=Environment(account=account2, region=\"us-east-1\"))\nproject = codebuild.Project(stack2, \"Project\")\n\nrepo.on_commit(\"OnCommit\",\n target=targets.CodeBuildProject(project)\n)","version":"2"},"csharp":{"source":"using Amazon.CDK;\nusing Amazon.CDK.AWS.CodeBuild;\nusing Amazon.CDK.AWS.CodeCommit;\nusing Amazon.CDK.AWS.Events.Targets;\n\nvar app = new App();\n\nvar account1 = \"11111111111\";\nvar account2 = \"22222222222\";\n\nvar stack1 = new Stack(app, \"Stack1\", new StackProps { Env = new Environment { Account = account1, Region = \"us-west-1\" } });\nvar repo = new Repository(stack1, \"Repository\", new RepositoryProps {\n RepositoryName = \"myrepository\"\n});\n\nvar stack2 = new Stack(app, \"Stack2\", new StackProps { Env = new Environment { Account = account2, Region = \"us-east-1\" } });\nvar project = new Project(stack2, \"Project\", new ProjectProps { });\n\nrepo.OnCommit(\"OnCommit\", new OnCommitOptions {\n Target = new CodeBuildProject(project)\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.core.App;\nimport software.amazon.awscdk.core.Stack;\nimport software.amazon.awscdk.services.codebuild.*;\nimport software.amazon.awscdk.services.codecommit.*;\nimport software.amazon.awscdk.services.events.targets.*;\n\nApp app = new App();\n\nString account1 = \"11111111111\";\nString account2 = \"22222222222\";\n\nStack stack1 = Stack.Builder.create(app, \"Stack1\").env(Environment.builder().account(account1).region(\"us-west-1\").build()).build();\nRepository repo = Repository.Builder.create(stack1, \"Repository\")\n .repositoryName(\"myrepository\")\n .build();\n\nStack stack2 = Stack.Builder.create(app, \"Stack2\").env(Environment.builder().account(account2).region(\"us-east-1\").build()).build();\nProject project = Project.Builder.create(stack2, \"Project\").build();\n\nrepo.onCommit(\"OnCommit\", OnCommitOptions.builder()\n .target(new CodeBuildProject(project))\n .build());","version":"1"},"go":{"source":"import \"github.com/aws-samples/dummy/awscdkcore\"\nimport codebuild \"github.com/aws-samples/dummy/awscdkawscodebuild\"\nimport codecommit \"github.com/aws-samples/dummy/awscdkawscodecommit\"\nimport targets \"github.com/aws-samples/dummy/awscdkawseventstargets\"\n\napp := awscdkcore.NewApp()\n\naccount1 := \"11111111111\"\naccount2 := \"22222222222\"\n\nstack1 := awscdkcore.NewStack(app, jsii.String(\"Stack1\"), &StackProps{\n\tEnv: &Environment{\n\t\tAccount: account1,\n\t\tRegion: jsii.String(\"us-west-1\"),\n\t},\n})\nrepo := codecommit.NewRepository(stack1, jsii.String(\"Repository\"), &RepositoryProps{\n\tRepositoryName: jsii.String(\"myrepository\"),\n})\n\nstack2 := awscdkcore.NewStack(app, jsii.String(\"Stack2\"), &StackProps{\n\tEnv: &Environment{\n\t\tAccount: account2,\n\t\tRegion: jsii.String(\"us-east-1\"),\n\t},\n})\nproject := codebuild.NewProject(stack2, jsii.String(\"Project\"), &ProjectProps{\n})\n\nrepo.onCommit(jsii.String(\"OnCommit\"), &OnCommitOptions{\n\tTarget: targets.NewCodeBuildProject(project),\n})","version":"1"},"$":{"source":"import { App, Stack } from '@aws-cdk/core';\nimport * as codebuild from '@aws-cdk/aws-codebuild';\nimport * as codecommit from '@aws-cdk/aws-codecommit';\nimport * as targets from '@aws-cdk/aws-events-targets';\n\nconst app = new App();\n\nconst account1 = '11111111111';\nconst account2 = '22222222222';\n\nconst stack1 = new Stack(app, 'Stack1', { env: { account: account1, region: 'us-west-1' } });\nconst repo = new codecommit.Repository(stack1, 'Repository', {\n repositoryName: 'myrepository',\n});\n\nconst stack2 = new Stack(app, 'Stack2', { env: { account: account2, region: 'us-east-1' } });\nconst project = new codebuild.Project(stack2, 'Project', {\n // ...\n});\n\nrepo.onCommit('OnCommit', {\n target: new targets.CodeBuildProject(project),\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-events"},"field":{"field":"markdown","line":168}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-codebuild.IProject","@aws-cdk/aws-codebuild.Project","@aws-cdk/aws-codebuild.ProjectProps","@aws-cdk/aws-codecommit.OnCommitOptions","@aws-cdk/aws-codecommit.Repository","@aws-cdk/aws-codecommit.RepositoryProps","@aws-cdk/aws-events-targets.CodeBuildProject","@aws-cdk/aws-events.IRuleTarget","@aws-cdk/core.App","@aws-cdk/core.Environment","@aws-cdk/core.Stack","@aws-cdk/core.StackProps","constructs.Construct"],"fullSource":"import { App, Stack } from '@aws-cdk/core';\nimport * as codebuild from '@aws-cdk/aws-codebuild';\nimport * as codecommit from '@aws-cdk/aws-codecommit';\nimport * as targets from '@aws-cdk/aws-events-targets';\n\nconst app = new App();\n\nconst account1 = '11111111111';\nconst account2 = '22222222222';\n\nconst stack1 = new Stack(app, 'Stack1', { env: { account: account1, region: 'us-west-1' } });\nconst repo = new codecommit.Repository(stack1, 'Repository', {\n repositoryName: 'myrepository',\n});\n\nconst stack2 = new Stack(app, 'Stack2', { env: { account: account2, region: 'us-east-1' } });\nconst project = new codebuild.Project(stack2, 'Project', {\n // ...\n});\n\nrepo.onCommit('OnCommit', {\n target: new targets.CodeBuildProject(project),\n});","syntaxKindCounter":{"10":14,"75":38,"193":7,"194":4,"196":1,"197":6,"225":7,"226":1,"242":7,"243":7,"254":4,"255":4,"256":3,"257":1,"258":2,"281":8,"290":1},"fqnsFingerprint":"09632f428cedda1b41d21e19447255e54543c39ad6e2768a1d22ffd34059ccff"},"9b906e679698ac5a36a82dbffb362b7397ae5c64753e3a4b41310b70c1be19a7":{"translations":{"python":{"source":"bus = events.EventBus(self, \"bus\",\n event_bus_name=\"MyCustomEventBus\"\n)\n\nbus.archive(\"MyArchive\",\n archive_name=\"MyCustomEventBusArchive\",\n description=\"MyCustomerEventBus Archive\",\n event_pattern=events.EventPattern(\n account=[Stack.of(self).account]\n ),\n retention=Duration.days(365)\n)","version":"2"},"csharp":{"source":"var bus = new EventBus(this, \"bus\", new EventBusProps {\n EventBusName = \"MyCustomEventBus\"\n});\n\nbus.Archive(\"MyArchive\", new BaseArchiveProps {\n ArchiveName = \"MyCustomEventBusArchive\",\n Description = \"MyCustomerEventBus Archive\",\n EventPattern = new EventPattern {\n Account = new [] { Stack.Of(this).Account }\n },\n Retention = Duration.Days(365)\n});","version":"1"},"java":{"source":"EventBus bus = EventBus.Builder.create(this, \"bus\")\n .eventBusName(\"MyCustomEventBus\")\n .build();\n\nbus.archive(\"MyArchive\", BaseArchiveProps.builder()\n .archiveName(\"MyCustomEventBusArchive\")\n .description(\"MyCustomerEventBus Archive\")\n .eventPattern(EventPattern.builder()\n .account(List.of(Stack.of(this).getAccount()))\n .build())\n .retention(Duration.days(365))\n .build());","version":"1"},"go":{"source":"bus := events.NewEventBus(this, jsii.String(\"bus\"), &EventBusProps{\n\tEventBusName: jsii.String(\"MyCustomEventBus\"),\n})\n\nbus.archive(jsii.String(\"MyArchive\"), &BaseArchiveProps{\n\tArchiveName: jsii.String(\"MyCustomEventBusArchive\"),\n\tDescription: jsii.String(\"MyCustomerEventBus Archive\"),\n\tEventPattern: &EventPattern{\n\t\tAccount: []*string{\n\t\t\tawscdkcore.*stack_Of(this).Account,\n\t\t},\n\t},\n\tRetention: *awscdkcore.Duration_Days(jsii.Number(365)),\n})","version":"1"},"$":{"source":"const bus = new events.EventBus(this, 'bus', {\n eventBusName: 'MyCustomEventBus'\n});\n\nbus.archive('MyArchive', {\n archiveName: 'MyCustomEventBusArchive',\n description: 'MyCustomerEventBus Archive',\n eventPattern: {\n account: [Stack.of(this).account],\n },\n retention: Duration.days(365),\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-events"},"field":{"field":"markdown","line":209}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.BaseArchiveProps","@aws-cdk/aws-events.EventBus","@aws-cdk/aws-events.EventBusProps","@aws-cdk/aws-events.EventPattern","@aws-cdk/core.Duration","@aws-cdk/core.Duration#days","@aws-cdk/core.Stack#account","@aws-cdk/core.Stack#of","constructs.Construct","constructs.IConstruct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack, Duration } from '@aws-cdk/core';\nimport * as events from '@aws-cdk/aws-events';\nimport * as targets from '@aws-cdk/aws-events-targets';\nimport * as codecommit from '@aws-cdk/aws-codecommit';\nimport * as codebuild from '@aws-cdk/aws-codebuild';\nimport * as sns from '@aws-cdk/aws-sns';\nimport * as ecs from '@aws-cdk/aws-ecs';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as lambda from '@aws-cdk/aws-lambda';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bus = new events.EventBus(this, 'bus', {\n eventBusName: 'MyCustomEventBus'\n});\n\nbus.archive('MyArchive', {\n archiveName: 'MyCustomEventBusArchive',\n description: 'MyCustomerEventBus Archive',\n eventPattern: {\n account: [Stack.of(this).account],\n },\n retention: Duration.days(365),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n\n","syntaxKindCounter":{"8":1,"10":5,"75":16,"104":2,"192":1,"193":3,"194":5,"196":3,"197":1,"225":1,"226":1,"242":1,"243":1,"281":6},"fqnsFingerprint":"98cfc4f90538e7e7737f60dde4b05937b3efc52f6dd21be1608fb35c2be48875"},"8b5cf83c5bb4b90175ce2c38aaa59de642928ef4d0c277ccebc7f0e17d8196fa":{"translations":{"python":{"source":"# lambda_function: lambda.Function\n\n\nevent_bus = events.EventBus.from_event_bus_arn(self, \"ImportedEventBus\", \"arn:aws:events:us-east-1:111111111:event-bus/my-event-bus\")\n\n# now you can just call methods on the eventbus\nevent_bus.grant_put_events_to(lambda_function)","version":"2"},"csharp":{"source":"Function lambdaFunction;\n\n\nvar eventBus = EventBus.FromEventBusArn(this, \"ImportedEventBus\", \"arn:aws:events:us-east-1:111111111:event-bus/my-event-bus\");\n\n// now you can just call methods on the eventbus\neventBus.GrantPutEventsTo(lambdaFunction);","version":"1"},"java":{"source":"Function lambdaFunction;\n\n\nIEventBus eventBus = EventBus.fromEventBusArn(this, \"ImportedEventBus\", \"arn:aws:events:us-east-1:111111111:event-bus/my-event-bus\");\n\n// now you can just call methods on the eventbus\neventBus.grantPutEventsTo(lambdaFunction);","version":"1"},"go":{"source":"var lambdaFunction function\n\n\neventBus := events.EventBus_FromEventBusArn(this, jsii.String(\"ImportedEventBus\"), jsii.String(\"arn:aws:events:us-east-1:111111111:event-bus/my-event-bus\"))\n\n// now you can just call methods on the eventbus\neventBus.GrantPutEventsTo(lambdaFunction)","version":"1"},"$":{"source":"declare const lambdaFunction: lambda.Function;\n\nconst eventBus = events.EventBus.fromEventBusArn(this, 'ImportedEventBus', 'arn:aws:events:us-east-1:111111111:event-bus/my-event-bus');\n\n// now you can just call methods on the eventbus\neventBus.grantPutEventsTo(lambdaFunction);","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-events"},"field":{"field":"markdown","line":231}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.EventBus","@aws-cdk/aws-events.EventBus#fromEventBusArn","@aws-cdk/aws-events.IEventBus","@aws-cdk/aws-events.IEventBus#grantPutEventsTo","@aws-cdk/aws-iam.IGrantable","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const lambdaFunction: lambda.Function;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack, Duration } from '@aws-cdk/core';\nimport * as events from '@aws-cdk/aws-events';\nimport * as targets from '@aws-cdk/aws-events-targets';\nimport * as codecommit from '@aws-cdk/aws-codecommit';\nimport * as codebuild from '@aws-cdk/aws-codebuild';\nimport * as sns from '@aws-cdk/aws-sns';\nimport * as ecs from '@aws-cdk/aws-ecs';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as lambda from '@aws-cdk/aws-lambda';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst eventBus = events.EventBus.fromEventBusArn(this, 'ImportedEventBus', 'arn:aws:events:us-east-1:111111111:event-bus/my-event-bus');\n\n// now you can just call methods on the eventbus\neventBus.grantPutEventsTo(lambdaFunction);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n\n","syntaxKindCounter":{"10":2,"75":10,"104":1,"130":1,"153":1,"169":1,"194":3,"196":2,"225":2,"226":1,"242":2,"243":2,"290":1},"fqnsFingerprint":"8db980964baf4859035a60e213d68b67d2fec7577bdccde8332832c545ed0fb9"},"a4827dbeee1582d0bb87d1ecadcb5b55214df35b9893403fde11829245c840cb":{"translations":{"python":{"source":"connection = events.Connection(self, \"Connection\",\n authorization=events.Authorization.api_key(\"x-api-key\", SecretValue.secrets_manager(\"ApiSecretName\")),\n description=\"Connection with API Key x-api-key\"\n)\n\ndestination = events.ApiDestination(self, \"Destination\",\n connection=connection,\n endpoint=\"https://example.com\",\n description=\"Calling example.com with API key x-api-key\"\n)\n\nrule = events.Rule(self, \"Rule\",\n schedule=events.Schedule.rate(cdk.Duration.minutes(1)),\n targets=[targets.ApiDestination(destination)]\n)","version":"2"},"csharp":{"source":"var connection = new Connection(this, \"Connection\", new ConnectionProps {\n Authorization = Authorization.ApiKey(\"x-api-key\", SecretValue.SecretsManager(\"ApiSecretName\")),\n Description = \"Connection with API Key x-api-key\"\n});\n\nvar destination = new ApiDestination(this, \"Destination\", new ApiDestinationProps {\n Connection = connection,\n Endpoint = \"https://example.com\",\n Description = \"Calling example.com with API key x-api-key\"\n});\n\nvar rule = new Rule(this, \"Rule\", new RuleProps {\n Schedule = Schedule.Rate(Duration.Minutes(1)),\n Targets = new [] { new ApiDestination(destination) }\n});","version":"1"},"java":{"source":"Connection connection = Connection.Builder.create(this, \"Connection\")\n .authorization(Authorization.apiKey(\"x-api-key\", SecretValue.secretsManager(\"ApiSecretName\")))\n .description(\"Connection with API Key x-api-key\")\n .build();\n\nApiDestination destination = ApiDestination.Builder.create(this, \"Destination\")\n .connection(connection)\n .endpoint(\"https://example.com\")\n .description(\"Calling example.com with API key x-api-key\")\n .build();\n\nRule rule = Rule.Builder.create(this, \"Rule\")\n .schedule(Schedule.rate(Duration.minutes(1)))\n .targets(List.of(new ApiDestination(destination)))\n .build();","version":"1"},"go":{"source":"connection := events.NewConnection(this, jsii.String(\"Connection\"), &ConnectionProps{\n\tAuthorization: events.Authorization_ApiKey(jsii.String(\"x-api-key\"), awscdkcore.SecretValue_SecretsManager(jsii.String(\"ApiSecretName\"))),\n\tDescription: jsii.String(\"Connection with API Key x-api-key\"),\n})\n\ndestination := events.NewApiDestination(this, jsii.String(\"Destination\"), &ApiDestinationProps{\n\tConnection: Connection,\n\tEndpoint: jsii.String(\"https://example.com\"),\n\tDescription: jsii.String(\"Calling example.com with API key x-api-key\"),\n})\n\nrule := events.NewRule(this, jsii.String(\"Rule\"), &RuleProps{\n\tSchedule: events.Schedule_Rate(cdk.Duration_Minutes(jsii.Number(1))),\n\tTargets: []iRuleTarget{\n\t\ttargets.NewApiDestination(destination),\n\t},\n})","version":"1"},"$":{"source":"const connection = new events.Connection(this, 'Connection', {\n authorization: events.Authorization.apiKey('x-api-key', SecretValue.secretsManager('ApiSecretName')),\n description: 'Connection with API Key x-api-key',\n});\n\nconst destination = new events.ApiDestination(this, 'Destination', {\n connection,\n endpoint: 'https://example.com',\n description: 'Calling example.com with API key x-api-key',\n});\n\nconst rule = new events.Rule(this, 'Rule', {\n schedule: events.Schedule.rate(cdk.Duration.minutes(1)),\n targets: [new targets.ApiDestination(destination)],\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.ApiDestination"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events-targets.ApiDestination","@aws-cdk/aws-events.ApiDestination","@aws-cdk/aws-events.ApiDestinationProps","@aws-cdk/aws-events.Authorization","@aws-cdk/aws-events.Authorization#apiKey","@aws-cdk/aws-events.Connection","@aws-cdk/aws-events.ConnectionProps","@aws-cdk/aws-events.IApiDestination","@aws-cdk/aws-events.IConnection","@aws-cdk/aws-events.Rule","@aws-cdk/aws-events.RuleProps","@aws-cdk/aws-events.Schedule","@aws-cdk/aws-events.Schedule#rate","@aws-cdk/core.Duration","@aws-cdk/core.Duration#minutes","@aws-cdk/core.SecretValue","@aws-cdk/core.SecretValue#secretsManager","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Duration, RemovalPolicy, SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\n\nimport * as targets from '@aws-cdk/aws-events-targets';\nimport * as events from '@aws-cdk/aws-events';\nimport * as sqs from '@aws-cdk/aws-sqs';\nimport * as cdk from '@aws-cdk/core';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst connection = new events.Connection(this, 'Connection', {\n authorization: events.Authorization.apiKey('x-api-key', SecretValue.secretsManager('ApiSecretName')),\n description: 'Connection with API Key x-api-key',\n});\n\nconst destination = new events.ApiDestination(this, 'Destination', {\n connection,\n endpoint: 'https://example.com',\n description: 'Calling example.com with API key x-api-key',\n});\n\nconst rule = new events.Rule(this, 'Rule', {\n schedule: events.Schedule.rate(cdk.Duration.minutes(1)),\n targets: [new targets.ApiDestination(destination)],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"8":1,"10":8,"75":30,"104":3,"192":1,"193":3,"194":11,"196":4,"197":4,"225":3,"242":3,"243":3,"281":6,"282":1},"fqnsFingerprint":"c132d3110db5dfcd2d75d88a3612c8422c27dd0eababf983aadbfe0f227d6745"},"c8275deddeed5cd49edb8c21a818c2b3d1bd40389befb97dd8166e2ccb80f9f4":{"translations":{"python":{"source":"connection = events.Connection(self, \"Connection\",\n authorization=events.Authorization.api_key(\"x-api-key\", SecretValue.secrets_manager(\"ApiSecretName\")),\n description=\"Connection with API Key x-api-key\"\n)\n\ndestination = events.ApiDestination(self, \"Destination\",\n connection=connection,\n endpoint=\"https://example.com\",\n description=\"Calling example.com with API key x-api-key\"\n)\n\nrule = events.Rule(self, \"Rule\",\n schedule=events.Schedule.rate(cdk.Duration.minutes(1)),\n targets=[targets.ApiDestination(destination)]\n)","version":"2"},"csharp":{"source":"var connection = new Connection(this, \"Connection\", new ConnectionProps {\n Authorization = Authorization.ApiKey(\"x-api-key\", SecretValue.SecretsManager(\"ApiSecretName\")),\n Description = \"Connection with API Key x-api-key\"\n});\n\nvar destination = new ApiDestination(this, \"Destination\", new ApiDestinationProps {\n Connection = connection,\n Endpoint = \"https://example.com\",\n Description = \"Calling example.com with API key x-api-key\"\n});\n\nvar rule = new Rule(this, \"Rule\", new RuleProps {\n Schedule = Schedule.Rate(Duration.Minutes(1)),\n Targets = new [] { new ApiDestination(destination) }\n});","version":"1"},"java":{"source":"Connection connection = Connection.Builder.create(this, \"Connection\")\n .authorization(Authorization.apiKey(\"x-api-key\", SecretValue.secretsManager(\"ApiSecretName\")))\n .description(\"Connection with API Key x-api-key\")\n .build();\n\nApiDestination destination = ApiDestination.Builder.create(this, \"Destination\")\n .connection(connection)\n .endpoint(\"https://example.com\")\n .description(\"Calling example.com with API key x-api-key\")\n .build();\n\nRule rule = Rule.Builder.create(this, \"Rule\")\n .schedule(Schedule.rate(Duration.minutes(1)))\n .targets(List.of(new ApiDestination(destination)))\n .build();","version":"1"},"go":{"source":"connection := events.NewConnection(this, jsii.String(\"Connection\"), &ConnectionProps{\n\tAuthorization: events.Authorization_ApiKey(jsii.String(\"x-api-key\"), awscdkcore.SecretValue_SecretsManager(jsii.String(\"ApiSecretName\"))),\n\tDescription: jsii.String(\"Connection with API Key x-api-key\"),\n})\n\ndestination := events.NewApiDestination(this, jsii.String(\"Destination\"), &ApiDestinationProps{\n\tConnection: Connection,\n\tEndpoint: jsii.String(\"https://example.com\"),\n\tDescription: jsii.String(\"Calling example.com with API key x-api-key\"),\n})\n\nrule := events.NewRule(this, jsii.String(\"Rule\"), &RuleProps{\n\tSchedule: events.Schedule_Rate(cdk.Duration_Minutes(jsii.Number(1))),\n\tTargets: []iRuleTarget{\n\t\ttargets.NewApiDestination(destination),\n\t},\n})","version":"1"},"$":{"source":"const connection = new events.Connection(this, 'Connection', {\n authorization: events.Authorization.apiKey('x-api-key', SecretValue.secretsManager('ApiSecretName')),\n description: 'Connection with API Key x-api-key',\n});\n\nconst destination = new events.ApiDestination(this, 'Destination', {\n connection,\n endpoint: 'https://example.com',\n description: 'Calling example.com with API key x-api-key',\n});\n\nconst rule = new events.Rule(this, 'Rule', {\n schedule: events.Schedule.rate(cdk.Duration.minutes(1)),\n targets: [new targets.ApiDestination(destination)],\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.ApiDestinationProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events-targets.ApiDestination","@aws-cdk/aws-events.ApiDestination","@aws-cdk/aws-events.ApiDestinationProps","@aws-cdk/aws-events.Authorization","@aws-cdk/aws-events.Authorization#apiKey","@aws-cdk/aws-events.Connection","@aws-cdk/aws-events.ConnectionProps","@aws-cdk/aws-events.IApiDestination","@aws-cdk/aws-events.IConnection","@aws-cdk/aws-events.Rule","@aws-cdk/aws-events.RuleProps","@aws-cdk/aws-events.Schedule","@aws-cdk/aws-events.Schedule#rate","@aws-cdk/core.Duration","@aws-cdk/core.Duration#minutes","@aws-cdk/core.SecretValue","@aws-cdk/core.SecretValue#secretsManager","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Duration, RemovalPolicy, SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\n\nimport * as targets from '@aws-cdk/aws-events-targets';\nimport * as events from '@aws-cdk/aws-events';\nimport * as sqs from '@aws-cdk/aws-sqs';\nimport * as cdk from '@aws-cdk/core';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst connection = new events.Connection(this, 'Connection', {\n authorization: events.Authorization.apiKey('x-api-key', SecretValue.secretsManager('ApiSecretName')),\n description: 'Connection with API Key x-api-key',\n});\n\nconst destination = new events.ApiDestination(this, 'Destination', {\n connection,\n endpoint: 'https://example.com',\n description: 'Calling example.com with API key x-api-key',\n});\n\nconst rule = new events.Rule(this, 'Rule', {\n schedule: events.Schedule.rate(cdk.Duration.minutes(1)),\n targets: [new targets.ApiDestination(destination)],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"8":1,"10":8,"75":30,"104":3,"192":1,"193":3,"194":11,"196":4,"197":4,"225":3,"242":3,"243":3,"281":6,"282":1},"fqnsFingerprint":"c132d3110db5dfcd2d75d88a3612c8422c27dd0eababf983aadbfe0f227d6745"},"3bfa4880a9c7066e6c40c8a52777eb616b63d2a331c6d5960ae5081f2f8d43af":{"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_events as events\nimport aws_cdk.core as cdk\n\n# detail: Any\n# event_bus: events.EventBus\n\narchive = events.Archive(self, \"MyArchive\",\n event_pattern=events.EventPattern(\n account=[\"account\"],\n detail={\n \"detail_key\": detail\n },\n detail_type=[\"detailType\"],\n id=[\"id\"],\n region=[\"region\"],\n resources=[\"resources\"],\n source=[\"source\"],\n time=[\"time\"],\n version=[\"version\"]\n ),\n source_event_bus=event_bus,\n\n # the properties below are optional\n archive_name=\"archiveName\",\n description=\"description\",\n retention=cdk.Duration.minutes(30)\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.Events;\nusing Amazon.CDK;\n\nvar detail;\nEventBus eventBus;\nvar archive = new Archive(this, \"MyArchive\", new ArchiveProps {\n EventPattern = new EventPattern {\n Account = new [] { \"account\" },\n Detail = new Dictionary<string, object> {\n { \"detailKey\", detail }\n },\n DetailType = new [] { \"detailType\" },\n Id = new [] { \"id\" },\n Region = new [] { \"region\" },\n Resources = new [] { \"resources\" },\n Source = new [] { \"source\" },\n Time = new [] { \"time\" },\n Version = new [] { \"version\" }\n },\n SourceEventBus = eventBus,\n\n // the properties below are optional\n ArchiveName = \"archiveName\",\n Description = \"description\",\n Retention = Duration.Minutes(30)\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.events.*;\nimport software.amazon.awscdk.core.*;\n\nObject detail;\nEventBus eventBus;\n\nArchive archive = Archive.Builder.create(this, \"MyArchive\")\n .eventPattern(EventPattern.builder()\n .account(List.of(\"account\"))\n .detail(Map.of(\n \"detailKey\", detail))\n .detailType(List.of(\"detailType\"))\n .id(List.of(\"id\"))\n .region(List.of(\"region\"))\n .resources(List.of(\"resources\"))\n .source(List.of(\"source\"))\n .time(List.of(\"time\"))\n .version(List.of(\"version\"))\n .build())\n .sourceEventBus(eventBus)\n\n // the properties below are optional\n .archiveName(\"archiveName\")\n .description(\"description\")\n .retention(Duration.minutes(30))\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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\nimport cdk \"github.com/aws-samples/dummy/awscdkcore\"\n\nvar detail interface{}\nvar eventBus eventBus\n\narchive := events.NewArchive(this, jsii.String(\"MyArchive\"), &ArchiveProps{\n\tEventPattern: &EventPattern{\n\t\tAccount: []*string{\n\t\t\tjsii.String(\"account\"),\n\t\t},\n\t\tDetail: map[string]interface{}{\n\t\t\t\"detailKey\": detail,\n\t\t},\n\t\tDetailType: []*string{\n\t\t\tjsii.String(\"detailType\"),\n\t\t},\n\t\tId: []*string{\n\t\t\tjsii.String(\"id\"),\n\t\t},\n\t\tRegion: []*string{\n\t\t\tjsii.String(\"region\"),\n\t\t},\n\t\tResources: []*string{\n\t\t\tjsii.String(\"resources\"),\n\t\t},\n\t\tSource: []*string{\n\t\t\tjsii.String(\"source\"),\n\t\t},\n\t\tTime: []*string{\n\t\t\tjsii.String(\"time\"),\n\t\t},\n\t\tVersion: []*string{\n\t\t\tjsii.String(\"version\"),\n\t\t},\n\t},\n\tSourceEventBus: eventBus,\n\n\t// the properties below are optional\n\tArchiveName: jsii.String(\"archiveName\"),\n\tDescription: jsii.String(\"description\"),\n\tRetention: cdk.Duration_Minutes(jsii.Number(30)),\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 events from '@aws-cdk/aws-events';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const detail: any;\ndeclare const eventBus: events.EventBus;\nconst archive = new events.Archive(this, 'MyArchive', {\n eventPattern: {\n account: ['account'],\n detail: {\n detailKey: detail,\n },\n detailType: ['detailType'],\n id: ['id'],\n region: ['region'],\n resources: ['resources'],\n source: ['source'],\n time: ['time'],\n version: ['version'],\n },\n sourceEventBus: eventBus,\n\n // the properties below are optional\n archiveName: 'archiveName',\n description: 'description',\n retention: cdk.Duration.minutes(30),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.Archive"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.Archive","@aws-cdk/aws-events.ArchiveProps","@aws-cdk/aws-events.EventPattern","@aws-cdk/aws-events.IEventBus","@aws-cdk/core.Duration","@aws-cdk/core.Duration#minutes","constructs.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 events from '@aws-cdk/aws-events';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const detail: any;\ndeclare const eventBus: events.EventBus;\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 archive = new events.Archive(this, 'MyArchive', {\n eventPattern: {\n account: ['account'],\n detail: {\n detailKey: detail,\n },\n detailType: ['detailType'],\n id: ['id'],\n region: ['region'],\n resources: ['resources'],\n source: ['source'],\n time: ['time'],\n version: ['version'],\n },\n sourceEventBus: eventBus,\n\n // the properties below are optional\n archiveName: 'archiveName',\n description: 'description',\n retention: cdk.Duration.minutes(30),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":1,"10":13,"75":29,"104":1,"125":1,"130":2,"153":1,"169":1,"192":8,"193":3,"194":3,"196":1,"197":1,"225":3,"242":3,"243":3,"254":2,"255":2,"256":2,"281":15,"290":1},"fqnsFingerprint":"00db9911806f3a426179cab97426f00c0beb4074216fac7067abb9f60fb89d84"},"a0af5e04f438e5dd410292fb3f633daa1025f388fadc456653778cda58bc8174":{"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_events as events\nimport aws_cdk.core as cdk\n\n# detail: Any\n# event_bus: events.EventBus\n\narchive_props = events.ArchiveProps(\n event_pattern=events.EventPattern(\n account=[\"account\"],\n detail={\n \"detail_key\": detail\n },\n detail_type=[\"detailType\"],\n id=[\"id\"],\n region=[\"region\"],\n resources=[\"resources\"],\n source=[\"source\"],\n time=[\"time\"],\n version=[\"version\"]\n ),\n source_event_bus=event_bus,\n\n # the properties below are optional\n archive_name=\"archiveName\",\n description=\"description\",\n retention=cdk.Duration.minutes(30)\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.Events;\nusing Amazon.CDK;\n\nvar detail;\nEventBus eventBus;\nvar archiveProps = new ArchiveProps {\n EventPattern = new EventPattern {\n Account = new [] { \"account\" },\n Detail = new Dictionary<string, object> {\n { \"detailKey\", detail }\n },\n DetailType = new [] { \"detailType\" },\n Id = new [] { \"id\" },\n Region = new [] { \"region\" },\n Resources = new [] { \"resources\" },\n Source = new [] { \"source\" },\n Time = new [] { \"time\" },\n Version = new [] { \"version\" }\n },\n SourceEventBus = eventBus,\n\n // the properties below are optional\n ArchiveName = \"archiveName\",\n Description = \"description\",\n Retention = Duration.Minutes(30)\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.events.*;\nimport software.amazon.awscdk.core.*;\n\nObject detail;\nEventBus eventBus;\n\nArchiveProps archiveProps = ArchiveProps.builder()\n .eventPattern(EventPattern.builder()\n .account(List.of(\"account\"))\n .detail(Map.of(\n \"detailKey\", detail))\n .detailType(List.of(\"detailType\"))\n .id(List.of(\"id\"))\n .region(List.of(\"region\"))\n .resources(List.of(\"resources\"))\n .source(List.of(\"source\"))\n .time(List.of(\"time\"))\n .version(List.of(\"version\"))\n .build())\n .sourceEventBus(eventBus)\n\n // the properties below are optional\n .archiveName(\"archiveName\")\n .description(\"description\")\n .retention(Duration.minutes(30))\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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\nimport cdk \"github.com/aws-samples/dummy/awscdkcore\"\n\nvar detail interface{}\nvar eventBus eventBus\n\narchiveProps := &ArchiveProps{\n\tEventPattern: &EventPattern{\n\t\tAccount: []*string{\n\t\t\tjsii.String(\"account\"),\n\t\t},\n\t\tDetail: map[string]interface{}{\n\t\t\t\"detailKey\": detail,\n\t\t},\n\t\tDetailType: []*string{\n\t\t\tjsii.String(\"detailType\"),\n\t\t},\n\t\tId: []*string{\n\t\t\tjsii.String(\"id\"),\n\t\t},\n\t\tRegion: []*string{\n\t\t\tjsii.String(\"region\"),\n\t\t},\n\t\tResources: []*string{\n\t\t\tjsii.String(\"resources\"),\n\t\t},\n\t\tSource: []*string{\n\t\t\tjsii.String(\"source\"),\n\t\t},\n\t\tTime: []*string{\n\t\t\tjsii.String(\"time\"),\n\t\t},\n\t\tVersion: []*string{\n\t\t\tjsii.String(\"version\"),\n\t\t},\n\t},\n\tSourceEventBus: eventBus,\n\n\t// the properties below are optional\n\tArchiveName: jsii.String(\"archiveName\"),\n\tDescription: jsii.String(\"description\"),\n\tRetention: cdk.Duration_Minutes(jsii.Number(30)),\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 events from '@aws-cdk/aws-events';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const detail: any;\ndeclare const eventBus: events.EventBus;\nconst archiveProps: events.ArchiveProps = {\n eventPattern: {\n account: ['account'],\n detail: {\n detailKey: detail,\n },\n detailType: ['detailType'],\n id: ['id'],\n region: ['region'],\n resources: ['resources'],\n source: ['source'],\n time: ['time'],\n version: ['version'],\n },\n sourceEventBus: eventBus,\n\n // the properties below are optional\n archiveName: 'archiveName',\n description: 'description',\n retention: cdk.Duration.minutes(30),\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.ArchiveProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.ArchiveProps","@aws-cdk/aws-events.EventPattern","@aws-cdk/aws-events.IEventBus","@aws-cdk/core.Duration","@aws-cdk/core.Duration#minutes"],"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 events from '@aws-cdk/aws-events';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const detail: any;\ndeclare const eventBus: events.EventBus;\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 archiveProps: events.ArchiveProps = {\n eventPattern: {\n account: ['account'],\n detail: {\n detailKey: detail,\n },\n detailType: ['detailType'],\n id: ['id'],\n region: ['region'],\n resources: ['resources'],\n source: ['source'],\n time: ['time'],\n version: ['version'],\n },\n sourceEventBus: eventBus,\n\n // the properties below are optional\n archiveName: 'archiveName',\n description: 'description',\n retention: cdk.Duration.minutes(30),\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":1,"10":12,"75":29,"125":1,"130":2,"153":2,"169":2,"192":8,"193":3,"194":2,"196":1,"225":3,"242":3,"243":3,"254":2,"255":2,"256":2,"281":15,"290":1},"fqnsFingerprint":"073d6598bcd80bc56bd40a4eb2c53e0af62c2dc4bf7ac6081e469d01b3b46726"},"ce2adb2aa227db55bb22760520af285c5cfdb3c16bc6680748537d660d8ec485":{"translations":{"python":{"source":"connection = events.Connection(self, \"Connection\",\n authorization=events.Authorization.api_key(\"x-api-key\", SecretValue.secrets_manager(\"ApiSecretName\")),\n description=\"Connection with API Key x-api-key\"\n)\n\ndestination = events.ApiDestination(self, \"Destination\",\n connection=connection,\n endpoint=\"https://example.com\",\n description=\"Calling example.com with API key x-api-key\"\n)\n\nrule = events.Rule(self, \"Rule\",\n schedule=events.Schedule.rate(cdk.Duration.minutes(1)),\n targets=[targets.ApiDestination(destination)]\n)","version":"2"},"csharp":{"source":"var connection = new Connection(this, \"Connection\", new ConnectionProps {\n Authorization = Authorization.ApiKey(\"x-api-key\", SecretValue.SecretsManager(\"ApiSecretName\")),\n Description = \"Connection with API Key x-api-key\"\n});\n\nvar destination = new ApiDestination(this, \"Destination\", new ApiDestinationProps {\n Connection = connection,\n Endpoint = \"https://example.com\",\n Description = \"Calling example.com with API key x-api-key\"\n});\n\nvar rule = new Rule(this, \"Rule\", new RuleProps {\n Schedule = Schedule.Rate(Duration.Minutes(1)),\n Targets = new [] { new ApiDestination(destination) }\n});","version":"1"},"java":{"source":"Connection connection = Connection.Builder.create(this, \"Connection\")\n .authorization(Authorization.apiKey(\"x-api-key\", SecretValue.secretsManager(\"ApiSecretName\")))\n .description(\"Connection with API Key x-api-key\")\n .build();\n\nApiDestination destination = ApiDestination.Builder.create(this, \"Destination\")\n .connection(connection)\n .endpoint(\"https://example.com\")\n .description(\"Calling example.com with API key x-api-key\")\n .build();\n\nRule rule = Rule.Builder.create(this, \"Rule\")\n .schedule(Schedule.rate(Duration.minutes(1)))\n .targets(List.of(new ApiDestination(destination)))\n .build();","version":"1"},"go":{"source":"connection := events.NewConnection(this, jsii.String(\"Connection\"), &ConnectionProps{\n\tAuthorization: events.Authorization_ApiKey(jsii.String(\"x-api-key\"), awscdkcore.SecretValue_SecretsManager(jsii.String(\"ApiSecretName\"))),\n\tDescription: jsii.String(\"Connection with API Key x-api-key\"),\n})\n\ndestination := events.NewApiDestination(this, jsii.String(\"Destination\"), &ApiDestinationProps{\n\tConnection: Connection,\n\tEndpoint: jsii.String(\"https://example.com\"),\n\tDescription: jsii.String(\"Calling example.com with API key x-api-key\"),\n})\n\nrule := events.NewRule(this, jsii.String(\"Rule\"), &RuleProps{\n\tSchedule: events.Schedule_Rate(cdk.Duration_Minutes(jsii.Number(1))),\n\tTargets: []iRuleTarget{\n\t\ttargets.NewApiDestination(destination),\n\t},\n})","version":"1"},"$":{"source":"const connection = new events.Connection(this, 'Connection', {\n authorization: events.Authorization.apiKey('x-api-key', SecretValue.secretsManager('ApiSecretName')),\n description: 'Connection with API Key x-api-key',\n});\n\nconst destination = new events.ApiDestination(this, 'Destination', {\n connection,\n endpoint: 'https://example.com',\n description: 'Calling example.com with API key x-api-key',\n});\n\nconst rule = new events.Rule(this, 'Rule', {\n schedule: events.Schedule.rate(cdk.Duration.minutes(1)),\n targets: [new targets.ApiDestination(destination)],\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.Authorization"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events-targets.ApiDestination","@aws-cdk/aws-events.ApiDestination","@aws-cdk/aws-events.ApiDestinationProps","@aws-cdk/aws-events.Authorization","@aws-cdk/aws-events.Authorization#apiKey","@aws-cdk/aws-events.Connection","@aws-cdk/aws-events.ConnectionProps","@aws-cdk/aws-events.IApiDestination","@aws-cdk/aws-events.IConnection","@aws-cdk/aws-events.Rule","@aws-cdk/aws-events.RuleProps","@aws-cdk/aws-events.Schedule","@aws-cdk/aws-events.Schedule#rate","@aws-cdk/core.Duration","@aws-cdk/core.Duration#minutes","@aws-cdk/core.SecretValue","@aws-cdk/core.SecretValue#secretsManager","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Duration, RemovalPolicy, SecretValue, Stack } from '@aws-cdk/core';\nimport { Construct } from 'constructs';\n\nimport * as targets from '@aws-cdk/aws-events-targets';\nimport * as events from '@aws-cdk/aws-events';\nimport * as sqs from '@aws-cdk/aws-sqs';\nimport * as cdk from '@aws-cdk/core';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst connection = new events.Connection(this, 'Connection', {\n authorization: events.Authorization.apiKey('x-api-key', SecretValue.secretsManager('ApiSecretName')),\n description: 'Connection with API Key x-api-key',\n});\n\nconst destination = new events.ApiDestination(this, 'Destination', {\n connection,\n endpoint: 'https://example.com',\n description: 'Calling example.com with API key x-api-key',\n});\n\nconst rule = new events.Rule(this, 'Rule', {\n schedule: events.Schedule.rate(cdk.Duration.minutes(1)),\n targets: [new targets.ApiDestination(destination)],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"8":1,"10":8,"75":30,"104":3,"192":1,"193":3,"194":11,"196":4,"197":4,"225":3,"242":3,"243":3,"281":6,"282":1},"fqnsFingerprint":"c132d3110db5dfcd2d75d88a3612c8422c27dd0eababf983aadbfe0f227d6745"},"4b70a6d11a76731ce19aaf470539ae2cc2512ff10d725afd93db88294d7b4694":{"translations":{"python":{"source":"bus = events.EventBus(self, \"bus\",\n event_bus_name=\"MyCustomEventBus\"\n)\n\nbus.archive(\"MyArchive\",\n archive_name=\"MyCustomEventBusArchive\",\n description=\"MyCustomerEventBus Archive\",\n event_pattern=events.EventPattern(\n account=[Stack.of(self).account]\n ),\n retention=Duration.days(365)\n)","version":"2"},"csharp":{"source":"var bus = new EventBus(this, \"bus\", new EventBusProps {\n EventBusName = \"MyCustomEventBus\"\n});\n\nbus.Archive(\"MyArchive\", new BaseArchiveProps {\n ArchiveName = \"MyCustomEventBusArchive\",\n Description = \"MyCustomerEventBus Archive\",\n EventPattern = new EventPattern {\n Account = new [] { Stack.Of(this).Account }\n },\n Retention = Duration.Days(365)\n});","version":"1"},"java":{"source":"EventBus bus = EventBus.Builder.create(this, \"bus\")\n .eventBusName(\"MyCustomEventBus\")\n .build();\n\nbus.archive(\"MyArchive\", BaseArchiveProps.builder()\n .archiveName(\"MyCustomEventBusArchive\")\n .description(\"MyCustomerEventBus Archive\")\n .eventPattern(EventPattern.builder()\n .account(List.of(Stack.of(this).getAccount()))\n .build())\n .retention(Duration.days(365))\n .build());","version":"1"},"go":{"source":"bus := events.NewEventBus(this, jsii.String(\"bus\"), &EventBusProps{\n\tEventBusName: jsii.String(\"MyCustomEventBus\"),\n})\n\nbus.archive(jsii.String(\"MyArchive\"), &BaseArchiveProps{\n\tArchiveName: jsii.String(\"MyCustomEventBusArchive\"),\n\tDescription: jsii.String(\"MyCustomerEventBus Archive\"),\n\tEventPattern: &EventPattern{\n\t\tAccount: []*string{\n\t\t\tawscdkcore.*stack_Of(this).Account,\n\t\t},\n\t},\n\tRetention: *awscdkcore.Duration_Days(jsii.Number(365)),\n})","version":"1"},"$":{"source":"const bus = new events.EventBus(this, 'bus', {\n eventBusName: 'MyCustomEventBus'\n});\n\nbus.archive('MyArchive', {\n archiveName: 'MyCustomEventBusArchive',\n description: 'MyCustomerEventBus Archive',\n eventPattern: {\n account: [Stack.of(this).account],\n },\n retention: Duration.days(365),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.BaseArchiveProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.BaseArchiveProps","@aws-cdk/aws-events.EventBus","@aws-cdk/aws-events.EventBusProps","@aws-cdk/aws-events.EventPattern","@aws-cdk/core.Duration","@aws-cdk/core.Duration#days","@aws-cdk/core.Stack#account","@aws-cdk/core.Stack#of","constructs.Construct","constructs.IConstruct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack, Duration } from '@aws-cdk/core';\nimport * as events from '@aws-cdk/aws-events';\nimport * as targets from '@aws-cdk/aws-events-targets';\nimport * as codecommit from '@aws-cdk/aws-codecommit';\nimport * as codebuild from '@aws-cdk/aws-codebuild';\nimport * as sns from '@aws-cdk/aws-sns';\nimport * as ecs from '@aws-cdk/aws-ecs';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as lambda from '@aws-cdk/aws-lambda';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst bus = new events.EventBus(this, 'bus', {\n eventBusName: 'MyCustomEventBus'\n});\n\nbus.archive('MyArchive', {\n archiveName: 'MyCustomEventBusArchive',\n description: 'MyCustomerEventBus Archive',\n eventPattern: {\n account: [Stack.of(this).account],\n },\n retention: Duration.days(365),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n\n","syntaxKindCounter":{"8":1,"10":5,"75":16,"104":2,"192":1,"193":3,"194":5,"196":3,"197":1,"225":1,"226":1,"242":1,"243":1,"281":6},"fqnsFingerprint":"98cfc4f90538e7e7737f60dde4b05937b3efc52f6dd21be1608fb35c2be48875"},"755a55b11e05b3fd795c0f9254821138adba078aa0fb1beda431140c5c52b70a":{"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_events as events\n\ncfn_api_destination = events.CfnApiDestination(self, \"MyCfnApiDestination\",\n connection_arn=\"connectionArn\",\n http_method=\"httpMethod\",\n invocation_endpoint=\"invocationEndpoint\",\n\n # the properties below are optional\n description=\"description\",\n invocation_rate_limit_per_second=123,\n name=\"name\"\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.Events;\n\nvar cfnApiDestination = new CfnApiDestination(this, \"MyCfnApiDestination\", new CfnApiDestinationProps {\n ConnectionArn = \"connectionArn\",\n HttpMethod = \"httpMethod\",\n InvocationEndpoint = \"invocationEndpoint\",\n\n // the properties below are optional\n Description = \"description\",\n InvocationRateLimitPerSecond = 123,\n Name = \"name\"\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.events.*;\n\nCfnApiDestination cfnApiDestination = CfnApiDestination.Builder.create(this, \"MyCfnApiDestination\")\n .connectionArn(\"connectionArn\")\n .httpMethod(\"httpMethod\")\n .invocationEndpoint(\"invocationEndpoint\")\n\n // the properties below are optional\n .description(\"description\")\n .invocationRateLimitPerSecond(123)\n .name(\"name\")\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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\n\ncfnApiDestination := events.NewCfnApiDestination(this, jsii.String(\"MyCfnApiDestination\"), &CfnApiDestinationProps{\n\tConnectionArn: jsii.String(\"connectionArn\"),\n\tHttpMethod: jsii.String(\"httpMethod\"),\n\tInvocationEndpoint: jsii.String(\"invocationEndpoint\"),\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tInvocationRateLimitPerSecond: jsii.Number(123),\n\tName: jsii.String(\"name\"),\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 events from '@aws-cdk/aws-events';\nconst cfnApiDestination = new events.CfnApiDestination(this, 'MyCfnApiDestination', {\n connectionArn: 'connectionArn',\n httpMethod: 'httpMethod',\n invocationEndpoint: 'invocationEndpoint',\n\n // the properties below are optional\n description: 'description',\n invocationRateLimitPerSecond: 123,\n name: 'name',\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.CfnApiDestination"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.CfnApiDestination","@aws-cdk/aws-events.CfnApiDestinationProps","@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 events from '@aws-cdk/aws-events';\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 cfnApiDestination = new events.CfnApiDestination(this, 'MyCfnApiDestination', {\n connectionArn: 'connectionArn',\n httpMethod: 'httpMethod',\n invocationEndpoint: 'invocationEndpoint',\n\n // the properties below are optional\n description: 'description',\n invocationRateLimitPerSecond: 123,\n name: 'name',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":1,"10":7,"75":10,"104":1,"193":1,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":6,"290":1},"fqnsFingerprint":"dd60ab64c9a8bec95e7814052883290ce9cfda6a0612a38be3bd62db80fcb43c"},"e51bc3c6e5f0aa4c4dbc28d2a6207fcf07bbdcca70e721f3b5098c99284c0d2e":{"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_events as events\n\ncfn_api_destination_props = events.CfnApiDestinationProps(\n connection_arn=\"connectionArn\",\n http_method=\"httpMethod\",\n invocation_endpoint=\"invocationEndpoint\",\n\n # the properties below are optional\n description=\"description\",\n invocation_rate_limit_per_second=123,\n name=\"name\"\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.Events;\n\nvar cfnApiDestinationProps = new CfnApiDestinationProps {\n ConnectionArn = \"connectionArn\",\n HttpMethod = \"httpMethod\",\n InvocationEndpoint = \"invocationEndpoint\",\n\n // the properties below are optional\n Description = \"description\",\n InvocationRateLimitPerSecond = 123,\n Name = \"name\"\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.events.*;\n\nCfnApiDestinationProps cfnApiDestinationProps = CfnApiDestinationProps.builder()\n .connectionArn(\"connectionArn\")\n .httpMethod(\"httpMethod\")\n .invocationEndpoint(\"invocationEndpoint\")\n\n // the properties below are optional\n .description(\"description\")\n .invocationRateLimitPerSecond(123)\n .name(\"name\")\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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\n\ncfnApiDestinationProps := &CfnApiDestinationProps{\n\tConnectionArn: jsii.String(\"connectionArn\"),\n\tHttpMethod: jsii.String(\"httpMethod\"),\n\tInvocationEndpoint: jsii.String(\"invocationEndpoint\"),\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tInvocationRateLimitPerSecond: jsii.Number(123),\n\tName: jsii.String(\"name\"),\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 events from '@aws-cdk/aws-events';\nconst cfnApiDestinationProps: events.CfnApiDestinationProps = {\n connectionArn: 'connectionArn',\n httpMethod: 'httpMethod',\n invocationEndpoint: 'invocationEndpoint',\n\n // the properties below are optional\n description: 'description',\n invocationRateLimitPerSecond: 123,\n name: 'name',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.CfnApiDestinationProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.CfnApiDestinationProps"],"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 events from '@aws-cdk/aws-events';\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 cfnApiDestinationProps: events.CfnApiDestinationProps = {\n connectionArn: 'connectionArn',\n httpMethod: 'httpMethod',\n invocationEndpoint: 'invocationEndpoint',\n\n // the properties below are optional\n description: 'description',\n invocationRateLimitPerSecond: 123,\n name: 'name',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":1,"10":6,"75":10,"153":1,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":6,"290":1},"fqnsFingerprint":"e4e357dc207ba75b9d2edbade6f5bf492ba50f83f34b32fa2173ed006d749e0a"},"711c505aad29e4f8c48878e8b39077bb796edde6fc77c098332957578d8427ea":{"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_events as events\n\n# event_pattern: Any\n\ncfn_archive = events.CfnArchive(self, \"MyCfnArchive\",\n source_arn=\"sourceArn\",\n\n # the properties below are optional\n archive_name=\"archiveName\",\n description=\"description\",\n event_pattern=event_pattern,\n retention_days=123\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.Events;\n\nvar eventPattern;\n\nvar cfnArchive = new CfnArchive(this, \"MyCfnArchive\", new CfnArchiveProps {\n SourceArn = \"sourceArn\",\n\n // the properties below are optional\n ArchiveName = \"archiveName\",\n Description = \"description\",\n EventPattern = eventPattern,\n RetentionDays = 123\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.events.*;\n\nObject eventPattern;\n\nCfnArchive cfnArchive = CfnArchive.Builder.create(this, \"MyCfnArchive\")\n .sourceArn(\"sourceArn\")\n\n // the properties below are optional\n .archiveName(\"archiveName\")\n .description(\"description\")\n .eventPattern(eventPattern)\n .retentionDays(123)\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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\n\nvar eventPattern interface{}\n\ncfnArchive := events.NewCfnArchive(this, jsii.String(\"MyCfnArchive\"), &CfnArchiveProps{\n\tSourceArn: jsii.String(\"sourceArn\"),\n\n\t// the properties below are optional\n\tArchiveName: jsii.String(\"archiveName\"),\n\tDescription: jsii.String(\"description\"),\n\tEventPattern: eventPattern,\n\tRetentionDays: jsii.Number(123),\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 events from '@aws-cdk/aws-events';\n\ndeclare const eventPattern: any;\nconst cfnArchive = new events.CfnArchive(this, 'MyCfnArchive', {\n sourceArn: 'sourceArn',\n\n // the properties below are optional\n archiveName: 'archiveName',\n description: 'description',\n eventPattern: eventPattern,\n retentionDays: 123,\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.CfnArchive"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.CfnArchive","@aws-cdk/aws-events.CfnArchiveProps","@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 events from '@aws-cdk/aws-events';\n\ndeclare const eventPattern: 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 cfnArchive = new events.CfnArchive(this, 'MyCfnArchive', {\n sourceArn: 'sourceArn',\n\n // the properties below are optional\n archiveName: 'archiveName',\n description: 'description',\n eventPattern: eventPattern,\n retentionDays: 123,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":1,"10":5,"75":11,"104":1,"125":1,"130":1,"193":1,"194":1,"197":1,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"281":5,"290":1},"fqnsFingerprint":"efb541ed1e6799244f5a1023a830147c100266126da7a6a293f3ae16e26424b9"},"e9167a0af828ef8734b239443436453c4b05fee992c4eb65960757eff93dd2e4":{"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_events as events\n\n# event_pattern: Any\n\ncfn_archive_props = events.CfnArchiveProps(\n source_arn=\"sourceArn\",\n\n # the properties below are optional\n archive_name=\"archiveName\",\n description=\"description\",\n event_pattern=event_pattern,\n retention_days=123\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.Events;\n\nvar eventPattern;\n\nvar cfnArchiveProps = new CfnArchiveProps {\n SourceArn = \"sourceArn\",\n\n // the properties below are optional\n ArchiveName = \"archiveName\",\n Description = \"description\",\n EventPattern = eventPattern,\n RetentionDays = 123\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.events.*;\n\nObject eventPattern;\n\nCfnArchiveProps cfnArchiveProps = CfnArchiveProps.builder()\n .sourceArn(\"sourceArn\")\n\n // the properties below are optional\n .archiveName(\"archiveName\")\n .description(\"description\")\n .eventPattern(eventPattern)\n .retentionDays(123)\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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\n\nvar eventPattern interface{}\n\ncfnArchiveProps := &CfnArchiveProps{\n\tSourceArn: jsii.String(\"sourceArn\"),\n\n\t// the properties below are optional\n\tArchiveName: jsii.String(\"archiveName\"),\n\tDescription: jsii.String(\"description\"),\n\tEventPattern: eventPattern,\n\tRetentionDays: jsii.Number(123),\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 events from '@aws-cdk/aws-events';\n\ndeclare const eventPattern: any;\nconst cfnArchiveProps: events.CfnArchiveProps = {\n sourceArn: 'sourceArn',\n\n // the properties below are optional\n archiveName: 'archiveName',\n description: 'description',\n eventPattern: eventPattern,\n retentionDays: 123,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.CfnArchiveProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.CfnArchiveProps"],"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 events from '@aws-cdk/aws-events';\n\ndeclare const eventPattern: 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 cfnArchiveProps: events.CfnArchiveProps = {\n sourceArn: 'sourceArn',\n\n // the properties below are optional\n archiveName: 'archiveName',\n description: 'description',\n eventPattern: eventPattern,\n retentionDays: 123,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":1,"10":4,"75":11,"125":1,"130":1,"153":1,"169":1,"193":1,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"281":5,"290":1},"fqnsFingerprint":"69d4acd83113ffc69ea74447eb39373b01fe726d3365f0cb62c0c9239ebfa784"},"0330601f839157799161519177e7445e0d4bd84d37c15ae40a55c81ffacd075a":{"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_events as events\n\ncfn_connection = events.CfnConnection(self, \"MyCfnConnection\",\n authorization_type=\"authorizationType\",\n auth_parameters=events.CfnConnection.AuthParametersProperty(\n api_key_auth_parameters=events.CfnConnection.ApiKeyAuthParametersProperty(\n api_key_name=\"apiKeyName\",\n api_key_value=\"apiKeyValue\"\n ),\n basic_auth_parameters=events.CfnConnection.BasicAuthParametersProperty(\n password=\"password\",\n username=\"username\"\n ),\n invocation_http_parameters=events.CfnConnection.ConnectionHttpParametersProperty(\n body_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\n )],\n header_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\n )],\n query_string_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\n )]\n ),\n o_auth_parameters=events.CfnConnection.OAuthParametersProperty(\n authorization_endpoint=\"authorizationEndpoint\",\n client_parameters=events.CfnConnection.ClientParametersProperty(\n client_id=\"clientId\",\n client_secret=\"clientSecret\"\n ),\n http_method=\"httpMethod\",\n\n # the properties below are optional\n o_auth_http_parameters=events.CfnConnection.ConnectionHttpParametersProperty(\n body_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\n )],\n header_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\n )],\n query_string_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\n )]\n )\n )\n ),\n\n # the properties below are optional\n description=\"description\",\n name=\"name\"\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.Events;\n\nvar cfnConnection = new CfnConnection(this, \"MyCfnConnection\", new CfnConnectionProps {\n AuthorizationType = \"authorizationType\",\n AuthParameters = new AuthParametersProperty {\n ApiKeyAuthParameters = new ApiKeyAuthParametersProperty {\n ApiKeyName = \"apiKeyName\",\n ApiKeyValue = \"apiKeyValue\"\n },\n BasicAuthParameters = new BasicAuthParametersProperty {\n Password = \"password\",\n Username = \"username\"\n },\n InvocationHttpParameters = new ConnectionHttpParametersProperty {\n BodyParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\n } },\n HeaderParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\n } },\n QueryStringParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\n } }\n },\n OAuthParameters = new OAuthParametersProperty {\n AuthorizationEndpoint = \"authorizationEndpoint\",\n ClientParameters = new ClientParametersProperty {\n ClientId = \"clientId\",\n ClientSecret = \"clientSecret\"\n },\n HttpMethod = \"httpMethod\",\n\n // the properties below are optional\n OAuthHttpParameters = new ConnectionHttpParametersProperty {\n BodyParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\n } },\n HeaderParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\n } },\n QueryStringParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\n } }\n }\n }\n },\n\n // the properties below are optional\n Description = \"description\",\n Name = \"name\"\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.events.*;\n\nCfnConnection cfnConnection = CfnConnection.Builder.create(this, \"MyCfnConnection\")\n .authorizationType(\"authorizationType\")\n .authParameters(AuthParametersProperty.builder()\n .apiKeyAuthParameters(ApiKeyAuthParametersProperty.builder()\n .apiKeyName(\"apiKeyName\")\n .apiKeyValue(\"apiKeyValue\")\n .build())\n .basicAuthParameters(BasicAuthParametersProperty.builder()\n .password(\"password\")\n .username(\"username\")\n .build())\n .invocationHttpParameters(ConnectionHttpParametersProperty.builder()\n .bodyParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\n .build()))\n .headerParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\n .build()))\n .queryStringParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\n .build()))\n .build())\n .oAuthParameters(OAuthParametersProperty.builder()\n .authorizationEndpoint(\"authorizationEndpoint\")\n .clientParameters(ClientParametersProperty.builder()\n .clientId(\"clientId\")\n .clientSecret(\"clientSecret\")\n .build())\n .httpMethod(\"httpMethod\")\n\n // the properties below are optional\n .oAuthHttpParameters(ConnectionHttpParametersProperty.builder()\n .bodyParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\n .build()))\n .headerParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\n .build()))\n .queryStringParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\n .build()))\n .build())\n .build())\n .build())\n\n // the properties below are optional\n .description(\"description\")\n .name(\"name\")\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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\n\ncfnConnection := events.NewCfnConnection(this, jsii.String(\"MyCfnConnection\"), &CfnConnectionProps{\n\tAuthorizationType: jsii.String(\"authorizationType\"),\n\tAuthParameters: &AuthParametersProperty{\n\t\tApiKeyAuthParameters: &ApiKeyAuthParametersProperty{\n\t\t\tApiKeyName: jsii.String(\"apiKeyName\"),\n\t\t\tApiKeyValue: jsii.String(\"apiKeyValue\"),\n\t\t},\n\t\tBasicAuthParameters: &BasicAuthParametersProperty{\n\t\t\tPassword: jsii.String(\"password\"),\n\t\t\tUsername: jsii.String(\"username\"),\n\t\t},\n\t\tInvocationHttpParameters: &ConnectionHttpParametersProperty{\n\t\t\tBodyParameters: []interface{}{\n\t\t\t\t&ParameterProperty{\n\t\t\t\t\tKey: jsii.String(\"key\"),\n\t\t\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\tIsValueSecret: jsii.Boolean(false),\n\t\t\t\t},\n\t\t\t},\n\t\t\tHeaderParameters: []interface{}{\n\t\t\t\t&ParameterProperty{\n\t\t\t\t\tKey: jsii.String(\"key\"),\n\t\t\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\tIsValueSecret: jsii.Boolean(false),\n\t\t\t\t},\n\t\t\t},\n\t\t\tQueryStringParameters: []interface{}{\n\t\t\t\t&ParameterProperty{\n\t\t\t\t\tKey: jsii.String(\"key\"),\n\t\t\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\tIsValueSecret: jsii.Boolean(false),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tOAuthParameters: &OAuthParametersProperty{\n\t\t\tAuthorizationEndpoint: jsii.String(\"authorizationEndpoint\"),\n\t\t\tClientParameters: &ClientParametersProperty{\n\t\t\t\tClientId: jsii.String(\"clientId\"),\n\t\t\t\tClientSecret: jsii.String(\"clientSecret\"),\n\t\t\t},\n\t\t\tHttpMethod: jsii.String(\"httpMethod\"),\n\n\t\t\t// the properties below are optional\n\t\t\tOAuthHttpParameters: &ConnectionHttpParametersProperty{\n\t\t\t\tBodyParameters: []interface{}{\n\t\t\t\t\t&ParameterProperty{\n\t\t\t\t\t\tKey: jsii.String(\"key\"),\n\t\t\t\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\tIsValueSecret: jsii.Boolean(false),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tHeaderParameters: []interface{}{\n\t\t\t\t\t&ParameterProperty{\n\t\t\t\t\t\tKey: jsii.String(\"key\"),\n\t\t\t\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\tIsValueSecret: jsii.Boolean(false),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tQueryStringParameters: []interface{}{\n\t\t\t\t\t&ParameterProperty{\n\t\t\t\t\t\tKey: jsii.String(\"key\"),\n\t\t\t\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\tIsValueSecret: jsii.Boolean(false),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tName: jsii.String(\"name\"),\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 events from '@aws-cdk/aws-events';\nconst cfnConnection = new events.CfnConnection(this, 'MyCfnConnection', {\n authorizationType: 'authorizationType',\n authParameters: {\n apiKeyAuthParameters: {\n apiKeyName: 'apiKeyName',\n apiKeyValue: 'apiKeyValue',\n },\n basicAuthParameters: {\n password: 'password',\n username: 'username',\n },\n invocationHttpParameters: {\n bodyParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n headerParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n queryStringParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n },\n oAuthParameters: {\n authorizationEndpoint: 'authorizationEndpoint',\n clientParameters: {\n clientId: 'clientId',\n clientSecret: 'clientSecret',\n },\n httpMethod: 'httpMethod',\n\n // the properties below are optional\n oAuthHttpParameters: {\n bodyParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n headerParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n queryStringParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n },\n },\n },\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.CfnConnection"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.CfnConnection","@aws-cdk/aws-events.CfnConnectionProps","@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 events from '@aws-cdk/aws-events';\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 cfnConnection = new events.CfnConnection(this, 'MyCfnConnection', {\n authorizationType: 'authorizationType',\n authParameters: {\n apiKeyAuthParameters: {\n apiKeyName: 'apiKeyName',\n apiKeyValue: 'apiKeyValue',\n },\n basicAuthParameters: {\n password: 'password',\n username: 'username',\n },\n invocationHttpParameters: {\n bodyParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n headerParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n queryStringParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n },\n oAuthParameters: {\n authorizationEndpoint: 'authorizationEndpoint',\n clientParameters: {\n clientId: 'clientId',\n clientSecret: 'clientSecret',\n },\n httpMethod: 'httpMethod',\n\n // the properties below are optional\n oAuthHttpParameters: {\n bodyParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n headerParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n queryStringParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n },\n },\n },\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":25,"75":46,"91":6,"104":1,"192":6,"193":14,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":42,"290":1},"fqnsFingerprint":"ecde31f41d7cfc4102281f1e381f3f2f26c7efac8f4a91a1dbfa5af236713fd7"},"975d72c867f4038d1c07c66d4b816c7933d495ad100a3da5325d7a0dbfbbc633":{"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_events as events\n\napi_key_auth_parameters_property = events.CfnConnection.ApiKeyAuthParametersProperty(\n api_key_name=\"apiKeyName\",\n api_key_value=\"apiKeyValue\"\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.Events;\n\nvar apiKeyAuthParametersProperty = new ApiKeyAuthParametersProperty {\n ApiKeyName = \"apiKeyName\",\n ApiKeyValue = \"apiKeyValue\"\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.events.*;\n\nApiKeyAuthParametersProperty apiKeyAuthParametersProperty = ApiKeyAuthParametersProperty.builder()\n .apiKeyName(\"apiKeyName\")\n .apiKeyValue(\"apiKeyValue\")\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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\n\napiKeyAuthParametersProperty := &ApiKeyAuthParametersProperty{\n\tApiKeyName: jsii.String(\"apiKeyName\"),\n\tApiKeyValue: jsii.String(\"apiKeyValue\"),\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 events from '@aws-cdk/aws-events';\nconst apiKeyAuthParametersProperty: events.CfnConnection.ApiKeyAuthParametersProperty = {\n apiKeyName: 'apiKeyName',\n apiKeyValue: 'apiKeyValue',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.CfnConnection.ApiKeyAuthParametersProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.CfnConnection.ApiKeyAuthParametersProperty"],"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 events from '@aws-cdk/aws-events';\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 apiKeyAuthParametersProperty: events.CfnConnection.ApiKeyAuthParametersProperty = {\n apiKeyName: 'apiKeyName',\n apiKeyValue: 'apiKeyValue',\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":"861523e86a83d11976e82678a4ffd971a36c12ccfafc4c2cd02b98a223c8808b"},"0e4e843261714c41234343a6936a12a4811c07f8a497ac8abfba06780c76bf1b":{"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_events as events\n\nauth_parameters_property = events.CfnConnection.AuthParametersProperty(\n api_key_auth_parameters=events.CfnConnection.ApiKeyAuthParametersProperty(\n api_key_name=\"apiKeyName\",\n api_key_value=\"apiKeyValue\"\n ),\n basic_auth_parameters=events.CfnConnection.BasicAuthParametersProperty(\n password=\"password\",\n username=\"username\"\n ),\n invocation_http_parameters=events.CfnConnection.ConnectionHttpParametersProperty(\n body_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\n )],\n header_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\n )],\n query_string_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\n )]\n ),\n o_auth_parameters=events.CfnConnection.OAuthParametersProperty(\n authorization_endpoint=\"authorizationEndpoint\",\n client_parameters=events.CfnConnection.ClientParametersProperty(\n client_id=\"clientId\",\n client_secret=\"clientSecret\"\n ),\n http_method=\"httpMethod\",\n\n # the properties below are optional\n o_auth_http_parameters=events.CfnConnection.ConnectionHttpParametersProperty(\n body_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\n )],\n header_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\n )],\n query_string_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\n )]\n )\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.Events;\n\nvar authParametersProperty = new AuthParametersProperty {\n ApiKeyAuthParameters = new ApiKeyAuthParametersProperty {\n ApiKeyName = \"apiKeyName\",\n ApiKeyValue = \"apiKeyValue\"\n },\n BasicAuthParameters = new BasicAuthParametersProperty {\n Password = \"password\",\n Username = \"username\"\n },\n InvocationHttpParameters = new ConnectionHttpParametersProperty {\n BodyParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\n } },\n HeaderParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\n } },\n QueryStringParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\n } }\n },\n OAuthParameters = new OAuthParametersProperty {\n AuthorizationEndpoint = \"authorizationEndpoint\",\n ClientParameters = new ClientParametersProperty {\n ClientId = \"clientId\",\n ClientSecret = \"clientSecret\"\n },\n HttpMethod = \"httpMethod\",\n\n // the properties below are optional\n OAuthHttpParameters = new ConnectionHttpParametersProperty {\n BodyParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\n } },\n HeaderParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\n } },\n QueryStringParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\n } }\n }\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.events.*;\n\nAuthParametersProperty authParametersProperty = AuthParametersProperty.builder()\n .apiKeyAuthParameters(ApiKeyAuthParametersProperty.builder()\n .apiKeyName(\"apiKeyName\")\n .apiKeyValue(\"apiKeyValue\")\n .build())\n .basicAuthParameters(BasicAuthParametersProperty.builder()\n .password(\"password\")\n .username(\"username\")\n .build())\n .invocationHttpParameters(ConnectionHttpParametersProperty.builder()\n .bodyParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\n .build()))\n .headerParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\n .build()))\n .queryStringParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\n .build()))\n .build())\n .oAuthParameters(OAuthParametersProperty.builder()\n .authorizationEndpoint(\"authorizationEndpoint\")\n .clientParameters(ClientParametersProperty.builder()\n .clientId(\"clientId\")\n .clientSecret(\"clientSecret\")\n .build())\n .httpMethod(\"httpMethod\")\n\n // the properties below are optional\n .oAuthHttpParameters(ConnectionHttpParametersProperty.builder()\n .bodyParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\n .build()))\n .headerParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\n .build()))\n .queryStringParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\n .build()))\n .build())\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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\n\nauthParametersProperty := &AuthParametersProperty{\n\tApiKeyAuthParameters: &ApiKeyAuthParametersProperty{\n\t\tApiKeyName: jsii.String(\"apiKeyName\"),\n\t\tApiKeyValue: jsii.String(\"apiKeyValue\"),\n\t},\n\tBasicAuthParameters: &BasicAuthParametersProperty{\n\t\tPassword: jsii.String(\"password\"),\n\t\tUsername: jsii.String(\"username\"),\n\t},\n\tInvocationHttpParameters: &ConnectionHttpParametersProperty{\n\t\tBodyParameters: []interface{}{\n\t\t\t&ParameterProperty{\n\t\t\t\tKey: jsii.String(\"key\"),\n\t\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tIsValueSecret: jsii.Boolean(false),\n\t\t\t},\n\t\t},\n\t\tHeaderParameters: []interface{}{\n\t\t\t&ParameterProperty{\n\t\t\t\tKey: jsii.String(\"key\"),\n\t\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tIsValueSecret: jsii.Boolean(false),\n\t\t\t},\n\t\t},\n\t\tQueryStringParameters: []interface{}{\n\t\t\t&ParameterProperty{\n\t\t\t\tKey: jsii.String(\"key\"),\n\t\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tIsValueSecret: jsii.Boolean(false),\n\t\t\t},\n\t\t},\n\t},\n\tOAuthParameters: &OAuthParametersProperty{\n\t\tAuthorizationEndpoint: jsii.String(\"authorizationEndpoint\"),\n\t\tClientParameters: &ClientParametersProperty{\n\t\t\tClientId: jsii.String(\"clientId\"),\n\t\t\tClientSecret: jsii.String(\"clientSecret\"),\n\t\t},\n\t\tHttpMethod: jsii.String(\"httpMethod\"),\n\n\t\t// the properties below are optional\n\t\tOAuthHttpParameters: &ConnectionHttpParametersProperty{\n\t\t\tBodyParameters: []interface{}{\n\t\t\t\t&ParameterProperty{\n\t\t\t\t\tKey: jsii.String(\"key\"),\n\t\t\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\tIsValueSecret: jsii.Boolean(false),\n\t\t\t\t},\n\t\t\t},\n\t\t\tHeaderParameters: []interface{}{\n\t\t\t\t&ParameterProperty{\n\t\t\t\t\tKey: jsii.String(\"key\"),\n\t\t\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\tIsValueSecret: jsii.Boolean(false),\n\t\t\t\t},\n\t\t\t},\n\t\t\tQueryStringParameters: []interface{}{\n\t\t\t\t&ParameterProperty{\n\t\t\t\t\tKey: jsii.String(\"key\"),\n\t\t\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\tIsValueSecret: jsii.Boolean(false),\n\t\t\t\t},\n\t\t\t},\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 events from '@aws-cdk/aws-events';\nconst authParametersProperty: events.CfnConnection.AuthParametersProperty = {\n apiKeyAuthParameters: {\n apiKeyName: 'apiKeyName',\n apiKeyValue: 'apiKeyValue',\n },\n basicAuthParameters: {\n password: 'password',\n username: 'username',\n },\n invocationHttpParameters: {\n bodyParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n headerParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n queryStringParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n },\n oAuthParameters: {\n authorizationEndpoint: 'authorizationEndpoint',\n clientParameters: {\n clientId: 'clientId',\n clientSecret: 'clientSecret',\n },\n httpMethod: 'httpMethod',\n\n // the properties below are optional\n oAuthHttpParameters: {\n bodyParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n headerParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n queryStringParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n },\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.CfnConnection.AuthParametersProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.CfnConnection.AuthParametersProperty"],"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 events from '@aws-cdk/aws-events';\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 authParametersProperty: events.CfnConnection.AuthParametersProperty = {\n apiKeyAuthParameters: {\n apiKeyName: 'apiKeyName',\n apiKeyValue: 'apiKeyValue',\n },\n basicAuthParameters: {\n password: 'password',\n username: 'username',\n },\n invocationHttpParameters: {\n bodyParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n headerParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n queryStringParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n },\n oAuthParameters: {\n authorizationEndpoint: 'authorizationEndpoint',\n clientParameters: {\n clientId: 'clientId',\n clientSecret: 'clientSecret',\n },\n httpMethod: 'httpMethod',\n\n // the properties below are optional\n oAuthHttpParameters: {\n bodyParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n headerParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n queryStringParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n },\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":21,"75":43,"91":6,"153":2,"169":1,"192":6,"193":13,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":38,"290":1},"fqnsFingerprint":"a82413e78f993226793a8e29e65560720611263d4c8eee108794f39a6e1dce5e"},"f08ee3adf520462185b21ed705ea0673c8331f2186f919ab4b813abd1d79ccdb":{"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_events as events\n\nbasic_auth_parameters_property = events.CfnConnection.BasicAuthParametersProperty(\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.Events;\n\nvar basicAuthParametersProperty = new BasicAuthParametersProperty {\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.events.*;\n\nBasicAuthParametersProperty basicAuthParametersProperty = BasicAuthParametersProperty.builder()\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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\n\nbasicAuthParametersProperty := &BasicAuthParametersProperty{\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 events from '@aws-cdk/aws-events';\nconst basicAuthParametersProperty: events.CfnConnection.BasicAuthParametersProperty = {\n password: 'password',\n username: 'username',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.CfnConnection.BasicAuthParametersProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.CfnConnection.BasicAuthParametersProperty"],"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 events from '@aws-cdk/aws-events';\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 basicAuthParametersProperty: events.CfnConnection.BasicAuthParametersProperty = {\n password: 'password',\n username: 'username',\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":"889b7a574fb26556100ac69c8d6c1cc16de29d72a0caf50ddb760ebc0a1219c8"},"9729227c1fb0b4f00147498ad77f54bb9346a4ff39797bed0af8faa0fe8dbb5c":{"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_events as events\n\nclient_parameters_property = events.CfnConnection.ClientParametersProperty(\n client_id=\"clientId\",\n client_secret=\"clientSecret\"\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.Events;\n\nvar clientParametersProperty = new ClientParametersProperty {\n ClientId = \"clientId\",\n ClientSecret = \"clientSecret\"\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.events.*;\n\nClientParametersProperty clientParametersProperty = ClientParametersProperty.builder()\n .clientId(\"clientId\")\n .clientSecret(\"clientSecret\")\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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\n\nclientParametersProperty := &ClientParametersProperty{\n\tClientId: jsii.String(\"clientId\"),\n\tClientSecret: jsii.String(\"clientSecret\"),\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 events from '@aws-cdk/aws-events';\nconst clientParametersProperty: events.CfnConnection.ClientParametersProperty = {\n clientId: 'clientId',\n clientSecret: 'clientSecret',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.CfnConnection.ClientParametersProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.CfnConnection.ClientParametersProperty"],"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 events from '@aws-cdk/aws-events';\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 clientParametersProperty: events.CfnConnection.ClientParametersProperty = {\n clientId: 'clientId',\n clientSecret: 'clientSecret',\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":"ce9899bebc24cc5762cd37903f4b94e9565c6fd507da2d728dbadb585a114632"},"d0436624d6a597257affa80625c56d51c88d1edabb35e4ce3df5d02baac2d9ae":{"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_events as events\n\nconnection_http_parameters_property = events.CfnConnection.ConnectionHttpParametersProperty(\n body_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\n )],\n header_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\n )],\n query_string_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\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.Events;\n\nvar connectionHttpParametersProperty = new ConnectionHttpParametersProperty {\n BodyParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\n } },\n HeaderParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\n } },\n QueryStringParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\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.events.*;\n\nConnectionHttpParametersProperty connectionHttpParametersProperty = ConnectionHttpParametersProperty.builder()\n .bodyParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\n .build()))\n .headerParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\n .build()))\n .queryStringParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\n\nconnectionHttpParametersProperty := &ConnectionHttpParametersProperty{\n\tBodyParameters: []interface{}{\n\t\t&ParameterProperty{\n\t\t\tKey: jsii.String(\"key\"),\n\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t// the properties below are optional\n\t\t\tIsValueSecret: jsii.Boolean(false),\n\t\t},\n\t},\n\tHeaderParameters: []interface{}{\n\t\t&ParameterProperty{\n\t\t\tKey: jsii.String(\"key\"),\n\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t// the properties below are optional\n\t\t\tIsValueSecret: jsii.Boolean(false),\n\t\t},\n\t},\n\tQueryStringParameters: []interface{}{\n\t\t&ParameterProperty{\n\t\t\tKey: jsii.String(\"key\"),\n\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t// the properties below are optional\n\t\t\tIsValueSecret: jsii.Boolean(false),\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 events from '@aws-cdk/aws-events';\nconst connectionHttpParametersProperty: events.CfnConnection.ConnectionHttpParametersProperty = {\n bodyParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n headerParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n queryStringParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.CfnConnection.ConnectionHttpParametersProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.CfnConnection.ConnectionHttpParametersProperty"],"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 events from '@aws-cdk/aws-events';\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 connectionHttpParametersProperty: events.CfnConnection.ConnectionHttpParametersProperty = {\n bodyParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n headerParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n queryStringParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":7,"75":17,"91":3,"153":2,"169":1,"192":3,"193":4,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":12,"290":1},"fqnsFingerprint":"87c33e7b4c262fd60b3a5b1b50927cab1ef59403fdb4c08ec38e8b5089334209"},"94e459033768af776cf8a5655d2e3ac980e5e6a2670e48c4d4916d223c947bad":{"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_events as events\n\no_auth_parameters_property = events.CfnConnection.OAuthParametersProperty(\n authorization_endpoint=\"authorizationEndpoint\",\n client_parameters=events.CfnConnection.ClientParametersProperty(\n client_id=\"clientId\",\n client_secret=\"clientSecret\"\n ),\n http_method=\"httpMethod\",\n\n # the properties below are optional\n o_auth_http_parameters=events.CfnConnection.ConnectionHttpParametersProperty(\n body_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\n )],\n header_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\n )],\n query_string_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\n )]\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.Events;\n\nvar oAuthParametersProperty = new OAuthParametersProperty {\n AuthorizationEndpoint = \"authorizationEndpoint\",\n ClientParameters = new ClientParametersProperty {\n ClientId = \"clientId\",\n ClientSecret = \"clientSecret\"\n },\n HttpMethod = \"httpMethod\",\n\n // the properties below are optional\n OAuthHttpParameters = new ConnectionHttpParametersProperty {\n BodyParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\n } },\n HeaderParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\n } },\n QueryStringParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\n } }\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.events.*;\n\nOAuthParametersProperty oAuthParametersProperty = OAuthParametersProperty.builder()\n .authorizationEndpoint(\"authorizationEndpoint\")\n .clientParameters(ClientParametersProperty.builder()\n .clientId(\"clientId\")\n .clientSecret(\"clientSecret\")\n .build())\n .httpMethod(\"httpMethod\")\n\n // the properties below are optional\n .oAuthHttpParameters(ConnectionHttpParametersProperty.builder()\n .bodyParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\n .build()))\n .headerParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\n .build()))\n .queryStringParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\n .build()))\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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\n\noAuthParametersProperty := &OAuthParametersProperty{\n\tAuthorizationEndpoint: jsii.String(\"authorizationEndpoint\"),\n\tClientParameters: &ClientParametersProperty{\n\t\tClientId: jsii.String(\"clientId\"),\n\t\tClientSecret: jsii.String(\"clientSecret\"),\n\t},\n\tHttpMethod: jsii.String(\"httpMethod\"),\n\n\t// the properties below are optional\n\tOAuthHttpParameters: &ConnectionHttpParametersProperty{\n\t\tBodyParameters: []interface{}{\n\t\t\t&ParameterProperty{\n\t\t\t\tKey: jsii.String(\"key\"),\n\t\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tIsValueSecret: jsii.Boolean(false),\n\t\t\t},\n\t\t},\n\t\tHeaderParameters: []interface{}{\n\t\t\t&ParameterProperty{\n\t\t\t\tKey: jsii.String(\"key\"),\n\t\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tIsValueSecret: jsii.Boolean(false),\n\t\t\t},\n\t\t},\n\t\tQueryStringParameters: []interface{}{\n\t\t\t&ParameterProperty{\n\t\t\t\tKey: jsii.String(\"key\"),\n\t\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tIsValueSecret: jsii.Boolean(false),\n\t\t\t},\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 events from '@aws-cdk/aws-events';\nconst oAuthParametersProperty: events.CfnConnection.OAuthParametersProperty = {\n authorizationEndpoint: 'authorizationEndpoint',\n clientParameters: {\n clientId: 'clientId',\n clientSecret: 'clientSecret',\n },\n httpMethod: 'httpMethod',\n\n // the properties below are optional\n oAuthHttpParameters: {\n bodyParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n headerParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n queryStringParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.CfnConnection.OAuthParametersProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.CfnConnection.OAuthParametersProperty"],"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 events from '@aws-cdk/aws-events';\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 oAuthParametersProperty: events.CfnConnection.OAuthParametersProperty = {\n authorizationEndpoint: 'authorizationEndpoint',\n clientParameters: {\n clientId: 'clientId',\n clientSecret: 'clientSecret',\n },\n httpMethod: 'httpMethod',\n\n // the properties below are optional\n oAuthHttpParameters: {\n bodyParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n headerParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n queryStringParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":11,"75":23,"91":3,"153":2,"169":1,"192":3,"193":6,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":18,"290":1},"fqnsFingerprint":"c6aff6df31168eccdcb27526c507a36628140e9993471a47f8e44ff1d604644f"},"f6bd57eb6cb7fb40d871f180c0df1b23f078b6d4c5332f14d1d74219236e4ca3":{"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_events as events\n\nparameter_property = events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=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.Events;\n\nvar parameterProperty = new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = 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.events.*;\n\nParameterProperty parameterProperty = ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\n\nparameterProperty := &ParameterProperty{\n\tKey: jsii.String(\"key\"),\n\tValue: jsii.String(\"value\"),\n\n\t// the properties below are optional\n\tIsValueSecret: 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 events from '@aws-cdk/aws-events';\nconst parameterProperty: events.CfnConnection.ParameterProperty = {\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.CfnConnection.ParameterProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.CfnConnection.ParameterProperty"],"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 events from '@aws-cdk/aws-events';\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 parameterProperty: events.CfnConnection.ParameterProperty = {\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: 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":"699e1c47d2b9079669b76fe5558a6f5fd29e3f00ed8e40980f64c73179fdd5b6"},"c33e356018de931f479719d86aa2979f647378f465b9a9bf08f6c7d82544666b":{"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_events as events\n\ncfn_connection_props = events.CfnConnectionProps(\n authorization_type=\"authorizationType\",\n auth_parameters=events.CfnConnection.AuthParametersProperty(\n api_key_auth_parameters=events.CfnConnection.ApiKeyAuthParametersProperty(\n api_key_name=\"apiKeyName\",\n api_key_value=\"apiKeyValue\"\n ),\n basic_auth_parameters=events.CfnConnection.BasicAuthParametersProperty(\n password=\"password\",\n username=\"username\"\n ),\n invocation_http_parameters=events.CfnConnection.ConnectionHttpParametersProperty(\n body_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\n )],\n header_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\n )],\n query_string_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\n )]\n ),\n o_auth_parameters=events.CfnConnection.OAuthParametersProperty(\n authorization_endpoint=\"authorizationEndpoint\",\n client_parameters=events.CfnConnection.ClientParametersProperty(\n client_id=\"clientId\",\n client_secret=\"clientSecret\"\n ),\n http_method=\"httpMethod\",\n\n # the properties below are optional\n o_auth_http_parameters=events.CfnConnection.ConnectionHttpParametersProperty(\n body_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\n )],\n header_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\n )],\n query_string_parameters=[events.CfnConnection.ParameterProperty(\n key=\"key\",\n value=\"value\",\n\n # the properties below are optional\n is_value_secret=False\n )]\n )\n )\n ),\n\n # the properties below are optional\n description=\"description\",\n name=\"name\"\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.Events;\n\nvar cfnConnectionProps = new CfnConnectionProps {\n AuthorizationType = \"authorizationType\",\n AuthParameters = new AuthParametersProperty {\n ApiKeyAuthParameters = new ApiKeyAuthParametersProperty {\n ApiKeyName = \"apiKeyName\",\n ApiKeyValue = \"apiKeyValue\"\n },\n BasicAuthParameters = new BasicAuthParametersProperty {\n Password = \"password\",\n Username = \"username\"\n },\n InvocationHttpParameters = new ConnectionHttpParametersProperty {\n BodyParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\n } },\n HeaderParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\n } },\n QueryStringParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\n } }\n },\n OAuthParameters = new OAuthParametersProperty {\n AuthorizationEndpoint = \"authorizationEndpoint\",\n ClientParameters = new ClientParametersProperty {\n ClientId = \"clientId\",\n ClientSecret = \"clientSecret\"\n },\n HttpMethod = \"httpMethod\",\n\n // the properties below are optional\n OAuthHttpParameters = new ConnectionHttpParametersProperty {\n BodyParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\n } },\n HeaderParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\n } },\n QueryStringParameters = new [] { new ParameterProperty {\n Key = \"key\",\n Value = \"value\",\n\n // the properties below are optional\n IsValueSecret = false\n } }\n }\n }\n },\n\n // the properties below are optional\n Description = \"description\",\n Name = \"name\"\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.events.*;\n\nCfnConnectionProps cfnConnectionProps = CfnConnectionProps.builder()\n .authorizationType(\"authorizationType\")\n .authParameters(AuthParametersProperty.builder()\n .apiKeyAuthParameters(ApiKeyAuthParametersProperty.builder()\n .apiKeyName(\"apiKeyName\")\n .apiKeyValue(\"apiKeyValue\")\n .build())\n .basicAuthParameters(BasicAuthParametersProperty.builder()\n .password(\"password\")\n .username(\"username\")\n .build())\n .invocationHttpParameters(ConnectionHttpParametersProperty.builder()\n .bodyParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\n .build()))\n .headerParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\n .build()))\n .queryStringParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\n .build()))\n .build())\n .oAuthParameters(OAuthParametersProperty.builder()\n .authorizationEndpoint(\"authorizationEndpoint\")\n .clientParameters(ClientParametersProperty.builder()\n .clientId(\"clientId\")\n .clientSecret(\"clientSecret\")\n .build())\n .httpMethod(\"httpMethod\")\n\n // the properties below are optional\n .oAuthHttpParameters(ConnectionHttpParametersProperty.builder()\n .bodyParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\n .build()))\n .headerParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\n .build()))\n .queryStringParameters(List.of(ParameterProperty.builder()\n .key(\"key\")\n .value(\"value\")\n\n // the properties below are optional\n .isValueSecret(false)\n .build()))\n .build())\n .build())\n .build())\n\n // the properties below are optional\n .description(\"description\")\n .name(\"name\")\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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\n\ncfnConnectionProps := &CfnConnectionProps{\n\tAuthorizationType: jsii.String(\"authorizationType\"),\n\tAuthParameters: &AuthParametersProperty{\n\t\tApiKeyAuthParameters: &ApiKeyAuthParametersProperty{\n\t\t\tApiKeyName: jsii.String(\"apiKeyName\"),\n\t\t\tApiKeyValue: jsii.String(\"apiKeyValue\"),\n\t\t},\n\t\tBasicAuthParameters: &BasicAuthParametersProperty{\n\t\t\tPassword: jsii.String(\"password\"),\n\t\t\tUsername: jsii.String(\"username\"),\n\t\t},\n\t\tInvocationHttpParameters: &ConnectionHttpParametersProperty{\n\t\t\tBodyParameters: []interface{}{\n\t\t\t\t&ParameterProperty{\n\t\t\t\t\tKey: jsii.String(\"key\"),\n\t\t\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\tIsValueSecret: jsii.Boolean(false),\n\t\t\t\t},\n\t\t\t},\n\t\t\tHeaderParameters: []interface{}{\n\t\t\t\t&ParameterProperty{\n\t\t\t\t\tKey: jsii.String(\"key\"),\n\t\t\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\tIsValueSecret: jsii.Boolean(false),\n\t\t\t\t},\n\t\t\t},\n\t\t\tQueryStringParameters: []interface{}{\n\t\t\t\t&ParameterProperty{\n\t\t\t\t\tKey: jsii.String(\"key\"),\n\t\t\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\tIsValueSecret: jsii.Boolean(false),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tOAuthParameters: &OAuthParametersProperty{\n\t\t\tAuthorizationEndpoint: jsii.String(\"authorizationEndpoint\"),\n\t\t\tClientParameters: &ClientParametersProperty{\n\t\t\t\tClientId: jsii.String(\"clientId\"),\n\t\t\t\tClientSecret: jsii.String(\"clientSecret\"),\n\t\t\t},\n\t\t\tHttpMethod: jsii.String(\"httpMethod\"),\n\n\t\t\t// the properties below are optional\n\t\t\tOAuthHttpParameters: &ConnectionHttpParametersProperty{\n\t\t\t\tBodyParameters: []interface{}{\n\t\t\t\t\t&ParameterProperty{\n\t\t\t\t\t\tKey: jsii.String(\"key\"),\n\t\t\t\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\tIsValueSecret: jsii.Boolean(false),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tHeaderParameters: []interface{}{\n\t\t\t\t\t&ParameterProperty{\n\t\t\t\t\t\tKey: jsii.String(\"key\"),\n\t\t\t\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\tIsValueSecret: jsii.Boolean(false),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tQueryStringParameters: []interface{}{\n\t\t\t\t\t&ParameterProperty{\n\t\t\t\t\t\tKey: jsii.String(\"key\"),\n\t\t\t\t\t\tValue: jsii.String(\"value\"),\n\n\t\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\tIsValueSecret: jsii.Boolean(false),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tName: jsii.String(\"name\"),\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 events from '@aws-cdk/aws-events';\nconst cfnConnectionProps: events.CfnConnectionProps = {\n authorizationType: 'authorizationType',\n authParameters: {\n apiKeyAuthParameters: {\n apiKeyName: 'apiKeyName',\n apiKeyValue: 'apiKeyValue',\n },\n basicAuthParameters: {\n password: 'password',\n username: 'username',\n },\n invocationHttpParameters: {\n bodyParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n headerParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n queryStringParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n },\n oAuthParameters: {\n authorizationEndpoint: 'authorizationEndpoint',\n clientParameters: {\n clientId: 'clientId',\n clientSecret: 'clientSecret',\n },\n httpMethod: 'httpMethod',\n\n // the properties below are optional\n oAuthHttpParameters: {\n bodyParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n headerParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n queryStringParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n },\n },\n },\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.CfnConnectionProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.CfnConnectionProps"],"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 events from '@aws-cdk/aws-events';\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 cfnConnectionProps: events.CfnConnectionProps = {\n authorizationType: 'authorizationType',\n authParameters: {\n apiKeyAuthParameters: {\n apiKeyName: 'apiKeyName',\n apiKeyValue: 'apiKeyValue',\n },\n basicAuthParameters: {\n password: 'password',\n username: 'username',\n },\n invocationHttpParameters: {\n bodyParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n headerParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n queryStringParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n },\n oAuthParameters: {\n authorizationEndpoint: 'authorizationEndpoint',\n clientParameters: {\n clientId: 'clientId',\n clientSecret: 'clientSecret',\n },\n httpMethod: 'httpMethod',\n\n // the properties below are optional\n oAuthHttpParameters: {\n bodyParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n headerParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n queryStringParameters: [{\n key: 'key',\n value: 'value',\n\n // the properties below are optional\n isValueSecret: false,\n }],\n },\n },\n },\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":24,"75":46,"91":6,"153":1,"169":1,"192":6,"193":14,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":42,"290":1},"fqnsFingerprint":"83a36c864c5ba6b00771254d85bf76a798ec6a7f453b41f2030d748f0913eb4a"},"b55c0253ac05b3548d4cac52183bf2fc10b23663bdc74c362908785c5674b2da":{"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_events as events\n\ncfn_endpoint = events.CfnEndpoint(self, \"MyCfnEndpoint\",\n event_buses=[events.CfnEndpoint.EndpointEventBusProperty(\n event_bus_arn=\"eventBusArn\"\n )],\n routing_config=events.CfnEndpoint.RoutingConfigProperty(\n failover_config=events.CfnEndpoint.FailoverConfigProperty(\n primary=events.CfnEndpoint.PrimaryProperty(\n health_check=\"healthCheck\"\n ),\n secondary=events.CfnEndpoint.SecondaryProperty(\n route=\"route\"\n )\n )\n ),\n\n # the properties below are optional\n description=\"description\",\n name=\"name\",\n replication_config=events.CfnEndpoint.ReplicationConfigProperty(\n state=\"state\"\n ),\n role_arn=\"roleArn\"\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.Events;\n\nvar cfnEndpoint = new CfnEndpoint(this, \"MyCfnEndpoint\", new CfnEndpointProps {\n EventBuses = new [] { new EndpointEventBusProperty {\n EventBusArn = \"eventBusArn\"\n } },\n RoutingConfig = new RoutingConfigProperty {\n FailoverConfig = new FailoverConfigProperty {\n Primary = new PrimaryProperty {\n HealthCheck = \"healthCheck\"\n },\n Secondary = new SecondaryProperty {\n Route = \"route\"\n }\n }\n },\n\n // the properties below are optional\n Description = \"description\",\n Name = \"name\",\n ReplicationConfig = new ReplicationConfigProperty {\n State = \"state\"\n },\n RoleArn = \"roleArn\"\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.events.*;\n\nCfnEndpoint cfnEndpoint = CfnEndpoint.Builder.create(this, \"MyCfnEndpoint\")\n .eventBuses(List.of(EndpointEventBusProperty.builder()\n .eventBusArn(\"eventBusArn\")\n .build()))\n .routingConfig(RoutingConfigProperty.builder()\n .failoverConfig(FailoverConfigProperty.builder()\n .primary(PrimaryProperty.builder()\n .healthCheck(\"healthCheck\")\n .build())\n .secondary(SecondaryProperty.builder()\n .route(\"route\")\n .build())\n .build())\n .build())\n\n // the properties below are optional\n .description(\"description\")\n .name(\"name\")\n .replicationConfig(ReplicationConfigProperty.builder()\n .state(\"state\")\n .build())\n .roleArn(\"roleArn\")\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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\n\ncfnEndpoint := events.NewCfnEndpoint(this, jsii.String(\"MyCfnEndpoint\"), &CfnEndpointProps{\n\tEventBuses: []interface{}{\n\t\t&EndpointEventBusProperty{\n\t\t\tEventBusArn: jsii.String(\"eventBusArn\"),\n\t\t},\n\t},\n\tRoutingConfig: &RoutingConfigProperty{\n\t\tFailoverConfig: &FailoverConfigProperty{\n\t\t\tPrimary: &PrimaryProperty{\n\t\t\t\tHealthCheck: jsii.String(\"healthCheck\"),\n\t\t\t},\n\t\t\tSecondary: &SecondaryProperty{\n\t\t\t\tRoute: jsii.String(\"route\"),\n\t\t\t},\n\t\t},\n\t},\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tName: jsii.String(\"name\"),\n\tReplicationConfig: &ReplicationConfigProperty{\n\t\tState: jsii.String(\"state\"),\n\t},\n\tRoleArn: jsii.String(\"roleArn\"),\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 events from '@aws-cdk/aws-events';\nconst cfnEndpoint = new events.CfnEndpoint(this, 'MyCfnEndpoint', {\n eventBuses: [{\n eventBusArn: 'eventBusArn',\n }],\n routingConfig: {\n failoverConfig: {\n primary: {\n healthCheck: 'healthCheck',\n },\n secondary: {\n route: 'route',\n },\n },\n },\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n replicationConfig: {\n state: 'state',\n },\n roleArn: 'roleArn',\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.CfnEndpoint"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.CfnEndpoint","@aws-cdk/aws-events.CfnEndpointProps","@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 events from '@aws-cdk/aws-events';\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 cfnEndpoint = new events.CfnEndpoint(this, 'MyCfnEndpoint', {\n eventBuses: [{\n eventBusArn: 'eventBusArn',\n }],\n routingConfig: {\n failoverConfig: {\n primary: {\n healthCheck: 'healthCheck',\n },\n secondary: {\n route: 'route',\n },\n },\n },\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n replicationConfig: {\n state: 'state',\n },\n roleArn: 'roleArn',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":9,"75":17,"104":1,"192":1,"193":7,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":13,"290":1},"fqnsFingerprint":"570627078be1296858992c924021fdaa267d8c3ec40401ed23b681fe105f38cf"},"a2d184668032f75a658ce618f22173f9010edc7195d8eec3804afe7c8ae2a077":{"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_events as events\n\nendpoint_event_bus_property = events.CfnEndpoint.EndpointEventBusProperty(\n event_bus_arn=\"eventBusArn\"\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.Events;\n\nvar endpointEventBusProperty = new EndpointEventBusProperty {\n EventBusArn = \"eventBusArn\"\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.events.*;\n\nEndpointEventBusProperty endpointEventBusProperty = EndpointEventBusProperty.builder()\n .eventBusArn(\"eventBusArn\")\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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\n\nendpointEventBusProperty := &EndpointEventBusProperty{\n\tEventBusArn: jsii.String(\"eventBusArn\"),\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 events from '@aws-cdk/aws-events';\nconst endpointEventBusProperty: events.CfnEndpoint.EndpointEventBusProperty = {\n eventBusArn: 'eventBusArn',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.CfnEndpoint.EndpointEventBusProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.CfnEndpoint.EndpointEventBusProperty"],"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 events from '@aws-cdk/aws-events';\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 endpointEventBusProperty: events.CfnEndpoint.EndpointEventBusProperty = {\n eventBusArn: 'eventBusArn',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":6,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":1,"290":1},"fqnsFingerprint":"ae5f54520ad60d0d17b8fdad1759280b1d02182d38d4d6fe6bdbe26e39e88159"},"5e7eae649bcc77c989173d27556ece4dae86c8c54842d253c18c1b51d1834a34":{"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_events as events\n\nfailover_config_property = events.CfnEndpoint.FailoverConfigProperty(\n primary=events.CfnEndpoint.PrimaryProperty(\n health_check=\"healthCheck\"\n ),\n secondary=events.CfnEndpoint.SecondaryProperty(\n route=\"route\"\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.Events;\n\nvar failoverConfigProperty = new FailoverConfigProperty {\n Primary = new PrimaryProperty {\n HealthCheck = \"healthCheck\"\n },\n Secondary = new SecondaryProperty {\n Route = \"route\"\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.events.*;\n\nFailoverConfigProperty failoverConfigProperty = FailoverConfigProperty.builder()\n .primary(PrimaryProperty.builder()\n .healthCheck(\"healthCheck\")\n .build())\n .secondary(SecondaryProperty.builder()\n .route(\"route\")\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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\n\nfailoverConfigProperty := &FailoverConfigProperty{\n\tPrimary: &PrimaryProperty{\n\t\tHealthCheck: jsii.String(\"healthCheck\"),\n\t},\n\tSecondary: &SecondaryProperty{\n\t\tRoute: jsii.String(\"route\"),\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 events from '@aws-cdk/aws-events';\nconst failoverConfigProperty: events.CfnEndpoint.FailoverConfigProperty = {\n primary: {\n healthCheck: 'healthCheck',\n },\n secondary: {\n route: 'route',\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.CfnEndpoint.FailoverConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.CfnEndpoint.FailoverConfigProperty"],"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 events from '@aws-cdk/aws-events';\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 failoverConfigProperty: events.CfnEndpoint.FailoverConfigProperty = {\n primary: {\n healthCheck: 'healthCheck',\n },\n secondary: {\n route: 'route',\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":9,"153":2,"169":1,"193":3,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":4,"290":1},"fqnsFingerprint":"e317541f6c5400402eedf0f77d1256cf3fc9690d8c7c8b12ac7e40bd0ac260af"},"6f8c6718a2a0c153f2d8e2b8be14b79c096d0ddc4ca4a6c7dfd56b9e9165b66d":{"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_events as events\n\nprimary_property = events.CfnEndpoint.PrimaryProperty(\n health_check=\"healthCheck\"\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.Events;\n\nvar primaryProperty = new PrimaryProperty {\n HealthCheck = \"healthCheck\"\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.events.*;\n\nPrimaryProperty primaryProperty = PrimaryProperty.builder()\n .healthCheck(\"healthCheck\")\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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\n\nprimaryProperty := &PrimaryProperty{\n\tHealthCheck: jsii.String(\"healthCheck\"),\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 events from '@aws-cdk/aws-events';\nconst primaryProperty: events.CfnEndpoint.PrimaryProperty = {\n healthCheck: 'healthCheck',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.CfnEndpoint.PrimaryProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.CfnEndpoint.PrimaryProperty"],"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 events from '@aws-cdk/aws-events';\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 primaryProperty: events.CfnEndpoint.PrimaryProperty = {\n healthCheck: 'healthCheck',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":6,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":1,"290":1},"fqnsFingerprint":"85176a42fc19e6ad9010f5bcf7002f67e327eb5256083dd8b2314550fb8d6050"},"6b810f4792fab8bdeb1ff93661a05f2be3599de8cd86033e6a6b754831d3c8cd":{"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_events as events\n\nreplication_config_property = events.CfnEndpoint.ReplicationConfigProperty(\n state=\"state\"\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.Events;\n\nvar replicationConfigProperty = new ReplicationConfigProperty {\n State = \"state\"\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.events.*;\n\nReplicationConfigProperty replicationConfigProperty = ReplicationConfigProperty.builder()\n .state(\"state\")\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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\n\nreplicationConfigProperty := &ReplicationConfigProperty{\n\tState: jsii.String(\"state\"),\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 events from '@aws-cdk/aws-events';\nconst replicationConfigProperty: events.CfnEndpoint.ReplicationConfigProperty = {\n state: 'state',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.CfnEndpoint.ReplicationConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.CfnEndpoint.ReplicationConfigProperty"],"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 events from '@aws-cdk/aws-events';\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 replicationConfigProperty: events.CfnEndpoint.ReplicationConfigProperty = {\n state: 'state',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":6,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":1,"290":1},"fqnsFingerprint":"c5d25dc4ffa2909eb31c060bdf97416462474a6a66e6d94e69993ca2c184c898"},"09a03aa6fdd601c60c8a6e595cb143e1aa94d6ec9341d8a2798232a4c987aa45":{"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_events as events\n\nrouting_config_property = events.CfnEndpoint.RoutingConfigProperty(\n failover_config=events.CfnEndpoint.FailoverConfigProperty(\n primary=events.CfnEndpoint.PrimaryProperty(\n health_check=\"healthCheck\"\n ),\n secondary=events.CfnEndpoint.SecondaryProperty(\n route=\"route\"\n )\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.Events;\n\nvar routingConfigProperty = new RoutingConfigProperty {\n FailoverConfig = new FailoverConfigProperty {\n Primary = new PrimaryProperty {\n HealthCheck = \"healthCheck\"\n },\n Secondary = new SecondaryProperty {\n Route = \"route\"\n }\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.events.*;\n\nRoutingConfigProperty routingConfigProperty = RoutingConfigProperty.builder()\n .failoverConfig(FailoverConfigProperty.builder()\n .primary(PrimaryProperty.builder()\n .healthCheck(\"healthCheck\")\n .build())\n .secondary(SecondaryProperty.builder()\n .route(\"route\")\n .build())\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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\n\nroutingConfigProperty := &RoutingConfigProperty{\n\tFailoverConfig: &FailoverConfigProperty{\n\t\tPrimary: &PrimaryProperty{\n\t\t\tHealthCheck: jsii.String(\"healthCheck\"),\n\t\t},\n\t\tSecondary: &SecondaryProperty{\n\t\t\tRoute: jsii.String(\"route\"),\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 events from '@aws-cdk/aws-events';\nconst routingConfigProperty: events.CfnEndpoint.RoutingConfigProperty = {\n failoverConfig: {\n primary: {\n healthCheck: 'healthCheck',\n },\n secondary: {\n route: 'route',\n },\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.CfnEndpoint.RoutingConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.CfnEndpoint.RoutingConfigProperty"],"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 events from '@aws-cdk/aws-events';\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 routingConfigProperty: events.CfnEndpoint.RoutingConfigProperty = {\n failoverConfig: {\n primary: {\n healthCheck: 'healthCheck',\n },\n secondary: {\n route: 'route',\n },\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":10,"153":2,"169":1,"193":4,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":5,"290":1},"fqnsFingerprint":"16fe1f700205cbeea8fa6d7ae9514096a53932caa7cc0b97e66040052d1cf6ca"},"0cc20095df78c00d5301ee899025aa7f03825e1be11ee25cf8a7a05d96a932fd":{"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_events as events\n\nsecondary_property = events.CfnEndpoint.SecondaryProperty(\n route=\"route\"\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.Events;\n\nvar secondaryProperty = new SecondaryProperty {\n Route = \"route\"\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.events.*;\n\nSecondaryProperty secondaryProperty = SecondaryProperty.builder()\n .route(\"route\")\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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\n\nsecondaryProperty := &SecondaryProperty{\n\tRoute: jsii.String(\"route\"),\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 events from '@aws-cdk/aws-events';\nconst secondaryProperty: events.CfnEndpoint.SecondaryProperty = {\n route: 'route',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.CfnEndpoint.SecondaryProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.CfnEndpoint.SecondaryProperty"],"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 events from '@aws-cdk/aws-events';\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 secondaryProperty: events.CfnEndpoint.SecondaryProperty = {\n route: 'route',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":6,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":1,"290":1},"fqnsFingerprint":"36e4a7dfc522f029ccfe405c865db70307a866582240de4add009fb0ab0d61d5"},"68d31f53ff346514d3b69a9563f1955e163df534a0e3a81e9e6c47fc8d8c96a4":{"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_events as events\n\ncfn_endpoint_props = events.CfnEndpointProps(\n event_buses=[events.CfnEndpoint.EndpointEventBusProperty(\n event_bus_arn=\"eventBusArn\"\n )],\n routing_config=events.CfnEndpoint.RoutingConfigProperty(\n failover_config=events.CfnEndpoint.FailoverConfigProperty(\n primary=events.CfnEndpoint.PrimaryProperty(\n health_check=\"healthCheck\"\n ),\n secondary=events.CfnEndpoint.SecondaryProperty(\n route=\"route\"\n )\n )\n ),\n\n # the properties below are optional\n description=\"description\",\n name=\"name\",\n replication_config=events.CfnEndpoint.ReplicationConfigProperty(\n state=\"state\"\n ),\n role_arn=\"roleArn\"\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.Events;\n\nvar cfnEndpointProps = new CfnEndpointProps {\n EventBuses = new [] { new EndpointEventBusProperty {\n EventBusArn = \"eventBusArn\"\n } },\n RoutingConfig = new RoutingConfigProperty {\n FailoverConfig = new FailoverConfigProperty {\n Primary = new PrimaryProperty {\n HealthCheck = \"healthCheck\"\n },\n Secondary = new SecondaryProperty {\n Route = \"route\"\n }\n }\n },\n\n // the properties below are optional\n Description = \"description\",\n Name = \"name\",\n ReplicationConfig = new ReplicationConfigProperty {\n State = \"state\"\n },\n RoleArn = \"roleArn\"\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.events.*;\n\nCfnEndpointProps cfnEndpointProps = CfnEndpointProps.builder()\n .eventBuses(List.of(EndpointEventBusProperty.builder()\n .eventBusArn(\"eventBusArn\")\n .build()))\n .routingConfig(RoutingConfigProperty.builder()\n .failoverConfig(FailoverConfigProperty.builder()\n .primary(PrimaryProperty.builder()\n .healthCheck(\"healthCheck\")\n .build())\n .secondary(SecondaryProperty.builder()\n .route(\"route\")\n .build())\n .build())\n .build())\n\n // the properties below are optional\n .description(\"description\")\n .name(\"name\")\n .replicationConfig(ReplicationConfigProperty.builder()\n .state(\"state\")\n .build())\n .roleArn(\"roleArn\")\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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\n\ncfnEndpointProps := &CfnEndpointProps{\n\tEventBuses: []interface{}{\n\t\t&EndpointEventBusProperty{\n\t\t\tEventBusArn: jsii.String(\"eventBusArn\"),\n\t\t},\n\t},\n\tRoutingConfig: &RoutingConfigProperty{\n\t\tFailoverConfig: &FailoverConfigProperty{\n\t\t\tPrimary: &PrimaryProperty{\n\t\t\t\tHealthCheck: jsii.String(\"healthCheck\"),\n\t\t\t},\n\t\t\tSecondary: &SecondaryProperty{\n\t\t\t\tRoute: jsii.String(\"route\"),\n\t\t\t},\n\t\t},\n\t},\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tName: jsii.String(\"name\"),\n\tReplicationConfig: &ReplicationConfigProperty{\n\t\tState: jsii.String(\"state\"),\n\t},\n\tRoleArn: jsii.String(\"roleArn\"),\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 events from '@aws-cdk/aws-events';\nconst cfnEndpointProps: events.CfnEndpointProps = {\n eventBuses: [{\n eventBusArn: 'eventBusArn',\n }],\n routingConfig: {\n failoverConfig: {\n primary: {\n healthCheck: 'healthCheck',\n },\n secondary: {\n route: 'route',\n },\n },\n },\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n replicationConfig: {\n state: 'state',\n },\n roleArn: 'roleArn',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.CfnEndpointProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.CfnEndpointProps"],"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 events from '@aws-cdk/aws-events';\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 cfnEndpointProps: events.CfnEndpointProps = {\n eventBuses: [{\n eventBusArn: 'eventBusArn',\n }],\n routingConfig: {\n failoverConfig: {\n primary: {\n healthCheck: 'healthCheck',\n },\n secondary: {\n route: 'route',\n },\n },\n },\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n replicationConfig: {\n state: 'state',\n },\n roleArn: 'roleArn',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":8,"75":17,"153":1,"169":1,"192":1,"193":7,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":13,"290":1},"fqnsFingerprint":"a290f88d2d9d32b4f51266bc7a920883586d53e790b2af797ff902cf6970acb8"},"0ebe28c91dae161ee654b3938d0809829bd795e59c454f688c89bc6263782d6c":{"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_events as events\n\ncfn_event_bus = events.CfnEventBus(self, \"MyCfnEventBus\",\n name=\"name\",\n\n # the properties below are optional\n event_source_name=\"eventSourceName\",\n tags=[events.CfnEventBus.TagEntryProperty(\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.Events;\n\nvar cfnEventBus = new CfnEventBus(this, \"MyCfnEventBus\", new CfnEventBusProps {\n Name = \"name\",\n\n // the properties below are optional\n EventSourceName = \"eventSourceName\",\n Tags = new [] { new TagEntryProperty {\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.events.*;\n\nCfnEventBus cfnEventBus = CfnEventBus.Builder.create(this, \"MyCfnEventBus\")\n .name(\"name\")\n\n // the properties below are optional\n .eventSourceName(\"eventSourceName\")\n .tags(List.of(TagEntryProperty.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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\n\ncfnEventBus := events.NewCfnEventBus(this, jsii.String(\"MyCfnEventBus\"), &CfnEventBusProps{\n\tName: jsii.String(\"name\"),\n\n\t// the properties below are optional\n\tEventSourceName: jsii.String(\"eventSourceName\"),\n\tTags: []tagEntryProperty{\n\t\t&tagEntryProperty{\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 events from '@aws-cdk/aws-events';\nconst cfnEventBus = new events.CfnEventBus(this, 'MyCfnEventBus', {\n name: 'name',\n\n // the properties below are optional\n eventSourceName: 'eventSourceName',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.CfnEventBus"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.CfnEventBus","@aws-cdk/aws-events.CfnEventBusProps","@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 events from '@aws-cdk/aws-events';\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 cfnEventBus = new events.CfnEventBus(this, 'MyCfnEventBus', {\n name: 'name',\n\n // the properties below are optional\n eventSourceName: 'eventSourceName',\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":9,"104":1,"192":1,"193":2,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":5,"290":1},"fqnsFingerprint":"4b3f79d966ff7c8f69d7cf3e9f17580be61f89a34395ff64117f92df599e2983"},"8eb5213aa7faa444ed87276f1b8fcd023f3d823ddafb0fc4543c5780c69e2634":{"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_events as events\n\ntag_entry_property = events.CfnEventBus.TagEntryProperty(\n key=\"key\",\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.Events;\n\nvar tagEntryProperty = new TagEntryProperty {\n Key = \"key\",\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.events.*;\n\nTagEntryProperty tagEntryProperty = TagEntryProperty.builder()\n .key(\"key\")\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 events \"github.com/aws-samples/dummy/awscdkawsevents\"\n\ntagEntryProperty := &TagEntryProperty{\n\tKey: jsii.String(\"key\"),\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 events from '@aws-cdk/aws-events';\nconst tagEntryProperty: events.CfnEventBus.TagEntryProperty = {\n key: 'key',\n value: 'value',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-events.CfnEventBus.TagEntryProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-events.CfnEventBus.TagEntryProperty"],"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 events from '@aws-cdk/aws-events';\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 tagEntryProperty: events.CfnEventBus.TagEntryProperty = {\n key: 'key',\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":"68920f3ac218f7c2113f8bf0c71f392b595a20ff6b1768e2106bdfd53a86e1bd"},"cda30237377301510f3f46d675f354fa4758f2f5a009f9626b1db98186a42cfb":{