UNPKG

47.8 kBJSONView Raw
1{"version":"2","toolVersion":"1.84.0","snippets":{"04030752eaa843f886912bd2dece80a02efec264467b77e1e961f2bce53b0ce4":{"translations":{"python":{"source":"import aws_cdk.aws_sqs as sqs","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.SQS;","version":"1"},"java":{"source":"import software.amazon.awscdk.services.sqs.*;","version":"1"},"go":{"source":"import sqs \"github.com/aws-samples/dummy/awscdkawssqs\"","version":"1"},"$":{"source":"import * as sqs from '@aws-cdk/aws-sqs';","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-sqs"},"field":{"field":"markdown","line":30}},"didCompile":true,"fqnsReferenced":[],"fullSource":"import * as sqs from '@aws-cdk/aws-sqs';","syntaxKindCounter":{"10":1,"75":1,"254":1,"255":1,"256":1,"290":1},"fqnsFingerprint":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},"9244b20e179b08a6165e503b4f37fe238bb53ea973a77eaa53c67fd7ef6ea76e":{"translations":{"python":{"source":"sqs.Queue(self, \"Queue\")","version":"2"},"csharp":{"source":"new Queue(this, \"Queue\");","version":"1"},"java":{"source":"new Queue(this, \"Queue\");","version":"1"},"go":{"source":"sqs.NewQueue(this, jsii.String(\"Queue\"))","version":"1"},"$":{"source":"new sqs.Queue(this, 'Queue');","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-sqs"},"field":{"field":"markdown","line":39}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-sqs.Queue","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport sqs = require('@aws-cdk/aws-sqs');\nimport kms = require('@aws-cdk/aws-kms');\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\nnew sqs.Queue(this, 'Queue');\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":1,"75":2,"104":1,"194":1,"197":1,"226":1},"fqnsFingerprint":"49d7ee441e1a086727d6ec4af7f1975a8635eeb3dad0b8ca4148fae980cb83e3"},"182a518d6827162ad04acdfbab5ece9d32be7732a98e5570ffec432f7a979352":{"translations":{"python":{"source":"# Use managed key\nsqs.Queue(self, \"Queue\",\n encryption=sqs.QueueEncryption.KMS_MANAGED\n)\n\n# Use custom key\nmy_key = kms.Key(self, \"Key\")\n\nsqs.Queue(self, \"Queue\",\n encryption=sqs.QueueEncryption.KMS,\n encryption_master_key=my_key\n)","version":"2"},"csharp":{"source":"// Use managed key\n// Use managed key\nnew Queue(this, \"Queue\", new QueueProps {\n Encryption = QueueEncryption.KMS_MANAGED\n});\n\n// Use custom key\nvar myKey = new Key(this, \"Key\");\n\nnew Queue(this, \"Queue\", new QueueProps {\n Encryption = QueueEncryption.KMS,\n EncryptionMasterKey = myKey\n});","version":"1"},"java":{"source":"// Use managed key\n// Use managed key\nQueue.Builder.create(this, \"Queue\")\n .encryption(QueueEncryption.KMS_MANAGED)\n .build();\n\n// Use custom key\nKey myKey = new Key(this, \"Key\");\n\nQueue.Builder.create(this, \"Queue\")\n .encryption(QueueEncryption.KMS)\n .encryptionMasterKey(myKey)\n .build();","version":"1"},"go":{"source":"// Use managed key\n// Use managed key\nsqs.NewQueue(this, jsii.String(\"Queue\"), &QueueProps{\n\tEncryption: sqs.QueueEncryption_KMS_MANAGED,\n})\n\n// Use custom key\nmyKey := kms.NewKey(this, jsii.String(\"Key\"))\n\nsqs.NewQueue(this, jsii.String(\"Queue\"), &QueueProps{\n\tEncryption: sqs.QueueEncryption_KMS,\n\tEncryptionMasterKey: myKey,\n})","version":"1"},"$":{"source":"// Use managed key\nnew sqs.Queue(this, 'Queue', {\n encryption: sqs.QueueEncryption.KMS_MANAGED,\n});\n\n// Use custom key\nconst myKey = new kms.Key(this, 'Key');\n\nnew sqs.Queue(this, 'Queue', {\n encryption: sqs.QueueEncryption.KMS,\n encryptionMasterKey: myKey,\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-sqs"},"field":{"field":"markdown","line":49}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-kms.IKey","@aws-cdk/aws-kms.Key","@aws-cdk/aws-sqs.Queue","@aws-cdk/aws-sqs.QueueEncryption","@aws-cdk/aws-sqs.QueueEncryption#KMS","@aws-cdk/aws-sqs.QueueEncryption#KMS_MANAGED","@aws-cdk/aws-sqs.QueueProps","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport sqs = require('@aws-cdk/aws-sqs');\nimport kms = require('@aws-cdk/aws-kms');\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// Use managed key\nnew sqs.Queue(this, 'Queue', {\n encryption: sqs.QueueEncryption.KMS_MANAGED,\n});\n\n// Use custom key\nconst myKey = new kms.Key(this, 'Key');\n\nnew sqs.Queue(this, 'Queue', {\n encryption: sqs.QueueEncryption.KMS,\n encryptionMasterKey: myKey,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":3,"75":17,"104":3,"193":2,"194":7,"197":3,"225":1,"226":2,"242":1,"243":1,"281":3},"fqnsFingerprint":"f0a125a218f1046d1cbf1e5f4514e042d6ebff8355a24aef580fbf2093665246"},"1738381dfdba2b86c5ec24dfbb93dadfda4a417a7c115078f31379a563c5b4d8":{"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_sqs as sqs\n\n# redrive_allow_policy: Any\n# redrive_policy: Any\n\ncfn_queue = sqs.CfnQueue(self, \"MyCfnQueue\",\n content_based_deduplication=False,\n deduplication_scope=\"deduplicationScope\",\n delay_seconds=123,\n fifo_queue=False,\n fifo_throughput_limit=\"fifoThroughputLimit\",\n kms_data_key_reuse_period_seconds=123,\n kms_master_key_id=\"kmsMasterKeyId\",\n maximum_message_size=123,\n message_retention_period=123,\n queue_name=\"queueName\",\n receive_message_wait_time_seconds=123,\n redrive_allow_policy=redrive_allow_policy,\n redrive_policy=redrive_policy,\n sqs_managed_sse_enabled=False,\n tags=[CfnTag(\n key=\"key\",\n value=\"value\"\n )],\n visibility_timeout=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.SQS;\n\nvar redriveAllowPolicy;\nvar redrivePolicy;\n\nvar cfnQueue = new CfnQueue(this, \"MyCfnQueue\", new CfnQueueProps {\n ContentBasedDeduplication = false,\n DeduplicationScope = \"deduplicationScope\",\n DelaySeconds = 123,\n FifoQueue = false,\n FifoThroughputLimit = \"fifoThroughputLimit\",\n KmsDataKeyReusePeriodSeconds = 123,\n KmsMasterKeyId = \"kmsMasterKeyId\",\n MaximumMessageSize = 123,\n MessageRetentionPeriod = 123,\n QueueName = \"queueName\",\n ReceiveMessageWaitTimeSeconds = 123,\n RedriveAllowPolicy = redriveAllowPolicy,\n RedrivePolicy = redrivePolicy,\n SqsManagedSseEnabled = false,\n Tags = new [] { new CfnTag {\n Key = \"key\",\n Value = \"value\"\n } },\n VisibilityTimeout = 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.sqs.*;\n\nObject redriveAllowPolicy;\nObject redrivePolicy;\n\nCfnQueue cfnQueue = CfnQueue.Builder.create(this, \"MyCfnQueue\")\n .contentBasedDeduplication(false)\n .deduplicationScope(\"deduplicationScope\")\n .delaySeconds(123)\n .fifoQueue(false)\n .fifoThroughputLimit(\"fifoThroughputLimit\")\n .kmsDataKeyReusePeriodSeconds(123)\n .kmsMasterKeyId(\"kmsMasterKeyId\")\n .maximumMessageSize(123)\n .messageRetentionPeriod(123)\n .queueName(\"queueName\")\n .receiveMessageWaitTimeSeconds(123)\n .redriveAllowPolicy(redriveAllowPolicy)\n .redrivePolicy(redrivePolicy)\n .sqsManagedSseEnabled(false)\n .tags(List.of(CfnTag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .visibilityTimeout(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 sqs \"github.com/aws-samples/dummy/awscdkawssqs\"\n\nvar redriveAllowPolicy interface{}\nvar redrivePolicy interface{}\n\ncfnQueue := sqs.NewCfnQueue(this, jsii.String(\"MyCfnQueue\"), &CfnQueueProps{\n\tContentBasedDeduplication: jsii.Boolean(false),\n\tDeduplicationScope: jsii.String(\"deduplicationScope\"),\n\tDelaySeconds: jsii.Number(123),\n\tFifoQueue: jsii.Boolean(false),\n\tFifoThroughputLimit: jsii.String(\"fifoThroughputLimit\"),\n\tKmsDataKeyReusePeriodSeconds: jsii.Number(123),\n\tKmsMasterKeyId: jsii.String(\"kmsMasterKeyId\"),\n\tMaximumMessageSize: jsii.Number(123),\n\tMessageRetentionPeriod: jsii.Number(123),\n\tQueueName: jsii.String(\"queueName\"),\n\tReceiveMessageWaitTimeSeconds: jsii.Number(123),\n\tRedriveAllowPolicy: redriveAllowPolicy,\n\tRedrivePolicy: redrivePolicy,\n\tSqsManagedSseEnabled: jsii.Boolean(false),\n\tTags: []cfnTag{\n\t\t&cfnTag{\n\t\t\tKey: jsii.String(\"key\"),\n\t\t\tValue: jsii.String(\"value\"),\n\t\t},\n\t},\n\tVisibilityTimeout: 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 sqs from '@aws-cdk/aws-sqs';\n\ndeclare const redriveAllowPolicy: any;\ndeclare const redrivePolicy: any;\nconst cfnQueue = new sqs.CfnQueue(this, 'MyCfnQueue', /* all optional props */ {\n contentBasedDeduplication: false,\n deduplicationScope: 'deduplicationScope',\n delaySeconds: 123,\n fifoQueue: false,\n fifoThroughputLimit: 'fifoThroughputLimit',\n kmsDataKeyReusePeriodSeconds: 123,\n kmsMasterKeyId: 'kmsMasterKeyId',\n maximumMessageSize: 123,\n messageRetentionPeriod: 123,\n queueName: 'queueName',\n receiveMessageWaitTimeSeconds: 123,\n redriveAllowPolicy: redriveAllowPolicy,\n redrivePolicy: redrivePolicy,\n sqsManagedSseEnabled: false,\n tags: [{\n key: 'key',\n value: 'value',\n }],\n visibilityTimeout: 123,\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-sqs.CfnQueue"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-sqs.CfnQueue","@aws-cdk/aws-sqs.CfnQueueProps","@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 sqs from '@aws-cdk/aws-sqs';\n\ndeclare const redriveAllowPolicy: any;\ndeclare const redrivePolicy: 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 cfnQueue = new sqs.CfnQueue(this, 'MyCfnQueue', /* all optional props */ {\n contentBasedDeduplication: false,\n deduplicationScope: 'deduplicationScope',\n delaySeconds: 123,\n fifoQueue: false,\n fifoThroughputLimit: 'fifoThroughputLimit',\n kmsDataKeyReusePeriodSeconds: 123,\n kmsMasterKeyId: 'kmsMasterKeyId',\n maximumMessageSize: 123,\n messageRetentionPeriod: 123,\n queueName: 'queueName',\n receiveMessageWaitTimeSeconds: 123,\n redriveAllowPolicy: redriveAllowPolicy,\n redrivePolicy: redrivePolicy,\n sqsManagedSseEnabled: false,\n tags: [{\n key: 'key',\n value: 'value',\n }],\n visibilityTimeout: 123,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":6,"10":8,"75":26,"91":3,"104":1,"125":2,"130":2,"192":1,"193":2,"194":1,"197":1,"225":3,"242":3,"243":3,"254":1,"255":1,"256":1,"281":18,"290":1},"fqnsFingerprint":"6e18dfc57dfd04c2fff62d44d0b7d86f456bef3894185778c7889f2c22e519c5"},"4908b3eec8b40408f076e3e4052132eb18546e2b6fbdfb7c47fd46a456b1b5fd":{"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_sqs as sqs\n\n# policy_document: Any\n\ncfn_queue_policy = sqs.CfnQueuePolicy(self, \"MyCfnQueuePolicy\",\n policy_document=policy_document,\n queues=[\"queues\"]\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.SQS;\n\nvar policyDocument;\n\nvar cfnQueuePolicy = new CfnQueuePolicy(this, \"MyCfnQueuePolicy\", new CfnQueuePolicyProps {\n PolicyDocument = policyDocument,\n Queues = new [] { \"queues\" }\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.sqs.*;\n\nObject policyDocument;\n\nCfnQueuePolicy cfnQueuePolicy = CfnQueuePolicy.Builder.create(this, \"MyCfnQueuePolicy\")\n .policyDocument(policyDocument)\n .queues(List.of(\"queues\"))\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 sqs \"github.com/aws-samples/dummy/awscdkawssqs\"\n\nvar policyDocument interface{}\n\ncfnQueuePolicy := sqs.NewCfnQueuePolicy(this, jsii.String(\"MyCfnQueuePolicy\"), &CfnQueuePolicyProps{\n\tPolicyDocument: policyDocument,\n\tQueues: []*string{\n\t\tjsii.String(\"queues\"),\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 sqs from '@aws-cdk/aws-sqs';\n\ndeclare const policyDocument: any;\nconst cfnQueuePolicy = new sqs.CfnQueuePolicy(this, 'MyCfnQueuePolicy', {\n policyDocument: policyDocument,\n queues: ['queues'],\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-sqs.CfnQueuePolicy"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-sqs.CfnQueuePolicy","@aws-cdk/aws-sqs.CfnQueuePolicyProps","@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 sqs from '@aws-cdk/aws-sqs';\n\ndeclare const policyDocument: 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 cfnQueuePolicy = new sqs.CfnQueuePolicy(this, 'MyCfnQueuePolicy', {\n policyDocument: policyDocument,\n queues: ['queues'],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":8,"104":1,"125":1,"130":1,"192":1,"193":1,"194":1,"197":1,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"09602649103f31ec0fe9a441f861a49c158e355ccc33b5772a5eacd4a25a21e8"},"0d2a92c9e61959152ad09d12adaa587b582b6bb88802c0371c3813351dca939b":{"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_sqs as sqs\n\n# policy_document: Any\n\ncfn_queue_policy_props = sqs.CfnQueuePolicyProps(\n policy_document=policy_document,\n queues=[\"queues\"]\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.SQS;\n\nvar policyDocument;\n\nvar cfnQueuePolicyProps = new CfnQueuePolicyProps {\n PolicyDocument = policyDocument,\n Queues = new [] { \"queues\" }\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.sqs.*;\n\nObject policyDocument;\n\nCfnQueuePolicyProps cfnQueuePolicyProps = CfnQueuePolicyProps.builder()\n .policyDocument(policyDocument)\n .queues(List.of(\"queues\"))\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 sqs \"github.com/aws-samples/dummy/awscdkawssqs\"\n\nvar policyDocument interface{}\n\ncfnQueuePolicyProps := &CfnQueuePolicyProps{\n\tPolicyDocument: policyDocument,\n\tQueues: []*string{\n\t\tjsii.String(\"queues\"),\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 sqs from '@aws-cdk/aws-sqs';\n\ndeclare const policyDocument: any;\nconst cfnQueuePolicyProps: sqs.CfnQueuePolicyProps = {\n policyDocument: policyDocument,\n queues: ['queues'],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-sqs.CfnQueuePolicyProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-sqs.CfnQueuePolicyProps"],"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 sqs from '@aws-cdk/aws-sqs';\n\ndeclare const policyDocument: 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 cfnQueuePolicyProps: sqs.CfnQueuePolicyProps = {\n policyDocument: policyDocument,\n queues: ['queues'],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":8,"125":1,"130":1,"153":1,"169":1,"192":1,"193":1,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"16236495979692e8e6b698e70f862fb1df2a9463ddb705c579e8a1693dcf02b9"},"21a078926be23891037246e92cce55a05ce24652dcfea0096def7d1e7992558a":{"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_sqs as sqs\n\n# redrive_allow_policy: Any\n# redrive_policy: Any\n\ncfn_queue_props = sqs.CfnQueueProps(\n content_based_deduplication=False,\n deduplication_scope=\"deduplicationScope\",\n delay_seconds=123,\n fifo_queue=False,\n fifo_throughput_limit=\"fifoThroughputLimit\",\n kms_data_key_reuse_period_seconds=123,\n kms_master_key_id=\"kmsMasterKeyId\",\n maximum_message_size=123,\n message_retention_period=123,\n queue_name=\"queueName\",\n receive_message_wait_time_seconds=123,\n redrive_allow_policy=redrive_allow_policy,\n redrive_policy=redrive_policy,\n sqs_managed_sse_enabled=False,\n tags=[CfnTag(\n key=\"key\",\n value=\"value\"\n )],\n visibility_timeout=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.SQS;\n\nvar redriveAllowPolicy;\nvar redrivePolicy;\n\nvar cfnQueueProps = new CfnQueueProps {\n ContentBasedDeduplication = false,\n DeduplicationScope = \"deduplicationScope\",\n DelaySeconds = 123,\n FifoQueue = false,\n FifoThroughputLimit = \"fifoThroughputLimit\",\n KmsDataKeyReusePeriodSeconds = 123,\n KmsMasterKeyId = \"kmsMasterKeyId\",\n MaximumMessageSize = 123,\n MessageRetentionPeriod = 123,\n QueueName = \"queueName\",\n ReceiveMessageWaitTimeSeconds = 123,\n RedriveAllowPolicy = redriveAllowPolicy,\n RedrivePolicy = redrivePolicy,\n SqsManagedSseEnabled = false,\n Tags = new [] { new CfnTag {\n Key = \"key\",\n Value = \"value\"\n } },\n VisibilityTimeout = 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.sqs.*;\n\nObject redriveAllowPolicy;\nObject redrivePolicy;\n\nCfnQueueProps cfnQueueProps = CfnQueueProps.builder()\n .contentBasedDeduplication(false)\n .deduplicationScope(\"deduplicationScope\")\n .delaySeconds(123)\n .fifoQueue(false)\n .fifoThroughputLimit(\"fifoThroughputLimit\")\n .kmsDataKeyReusePeriodSeconds(123)\n .kmsMasterKeyId(\"kmsMasterKeyId\")\n .maximumMessageSize(123)\n .messageRetentionPeriod(123)\n .queueName(\"queueName\")\n .receiveMessageWaitTimeSeconds(123)\n .redriveAllowPolicy(redriveAllowPolicy)\n .redrivePolicy(redrivePolicy)\n .sqsManagedSseEnabled(false)\n .tags(List.of(CfnTag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .visibilityTimeout(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 sqs \"github.com/aws-samples/dummy/awscdkawssqs\"\n\nvar redriveAllowPolicy interface{}\nvar redrivePolicy interface{}\n\ncfnQueueProps := &CfnQueueProps{\n\tContentBasedDeduplication: jsii.Boolean(false),\n\tDeduplicationScope: jsii.String(\"deduplicationScope\"),\n\tDelaySeconds: jsii.Number(123),\n\tFifoQueue: jsii.Boolean(false),\n\tFifoThroughputLimit: jsii.String(\"fifoThroughputLimit\"),\n\tKmsDataKeyReusePeriodSeconds: jsii.Number(123),\n\tKmsMasterKeyId: jsii.String(\"kmsMasterKeyId\"),\n\tMaximumMessageSize: jsii.Number(123),\n\tMessageRetentionPeriod: jsii.Number(123),\n\tQueueName: jsii.String(\"queueName\"),\n\tReceiveMessageWaitTimeSeconds: jsii.Number(123),\n\tRedriveAllowPolicy: redriveAllowPolicy,\n\tRedrivePolicy: redrivePolicy,\n\tSqsManagedSseEnabled: jsii.Boolean(false),\n\tTags: []cfnTag{\n\t\t&cfnTag{\n\t\t\tKey: jsii.String(\"key\"),\n\t\t\tValue: jsii.String(\"value\"),\n\t\t},\n\t},\n\tVisibilityTimeout: 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 sqs from '@aws-cdk/aws-sqs';\n\ndeclare const redriveAllowPolicy: any;\ndeclare const redrivePolicy: any;\nconst cfnQueueProps: sqs.CfnQueueProps = {\n contentBasedDeduplication: false,\n deduplicationScope: 'deduplicationScope',\n delaySeconds: 123,\n fifoQueue: false,\n fifoThroughputLimit: 'fifoThroughputLimit',\n kmsDataKeyReusePeriodSeconds: 123,\n kmsMasterKeyId: 'kmsMasterKeyId',\n maximumMessageSize: 123,\n messageRetentionPeriod: 123,\n queueName: 'queueName',\n receiveMessageWaitTimeSeconds: 123,\n redriveAllowPolicy: redriveAllowPolicy,\n redrivePolicy: redrivePolicy,\n sqsManagedSseEnabled: false,\n tags: [{\n key: 'key',\n value: 'value',\n }],\n visibilityTimeout: 123,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-sqs.CfnQueueProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-sqs.CfnQueueProps"],"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 sqs from '@aws-cdk/aws-sqs';\n\ndeclare const redriveAllowPolicy: any;\ndeclare const redrivePolicy: 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 cfnQueueProps: sqs.CfnQueueProps = {\n contentBasedDeduplication: false,\n deduplicationScope: 'deduplicationScope',\n delaySeconds: 123,\n fifoQueue: false,\n fifoThroughputLimit: 'fifoThroughputLimit',\n kmsDataKeyReusePeriodSeconds: 123,\n kmsMasterKeyId: 'kmsMasterKeyId',\n maximumMessageSize: 123,\n messageRetentionPeriod: 123,\n queueName: 'queueName',\n receiveMessageWaitTimeSeconds: 123,\n redriveAllowPolicy: redriveAllowPolicy,\n redrivePolicy: redrivePolicy,\n sqsManagedSseEnabled: false,\n tags: [{\n key: 'key',\n value: 'value',\n }],\n visibilityTimeout: 123,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":6,"10":7,"75":26,"91":3,"125":2,"130":2,"153":1,"169":1,"192":1,"193":2,"225":3,"242":3,"243":3,"254":1,"255":1,"256":1,"281":18,"290":1},"fqnsFingerprint":"f5273fda4699d4842634f6e2c999ec896e6b05d491a83d6d0e0f2b840c64bd78"},"b3b5e708ea7cdcafc7480ed2dff834b020ce4bd9e279068410f4b11fabaab78a":{"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_sqs as sqs\n\n# queue: sqs.Queue\n\ndead_letter_queue = sqs.DeadLetterQueue(\n max_receive_count=123,\n queue=queue\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.SQS;\n\nQueue queue;\n\nvar deadLetterQueue = new DeadLetterQueue {\n MaxReceiveCount = 123,\n Queue = queue\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.sqs.*;\n\nQueue queue;\n\nDeadLetterQueue deadLetterQueue = DeadLetterQueue.builder()\n .maxReceiveCount(123)\n .queue(queue)\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 sqs \"github.com/aws-samples/dummy/awscdkawssqs\"\n\nvar queue queue\n\ndeadLetterQueue := &DeadLetterQueue{\n\tMaxReceiveCount: jsii.Number(123),\n\tQueue: queue,\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 sqs from '@aws-cdk/aws-sqs';\n\ndeclare const queue: sqs.Queue;\nconst deadLetterQueue: sqs.DeadLetterQueue = {\n maxReceiveCount: 123,\n queue: queue,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-sqs.DeadLetterQueue"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-sqs.DeadLetterQueue","@aws-cdk/aws-sqs.IQueue"],"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 sqs from '@aws-cdk/aws-sqs';\n\ndeclare const queue: sqs.Queue;\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 deadLetterQueue: sqs.DeadLetterQueue = {\n maxReceiveCount: 123,\n queue: queue,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":1,"10":1,"75":10,"130":1,"153":2,"169":2,"193":1,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"0bfe66a206ebe0e567fba75391e5626d25fe2da5d1766b92f28a2cb0b8319738"},"e6d46316111298d9fa97a4140c4c639bc5188227d78efe17f11dbf726fe88a47":{"translations":{"python":{"source":"# An sqs queue for unsuccessful invocations of a lambda function\nimport aws_cdk.aws_sqs as sqs\n\n\ndead_letter_queue = sqs.Queue(self, \"DeadLetterQueue\")\n\nmy_fn = lambda_.Function(self, \"Fn\",\n runtime=lambda_.Runtime.NODEJS_14_X,\n handler=\"index.handler\",\n code=lambda_.Code.from_inline(\"// your code\"),\n # sqs queue for unsuccessful invocations\n on_failure=destinations.SqsDestination(dead_letter_queue)\n)","version":"2"},"csharp":{"source":"// An sqs queue for unsuccessful invocations of a lambda function\nusing Amazon.CDK.AWS.SQS;\n\n\nvar deadLetterQueue = new Queue(this, \"DeadLetterQueue\");\n\nvar myFn = new Function(this, \"Fn\", new FunctionProps {\n Runtime = Runtime.NODEJS_14_X,\n Handler = \"index.handler\",\n Code = Code.FromInline(\"// your code\"),\n // sqs queue for unsuccessful invocations\n OnFailure = new SqsDestination(deadLetterQueue)\n});","version":"1"},"java":{"source":"// An sqs queue for unsuccessful invocations of a lambda function\nimport software.amazon.awscdk.services.sqs.*;\n\n\nQueue deadLetterQueue = new Queue(this, \"DeadLetterQueue\");\n\nFunction myFn = Function.Builder.create(this, \"Fn\")\n .runtime(Runtime.NODEJS_14_X)\n .handler(\"index.handler\")\n .code(Code.fromInline(\"// your code\"))\n // sqs queue for unsuccessful invocations\n .onFailure(new SqsDestination(deadLetterQueue))\n .build();","version":"1"},"go":{"source":"// An sqs queue for unsuccessful invocations of a lambda function\nimport sqs \"github.com/aws-samples/dummy/awscdkawssqs\"\n\n\ndeadLetterQueue := sqs.NewQueue(this, jsii.String(\"DeadLetterQueue\"))\n\nmyFn := lambda.NewFunction(this, jsii.String(\"Fn\"), &FunctionProps{\n\tRuntime: lambda.Runtime_NODEJS_14_X(),\n\tHandler: jsii.String(\"index.handler\"),\n\tCode: lambda.Code_FromInline(jsii.String(\"// your code\")),\n\t// sqs queue for unsuccessful invocations\n\tOnFailure: destinations.NewSqsDestination(deadLetterQueue),\n})","version":"1"},"$":{"source":"// An sqs queue for unsuccessful invocations of a lambda function\nimport * as sqs from '@aws-cdk/aws-sqs';\n\nconst deadLetterQueue = new sqs.Queue(this, 'DeadLetterQueue');\n\nconst myFn = new lambda.Function(this, 'Fn', {\n runtime: lambda.Runtime.NODEJS_14_X,\n handler: 'index.handler',\n code: lambda.Code.fromInline('// your code'),\n // sqs queue for unsuccessful invocations\n onFailure: new destinations.SqsDestination(deadLetterQueue),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-sqs.Queue"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-lambda-destinations.SqsDestination","@aws-cdk/aws-lambda.Code","@aws-cdk/aws-lambda.Code#fromInline","@aws-cdk/aws-lambda.Function","@aws-cdk/aws-lambda.FunctionProps","@aws-cdk/aws-lambda.IDestination","@aws-cdk/aws-lambda.Runtime","@aws-cdk/aws-lambda.Runtime#NODEJS_14_X","@aws-cdk/aws-sqs.IQueue","@aws-cdk/aws-sqs.Queue","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// An sqs queue for unsuccessful invocations of a lambda function\nimport * as sqs from '@aws-cdk/aws-sqs';\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport * as lambda from '@aws-cdk/aws-lambda';\nimport * as destinations from '@aws-cdk/aws-lambda-destinations';\nimport * as path from 'path';\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 deadLetterQueue = new sqs.Queue(this, 'DeadLetterQueue');\n\nconst myFn = new lambda.Function(this, 'Fn', {\n runtime: lambda.Runtime.NODEJS_14_X,\n handler: 'index.handler',\n code: lambda.Code.fromInline('// your code'),\n // sqs queue for unsuccessful invocations\n onFailure: new destinations.SqsDestination(deadLetterQueue),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":5,"75":20,"104":2,"193":1,"194":7,"196":1,"197":3,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"281":4,"290":1},"fqnsFingerprint":"0f0c147d74edd1ccc14b682688e2672f1e92ff4d311dbb5c4bf365de13bf72f5"},"b763b91ab1936485361dddbdac909b2fc102014e3f7db9449d5e01e874dc1e3f":{"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_sqs as sqs\n\nqueue_attributes = sqs.QueueAttributes(\n queue_arn=\"queueArn\",\n\n # the properties below are optional\n fifo=False,\n key_arn=\"keyArn\",\n queue_name=\"queueName\",\n queue_url=\"queueUrl\"\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.SQS;\n\nvar queueAttributes = new QueueAttributes {\n QueueArn = \"queueArn\",\n\n // the properties below are optional\n Fifo = false,\n KeyArn = \"keyArn\",\n QueueName = \"queueName\",\n QueueUrl = \"queueUrl\"\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.sqs.*;\n\nQueueAttributes queueAttributes = QueueAttributes.builder()\n .queueArn(\"queueArn\")\n\n // the properties below are optional\n .fifo(false)\n .keyArn(\"keyArn\")\n .queueName(\"queueName\")\n .queueUrl(\"queueUrl\")\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 sqs \"github.com/aws-samples/dummy/awscdkawssqs\"\n\nqueueAttributes := &QueueAttributes{\n\tQueueArn: jsii.String(\"queueArn\"),\n\n\t// the properties below are optional\n\tFifo: jsii.Boolean(false),\n\tKeyArn: jsii.String(\"keyArn\"),\n\tQueueName: jsii.String(\"queueName\"),\n\tQueueUrl: jsii.String(\"queueUrl\"),\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 sqs from '@aws-cdk/aws-sqs';\nconst queueAttributes: sqs.QueueAttributes = {\n queueArn: 'queueArn',\n\n // the properties below are optional\n fifo: false,\n keyArn: 'keyArn',\n queueName: 'queueName',\n queueUrl: 'queueUrl',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-sqs.QueueAttributes"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-sqs.QueueAttributes"],"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 sqs from '@aws-cdk/aws-sqs';\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 queueAttributes: sqs.QueueAttributes = {\n queueArn: 'queueArn',\n\n // the properties below are optional\n fifo: false,\n keyArn: 'keyArn',\n queueName: 'queueName',\n queueUrl: 'queueUrl',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":5,"75":9,"91":1,"153":1,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":5,"290":1},"fqnsFingerprint":"85e8b6903bf84737bf17cbd794dc310a151993056487edb511c5389fdcdad5b3"},"a12bdb65eb082f2a609a9b14f1b5bae3bc65bccb08302ce44afa78d8a9a5c0d2":{"translations":{"python":{"source":"# Use managed key\nsqs.Queue(self, \"Queue\",\n encryption=sqs.QueueEncryption.KMS_MANAGED\n)\n\n# Use custom key\nmy_key = kms.Key(self, \"Key\")\n\nsqs.Queue(self, \"Queue\",\n encryption=sqs.QueueEncryption.KMS,\n encryption_master_key=my_key\n)","version":"2"},"csharp":{"source":"// Use managed key\n// Use managed key\nnew Queue(this, \"Queue\", new QueueProps {\n Encryption = QueueEncryption.KMS_MANAGED\n});\n\n// Use custom key\nvar myKey = new Key(this, \"Key\");\n\nnew Queue(this, \"Queue\", new QueueProps {\n Encryption = QueueEncryption.KMS,\n EncryptionMasterKey = myKey\n});","version":"1"},"java":{"source":"// Use managed key\n// Use managed key\nQueue.Builder.create(this, \"Queue\")\n .encryption(QueueEncryption.KMS_MANAGED)\n .build();\n\n// Use custom key\nKey myKey = new Key(this, \"Key\");\n\nQueue.Builder.create(this, \"Queue\")\n .encryption(QueueEncryption.KMS)\n .encryptionMasterKey(myKey)\n .build();","version":"1"},"go":{"source":"// Use managed key\n// Use managed key\nsqs.NewQueue(this, jsii.String(\"Queue\"), &QueueProps{\n\tEncryption: sqs.QueueEncryption_KMS_MANAGED,\n})\n\n// Use custom key\nmyKey := kms.NewKey(this, jsii.String(\"Key\"))\n\nsqs.NewQueue(this, jsii.String(\"Queue\"), &QueueProps{\n\tEncryption: sqs.QueueEncryption_KMS,\n\tEncryptionMasterKey: myKey,\n})","version":"1"},"$":{"source":"// Use managed key\nnew sqs.Queue(this, 'Queue', {\n encryption: sqs.QueueEncryption.KMS_MANAGED,\n});\n\n// Use custom key\nconst myKey = new kms.Key(this, 'Key');\n\nnew sqs.Queue(this, 'Queue', {\n encryption: sqs.QueueEncryption.KMS,\n encryptionMasterKey: myKey,\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-sqs.QueueEncryption"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-kms.IKey","@aws-cdk/aws-kms.Key","@aws-cdk/aws-sqs.Queue","@aws-cdk/aws-sqs.QueueEncryption","@aws-cdk/aws-sqs.QueueEncryption#KMS","@aws-cdk/aws-sqs.QueueEncryption#KMS_MANAGED","@aws-cdk/aws-sqs.QueueProps","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport sqs = require('@aws-cdk/aws-sqs');\nimport kms = require('@aws-cdk/aws-kms');\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// Use managed key\nnew sqs.Queue(this, 'Queue', {\n encryption: sqs.QueueEncryption.KMS_MANAGED,\n});\n\n// Use custom key\nconst myKey = new kms.Key(this, 'Key');\n\nnew sqs.Queue(this, 'Queue', {\n encryption: sqs.QueueEncryption.KMS,\n encryptionMasterKey: myKey,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":3,"75":17,"104":3,"193":2,"194":7,"197":3,"225":1,"226":2,"242":1,"243":1,"281":3},"fqnsFingerprint":"f0a125a218f1046d1cbf1e5f4514e042d6ebff8355a24aef580fbf2093665246"},"bb8b8d587b5956d8e3133075077c3d3272c4e5c4dccbd58f00126b01b3cfbc67":{"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_sqs as sqs\n\n# queue: sqs.Queue\n\nqueue_policy = sqs.QueuePolicy(self, \"MyQueuePolicy\",\n queues=[queue]\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.SQS;\n\nQueue queue;\n\nvar queuePolicy = new QueuePolicy(this, \"MyQueuePolicy\", new QueuePolicyProps {\n Queues = new [] { queue }\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.sqs.*;\n\nQueue queue;\n\nQueuePolicy queuePolicy = QueuePolicy.Builder.create(this, \"MyQueuePolicy\")\n .queues(List.of(queue))\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 sqs \"github.com/aws-samples/dummy/awscdkawssqs\"\n\nvar queue queue\n\nqueuePolicy := sqs.NewQueuePolicy(this, jsii.String(\"MyQueuePolicy\"), &QueuePolicyProps{\n\tQueues: []iQueue{\n\t\tqueue,\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 sqs from '@aws-cdk/aws-sqs';\n\ndeclare const queue: sqs.Queue;\nconst queuePolicy = new sqs.QueuePolicy(this, 'MyQueuePolicy', {\n queues: [queue],\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-sqs.QueuePolicy"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-sqs.QueuePolicy","@aws-cdk/aws-sqs.QueuePolicyProps","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 sqs from '@aws-cdk/aws-sqs';\n\ndeclare const queue: sqs.Queue;\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 queuePolicy = new sqs.QueuePolicy(this, 'MyQueuePolicy', {\n queues: [queue],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":9,"104":1,"130":1,"153":1,"169":1,"192":1,"193":1,"194":1,"197":1,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"281":1,"290":1},"fqnsFingerprint":"bc43887a913f8a2464dcfe87df4193e64e3538327b06c77950e725dd592d6684"},"2999c1a3adf7f451caded7a464817638d50e7827a87c3894000ffee5a23cf69a":{"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_sqs as sqs\n\n# queue: sqs.Queue\n\nqueue_policy_props = sqs.QueuePolicyProps(\n queues=[queue]\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.SQS;\n\nQueue queue;\n\nvar queuePolicyProps = new QueuePolicyProps {\n Queues = new [] { queue }\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.sqs.*;\n\nQueue queue;\n\nQueuePolicyProps queuePolicyProps = QueuePolicyProps.builder()\n .queues(List.of(queue))\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 sqs \"github.com/aws-samples/dummy/awscdkawssqs\"\n\nvar queue queue\n\nqueuePolicyProps := &QueuePolicyProps{\n\tQueues: []iQueue{\n\t\tqueue,\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 sqs from '@aws-cdk/aws-sqs';\n\ndeclare const queue: sqs.Queue;\nconst queuePolicyProps: sqs.QueuePolicyProps = {\n queues: [queue],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-sqs.QueuePolicyProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-sqs.QueuePolicyProps"],"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 sqs from '@aws-cdk/aws-sqs';\n\ndeclare const queue: sqs.Queue;\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 queuePolicyProps: sqs.QueuePolicyProps = {\n queues: [queue],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":1,"75":9,"130":1,"153":2,"169":2,"192":1,"193":1,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"281":1,"290":1},"fqnsFingerprint":"18db66e9089504c829ab5416b92fa22f6ac0307681380d08cfcf82378b1fcb08"},"27fcd574e62648b88418f50aa3760dcf4715a0c0c1b15b8c222efe9c5ea1d51c":{"translations":{"python":{"source":"# Use managed key\nsqs.Queue(self, \"Queue\",\n encryption=sqs.QueueEncryption.KMS_MANAGED\n)\n\n# Use custom key\nmy_key = kms.Key(self, \"Key\")\n\nsqs.Queue(self, \"Queue\",\n encryption=sqs.QueueEncryption.KMS,\n encryption_master_key=my_key\n)","version":"2"},"csharp":{"source":"// Use managed key\n// Use managed key\nnew Queue(this, \"Queue\", new QueueProps {\n Encryption = QueueEncryption.KMS_MANAGED\n});\n\n// Use custom key\nvar myKey = new Key(this, \"Key\");\n\nnew Queue(this, \"Queue\", new QueueProps {\n Encryption = QueueEncryption.KMS,\n EncryptionMasterKey = myKey\n});","version":"1"},"java":{"source":"// Use managed key\n// Use managed key\nQueue.Builder.create(this, \"Queue\")\n .encryption(QueueEncryption.KMS_MANAGED)\n .build();\n\n// Use custom key\nKey myKey = new Key(this, \"Key\");\n\nQueue.Builder.create(this, \"Queue\")\n .encryption(QueueEncryption.KMS)\n .encryptionMasterKey(myKey)\n .build();","version":"1"},"go":{"source":"// Use managed key\n// Use managed key\nsqs.NewQueue(this, jsii.String(\"Queue\"), &QueueProps{\n\tEncryption: sqs.QueueEncryption_KMS_MANAGED,\n})\n\n// Use custom key\nmyKey := kms.NewKey(this, jsii.String(\"Key\"))\n\nsqs.NewQueue(this, jsii.String(\"Queue\"), &QueueProps{\n\tEncryption: sqs.QueueEncryption_KMS,\n\tEncryptionMasterKey: myKey,\n})","version":"1"},"$":{"source":"// Use managed key\nnew sqs.Queue(this, 'Queue', {\n encryption: sqs.QueueEncryption.KMS_MANAGED,\n});\n\n// Use custom key\nconst myKey = new kms.Key(this, 'Key');\n\nnew sqs.Queue(this, 'Queue', {\n encryption: sqs.QueueEncryption.KMS,\n encryptionMasterKey: myKey,\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-sqs.QueueProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-kms.IKey","@aws-cdk/aws-kms.Key","@aws-cdk/aws-sqs.Queue","@aws-cdk/aws-sqs.QueueEncryption","@aws-cdk/aws-sqs.QueueEncryption#KMS","@aws-cdk/aws-sqs.QueueEncryption#KMS_MANAGED","@aws-cdk/aws-sqs.QueueProps","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport sqs = require('@aws-cdk/aws-sqs');\nimport kms = require('@aws-cdk/aws-kms');\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// Use managed key\nnew sqs.Queue(this, 'Queue', {\n encryption: sqs.QueueEncryption.KMS_MANAGED,\n});\n\n// Use custom key\nconst myKey = new kms.Key(this, 'Key');\n\nnew sqs.Queue(this, 'Queue', {\n encryption: sqs.QueueEncryption.KMS,\n encryptionMasterKey: myKey,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":3,"75":17,"104":3,"193":2,"194":7,"197":3,"225":1,"226":2,"242":1,"243":1,"281":3},"fqnsFingerprint":"f0a125a218f1046d1cbf1e5f4514e042d6ebff8355a24aef580fbf2093665246"}}}
\No newline at end of file