{"version":"2","toolVersion":"1.84.0","snippets":{"6c16d2046ab8223b5e764ef3dd5071a2bb5392c9aca020f9fce2bb2e53119b0f":{"translations":{"python":{"source":"import aws_cdk.aws_networkfirewall as networkfirewall","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.NetworkFirewall;","version":"1"},"java":{"source":"import software.amazon.awscdk.services.networkfirewall.*;","version":"1"},"go":{"source":"import networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"","version":"1"},"$":{"source":"import * as networkfirewall from '@aws-cdk/aws-networkfirewall';","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-networkfirewall"},"field":{"field":"markdown","line":21}},"didCompile":true,"fqnsReferenced":[],"fullSource":"import * as networkfirewall from '@aws-cdk/aws-networkfirewall';","syntaxKindCounter":{"10":1,"75":1,"254":1,"255":1,"256":1,"290":1},"fqnsFingerprint":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},"c1f914b28d9d1421707cbcf2ae794ba4ac2fa1bd99359f4745fa3b9423f1c108":{"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_networkfirewall as networkfirewall\n\ncfn_firewall = networkfirewall.CfnFirewall(self, \"MyCfnFirewall\",\n firewall_name=\"firewallName\",\n firewall_policy_arn=\"firewallPolicyArn\",\n subnet_mappings=[networkfirewall.CfnFirewall.SubnetMappingProperty(\n subnet_id=\"subnetId\",\n\n # the properties below are optional\n ip_address_type=\"ipAddressType\"\n )],\n vpc_id=\"vpcId\",\n\n # the properties below are optional\n delete_protection=False,\n description=\"description\",\n firewall_policy_change_protection=False,\n subnet_change_protection=False,\n tags=[CfnTag(\n key=\"key\",\n value=\"value\"\n )]\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.NetworkFirewall;\n\nvar cfnFirewall = new CfnFirewall(this, \"MyCfnFirewall\", new CfnFirewallProps {\n FirewallName = \"firewallName\",\n FirewallPolicyArn = \"firewallPolicyArn\",\n SubnetMappings = new [] { new SubnetMappingProperty {\n SubnetId = \"subnetId\",\n\n // the properties below are optional\n IpAddressType = \"ipAddressType\"\n } },\n VpcId = \"vpcId\",\n\n // the properties below are optional\n DeleteProtection = false,\n Description = \"description\",\n FirewallPolicyChangeProtection = false,\n SubnetChangeProtection = false,\n Tags = new [] { new CfnTag {\n Key = \"key\",\n Value = \"value\"\n } }\n});","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.networkfirewall.*;\n\nCfnFirewall cfnFirewall = CfnFirewall.Builder.create(this, \"MyCfnFirewall\")\n .firewallName(\"firewallName\")\n .firewallPolicyArn(\"firewallPolicyArn\")\n .subnetMappings(List.of(SubnetMappingProperty.builder()\n .subnetId(\"subnetId\")\n\n // the properties below are optional\n .ipAddressType(\"ipAddressType\")\n .build()))\n .vpcId(\"vpcId\")\n\n // the properties below are optional\n .deleteProtection(false)\n .description(\"description\")\n .firewallPolicyChangeProtection(false)\n .subnetChangeProtection(false)\n .tags(List.of(CfnTag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\ncfnFirewall := networkfirewall.NewCfnFirewall(this, jsii.String(\"MyCfnFirewall\"), &CfnFirewallProps{\n\tFirewallName: jsii.String(\"firewallName\"),\n\tFirewallPolicyArn: jsii.String(\"firewallPolicyArn\"),\n\tSubnetMappings: []interface{}{\n\t\t&SubnetMappingProperty{\n\t\t\tSubnetId: jsii.String(\"subnetId\"),\n\n\t\t\t// the properties below are optional\n\t\t\tIpAddressType: jsii.String(\"ipAddressType\"),\n\t\t},\n\t},\n\tVpcId: jsii.String(\"vpcId\"),\n\n\t// the properties below are optional\n\tDeleteProtection: jsii.Boolean(false),\n\tDescription: jsii.String(\"description\"),\n\tFirewallPolicyChangeProtection: jsii.Boolean(false),\n\tSubnetChangeProtection: 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})","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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst cfnFirewall = new networkfirewall.CfnFirewall(this, 'MyCfnFirewall', {\n firewallName: 'firewallName',\n firewallPolicyArn: 'firewallPolicyArn',\n subnetMappings: [{\n subnetId: 'subnetId',\n\n // the properties below are optional\n ipAddressType: 'ipAddressType',\n }],\n vpcId: 'vpcId',\n\n // the properties below are optional\n deleteProtection: false,\n description: 'description',\n firewallPolicyChangeProtection: false,\n subnetChangeProtection: false,\n tags: [{\n key: 'key',\n value: 'value',\n }],\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnFirewall"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnFirewall","@aws-cdk/aws-networkfirewall.CfnFirewallProps","@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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 cfnFirewall = new networkfirewall.CfnFirewall(this, 'MyCfnFirewall', {\n firewallName: 'firewallName',\n firewallPolicyArn: 'firewallPolicyArn',\n subnetMappings: [{\n subnetId: 'subnetId',\n\n // the properties below are optional\n ipAddressType: 'ipAddressType',\n }],\n vpcId: 'vpcId',\n\n // the properties below are optional\n deleteProtection: false,\n description: 'description',\n firewallPolicyChangeProtection: false,\n subnetChangeProtection: false,\n tags: [{\n key: 'key',\n value: 'value',\n }],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":10,"75":17,"91":3,"104":1,"192":2,"193":3,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":13,"290":1},"fqnsFingerprint":"40b7ea8dcf2b1db32d892d6597c4797508f80cdfddf5ef99d7313460105dd1c3"},"75b4225dbc3f2390ba929f943e76daaed57eaf7f5552f6747f71b27b6df09e36":{"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_networkfirewall as networkfirewall\n\nsubnet_mapping_property = networkfirewall.CfnFirewall.SubnetMappingProperty(\n subnet_id=\"subnetId\",\n\n # the properties below are optional\n ip_address_type=\"ipAddressType\"\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.NetworkFirewall;\n\nvar subnetMappingProperty = new SubnetMappingProperty {\n SubnetId = \"subnetId\",\n\n // the properties below are optional\n IpAddressType = \"ipAddressType\"\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.networkfirewall.*;\n\nSubnetMappingProperty subnetMappingProperty = SubnetMappingProperty.builder()\n .subnetId(\"subnetId\")\n\n // the properties below are optional\n .ipAddressType(\"ipAddressType\")\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nsubnetMappingProperty := &SubnetMappingProperty{\n\tSubnetId: jsii.String(\"subnetId\"),\n\n\t// the properties below are optional\n\tIpAddressType: jsii.String(\"ipAddressType\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst subnetMappingProperty: networkfirewall.CfnFirewall.SubnetMappingProperty = {\n subnetId: 'subnetId',\n\n // the properties below are optional\n ipAddressType: 'ipAddressType',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnFirewall.SubnetMappingProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnFirewall.SubnetMappingProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 subnetMappingProperty: networkfirewall.CfnFirewall.SubnetMappingProperty = {\n subnetId: 'subnetId',\n\n // the properties below are optional\n ipAddressType: 'ipAddressType',\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":"cbee324c379e48c596a16130c4b06120c360b25589f00ef91089eae1aa612c55"},"b75ceaf0581a8aeff408745d92cca81e899eaf7e5a8a61cf810a01f56746296e":{"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_networkfirewall as networkfirewall\n\ncfn_firewall_policy = networkfirewall.CfnFirewallPolicy(self, \"MyCfnFirewallPolicy\",\n firewall_policy=networkfirewall.CfnFirewallPolicy.FirewallPolicyProperty(\n stateless_default_actions=[\"statelessDefaultActions\"],\n stateless_fragment_default_actions=[\"statelessFragmentDefaultActions\"],\n\n # the properties below are optional\n policy_variables=networkfirewall.CfnFirewallPolicy.PolicyVariablesProperty(\n rule_variables={\n \"rule_variables_key\": {\n \"definition\": [\"definition\"]\n }\n }\n ),\n stateful_default_actions=[\"statefulDefaultActions\"],\n stateful_engine_options=networkfirewall.CfnFirewallPolicy.StatefulEngineOptionsProperty(\n rule_order=\"ruleOrder\",\n stream_exception_policy=\"streamExceptionPolicy\"\n ),\n stateful_rule_group_references=[networkfirewall.CfnFirewallPolicy.StatefulRuleGroupReferenceProperty(\n resource_arn=\"resourceArn\",\n\n # the properties below are optional\n override=networkfirewall.CfnFirewallPolicy.StatefulRuleGroupOverrideProperty(\n action=\"action\"\n ),\n priority=123\n )],\n stateless_custom_actions=[networkfirewall.CfnFirewallPolicy.CustomActionProperty(\n action_definition=networkfirewall.CfnFirewallPolicy.ActionDefinitionProperty(\n publish_metric_action=networkfirewall.CfnFirewallPolicy.PublishMetricActionProperty(\n dimensions=[networkfirewall.CfnFirewallPolicy.DimensionProperty(\n value=\"value\"\n )]\n )\n ),\n action_name=\"actionName\"\n )],\n stateless_rule_group_references=[networkfirewall.CfnFirewallPolicy.StatelessRuleGroupReferenceProperty(\n priority=123,\n resource_arn=\"resourceArn\"\n )]\n ),\n firewall_policy_name=\"firewallPolicyName\",\n\n # the properties below are optional\n description=\"description\",\n tags=[CfnTag(\n key=\"key\",\n value=\"value\"\n )]\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.NetworkFirewall;\n\nvar cfnFirewallPolicy = new CfnFirewallPolicy(this, \"MyCfnFirewallPolicy\", new CfnFirewallPolicyProps {\n FirewallPolicy = new FirewallPolicyProperty {\n StatelessDefaultActions = new [] { \"statelessDefaultActions\" },\n StatelessFragmentDefaultActions = new [] { \"statelessFragmentDefaultActions\" },\n\n // the properties below are optional\n PolicyVariables = new PolicyVariablesProperty {\n RuleVariables = new Dictionary {\n { \"ruleVariablesKey\", new Dictionary {\n { \"definition\", new [] { \"definition\" } }\n } }\n }\n },\n StatefulDefaultActions = new [] { \"statefulDefaultActions\" },\n StatefulEngineOptions = new StatefulEngineOptionsProperty {\n RuleOrder = \"ruleOrder\",\n StreamExceptionPolicy = \"streamExceptionPolicy\"\n },\n StatefulRuleGroupReferences = new [] { new StatefulRuleGroupReferenceProperty {\n ResourceArn = \"resourceArn\",\n\n // the properties below are optional\n Override = new StatefulRuleGroupOverrideProperty {\n Action = \"action\"\n },\n Priority = 123\n } },\n StatelessCustomActions = new [] { new CustomActionProperty {\n ActionDefinition = new ActionDefinitionProperty {\n PublishMetricAction = new PublishMetricActionProperty {\n Dimensions = new [] { new DimensionProperty {\n Value = \"value\"\n } }\n }\n },\n ActionName = \"actionName\"\n } },\n StatelessRuleGroupReferences = new [] { new StatelessRuleGroupReferenceProperty {\n Priority = 123,\n ResourceArn = \"resourceArn\"\n } }\n },\n FirewallPolicyName = \"firewallPolicyName\",\n\n // the properties below are optional\n Description = \"description\",\n Tags = new [] { new CfnTag {\n Key = \"key\",\n Value = \"value\"\n } }\n});","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.networkfirewall.*;\n\nCfnFirewallPolicy cfnFirewallPolicy = CfnFirewallPolicy.Builder.create(this, \"MyCfnFirewallPolicy\")\n .firewallPolicy(FirewallPolicyProperty.builder()\n .statelessDefaultActions(List.of(\"statelessDefaultActions\"))\n .statelessFragmentDefaultActions(List.of(\"statelessFragmentDefaultActions\"))\n\n // the properties below are optional\n .policyVariables(PolicyVariablesProperty.builder()\n .ruleVariables(Map.of(\n \"ruleVariablesKey\", Map.of(\n \"definition\", List.of(\"definition\"))))\n .build())\n .statefulDefaultActions(List.of(\"statefulDefaultActions\"))\n .statefulEngineOptions(StatefulEngineOptionsProperty.builder()\n .ruleOrder(\"ruleOrder\")\n .streamExceptionPolicy(\"streamExceptionPolicy\")\n .build())\n .statefulRuleGroupReferences(List.of(StatefulRuleGroupReferenceProperty.builder()\n .resourceArn(\"resourceArn\")\n\n // the properties below are optional\n .override(StatefulRuleGroupOverrideProperty.builder()\n .action(\"action\")\n .build())\n .priority(123)\n .build()))\n .statelessCustomActions(List.of(CustomActionProperty.builder()\n .actionDefinition(ActionDefinitionProperty.builder()\n .publishMetricAction(PublishMetricActionProperty.builder()\n .dimensions(List.of(DimensionProperty.builder()\n .value(\"value\")\n .build()))\n .build())\n .build())\n .actionName(\"actionName\")\n .build()))\n .statelessRuleGroupReferences(List.of(StatelessRuleGroupReferenceProperty.builder()\n .priority(123)\n .resourceArn(\"resourceArn\")\n .build()))\n .build())\n .firewallPolicyName(\"firewallPolicyName\")\n\n // the properties below are optional\n .description(\"description\")\n .tags(List.of(CfnTag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\ncfnFirewallPolicy := networkfirewall.NewCfnFirewallPolicy(this, jsii.String(\"MyCfnFirewallPolicy\"), &CfnFirewallPolicyProps{\n\tFirewallPolicy: &FirewallPolicyProperty{\n\t\tStatelessDefaultActions: []*string{\n\t\t\tjsii.String(\"statelessDefaultActions\"),\n\t\t},\n\t\tStatelessFragmentDefaultActions: []*string{\n\t\t\tjsii.String(\"statelessFragmentDefaultActions\"),\n\t\t},\n\n\t\t// the properties below are optional\n\t\tPolicyVariables: &PolicyVariablesProperty{\n\t\t\tRuleVariables: map[string]interface{}{\n\t\t\t\t\"ruleVariablesKey\": map[string][]*string{\n\t\t\t\t\t\"definition\": []*string{\n\t\t\t\t\t\tjsii.String(\"definition\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tStatefulDefaultActions: []*string{\n\t\t\tjsii.String(\"statefulDefaultActions\"),\n\t\t},\n\t\tStatefulEngineOptions: &StatefulEngineOptionsProperty{\n\t\t\tRuleOrder: jsii.String(\"ruleOrder\"),\n\t\t\tStreamExceptionPolicy: jsii.String(\"streamExceptionPolicy\"),\n\t\t},\n\t\tStatefulRuleGroupReferences: []interface{}{\n\t\t\t&StatefulRuleGroupReferenceProperty{\n\t\t\t\tResourceArn: jsii.String(\"resourceArn\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tOverride: &StatefulRuleGroupOverrideProperty{\n\t\t\t\t\tAction: jsii.String(\"action\"),\n\t\t\t\t},\n\t\t\t\tPriority: jsii.Number(123),\n\t\t\t},\n\t\t},\n\t\tStatelessCustomActions: []interface{}{\n\t\t\t&CustomActionProperty{\n\t\t\t\tActionDefinition: &ActionDefinitionProperty{\n\t\t\t\t\tPublishMetricAction: &PublishMetricActionProperty{\n\t\t\t\t\t\tDimensions: []interface{}{\n\t\t\t\t\t\t\t&DimensionProperty{\n\t\t\t\t\t\t\t\tValue: jsii.String(\"value\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tActionName: jsii.String(\"actionName\"),\n\t\t\t},\n\t\t},\n\t\tStatelessRuleGroupReferences: []interface{}{\n\t\t\t&StatelessRuleGroupReferenceProperty{\n\t\t\t\tPriority: jsii.Number(123),\n\t\t\t\tResourceArn: jsii.String(\"resourceArn\"),\n\t\t\t},\n\t\t},\n\t},\n\tFirewallPolicyName: jsii.String(\"firewallPolicyName\"),\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tTags: []cfnTag{\n\t\t&cfnTag{\n\t\t\tKey: jsii.String(\"key\"),\n\t\t\tValue: jsii.String(\"value\"),\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst cfnFirewallPolicy = new networkfirewall.CfnFirewallPolicy(this, 'MyCfnFirewallPolicy', {\n firewallPolicy: {\n statelessDefaultActions: ['statelessDefaultActions'],\n statelessFragmentDefaultActions: ['statelessFragmentDefaultActions'],\n\n // the properties below are optional\n policyVariables: {\n ruleVariables: {\n ruleVariablesKey: {\n definition: ['definition'],\n },\n },\n },\n statefulDefaultActions: ['statefulDefaultActions'],\n statefulEngineOptions: {\n ruleOrder: 'ruleOrder',\n streamExceptionPolicy: 'streamExceptionPolicy',\n },\n statefulRuleGroupReferences: [{\n resourceArn: 'resourceArn',\n\n // the properties below are optional\n override: {\n action: 'action',\n },\n priority: 123,\n }],\n statelessCustomActions: [{\n actionDefinition: {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n },\n actionName: 'actionName',\n }],\n statelessRuleGroupReferences: [{\n priority: 123,\n resourceArn: 'resourceArn',\n }],\n },\n firewallPolicyName: 'firewallPolicyName',\n\n // the properties below are optional\n description: 'description',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnFirewallPolicy"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnFirewallPolicy","@aws-cdk/aws-networkfirewall.CfnFirewallPolicyProps","@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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 cfnFirewallPolicy = new networkfirewall.CfnFirewallPolicy(this, 'MyCfnFirewallPolicy', {\n firewallPolicy: {\n statelessDefaultActions: ['statelessDefaultActions'],\n statelessFragmentDefaultActions: ['statelessFragmentDefaultActions'],\n\n // the properties below are optional\n policyVariables: {\n ruleVariables: {\n ruleVariablesKey: {\n definition: ['definition'],\n },\n },\n },\n statefulDefaultActions: ['statefulDefaultActions'],\n statefulEngineOptions: {\n ruleOrder: 'ruleOrder',\n streamExceptionPolicy: 'streamExceptionPolicy',\n },\n statefulRuleGroupReferences: [{\n resourceArn: 'resourceArn',\n\n // the properties below are optional\n override: {\n action: 'action',\n },\n priority: 123,\n }],\n statelessCustomActions: [{\n actionDefinition: {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n },\n actionName: 'actionName',\n }],\n statelessRuleGroupReferences: [{\n priority: 123,\n resourceArn: 'resourceArn',\n }],\n },\n firewallPolicyName: 'firewallPolicyName',\n\n // the properties below are optional\n description: 'description',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":2,"10":17,"75":34,"104":1,"192":9,"193":14,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":30,"290":1},"fqnsFingerprint":"f74f27e31724a8ac04b7155f6da4219c8bdd5a0b73579f5948c6d702e6ff8fe7"},"ecc7d57307a7d328ea888ee40cc89b5d3b7be0e12e62df05493f89be8c1802cf":{"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_networkfirewall as networkfirewall\n\naction_definition_property = networkfirewall.CfnFirewallPolicy.ActionDefinitionProperty(\n publish_metric_action=networkfirewall.CfnFirewallPolicy.PublishMetricActionProperty(\n dimensions=[networkfirewall.CfnFirewallPolicy.DimensionProperty(\n value=\"value\"\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.NetworkFirewall;\n\nvar actionDefinitionProperty = new ActionDefinitionProperty {\n PublishMetricAction = new PublishMetricActionProperty {\n Dimensions = new [] { new DimensionProperty {\n Value = \"value\"\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.networkfirewall.*;\n\nActionDefinitionProperty actionDefinitionProperty = ActionDefinitionProperty.builder()\n .publishMetricAction(PublishMetricActionProperty.builder()\n .dimensions(List.of(DimensionProperty.builder()\n .value(\"value\")\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nactionDefinitionProperty := &ActionDefinitionProperty{\n\tPublishMetricAction: &PublishMetricActionProperty{\n\t\tDimensions: []interface{}{\n\t\t\t&DimensionProperty{\n\t\t\t\tValue: jsii.String(\"value\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst actionDefinitionProperty: networkfirewall.CfnFirewallPolicy.ActionDefinitionProperty = {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnFirewallPolicy.ActionDefinitionProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnFirewallPolicy.ActionDefinitionProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 actionDefinitionProperty: networkfirewall.CfnFirewallPolicy.ActionDefinitionProperty = {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":8,"153":2,"169":1,"192":1,"193":3,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":3,"290":1},"fqnsFingerprint":"b50273924cf587a93e735e8e7f78d0126a96661bed5c470c3368e29adb414efc"},"061ebf80bb21d522735a482c8c5dbe70acba13450326d4e7cdf8dac69f876b54":{"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_networkfirewall as networkfirewall\n\ncustom_action_property = networkfirewall.CfnFirewallPolicy.CustomActionProperty(\n action_definition=networkfirewall.CfnFirewallPolicy.ActionDefinitionProperty(\n publish_metric_action=networkfirewall.CfnFirewallPolicy.PublishMetricActionProperty(\n dimensions=[networkfirewall.CfnFirewallPolicy.DimensionProperty(\n value=\"value\"\n )]\n )\n ),\n action_name=\"actionName\"\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.NetworkFirewall;\n\nvar customActionProperty = new CustomActionProperty {\n ActionDefinition = new ActionDefinitionProperty {\n PublishMetricAction = new PublishMetricActionProperty {\n Dimensions = new [] { new DimensionProperty {\n Value = \"value\"\n } }\n }\n },\n ActionName = \"actionName\"\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.networkfirewall.*;\n\nCustomActionProperty customActionProperty = CustomActionProperty.builder()\n .actionDefinition(ActionDefinitionProperty.builder()\n .publishMetricAction(PublishMetricActionProperty.builder()\n .dimensions(List.of(DimensionProperty.builder()\n .value(\"value\")\n .build()))\n .build())\n .build())\n .actionName(\"actionName\")\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\ncustomActionProperty := &CustomActionProperty{\n\tActionDefinition: &ActionDefinitionProperty{\n\t\tPublishMetricAction: &PublishMetricActionProperty{\n\t\t\tDimensions: []interface{}{\n\t\t\t\t&DimensionProperty{\n\t\t\t\t\tValue: jsii.String(\"value\"),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n\tActionName: jsii.String(\"actionName\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst customActionProperty: networkfirewall.CfnFirewallPolicy.CustomActionProperty = {\n actionDefinition: {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n },\n actionName: 'actionName',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnFirewallPolicy.CustomActionProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnFirewallPolicy.CustomActionProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 customActionProperty: networkfirewall.CfnFirewallPolicy.CustomActionProperty = {\n actionDefinition: {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n },\n actionName: 'actionName',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":10,"153":2,"169":1,"192":1,"193":4,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":5,"290":1},"fqnsFingerprint":"7e4d68121a7c294a0339002dac0a06d04dd80091558c3b44c10c440411bdb672"},"af7cfb05766013e31b0e8fa8ac91fec3d312d086fc27ae5ebf46908b057b5a16":{"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_networkfirewall as networkfirewall\n\ndimension_property = networkfirewall.CfnFirewallPolicy.DimensionProperty(\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.NetworkFirewall;\n\nvar dimensionProperty = new DimensionProperty {\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.networkfirewall.*;\n\nDimensionProperty dimensionProperty = DimensionProperty.builder()\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\ndimensionProperty := &DimensionProperty{\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst dimensionProperty: networkfirewall.CfnFirewallPolicy.DimensionProperty = {\n value: 'value',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnFirewallPolicy.DimensionProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnFirewallPolicy.DimensionProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 dimensionProperty: networkfirewall.CfnFirewallPolicy.DimensionProperty = {\n value: 'value',\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":"a4ae4734340b7a33389c2ab9deedd8b1c5978d26d2a70bc3b4ec9318beb92664"},"f7c83f7b805f12b63883c2bc58c85d02bf641131cb660dbc642c30191e477622":{"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_networkfirewall as networkfirewall\n\nfirewall_policy_property = networkfirewall.CfnFirewallPolicy.FirewallPolicyProperty(\n stateless_default_actions=[\"statelessDefaultActions\"],\n stateless_fragment_default_actions=[\"statelessFragmentDefaultActions\"],\n\n # the properties below are optional\n policy_variables=networkfirewall.CfnFirewallPolicy.PolicyVariablesProperty(\n rule_variables={\n \"rule_variables_key\": {\n \"definition\": [\"definition\"]\n }\n }\n ),\n stateful_default_actions=[\"statefulDefaultActions\"],\n stateful_engine_options=networkfirewall.CfnFirewallPolicy.StatefulEngineOptionsProperty(\n rule_order=\"ruleOrder\",\n stream_exception_policy=\"streamExceptionPolicy\"\n ),\n stateful_rule_group_references=[networkfirewall.CfnFirewallPolicy.StatefulRuleGroupReferenceProperty(\n resource_arn=\"resourceArn\",\n\n # the properties below are optional\n override=networkfirewall.CfnFirewallPolicy.StatefulRuleGroupOverrideProperty(\n action=\"action\"\n ),\n priority=123\n )],\n stateless_custom_actions=[networkfirewall.CfnFirewallPolicy.CustomActionProperty(\n action_definition=networkfirewall.CfnFirewallPolicy.ActionDefinitionProperty(\n publish_metric_action=networkfirewall.CfnFirewallPolicy.PublishMetricActionProperty(\n dimensions=[networkfirewall.CfnFirewallPolicy.DimensionProperty(\n value=\"value\"\n )]\n )\n ),\n action_name=\"actionName\"\n )],\n stateless_rule_group_references=[networkfirewall.CfnFirewallPolicy.StatelessRuleGroupReferenceProperty(\n priority=123,\n resource_arn=\"resourceArn\"\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.NetworkFirewall;\n\nvar firewallPolicyProperty = new FirewallPolicyProperty {\n StatelessDefaultActions = new [] { \"statelessDefaultActions\" },\n StatelessFragmentDefaultActions = new [] { \"statelessFragmentDefaultActions\" },\n\n // the properties below are optional\n PolicyVariables = new PolicyVariablesProperty {\n RuleVariables = new Dictionary {\n { \"ruleVariablesKey\", new Dictionary {\n { \"definition\", new [] { \"definition\" } }\n } }\n }\n },\n StatefulDefaultActions = new [] { \"statefulDefaultActions\" },\n StatefulEngineOptions = new StatefulEngineOptionsProperty {\n RuleOrder = \"ruleOrder\",\n StreamExceptionPolicy = \"streamExceptionPolicy\"\n },\n StatefulRuleGroupReferences = new [] { new StatefulRuleGroupReferenceProperty {\n ResourceArn = \"resourceArn\",\n\n // the properties below are optional\n Override = new StatefulRuleGroupOverrideProperty {\n Action = \"action\"\n },\n Priority = 123\n } },\n StatelessCustomActions = new [] { new CustomActionProperty {\n ActionDefinition = new ActionDefinitionProperty {\n PublishMetricAction = new PublishMetricActionProperty {\n Dimensions = new [] { new DimensionProperty {\n Value = \"value\"\n } }\n }\n },\n ActionName = \"actionName\"\n } },\n StatelessRuleGroupReferences = new [] { new StatelessRuleGroupReferenceProperty {\n Priority = 123,\n ResourceArn = \"resourceArn\"\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.networkfirewall.*;\n\nFirewallPolicyProperty firewallPolicyProperty = FirewallPolicyProperty.builder()\n .statelessDefaultActions(List.of(\"statelessDefaultActions\"))\n .statelessFragmentDefaultActions(List.of(\"statelessFragmentDefaultActions\"))\n\n // the properties below are optional\n .policyVariables(PolicyVariablesProperty.builder()\n .ruleVariables(Map.of(\n \"ruleVariablesKey\", Map.of(\n \"definition\", List.of(\"definition\"))))\n .build())\n .statefulDefaultActions(List.of(\"statefulDefaultActions\"))\n .statefulEngineOptions(StatefulEngineOptionsProperty.builder()\n .ruleOrder(\"ruleOrder\")\n .streamExceptionPolicy(\"streamExceptionPolicy\")\n .build())\n .statefulRuleGroupReferences(List.of(StatefulRuleGroupReferenceProperty.builder()\n .resourceArn(\"resourceArn\")\n\n // the properties below are optional\n .override(StatefulRuleGroupOverrideProperty.builder()\n .action(\"action\")\n .build())\n .priority(123)\n .build()))\n .statelessCustomActions(List.of(CustomActionProperty.builder()\n .actionDefinition(ActionDefinitionProperty.builder()\n .publishMetricAction(PublishMetricActionProperty.builder()\n .dimensions(List.of(DimensionProperty.builder()\n .value(\"value\")\n .build()))\n .build())\n .build())\n .actionName(\"actionName\")\n .build()))\n .statelessRuleGroupReferences(List.of(StatelessRuleGroupReferenceProperty.builder()\n .priority(123)\n .resourceArn(\"resourceArn\")\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nfirewallPolicyProperty := &FirewallPolicyProperty{\n\tStatelessDefaultActions: []*string{\n\t\tjsii.String(\"statelessDefaultActions\"),\n\t},\n\tStatelessFragmentDefaultActions: []*string{\n\t\tjsii.String(\"statelessFragmentDefaultActions\"),\n\t},\n\n\t// the properties below are optional\n\tPolicyVariables: &PolicyVariablesProperty{\n\t\tRuleVariables: map[string]interface{}{\n\t\t\t\"ruleVariablesKey\": map[string][]*string{\n\t\t\t\t\"definition\": []*string{\n\t\t\t\t\tjsii.String(\"definition\"),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n\tStatefulDefaultActions: []*string{\n\t\tjsii.String(\"statefulDefaultActions\"),\n\t},\n\tStatefulEngineOptions: &StatefulEngineOptionsProperty{\n\t\tRuleOrder: jsii.String(\"ruleOrder\"),\n\t\tStreamExceptionPolicy: jsii.String(\"streamExceptionPolicy\"),\n\t},\n\tStatefulRuleGroupReferences: []interface{}{\n\t\t&StatefulRuleGroupReferenceProperty{\n\t\t\tResourceArn: jsii.String(\"resourceArn\"),\n\n\t\t\t// the properties below are optional\n\t\t\tOverride: &StatefulRuleGroupOverrideProperty{\n\t\t\t\tAction: jsii.String(\"action\"),\n\t\t\t},\n\t\t\tPriority: jsii.Number(123),\n\t\t},\n\t},\n\tStatelessCustomActions: []interface{}{\n\t\t&CustomActionProperty{\n\t\t\tActionDefinition: &ActionDefinitionProperty{\n\t\t\t\tPublishMetricAction: &PublishMetricActionProperty{\n\t\t\t\t\tDimensions: []interface{}{\n\t\t\t\t\t\t&DimensionProperty{\n\t\t\t\t\t\t\tValue: jsii.String(\"value\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tActionName: jsii.String(\"actionName\"),\n\t\t},\n\t},\n\tStatelessRuleGroupReferences: []interface{}{\n\t\t&StatelessRuleGroupReferenceProperty{\n\t\t\tPriority: jsii.Number(123),\n\t\t\tResourceArn: jsii.String(\"resourceArn\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst firewallPolicyProperty: networkfirewall.CfnFirewallPolicy.FirewallPolicyProperty = {\n statelessDefaultActions: ['statelessDefaultActions'],\n statelessFragmentDefaultActions: ['statelessFragmentDefaultActions'],\n\n // the properties below are optional\n policyVariables: {\n ruleVariables: {\n ruleVariablesKey: {\n definition: ['definition'],\n },\n },\n },\n statefulDefaultActions: ['statefulDefaultActions'],\n statefulEngineOptions: {\n ruleOrder: 'ruleOrder',\n streamExceptionPolicy: 'streamExceptionPolicy',\n },\n statefulRuleGroupReferences: [{\n resourceArn: 'resourceArn',\n\n // the properties below are optional\n override: {\n action: 'action',\n },\n priority: 123,\n }],\n statelessCustomActions: [{\n actionDefinition: {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n },\n actionName: 'actionName',\n }],\n statelessRuleGroupReferences: [{\n priority: 123,\n resourceArn: 'resourceArn',\n }],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnFirewallPolicy.FirewallPolicyProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnFirewallPolicy.FirewallPolicyProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 firewallPolicyProperty: networkfirewall.CfnFirewallPolicy.FirewallPolicyProperty = {\n statelessDefaultActions: ['statelessDefaultActions'],\n statelessFragmentDefaultActions: ['statelessFragmentDefaultActions'],\n\n // the properties below are optional\n policyVariables: {\n ruleVariables: {\n ruleVariablesKey: {\n definition: ['definition'],\n },\n },\n },\n statefulDefaultActions: ['statefulDefaultActions'],\n statefulEngineOptions: {\n ruleOrder: 'ruleOrder',\n streamExceptionPolicy: 'streamExceptionPolicy',\n },\n statefulRuleGroupReferences: [{\n resourceArn: 'resourceArn',\n\n // the properties below are optional\n override: {\n action: 'action',\n },\n priority: 123,\n }],\n statelessCustomActions: [{\n actionDefinition: {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n },\n actionName: 'actionName',\n }],\n statelessRuleGroupReferences: [{\n priority: 123,\n resourceArn: 'resourceArn',\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":2,"10":12,"75":29,"153":2,"169":1,"192":8,"193":12,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":24,"290":1},"fqnsFingerprint":"5aabef8049f5b0eb4dd0f7854d3b5dcd1008d7423f5408d42d129945286cad28"},"4413084c9aaf97fc0a962bd7794347d2e7bba25b0b1b39c3c3e7b205858e3b06":{"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_networkfirewall as networkfirewall\n\ni_pSet_property = {\n \"definition\": [\"definition\"]\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.NetworkFirewall;\n\nvar iPSetProperty = new Dictionary {\n { \"definition\", new [] { \"definition\" } }\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.networkfirewall.*;\n\nIPSetProperty iPSetProperty = Map.of(\n \"definition\", List.of(\"definition\"));","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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\niPSetProperty := map[string][]*string{\n\t\"definition\": []*string{\n\t\tjsii.String(\"definition\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst iPSetProperty: networkfirewall.CfnFirewallPolicy.IPSetProperty = {\n definition: ['definition'],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnFirewallPolicy.IPSetProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnFirewallPolicy.IPSetProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 iPSetProperty: networkfirewall.CfnFirewallPolicy.IPSetProperty = {\n definition: ['definition'],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":6,"153":2,"169":1,"192":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":1,"290":1},"fqnsFingerprint":"a5202a6c05f383cd6978dfcd1b068125781658d4bff34bd6e89f15b21d4f64ab"},"acfa13ce6eb7a9f22bcc0c8c277bea4fa1e813562b6a80f06139be80fb00bcbd":{"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_networkfirewall as networkfirewall\n\npolicy_variables_property = networkfirewall.CfnFirewallPolicy.PolicyVariablesProperty(\n rule_variables={\n \"rule_variables_key\": {\n \"definition\": [\"definition\"]\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.NetworkFirewall;\n\nvar policyVariablesProperty = new PolicyVariablesProperty {\n RuleVariables = new Dictionary {\n { \"ruleVariablesKey\", new Dictionary {\n { \"definition\", new [] { \"definition\" } }\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.networkfirewall.*;\n\nPolicyVariablesProperty policyVariablesProperty = PolicyVariablesProperty.builder()\n .ruleVariables(Map.of(\n \"ruleVariablesKey\", Map.of(\n \"definition\", List.of(\"definition\"))))\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\npolicyVariablesProperty := &PolicyVariablesProperty{\n\tRuleVariables: map[string]interface{}{\n\t\t\"ruleVariablesKey\": map[string][]*string{\n\t\t\t\"definition\": []*string{\n\t\t\t\tjsii.String(\"definition\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst policyVariablesProperty: networkfirewall.CfnFirewallPolicy.PolicyVariablesProperty = {\n ruleVariables: {\n ruleVariablesKey: {\n definition: ['definition'],\n },\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnFirewallPolicy.PolicyVariablesProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnFirewallPolicy.PolicyVariablesProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 policyVariablesProperty: networkfirewall.CfnFirewallPolicy.PolicyVariablesProperty = {\n ruleVariables: {\n ruleVariablesKey: {\n definition: ['definition'],\n },\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":8,"153":2,"169":1,"192":1,"193":3,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":3,"290":1},"fqnsFingerprint":"717b470e67978e9f917c24b454b7da9a1c6d2e9f13bb474005fa7a5c2658181c"},"39f4ee7f289bc6c0cb07952b212806b8ab9c60296afe050caf0128e178d8fabb":{"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_networkfirewall as networkfirewall\n\npublish_metric_action_property = networkfirewall.CfnFirewallPolicy.PublishMetricActionProperty(\n dimensions=[networkfirewall.CfnFirewallPolicy.DimensionProperty(\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.NetworkFirewall;\n\nvar publishMetricActionProperty = new PublishMetricActionProperty {\n Dimensions = new [] { new DimensionProperty {\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.networkfirewall.*;\n\nPublishMetricActionProperty publishMetricActionProperty = PublishMetricActionProperty.builder()\n .dimensions(List.of(DimensionProperty.builder()\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\npublishMetricActionProperty := &PublishMetricActionProperty{\n\tDimensions: []interface{}{\n\t\t&DimensionProperty{\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst publishMetricActionProperty: networkfirewall.CfnFirewallPolicy.PublishMetricActionProperty = {\n dimensions: [{\n value: 'value',\n }],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnFirewallPolicy.PublishMetricActionProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnFirewallPolicy.PublishMetricActionProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 publishMetricActionProperty: networkfirewall.CfnFirewallPolicy.PublishMetricActionProperty = {\n dimensions: [{\n value: 'value',\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":7,"153":2,"169":1,"192":1,"193":2,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"8ad08c64f813afb6db526a752a55507695026ba6ebfab52d89fc51fdfd7bb901"},"b2be96adf5daf7f8961385a607379de370f50a9d82465c1f1848500a114f6893":{"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_networkfirewall as networkfirewall\n\nstateful_engine_options_property = networkfirewall.CfnFirewallPolicy.StatefulEngineOptionsProperty(\n rule_order=\"ruleOrder\",\n stream_exception_policy=\"streamExceptionPolicy\"\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.NetworkFirewall;\n\nvar statefulEngineOptionsProperty = new StatefulEngineOptionsProperty {\n RuleOrder = \"ruleOrder\",\n StreamExceptionPolicy = \"streamExceptionPolicy\"\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.networkfirewall.*;\n\nStatefulEngineOptionsProperty statefulEngineOptionsProperty = StatefulEngineOptionsProperty.builder()\n .ruleOrder(\"ruleOrder\")\n .streamExceptionPolicy(\"streamExceptionPolicy\")\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nstatefulEngineOptionsProperty := &StatefulEngineOptionsProperty{\n\tRuleOrder: jsii.String(\"ruleOrder\"),\n\tStreamExceptionPolicy: jsii.String(\"streamExceptionPolicy\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst statefulEngineOptionsProperty: networkfirewall.CfnFirewallPolicy.StatefulEngineOptionsProperty = {\n ruleOrder: 'ruleOrder',\n streamExceptionPolicy: 'streamExceptionPolicy',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnFirewallPolicy.StatefulEngineOptionsProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnFirewallPolicy.StatefulEngineOptionsProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 statefulEngineOptionsProperty: networkfirewall.CfnFirewallPolicy.StatefulEngineOptionsProperty = {\n ruleOrder: 'ruleOrder',\n streamExceptionPolicy: 'streamExceptionPolicy',\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":"cc2d29092c078a99b76d36996d6f3e196c17dc0c81b2032e81059537dc87bd15"},"40ca5eb03f6eebd9366f39bf8c873c33649c99f4612a9f639549e8d547aeb0f4":{"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_networkfirewall as networkfirewall\n\nstateful_rule_group_override_property = networkfirewall.CfnFirewallPolicy.StatefulRuleGroupOverrideProperty(\n action=\"action\"\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.NetworkFirewall;\n\nvar statefulRuleGroupOverrideProperty = new StatefulRuleGroupOverrideProperty {\n Action = \"action\"\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.networkfirewall.*;\n\nStatefulRuleGroupOverrideProperty statefulRuleGroupOverrideProperty = StatefulRuleGroupOverrideProperty.builder()\n .action(\"action\")\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nstatefulRuleGroupOverrideProperty := &StatefulRuleGroupOverrideProperty{\n\tAction: jsii.String(\"action\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst statefulRuleGroupOverrideProperty: networkfirewall.CfnFirewallPolicy.StatefulRuleGroupOverrideProperty = {\n action: 'action',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnFirewallPolicy.StatefulRuleGroupOverrideProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnFirewallPolicy.StatefulRuleGroupOverrideProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 statefulRuleGroupOverrideProperty: networkfirewall.CfnFirewallPolicy.StatefulRuleGroupOverrideProperty = {\n action: 'action',\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":"8bcd427ba2baafd1968d21d902e58b35bb731b114e3387e0aef89e32be45024f"},"fd795b9d6c47f62b2e3841a2d55c7c0d51196f8fcf734ba61c283621ab18830e":{"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_networkfirewall as networkfirewall\n\nstateful_rule_group_reference_property = networkfirewall.CfnFirewallPolicy.StatefulRuleGroupReferenceProperty(\n resource_arn=\"resourceArn\",\n\n # the properties below are optional\n override=networkfirewall.CfnFirewallPolicy.StatefulRuleGroupOverrideProperty(\n action=\"action\"\n ),\n priority=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.NetworkFirewall;\n\nvar statefulRuleGroupReferenceProperty = new StatefulRuleGroupReferenceProperty {\n ResourceArn = \"resourceArn\",\n\n // the properties below are optional\n Override = new StatefulRuleGroupOverrideProperty {\n Action = \"action\"\n },\n Priority = 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.networkfirewall.*;\n\nStatefulRuleGroupReferenceProperty statefulRuleGroupReferenceProperty = StatefulRuleGroupReferenceProperty.builder()\n .resourceArn(\"resourceArn\")\n\n // the properties below are optional\n .override(StatefulRuleGroupOverrideProperty.builder()\n .action(\"action\")\n .build())\n .priority(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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nstatefulRuleGroupReferenceProperty := &StatefulRuleGroupReferenceProperty{\n\tResourceArn: jsii.String(\"resourceArn\"),\n\n\t// the properties below are optional\n\tOverride: &StatefulRuleGroupOverrideProperty{\n\t\tAction: jsii.String(\"action\"),\n\t},\n\tPriority: 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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst statefulRuleGroupReferenceProperty: networkfirewall.CfnFirewallPolicy.StatefulRuleGroupReferenceProperty = {\n resourceArn: 'resourceArn',\n\n // the properties below are optional\n override: {\n action: 'action',\n },\n priority: 123,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnFirewallPolicy.StatefulRuleGroupReferenceProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnFirewallPolicy.StatefulRuleGroupReferenceProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 statefulRuleGroupReferenceProperty: networkfirewall.CfnFirewallPolicy.StatefulRuleGroupReferenceProperty = {\n resourceArn: 'resourceArn',\n\n // the properties below are optional\n override: {\n action: 'action',\n },\n priority: 123,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":1,"10":3,"75":9,"153":2,"169":1,"193":2,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":4,"290":1},"fqnsFingerprint":"b751e7c242841e199e8e43c4f35e44e9a4c172c99859c50e17910635a60cace9"},"0a36446e9e1d4bf1f388c96cb163927fa72c04f79613b2dcb96ed4034d13d489":{"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_networkfirewall as networkfirewall\n\nstateless_rule_group_reference_property = networkfirewall.CfnFirewallPolicy.StatelessRuleGroupReferenceProperty(\n priority=123,\n resource_arn=\"resourceArn\"\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.NetworkFirewall;\n\nvar statelessRuleGroupReferenceProperty = new StatelessRuleGroupReferenceProperty {\n Priority = 123,\n ResourceArn = \"resourceArn\"\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.networkfirewall.*;\n\nStatelessRuleGroupReferenceProperty statelessRuleGroupReferenceProperty = StatelessRuleGroupReferenceProperty.builder()\n .priority(123)\n .resourceArn(\"resourceArn\")\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nstatelessRuleGroupReferenceProperty := &StatelessRuleGroupReferenceProperty{\n\tPriority: jsii.Number(123),\n\tResourceArn: jsii.String(\"resourceArn\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst statelessRuleGroupReferenceProperty: networkfirewall.CfnFirewallPolicy.StatelessRuleGroupReferenceProperty = {\n priority: 123,\n resourceArn: 'resourceArn',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnFirewallPolicy.StatelessRuleGroupReferenceProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnFirewallPolicy.StatelessRuleGroupReferenceProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 statelessRuleGroupReferenceProperty: networkfirewall.CfnFirewallPolicy.StatelessRuleGroupReferenceProperty = {\n priority: 123,\n resourceArn: 'resourceArn',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":1,"10":2,"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":"c4bfcc366bd81749610acc117c8bed1b8c45cd9a7e3e40c835f94f2946c42d8c"},"41fbef9c0033957faed9f5156560733267add9c094bd3b093aafe6d31afc83a7":{"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_networkfirewall as networkfirewall\n\ncfn_firewall_policy_props = networkfirewall.CfnFirewallPolicyProps(\n firewall_policy=networkfirewall.CfnFirewallPolicy.FirewallPolicyProperty(\n stateless_default_actions=[\"statelessDefaultActions\"],\n stateless_fragment_default_actions=[\"statelessFragmentDefaultActions\"],\n\n # the properties below are optional\n policy_variables=networkfirewall.CfnFirewallPolicy.PolicyVariablesProperty(\n rule_variables={\n \"rule_variables_key\": {\n \"definition\": [\"definition\"]\n }\n }\n ),\n stateful_default_actions=[\"statefulDefaultActions\"],\n stateful_engine_options=networkfirewall.CfnFirewallPolicy.StatefulEngineOptionsProperty(\n rule_order=\"ruleOrder\",\n stream_exception_policy=\"streamExceptionPolicy\"\n ),\n stateful_rule_group_references=[networkfirewall.CfnFirewallPolicy.StatefulRuleGroupReferenceProperty(\n resource_arn=\"resourceArn\",\n\n # the properties below are optional\n override=networkfirewall.CfnFirewallPolicy.StatefulRuleGroupOverrideProperty(\n action=\"action\"\n ),\n priority=123\n )],\n stateless_custom_actions=[networkfirewall.CfnFirewallPolicy.CustomActionProperty(\n action_definition=networkfirewall.CfnFirewallPolicy.ActionDefinitionProperty(\n publish_metric_action=networkfirewall.CfnFirewallPolicy.PublishMetricActionProperty(\n dimensions=[networkfirewall.CfnFirewallPolicy.DimensionProperty(\n value=\"value\"\n )]\n )\n ),\n action_name=\"actionName\"\n )],\n stateless_rule_group_references=[networkfirewall.CfnFirewallPolicy.StatelessRuleGroupReferenceProperty(\n priority=123,\n resource_arn=\"resourceArn\"\n )]\n ),\n firewall_policy_name=\"firewallPolicyName\",\n\n # the properties below are optional\n description=\"description\",\n tags=[CfnTag(\n key=\"key\",\n value=\"value\"\n )]\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.NetworkFirewall;\n\nvar cfnFirewallPolicyProps = new CfnFirewallPolicyProps {\n FirewallPolicy = new FirewallPolicyProperty {\n StatelessDefaultActions = new [] { \"statelessDefaultActions\" },\n StatelessFragmentDefaultActions = new [] { \"statelessFragmentDefaultActions\" },\n\n // the properties below are optional\n PolicyVariables = new PolicyVariablesProperty {\n RuleVariables = new Dictionary {\n { \"ruleVariablesKey\", new Dictionary {\n { \"definition\", new [] { \"definition\" } }\n } }\n }\n },\n StatefulDefaultActions = new [] { \"statefulDefaultActions\" },\n StatefulEngineOptions = new StatefulEngineOptionsProperty {\n RuleOrder = \"ruleOrder\",\n StreamExceptionPolicy = \"streamExceptionPolicy\"\n },\n StatefulRuleGroupReferences = new [] { new StatefulRuleGroupReferenceProperty {\n ResourceArn = \"resourceArn\",\n\n // the properties below are optional\n Override = new StatefulRuleGroupOverrideProperty {\n Action = \"action\"\n },\n Priority = 123\n } },\n StatelessCustomActions = new [] { new CustomActionProperty {\n ActionDefinition = new ActionDefinitionProperty {\n PublishMetricAction = new PublishMetricActionProperty {\n Dimensions = new [] { new DimensionProperty {\n Value = \"value\"\n } }\n }\n },\n ActionName = \"actionName\"\n } },\n StatelessRuleGroupReferences = new [] { new StatelessRuleGroupReferenceProperty {\n Priority = 123,\n ResourceArn = \"resourceArn\"\n } }\n },\n FirewallPolicyName = \"firewallPolicyName\",\n\n // the properties below are optional\n Description = \"description\",\n Tags = new [] { new CfnTag {\n Key = \"key\",\n Value = \"value\"\n } }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.networkfirewall.*;\n\nCfnFirewallPolicyProps cfnFirewallPolicyProps = CfnFirewallPolicyProps.builder()\n .firewallPolicy(FirewallPolicyProperty.builder()\n .statelessDefaultActions(List.of(\"statelessDefaultActions\"))\n .statelessFragmentDefaultActions(List.of(\"statelessFragmentDefaultActions\"))\n\n // the properties below are optional\n .policyVariables(PolicyVariablesProperty.builder()\n .ruleVariables(Map.of(\n \"ruleVariablesKey\", Map.of(\n \"definition\", List.of(\"definition\"))))\n .build())\n .statefulDefaultActions(List.of(\"statefulDefaultActions\"))\n .statefulEngineOptions(StatefulEngineOptionsProperty.builder()\n .ruleOrder(\"ruleOrder\")\n .streamExceptionPolicy(\"streamExceptionPolicy\")\n .build())\n .statefulRuleGroupReferences(List.of(StatefulRuleGroupReferenceProperty.builder()\n .resourceArn(\"resourceArn\")\n\n // the properties below are optional\n .override(StatefulRuleGroupOverrideProperty.builder()\n .action(\"action\")\n .build())\n .priority(123)\n .build()))\n .statelessCustomActions(List.of(CustomActionProperty.builder()\n .actionDefinition(ActionDefinitionProperty.builder()\n .publishMetricAction(PublishMetricActionProperty.builder()\n .dimensions(List.of(DimensionProperty.builder()\n .value(\"value\")\n .build()))\n .build())\n .build())\n .actionName(\"actionName\")\n .build()))\n .statelessRuleGroupReferences(List.of(StatelessRuleGroupReferenceProperty.builder()\n .priority(123)\n .resourceArn(\"resourceArn\")\n .build()))\n .build())\n .firewallPolicyName(\"firewallPolicyName\")\n\n // the properties below are optional\n .description(\"description\")\n .tags(List.of(CfnTag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\ncfnFirewallPolicyProps := &CfnFirewallPolicyProps{\n\tFirewallPolicy: &FirewallPolicyProperty{\n\t\tStatelessDefaultActions: []*string{\n\t\t\tjsii.String(\"statelessDefaultActions\"),\n\t\t},\n\t\tStatelessFragmentDefaultActions: []*string{\n\t\t\tjsii.String(\"statelessFragmentDefaultActions\"),\n\t\t},\n\n\t\t// the properties below are optional\n\t\tPolicyVariables: &PolicyVariablesProperty{\n\t\t\tRuleVariables: map[string]interface{}{\n\t\t\t\t\"ruleVariablesKey\": map[string][]*string{\n\t\t\t\t\t\"definition\": []*string{\n\t\t\t\t\t\tjsii.String(\"definition\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tStatefulDefaultActions: []*string{\n\t\t\tjsii.String(\"statefulDefaultActions\"),\n\t\t},\n\t\tStatefulEngineOptions: &StatefulEngineOptionsProperty{\n\t\t\tRuleOrder: jsii.String(\"ruleOrder\"),\n\t\t\tStreamExceptionPolicy: jsii.String(\"streamExceptionPolicy\"),\n\t\t},\n\t\tStatefulRuleGroupReferences: []interface{}{\n\t\t\t&StatefulRuleGroupReferenceProperty{\n\t\t\t\tResourceArn: jsii.String(\"resourceArn\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tOverride: &StatefulRuleGroupOverrideProperty{\n\t\t\t\t\tAction: jsii.String(\"action\"),\n\t\t\t\t},\n\t\t\t\tPriority: jsii.Number(123),\n\t\t\t},\n\t\t},\n\t\tStatelessCustomActions: []interface{}{\n\t\t\t&CustomActionProperty{\n\t\t\t\tActionDefinition: &ActionDefinitionProperty{\n\t\t\t\t\tPublishMetricAction: &PublishMetricActionProperty{\n\t\t\t\t\t\tDimensions: []interface{}{\n\t\t\t\t\t\t\t&DimensionProperty{\n\t\t\t\t\t\t\t\tValue: jsii.String(\"value\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tActionName: jsii.String(\"actionName\"),\n\t\t\t},\n\t\t},\n\t\tStatelessRuleGroupReferences: []interface{}{\n\t\t\t&StatelessRuleGroupReferenceProperty{\n\t\t\t\tPriority: jsii.Number(123),\n\t\t\t\tResourceArn: jsii.String(\"resourceArn\"),\n\t\t\t},\n\t\t},\n\t},\n\tFirewallPolicyName: jsii.String(\"firewallPolicyName\"),\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tTags: []cfnTag{\n\t\t&cfnTag{\n\t\t\tKey: jsii.String(\"key\"),\n\t\t\tValue: jsii.String(\"value\"),\n\t\t},\n\t},\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst cfnFirewallPolicyProps: networkfirewall.CfnFirewallPolicyProps = {\n firewallPolicy: {\n statelessDefaultActions: ['statelessDefaultActions'],\n statelessFragmentDefaultActions: ['statelessFragmentDefaultActions'],\n\n // the properties below are optional\n policyVariables: {\n ruleVariables: {\n ruleVariablesKey: {\n definition: ['definition'],\n },\n },\n },\n statefulDefaultActions: ['statefulDefaultActions'],\n statefulEngineOptions: {\n ruleOrder: 'ruleOrder',\n streamExceptionPolicy: 'streamExceptionPolicy',\n },\n statefulRuleGroupReferences: [{\n resourceArn: 'resourceArn',\n\n // the properties below are optional\n override: {\n action: 'action',\n },\n priority: 123,\n }],\n statelessCustomActions: [{\n actionDefinition: {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n },\n actionName: 'actionName',\n }],\n statelessRuleGroupReferences: [{\n priority: 123,\n resourceArn: 'resourceArn',\n }],\n },\n firewallPolicyName: 'firewallPolicyName',\n\n // the properties below are optional\n description: 'description',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnFirewallPolicyProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnFirewallPolicyProps"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 cfnFirewallPolicyProps: networkfirewall.CfnFirewallPolicyProps = {\n firewallPolicy: {\n statelessDefaultActions: ['statelessDefaultActions'],\n statelessFragmentDefaultActions: ['statelessFragmentDefaultActions'],\n\n // the properties below are optional\n policyVariables: {\n ruleVariables: {\n ruleVariablesKey: {\n definition: ['definition'],\n },\n },\n },\n statefulDefaultActions: ['statefulDefaultActions'],\n statefulEngineOptions: {\n ruleOrder: 'ruleOrder',\n streamExceptionPolicy: 'streamExceptionPolicy',\n },\n statefulRuleGroupReferences: [{\n resourceArn: 'resourceArn',\n\n // the properties below are optional\n override: {\n action: 'action',\n },\n priority: 123,\n }],\n statelessCustomActions: [{\n actionDefinition: {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n },\n actionName: 'actionName',\n }],\n statelessRuleGroupReferences: [{\n priority: 123,\n resourceArn: 'resourceArn',\n }],\n },\n firewallPolicyName: 'firewallPolicyName',\n\n // the properties below are optional\n description: 'description',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":2,"10":16,"75":34,"153":1,"169":1,"192":9,"193":14,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":30,"290":1},"fqnsFingerprint":"26a7bed6ae986f6b75ab8161ed2ccfce6160a57cfbef0f6d358d4e7af0e05c05"},"64cfd4e8b55a76a3696e7efda8f8a3ac996792fc60ea6f859423aba4d30f38eb":{"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_networkfirewall as networkfirewall\n\ncfn_firewall_props = networkfirewall.CfnFirewallProps(\n firewall_name=\"firewallName\",\n firewall_policy_arn=\"firewallPolicyArn\",\n subnet_mappings=[networkfirewall.CfnFirewall.SubnetMappingProperty(\n subnet_id=\"subnetId\",\n\n # the properties below are optional\n ip_address_type=\"ipAddressType\"\n )],\n vpc_id=\"vpcId\",\n\n # the properties below are optional\n delete_protection=False,\n description=\"description\",\n firewall_policy_change_protection=False,\n subnet_change_protection=False,\n tags=[CfnTag(\n key=\"key\",\n value=\"value\"\n )]\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.NetworkFirewall;\n\nvar cfnFirewallProps = new CfnFirewallProps {\n FirewallName = \"firewallName\",\n FirewallPolicyArn = \"firewallPolicyArn\",\n SubnetMappings = new [] { new SubnetMappingProperty {\n SubnetId = \"subnetId\",\n\n // the properties below are optional\n IpAddressType = \"ipAddressType\"\n } },\n VpcId = \"vpcId\",\n\n // the properties below are optional\n DeleteProtection = false,\n Description = \"description\",\n FirewallPolicyChangeProtection = false,\n SubnetChangeProtection = false,\n Tags = new [] { new CfnTag {\n Key = \"key\",\n Value = \"value\"\n } }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.networkfirewall.*;\n\nCfnFirewallProps cfnFirewallProps = CfnFirewallProps.builder()\n .firewallName(\"firewallName\")\n .firewallPolicyArn(\"firewallPolicyArn\")\n .subnetMappings(List.of(SubnetMappingProperty.builder()\n .subnetId(\"subnetId\")\n\n // the properties below are optional\n .ipAddressType(\"ipAddressType\")\n .build()))\n .vpcId(\"vpcId\")\n\n // the properties below are optional\n .deleteProtection(false)\n .description(\"description\")\n .firewallPolicyChangeProtection(false)\n .subnetChangeProtection(false)\n .tags(List.of(CfnTag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\ncfnFirewallProps := &CfnFirewallProps{\n\tFirewallName: jsii.String(\"firewallName\"),\n\tFirewallPolicyArn: jsii.String(\"firewallPolicyArn\"),\n\tSubnetMappings: []interface{}{\n\t\t&SubnetMappingProperty{\n\t\t\tSubnetId: jsii.String(\"subnetId\"),\n\n\t\t\t// the properties below are optional\n\t\t\tIpAddressType: jsii.String(\"ipAddressType\"),\n\t\t},\n\t},\n\tVpcId: jsii.String(\"vpcId\"),\n\n\t// the properties below are optional\n\tDeleteProtection: jsii.Boolean(false),\n\tDescription: jsii.String(\"description\"),\n\tFirewallPolicyChangeProtection: jsii.Boolean(false),\n\tSubnetChangeProtection: 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}","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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst cfnFirewallProps: networkfirewall.CfnFirewallProps = {\n firewallName: 'firewallName',\n firewallPolicyArn: 'firewallPolicyArn',\n subnetMappings: [{\n subnetId: 'subnetId',\n\n // the properties below are optional\n ipAddressType: 'ipAddressType',\n }],\n vpcId: 'vpcId',\n\n // the properties below are optional\n deleteProtection: false,\n description: 'description',\n firewallPolicyChangeProtection: false,\n subnetChangeProtection: false,\n tags: [{\n key: 'key',\n value: 'value',\n }],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnFirewallProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnFirewallProps"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 cfnFirewallProps: networkfirewall.CfnFirewallProps = {\n firewallName: 'firewallName',\n firewallPolicyArn: 'firewallPolicyArn',\n subnetMappings: [{\n subnetId: 'subnetId',\n\n // the properties below are optional\n ipAddressType: 'ipAddressType',\n }],\n vpcId: 'vpcId',\n\n // the properties below are optional\n deleteProtection: false,\n description: 'description',\n firewallPolicyChangeProtection: false,\n subnetChangeProtection: false,\n tags: [{\n key: 'key',\n value: 'value',\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":9,"75":17,"91":3,"153":1,"169":1,"192":2,"193":3,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":13,"290":1},"fqnsFingerprint":"78cd35ef3ab49d7fd095919ad9e55392c9b112d4c4b88052cca46f3858831c54"},"df06d7bb711af06e3b495c28db95263941aa735ee3f5d04aca89cfe8f7aa22c0":{"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_networkfirewall as networkfirewall\n\ncfn_logging_configuration = networkfirewall.CfnLoggingConfiguration(self, \"MyCfnLoggingConfiguration\",\n firewall_arn=\"firewallArn\",\n logging_configuration=networkfirewall.CfnLoggingConfiguration.LoggingConfigurationProperty(\n log_destination_configs=[networkfirewall.CfnLoggingConfiguration.LogDestinationConfigProperty(\n log_destination={\n \"log_destination_key\": \"logDestination\"\n },\n log_destination_type=\"logDestinationType\",\n log_type=\"logType\"\n )]\n ),\n\n # the properties below are optional\n firewall_name=\"firewallName\"\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.NetworkFirewall;\n\nvar cfnLoggingConfiguration = new CfnLoggingConfiguration(this, \"MyCfnLoggingConfiguration\", new CfnLoggingConfigurationProps {\n FirewallArn = \"firewallArn\",\n LoggingConfiguration = new LoggingConfigurationProperty {\n LogDestinationConfigs = new [] { new LogDestinationConfigProperty {\n LogDestination = new Dictionary {\n { \"logDestinationKey\", \"logDestination\" }\n },\n LogDestinationType = \"logDestinationType\",\n LogType = \"logType\"\n } }\n },\n\n // the properties below are optional\n FirewallName = \"firewallName\"\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.networkfirewall.*;\n\nCfnLoggingConfiguration cfnLoggingConfiguration = CfnLoggingConfiguration.Builder.create(this, \"MyCfnLoggingConfiguration\")\n .firewallArn(\"firewallArn\")\n .loggingConfiguration(LoggingConfigurationProperty.builder()\n .logDestinationConfigs(List.of(LogDestinationConfigProperty.builder()\n .logDestination(Map.of(\n \"logDestinationKey\", \"logDestination\"))\n .logDestinationType(\"logDestinationType\")\n .logType(\"logType\")\n .build()))\n .build())\n\n // the properties below are optional\n .firewallName(\"firewallName\")\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\ncfnLoggingConfiguration := networkfirewall.NewCfnLoggingConfiguration(this, jsii.String(\"MyCfnLoggingConfiguration\"), &CfnLoggingConfigurationProps{\n\tFirewallArn: jsii.String(\"firewallArn\"),\n\tLoggingConfiguration: &LoggingConfigurationProperty{\n\t\tLogDestinationConfigs: []interface{}{\n\t\t\t&LogDestinationConfigProperty{\n\t\t\t\tLogDestination: map[string]*string{\n\t\t\t\t\t\"logDestinationKey\": jsii.String(\"logDestination\"),\n\t\t\t\t},\n\t\t\t\tLogDestinationType: jsii.String(\"logDestinationType\"),\n\t\t\t\tLogType: jsii.String(\"logType\"),\n\t\t\t},\n\t\t},\n\t},\n\n\t// the properties below are optional\n\tFirewallName: jsii.String(\"firewallName\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst cfnLoggingConfiguration = new networkfirewall.CfnLoggingConfiguration(this, 'MyCfnLoggingConfiguration', {\n firewallArn: 'firewallArn',\n loggingConfiguration: {\n logDestinationConfigs: [{\n logDestination: {\n logDestinationKey: 'logDestination',\n },\n logDestinationType: 'logDestinationType',\n logType: 'logType',\n }],\n },\n\n // the properties below are optional\n firewallName: 'firewallName',\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnLoggingConfiguration"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnLoggingConfiguration","@aws-cdk/aws-networkfirewall.CfnLoggingConfigurationProps","@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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 cfnLoggingConfiguration = new networkfirewall.CfnLoggingConfiguration(this, 'MyCfnLoggingConfiguration', {\n firewallArn: 'firewallArn',\n loggingConfiguration: {\n logDestinationConfigs: [{\n logDestination: {\n logDestinationKey: 'logDestination',\n },\n logDestinationType: 'logDestinationType',\n logType: 'logType',\n }],\n },\n\n // the properties below are optional\n firewallName: 'firewallName',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":7,"75":12,"104":1,"192":1,"193":4,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":8,"290":1},"fqnsFingerprint":"e933b330fe46ac1a8a1cdc23b52f9273ceca4ea19cb6afef8f66596c88d02284"},"76a305163da9f3a3b33674d94810996cb64d9b111ff6a9644a24df2ec162c935":{"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_networkfirewall as networkfirewall\n\nlog_destination_config_property = networkfirewall.CfnLoggingConfiguration.LogDestinationConfigProperty(\n log_destination={\n \"log_destination_key\": \"logDestination\"\n },\n log_destination_type=\"logDestinationType\",\n log_type=\"logType\"\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.NetworkFirewall;\n\nvar logDestinationConfigProperty = new LogDestinationConfigProperty {\n LogDestination = new Dictionary {\n { \"logDestinationKey\", \"logDestination\" }\n },\n LogDestinationType = \"logDestinationType\",\n LogType = \"logType\"\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.networkfirewall.*;\n\nLogDestinationConfigProperty logDestinationConfigProperty = LogDestinationConfigProperty.builder()\n .logDestination(Map.of(\n \"logDestinationKey\", \"logDestination\"))\n .logDestinationType(\"logDestinationType\")\n .logType(\"logType\")\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nlogDestinationConfigProperty := &LogDestinationConfigProperty{\n\tLogDestination: map[string]*string{\n\t\t\"logDestinationKey\": jsii.String(\"logDestination\"),\n\t},\n\tLogDestinationType: jsii.String(\"logDestinationType\"),\n\tLogType: jsii.String(\"logType\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst logDestinationConfigProperty: networkfirewall.CfnLoggingConfiguration.LogDestinationConfigProperty = {\n logDestination: {\n logDestinationKey: 'logDestination',\n },\n logDestinationType: 'logDestinationType',\n logType: 'logType',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnLoggingConfiguration.LogDestinationConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnLoggingConfiguration.LogDestinationConfigProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 logDestinationConfigProperty: networkfirewall.CfnLoggingConfiguration.LogDestinationConfigProperty = {\n logDestination: {\n logDestinationKey: 'logDestination',\n },\n logDestinationType: 'logDestinationType',\n logType: 'logType',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":4,"75":9,"153":2,"169":1,"193":2,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":4,"290":1},"fqnsFingerprint":"0b1b1ee0bbcd798995cbd24c047362fa3f1ece4895c99ae4f081ff8103fa4d9b"},"89955e2656243db73615449909cac00ecfda0391b147d0f8dd8eb0ab9d0584f4":{"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_networkfirewall as networkfirewall\n\nlogging_configuration_property = networkfirewall.CfnLoggingConfiguration.LoggingConfigurationProperty(\n log_destination_configs=[networkfirewall.CfnLoggingConfiguration.LogDestinationConfigProperty(\n log_destination={\n \"log_destination_key\": \"logDestination\"\n },\n log_destination_type=\"logDestinationType\",\n log_type=\"logType\"\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.NetworkFirewall;\n\nvar loggingConfigurationProperty = new LoggingConfigurationProperty {\n LogDestinationConfigs = new [] { new LogDestinationConfigProperty {\n LogDestination = new Dictionary {\n { \"logDestinationKey\", \"logDestination\" }\n },\n LogDestinationType = \"logDestinationType\",\n LogType = \"logType\"\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.networkfirewall.*;\n\nLoggingConfigurationProperty loggingConfigurationProperty = LoggingConfigurationProperty.builder()\n .logDestinationConfigs(List.of(LogDestinationConfigProperty.builder()\n .logDestination(Map.of(\n \"logDestinationKey\", \"logDestination\"))\n .logDestinationType(\"logDestinationType\")\n .logType(\"logType\")\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nloggingConfigurationProperty := &LoggingConfigurationProperty{\n\tLogDestinationConfigs: []interface{}{\n\t\t&LogDestinationConfigProperty{\n\t\t\tLogDestination: map[string]*string{\n\t\t\t\t\"logDestinationKey\": jsii.String(\"logDestination\"),\n\t\t\t},\n\t\t\tLogDestinationType: jsii.String(\"logDestinationType\"),\n\t\t\tLogType: jsii.String(\"logType\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst loggingConfigurationProperty: networkfirewall.CfnLoggingConfiguration.LoggingConfigurationProperty = {\n logDestinationConfigs: [{\n logDestination: {\n logDestinationKey: 'logDestination',\n },\n logDestinationType: 'logDestinationType',\n logType: 'logType',\n }],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnLoggingConfiguration.LoggingConfigurationProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnLoggingConfiguration.LoggingConfigurationProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 loggingConfigurationProperty: networkfirewall.CfnLoggingConfiguration.LoggingConfigurationProperty = {\n logDestinationConfigs: [{\n logDestination: {\n logDestinationKey: 'logDestination',\n },\n logDestinationType: 'logDestinationType',\n logType: 'logType',\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":4,"75":10,"153":2,"169":1,"192":1,"193":3,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":5,"290":1},"fqnsFingerprint":"9bd23b5dd187340399dcf71e28b06828b98b3218e28517a8523dcc4cadd60957"},"ce38ff96fc12184e30d793da85a8c984223064755246d392c5740d073adcdf36":{"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_networkfirewall as networkfirewall\n\ncfn_logging_configuration_props = networkfirewall.CfnLoggingConfigurationProps(\n firewall_arn=\"firewallArn\",\n logging_configuration=networkfirewall.CfnLoggingConfiguration.LoggingConfigurationProperty(\n log_destination_configs=[networkfirewall.CfnLoggingConfiguration.LogDestinationConfigProperty(\n log_destination={\n \"log_destination_key\": \"logDestination\"\n },\n log_destination_type=\"logDestinationType\",\n log_type=\"logType\"\n )]\n ),\n\n # the properties below are optional\n firewall_name=\"firewallName\"\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.NetworkFirewall;\n\nvar cfnLoggingConfigurationProps = new CfnLoggingConfigurationProps {\n FirewallArn = \"firewallArn\",\n LoggingConfiguration = new LoggingConfigurationProperty {\n LogDestinationConfigs = new [] { new LogDestinationConfigProperty {\n LogDestination = new Dictionary {\n { \"logDestinationKey\", \"logDestination\" }\n },\n LogDestinationType = \"logDestinationType\",\n LogType = \"logType\"\n } }\n },\n\n // the properties below are optional\n FirewallName = \"firewallName\"\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.networkfirewall.*;\n\nCfnLoggingConfigurationProps cfnLoggingConfigurationProps = CfnLoggingConfigurationProps.builder()\n .firewallArn(\"firewallArn\")\n .loggingConfiguration(LoggingConfigurationProperty.builder()\n .logDestinationConfigs(List.of(LogDestinationConfigProperty.builder()\n .logDestination(Map.of(\n \"logDestinationKey\", \"logDestination\"))\n .logDestinationType(\"logDestinationType\")\n .logType(\"logType\")\n .build()))\n .build())\n\n // the properties below are optional\n .firewallName(\"firewallName\")\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\ncfnLoggingConfigurationProps := &CfnLoggingConfigurationProps{\n\tFirewallArn: jsii.String(\"firewallArn\"),\n\tLoggingConfiguration: &LoggingConfigurationProperty{\n\t\tLogDestinationConfigs: []interface{}{\n\t\t\t&LogDestinationConfigProperty{\n\t\t\t\tLogDestination: map[string]*string{\n\t\t\t\t\t\"logDestinationKey\": jsii.String(\"logDestination\"),\n\t\t\t\t},\n\t\t\t\tLogDestinationType: jsii.String(\"logDestinationType\"),\n\t\t\t\tLogType: jsii.String(\"logType\"),\n\t\t\t},\n\t\t},\n\t},\n\n\t// the properties below are optional\n\tFirewallName: jsii.String(\"firewallName\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst cfnLoggingConfigurationProps: networkfirewall.CfnLoggingConfigurationProps = {\n firewallArn: 'firewallArn',\n loggingConfiguration: {\n logDestinationConfigs: [{\n logDestination: {\n logDestinationKey: 'logDestination',\n },\n logDestinationType: 'logDestinationType',\n logType: 'logType',\n }],\n },\n\n // the properties below are optional\n firewallName: 'firewallName',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnLoggingConfigurationProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnLoggingConfigurationProps"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 cfnLoggingConfigurationProps: networkfirewall.CfnLoggingConfigurationProps = {\n firewallArn: 'firewallArn',\n loggingConfiguration: {\n logDestinationConfigs: [{\n logDestination: {\n logDestinationKey: 'logDestination',\n },\n logDestinationType: 'logDestinationType',\n logType: 'logType',\n }],\n },\n\n // the properties below are optional\n firewallName: 'firewallName',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":6,"75":12,"153":1,"169":1,"192":1,"193":4,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":8,"290":1},"fqnsFingerprint":"e323555a033f4e617f2a68e05028f2170f41c4b91afb6a99dfe59cb4f68303e5"},"7c2b1fa5da2623dbfea426a9b71692de457897450d6c585762c00597bbf450f5":{"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_networkfirewall as networkfirewall\n\ncfn_rule_group = networkfirewall.CfnRuleGroup(self, \"MyCfnRuleGroup\",\n capacity=123,\n rule_group_name=\"ruleGroupName\",\n type=\"type\",\n\n # the properties below are optional\n description=\"description\",\n rule_group=networkfirewall.CfnRuleGroup.RuleGroupProperty(\n rules_source=networkfirewall.CfnRuleGroup.RulesSourceProperty(\n rules_source_list=networkfirewall.CfnRuleGroup.RulesSourceListProperty(\n generated_rules_type=\"generatedRulesType\",\n targets=[\"targets\"],\n target_types=[\"targetTypes\"]\n ),\n rules_string=\"rulesString\",\n stateful_rules=[networkfirewall.CfnRuleGroup.StatefulRuleProperty(\n action=\"action\",\n header=networkfirewall.CfnRuleGroup.HeaderProperty(\n destination=\"destination\",\n destination_port=\"destinationPort\",\n direction=\"direction\",\n protocol=\"protocol\",\n source=\"source\",\n source_port=\"sourcePort\"\n ),\n rule_options=[networkfirewall.CfnRuleGroup.RuleOptionProperty(\n keyword=\"keyword\",\n\n # the properties below are optional\n settings=[\"settings\"]\n )]\n )],\n stateless_rules_and_custom_actions=networkfirewall.CfnRuleGroup.StatelessRulesAndCustomActionsProperty(\n stateless_rules=[networkfirewall.CfnRuleGroup.StatelessRuleProperty(\n priority=123,\n rule_definition=networkfirewall.CfnRuleGroup.RuleDefinitionProperty(\n actions=[\"actions\"],\n match_attributes=networkfirewall.CfnRuleGroup.MatchAttributesProperty(\n destination_ports=[networkfirewall.CfnRuleGroup.PortRangeProperty(\n from_port=123,\n to_port=123\n )],\n destinations=[networkfirewall.CfnRuleGroup.AddressProperty(\n address_definition=\"addressDefinition\"\n )],\n protocols=[123],\n source_ports=[networkfirewall.CfnRuleGroup.PortRangeProperty(\n from_port=123,\n to_port=123\n )],\n sources=[networkfirewall.CfnRuleGroup.AddressProperty(\n address_definition=\"addressDefinition\"\n )],\n tcp_flags=[networkfirewall.CfnRuleGroup.TCPFlagFieldProperty(\n flags=[\"flags\"],\n\n # the properties below are optional\n masks=[\"masks\"]\n )]\n )\n )\n )],\n\n # the properties below are optional\n custom_actions=[networkfirewall.CfnRuleGroup.CustomActionProperty(\n action_definition=networkfirewall.CfnRuleGroup.ActionDefinitionProperty(\n publish_metric_action=networkfirewall.CfnRuleGroup.PublishMetricActionProperty(\n dimensions=[networkfirewall.CfnRuleGroup.DimensionProperty(\n value=\"value\"\n )]\n )\n ),\n action_name=\"actionName\"\n )]\n )\n ),\n\n # the properties below are optional\n reference_sets=networkfirewall.CfnRuleGroup.ReferenceSetsProperty(\n ip_set_references={\n \"ip_set_references_key\": {\n \"reference_arn\": \"referenceArn\"\n }\n }\n ),\n rule_variables=networkfirewall.CfnRuleGroup.RuleVariablesProperty(\n ip_sets={\n \"ip_sets_key\": {\n \"definition\": [\"definition\"]\n }\n },\n port_sets={\n \"port_sets_key\": networkfirewall.CfnRuleGroup.PortSetProperty(\n definition=[\"definition\"]\n )\n }\n ),\n stateful_rule_options=networkfirewall.CfnRuleGroup.StatefulRuleOptionsProperty(\n rule_order=\"ruleOrder\"\n )\n ),\n tags=[CfnTag(\n key=\"key\",\n value=\"value\"\n )]\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.NetworkFirewall;\n\nvar cfnRuleGroup = new CfnRuleGroup(this, \"MyCfnRuleGroup\", new CfnRuleGroupProps {\n Capacity = 123,\n RuleGroupName = \"ruleGroupName\",\n Type = \"type\",\n\n // the properties below are optional\n Description = \"description\",\n RuleGroup = new RuleGroupProperty {\n RulesSource = new RulesSourceProperty {\n RulesSourceList = new RulesSourceListProperty {\n GeneratedRulesType = \"generatedRulesType\",\n Targets = new [] { \"targets\" },\n TargetTypes = new [] { \"targetTypes\" }\n },\n RulesString = \"rulesString\",\n StatefulRules = new [] { new StatefulRuleProperty {\n Action = \"action\",\n Header = new HeaderProperty {\n Destination = \"destination\",\n DestinationPort = \"destinationPort\",\n Direction = \"direction\",\n Protocol = \"protocol\",\n Source = \"source\",\n SourcePort = \"sourcePort\"\n },\n RuleOptions = new [] { new RuleOptionProperty {\n Keyword = \"keyword\",\n\n // the properties below are optional\n Settings = new [] { \"settings\" }\n } }\n } },\n StatelessRulesAndCustomActions = new StatelessRulesAndCustomActionsProperty {\n StatelessRules = new [] { new StatelessRuleProperty {\n Priority = 123,\n RuleDefinition = new RuleDefinitionProperty {\n Actions = new [] { \"actions\" },\n MatchAttributes = new MatchAttributesProperty {\n DestinationPorts = new [] { new PortRangeProperty {\n FromPort = 123,\n ToPort = 123\n } },\n Destinations = new [] { new AddressProperty {\n AddressDefinition = \"addressDefinition\"\n } },\n Protocols = new [] { 123 },\n SourcePorts = new [] { new PortRangeProperty {\n FromPort = 123,\n ToPort = 123\n } },\n Sources = new [] { new AddressProperty {\n AddressDefinition = \"addressDefinition\"\n } },\n TcpFlags = new [] { new TCPFlagFieldProperty {\n Flags = new [] { \"flags\" },\n\n // the properties below are optional\n Masks = new [] { \"masks\" }\n } }\n }\n }\n } },\n\n // the properties below are optional\n CustomActions = new [] { new CustomActionProperty {\n ActionDefinition = new ActionDefinitionProperty {\n PublishMetricAction = new PublishMetricActionProperty {\n Dimensions = new [] { new DimensionProperty {\n Value = \"value\"\n } }\n }\n },\n ActionName = \"actionName\"\n } }\n }\n },\n\n // the properties below are optional\n ReferenceSets = new ReferenceSetsProperty {\n IpSetReferences = new Dictionary {\n { \"ipSetReferencesKey\", new Dictionary {\n { \"referenceArn\", \"referenceArn\" }\n } }\n }\n },\n RuleVariables = new RuleVariablesProperty {\n IpSets = new Dictionary {\n { \"ipSetsKey\", new Dictionary {\n { \"definition\", new [] { \"definition\" } }\n } }\n },\n PortSets = new Dictionary {\n { \"portSetsKey\", new PortSetProperty {\n Definition = new [] { \"definition\" }\n } }\n }\n },\n StatefulRuleOptions = new StatefulRuleOptionsProperty {\n RuleOrder = \"ruleOrder\"\n }\n },\n Tags = new [] { new CfnTag {\n Key = \"key\",\n Value = \"value\"\n } }\n});","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.networkfirewall.*;\n\nCfnRuleGroup cfnRuleGroup = CfnRuleGroup.Builder.create(this, \"MyCfnRuleGroup\")\n .capacity(123)\n .ruleGroupName(\"ruleGroupName\")\n .type(\"type\")\n\n // the properties below are optional\n .description(\"description\")\n .ruleGroup(RuleGroupProperty.builder()\n .rulesSource(RulesSourceProperty.builder()\n .rulesSourceList(RulesSourceListProperty.builder()\n .generatedRulesType(\"generatedRulesType\")\n .targets(List.of(\"targets\"))\n .targetTypes(List.of(\"targetTypes\"))\n .build())\n .rulesString(\"rulesString\")\n .statefulRules(List.of(StatefulRuleProperty.builder()\n .action(\"action\")\n .header(HeaderProperty.builder()\n .destination(\"destination\")\n .destinationPort(\"destinationPort\")\n .direction(\"direction\")\n .protocol(\"protocol\")\n .source(\"source\")\n .sourcePort(\"sourcePort\")\n .build())\n .ruleOptions(List.of(RuleOptionProperty.builder()\n .keyword(\"keyword\")\n\n // the properties below are optional\n .settings(List.of(\"settings\"))\n .build()))\n .build()))\n .statelessRulesAndCustomActions(StatelessRulesAndCustomActionsProperty.builder()\n .statelessRules(List.of(StatelessRuleProperty.builder()\n .priority(123)\n .ruleDefinition(RuleDefinitionProperty.builder()\n .actions(List.of(\"actions\"))\n .matchAttributes(MatchAttributesProperty.builder()\n .destinationPorts(List.of(PortRangeProperty.builder()\n .fromPort(123)\n .toPort(123)\n .build()))\n .destinations(List.of(AddressProperty.builder()\n .addressDefinition(\"addressDefinition\")\n .build()))\n .protocols(List.of(123))\n .sourcePorts(List.of(PortRangeProperty.builder()\n .fromPort(123)\n .toPort(123)\n .build()))\n .sources(List.of(AddressProperty.builder()\n .addressDefinition(\"addressDefinition\")\n .build()))\n .tcpFlags(List.of(TCPFlagFieldProperty.builder()\n .flags(List.of(\"flags\"))\n\n // the properties below are optional\n .masks(List.of(\"masks\"))\n .build()))\n .build())\n .build())\n .build()))\n\n // the properties below are optional\n .customActions(List.of(CustomActionProperty.builder()\n .actionDefinition(ActionDefinitionProperty.builder()\n .publishMetricAction(PublishMetricActionProperty.builder()\n .dimensions(List.of(DimensionProperty.builder()\n .value(\"value\")\n .build()))\n .build())\n .build())\n .actionName(\"actionName\")\n .build()))\n .build())\n .build())\n\n // the properties below are optional\n .referenceSets(ReferenceSetsProperty.builder()\n .ipSetReferences(Map.of(\n \"ipSetReferencesKey\", Map.of(\n \"referenceArn\", \"referenceArn\")))\n .build())\n .ruleVariables(RuleVariablesProperty.builder()\n .ipSets(Map.of(\n \"ipSetsKey\", Map.of(\n \"definition\", List.of(\"definition\"))))\n .portSets(Map.of(\n \"portSetsKey\", PortSetProperty.builder()\n .definition(List.of(\"definition\"))\n .build()))\n .build())\n .statefulRuleOptions(StatefulRuleOptionsProperty.builder()\n .ruleOrder(\"ruleOrder\")\n .build())\n .build())\n .tags(List.of(CfnTag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\ncfnRuleGroup := networkfirewall.NewCfnRuleGroup(this, jsii.String(\"MyCfnRuleGroup\"), &CfnRuleGroupProps{\n\tCapacity: jsii.Number(123),\n\tRuleGroupName: jsii.String(\"ruleGroupName\"),\n\tType: jsii.String(\"type\"),\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tRuleGroup: &RuleGroupProperty{\n\t\tRulesSource: &RulesSourceProperty{\n\t\t\tRulesSourceList: &RulesSourceListProperty{\n\t\t\t\tGeneratedRulesType: jsii.String(\"generatedRulesType\"),\n\t\t\t\tTargets: []*string{\n\t\t\t\t\tjsii.String(\"targets\"),\n\t\t\t\t},\n\t\t\t\tTargetTypes: []*string{\n\t\t\t\t\tjsii.String(\"targetTypes\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tRulesString: jsii.String(\"rulesString\"),\n\t\t\tStatefulRules: []interface{}{\n\t\t\t\t&StatefulRuleProperty{\n\t\t\t\t\tAction: jsii.String(\"action\"),\n\t\t\t\t\tHeader: &HeaderProperty{\n\t\t\t\t\t\tDestination: jsii.String(\"destination\"),\n\t\t\t\t\t\tDestinationPort: jsii.String(\"destinationPort\"),\n\t\t\t\t\t\tDirection: jsii.String(\"direction\"),\n\t\t\t\t\t\tProtocol: jsii.String(\"protocol\"),\n\t\t\t\t\t\tSource: jsii.String(\"source\"),\n\t\t\t\t\t\tSourcePort: jsii.String(\"sourcePort\"),\n\t\t\t\t\t},\n\t\t\t\t\tRuleOptions: []interface{}{\n\t\t\t\t\t\t&RuleOptionProperty{\n\t\t\t\t\t\t\tKeyword: jsii.String(\"keyword\"),\n\n\t\t\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\t\tSettings: []*string{\n\t\t\t\t\t\t\t\tjsii.String(\"settings\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tStatelessRulesAndCustomActions: &StatelessRulesAndCustomActionsProperty{\n\t\t\t\tStatelessRules: []interface{}{\n\t\t\t\t\t&StatelessRuleProperty{\n\t\t\t\t\t\tPriority: jsii.Number(123),\n\t\t\t\t\t\tRuleDefinition: &RuleDefinitionProperty{\n\t\t\t\t\t\t\tActions: []*string{\n\t\t\t\t\t\t\t\tjsii.String(\"actions\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tMatchAttributes: &MatchAttributesProperty{\n\t\t\t\t\t\t\t\tDestinationPorts: []interface{}{\n\t\t\t\t\t\t\t\t\t&PortRangeProperty{\n\t\t\t\t\t\t\t\t\t\tFromPort: jsii.Number(123),\n\t\t\t\t\t\t\t\t\t\tToPort: jsii.Number(123),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tDestinations: []interface{}{\n\t\t\t\t\t\t\t\t\t&AddressProperty{\n\t\t\t\t\t\t\t\t\t\tAddressDefinition: jsii.String(\"addressDefinition\"),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tProtocols: []interface{}{\n\t\t\t\t\t\t\t\t\tjsii.Number(123),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tSourcePorts: []interface{}{\n\t\t\t\t\t\t\t\t\t&PortRangeProperty{\n\t\t\t\t\t\t\t\t\t\tFromPort: jsii.Number(123),\n\t\t\t\t\t\t\t\t\t\tToPort: jsii.Number(123),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tSources: []interface{}{\n\t\t\t\t\t\t\t\t\t&AddressProperty{\n\t\t\t\t\t\t\t\t\t\tAddressDefinition: jsii.String(\"addressDefinition\"),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tTcpFlags: []interface{}{\n\t\t\t\t\t\t\t\t\t&TCPFlagFieldProperty{\n\t\t\t\t\t\t\t\t\t\tFlags: []*string{\n\t\t\t\t\t\t\t\t\t\t\tjsii.String(\"flags\"),\n\t\t\t\t\t\t\t\t\t\t},\n\n\t\t\t\t\t\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\t\t\t\t\tMasks: []*string{\n\t\t\t\t\t\t\t\t\t\t\tjsii.String(\"masks\"),\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tCustomActions: []interface{}{\n\t\t\t\t\t&CustomActionProperty{\n\t\t\t\t\t\tActionDefinition: &ActionDefinitionProperty{\n\t\t\t\t\t\t\tPublishMetricAction: &PublishMetricActionProperty{\n\t\t\t\t\t\t\t\tDimensions: []interface{}{\n\t\t\t\t\t\t\t\t\t&DimensionProperty{\n\t\t\t\t\t\t\t\t\t\tValue: jsii.String(\"value\"),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tActionName: jsii.String(\"actionName\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\n\t\t// the properties below are optional\n\t\tReferenceSets: &ReferenceSetsProperty{\n\t\t\tIpSetReferences: map[string]interface{}{\n\t\t\t\t\"ipSetReferencesKey\": map[string]*string{\n\t\t\t\t\t\"referenceArn\": jsii.String(\"referenceArn\"),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tRuleVariables: &RuleVariablesProperty{\n\t\t\tIpSets: map[string]interface{}{\n\t\t\t\t\"ipSetsKey\": map[string][]*string{\n\t\t\t\t\t\"definition\": []*string{\n\t\t\t\t\t\tjsii.String(\"definition\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tPortSets: map[string]interface{}{\n\t\t\t\t\"portSetsKey\": &PortSetProperty{\n\t\t\t\t\t\"definition\": []*string{\n\t\t\t\t\t\tjsii.String(\"definition\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tStatefulRuleOptions: &StatefulRuleOptionsProperty{\n\t\t\tRuleOrder: jsii.String(\"ruleOrder\"),\n\t\t},\n\t},\n\tTags: []cfnTag{\n\t\t&cfnTag{\n\t\t\tKey: jsii.String(\"key\"),\n\t\t\tValue: jsii.String(\"value\"),\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst cfnRuleGroup = new networkfirewall.CfnRuleGroup(this, 'MyCfnRuleGroup', {\n capacity: 123,\n ruleGroupName: 'ruleGroupName',\n type: 'type',\n\n // the properties below are optional\n description: 'description',\n ruleGroup: {\n rulesSource: {\n rulesSourceList: {\n generatedRulesType: 'generatedRulesType',\n targets: ['targets'],\n targetTypes: ['targetTypes'],\n },\n rulesString: 'rulesString',\n statefulRules: [{\n action: 'action',\n header: {\n destination: 'destination',\n destinationPort: 'destinationPort',\n direction: 'direction',\n protocol: 'protocol',\n source: 'source',\n sourcePort: 'sourcePort',\n },\n ruleOptions: [{\n keyword: 'keyword',\n\n // the properties below are optional\n settings: ['settings'],\n }],\n }],\n statelessRulesAndCustomActions: {\n statelessRules: [{\n priority: 123,\n ruleDefinition: {\n actions: ['actions'],\n matchAttributes: {\n destinationPorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n destinations: [{\n addressDefinition: 'addressDefinition',\n }],\n protocols: [123],\n sourcePorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n sources: [{\n addressDefinition: 'addressDefinition',\n }],\n tcpFlags: [{\n flags: ['flags'],\n\n // the properties below are optional\n masks: ['masks'],\n }],\n },\n },\n }],\n\n // the properties below are optional\n customActions: [{\n actionDefinition: {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n },\n actionName: 'actionName',\n }],\n },\n },\n\n // the properties below are optional\n referenceSets: {\n ipSetReferences: {\n ipSetReferencesKey: {\n referenceArn: 'referenceArn',\n },\n },\n },\n ruleVariables: {\n ipSets: {\n ipSetsKey: {\n definition: ['definition'],\n },\n },\n portSets: {\n portSetsKey: {\n definition: ['definition'],\n },\n },\n },\n statefulRuleOptions: {\n ruleOrder: 'ruleOrder',\n },\n },\n tags: [{\n key: 'key',\n value: 'value',\n }],\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup","@aws-cdk/aws-networkfirewall.CfnRuleGroupProps","@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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 cfnRuleGroup = new networkfirewall.CfnRuleGroup(this, 'MyCfnRuleGroup', {\n capacity: 123,\n ruleGroupName: 'ruleGroupName',\n type: 'type',\n\n // the properties below are optional\n description: 'description',\n ruleGroup: {\n rulesSource: {\n rulesSourceList: {\n generatedRulesType: 'generatedRulesType',\n targets: ['targets'],\n targetTypes: ['targetTypes'],\n },\n rulesString: 'rulesString',\n statefulRules: [{\n action: 'action',\n header: {\n destination: 'destination',\n destinationPort: 'destinationPort',\n direction: 'direction',\n protocol: 'protocol',\n source: 'source',\n sourcePort: 'sourcePort',\n },\n ruleOptions: [{\n keyword: 'keyword',\n\n // the properties below are optional\n settings: ['settings'],\n }],\n }],\n statelessRulesAndCustomActions: {\n statelessRules: [{\n priority: 123,\n ruleDefinition: {\n actions: ['actions'],\n matchAttributes: {\n destinationPorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n destinations: [{\n addressDefinition: 'addressDefinition',\n }],\n protocols: [123],\n sourcePorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n sources: [{\n addressDefinition: 'addressDefinition',\n }],\n tcpFlags: [{\n flags: ['flags'],\n\n // the properties below are optional\n masks: ['masks'],\n }],\n },\n },\n }],\n\n // the properties below are optional\n customActions: [{\n actionDefinition: {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n },\n actionName: 'actionName',\n }],\n },\n },\n\n // the properties below are optional\n referenceSets: {\n ipSetReferences: {\n ipSetReferencesKey: {\n referenceArn: 'referenceArn',\n },\n },\n },\n ruleVariables: {\n ipSets: {\n ipSetsKey: {\n definition: ['definition'],\n },\n },\n portSets: {\n portSetsKey: {\n definition: ['definition'],\n },\n },\n },\n statefulRuleOptions: {\n ruleOrder: 'ruleOrder',\n },\n },\n tags: [{\n key: 'key',\n value: 'value',\n }],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":7,"10":31,"75":69,"104":1,"192":20,"193":30,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":65,"290":1},"fqnsFingerprint":"fba052ce09cebde48d7387c92958b9c16deeba2b4f474089165d0ba660b31985"},"162fdf9bad9c573239a250bf10f17521a9b83c7c9d12dec1ead23c7b9de5e591":{"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_networkfirewall as networkfirewall\n\naction_definition_property = networkfirewall.CfnRuleGroup.ActionDefinitionProperty(\n publish_metric_action=networkfirewall.CfnRuleGroup.PublishMetricActionProperty(\n dimensions=[networkfirewall.CfnRuleGroup.DimensionProperty(\n value=\"value\"\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.NetworkFirewall;\n\nvar actionDefinitionProperty = new ActionDefinitionProperty {\n PublishMetricAction = new PublishMetricActionProperty {\n Dimensions = new [] { new DimensionProperty {\n Value = \"value\"\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.networkfirewall.*;\n\nActionDefinitionProperty actionDefinitionProperty = ActionDefinitionProperty.builder()\n .publishMetricAction(PublishMetricActionProperty.builder()\n .dimensions(List.of(DimensionProperty.builder()\n .value(\"value\")\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nactionDefinitionProperty := &ActionDefinitionProperty{\n\tPublishMetricAction: &PublishMetricActionProperty{\n\t\tDimensions: []interface{}{\n\t\t\t&DimensionProperty{\n\t\t\t\tValue: jsii.String(\"value\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst actionDefinitionProperty: networkfirewall.CfnRuleGroup.ActionDefinitionProperty = {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup.ActionDefinitionProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup.ActionDefinitionProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 actionDefinitionProperty: networkfirewall.CfnRuleGroup.ActionDefinitionProperty = {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":8,"153":2,"169":1,"192":1,"193":3,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":3,"290":1},"fqnsFingerprint":"5483ea66694ccf480856fe29136fcb8b21d02f84c6c8551a840813f648c37bdf"},"93076a64b8f3e0645ac028ad63623fe88f74ad7740315611be5ab3528aea2790":{"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_networkfirewall as networkfirewall\n\naddress_property = networkfirewall.CfnRuleGroup.AddressProperty(\n address_definition=\"addressDefinition\"\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.NetworkFirewall;\n\nvar addressProperty = new AddressProperty {\n AddressDefinition = \"addressDefinition\"\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.networkfirewall.*;\n\nAddressProperty addressProperty = AddressProperty.builder()\n .addressDefinition(\"addressDefinition\")\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\naddressProperty := &AddressProperty{\n\tAddressDefinition: jsii.String(\"addressDefinition\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst addressProperty: networkfirewall.CfnRuleGroup.AddressProperty = {\n addressDefinition: 'addressDefinition',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup.AddressProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup.AddressProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 addressProperty: networkfirewall.CfnRuleGroup.AddressProperty = {\n addressDefinition: 'addressDefinition',\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":"2ad31870f3a345c979e0adb84d90b6a0e9502efc3bd299f0051772eaea9898b5"},"49d1aa9b3e0327f6668e32ae01780e69aac59902a446c668624b925ecbfbd28c":{"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_networkfirewall as networkfirewall\n\ncustom_action_property = networkfirewall.CfnRuleGroup.CustomActionProperty(\n action_definition=networkfirewall.CfnRuleGroup.ActionDefinitionProperty(\n publish_metric_action=networkfirewall.CfnRuleGroup.PublishMetricActionProperty(\n dimensions=[networkfirewall.CfnRuleGroup.DimensionProperty(\n value=\"value\"\n )]\n )\n ),\n action_name=\"actionName\"\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.NetworkFirewall;\n\nvar customActionProperty = new CustomActionProperty {\n ActionDefinition = new ActionDefinitionProperty {\n PublishMetricAction = new PublishMetricActionProperty {\n Dimensions = new [] { new DimensionProperty {\n Value = \"value\"\n } }\n }\n },\n ActionName = \"actionName\"\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.networkfirewall.*;\n\nCustomActionProperty customActionProperty = CustomActionProperty.builder()\n .actionDefinition(ActionDefinitionProperty.builder()\n .publishMetricAction(PublishMetricActionProperty.builder()\n .dimensions(List.of(DimensionProperty.builder()\n .value(\"value\")\n .build()))\n .build())\n .build())\n .actionName(\"actionName\")\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\ncustomActionProperty := &CustomActionProperty{\n\tActionDefinition: &ActionDefinitionProperty{\n\t\tPublishMetricAction: &PublishMetricActionProperty{\n\t\t\tDimensions: []interface{}{\n\t\t\t\t&DimensionProperty{\n\t\t\t\t\tValue: jsii.String(\"value\"),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n\tActionName: jsii.String(\"actionName\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst customActionProperty: networkfirewall.CfnRuleGroup.CustomActionProperty = {\n actionDefinition: {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n },\n actionName: 'actionName',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup.CustomActionProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup.CustomActionProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 customActionProperty: networkfirewall.CfnRuleGroup.CustomActionProperty = {\n actionDefinition: {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n },\n actionName: 'actionName',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":10,"153":2,"169":1,"192":1,"193":4,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":5,"290":1},"fqnsFingerprint":"686048c493399bd9df0293dcbb44b7191505e3d726d605d220cdbedb4b8a82f9"},"3f04c45015d923e97c217aaf2fc08743fee68c6d41377384041657d867619b3f":{"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_networkfirewall as networkfirewall\n\ndimension_property = networkfirewall.CfnRuleGroup.DimensionProperty(\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.NetworkFirewall;\n\nvar dimensionProperty = new DimensionProperty {\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.networkfirewall.*;\n\nDimensionProperty dimensionProperty = DimensionProperty.builder()\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\ndimensionProperty := &DimensionProperty{\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst dimensionProperty: networkfirewall.CfnRuleGroup.DimensionProperty = {\n value: 'value',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup.DimensionProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup.DimensionProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 dimensionProperty: networkfirewall.CfnRuleGroup.DimensionProperty = {\n value: 'value',\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":"f3655a93d4cd98653d432fc1324e896c68618548515413ca71092d640f493db7"},"ee28975f83bc0459e0f857db74fed998a5fbfce048bb8d84c21a8145a3edd0d4":{"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_networkfirewall as networkfirewall\n\nheader_property = networkfirewall.CfnRuleGroup.HeaderProperty(\n destination=\"destination\",\n destination_port=\"destinationPort\",\n direction=\"direction\",\n protocol=\"protocol\",\n source=\"source\",\n source_port=\"sourcePort\"\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.NetworkFirewall;\n\nvar headerProperty = new HeaderProperty {\n Destination = \"destination\",\n DestinationPort = \"destinationPort\",\n Direction = \"direction\",\n Protocol = \"protocol\",\n Source = \"source\",\n SourcePort = \"sourcePort\"\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.networkfirewall.*;\n\nHeaderProperty headerProperty = HeaderProperty.builder()\n .destination(\"destination\")\n .destinationPort(\"destinationPort\")\n .direction(\"direction\")\n .protocol(\"protocol\")\n .source(\"source\")\n .sourcePort(\"sourcePort\")\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nheaderProperty := &HeaderProperty{\n\tDestination: jsii.String(\"destination\"),\n\tDestinationPort: jsii.String(\"destinationPort\"),\n\tDirection: jsii.String(\"direction\"),\n\tProtocol: jsii.String(\"protocol\"),\n\tSource: jsii.String(\"source\"),\n\tSourcePort: jsii.String(\"sourcePort\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst headerProperty: networkfirewall.CfnRuleGroup.HeaderProperty = {\n destination: 'destination',\n destinationPort: 'destinationPort',\n direction: 'direction',\n protocol: 'protocol',\n source: 'source',\n sourcePort: 'sourcePort',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup.HeaderProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup.HeaderProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 headerProperty: networkfirewall.CfnRuleGroup.HeaderProperty = {\n destination: 'destination',\n destinationPort: 'destinationPort',\n direction: 'direction',\n protocol: 'protocol',\n source: 'source',\n sourcePort: 'sourcePort',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":7,"75":11,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":6,"290":1},"fqnsFingerprint":"08908978363a626487463b9b6360efda4b6b41aaa5ee76bbfa55199b908a7e65"},"bb6d062fcfb6b1687e7feca1a7b0fe715ec4023a8f604e8e8474b78ba01bad54":{"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_networkfirewall as networkfirewall\n\ni_pSet_property = {\n \"definition\": [\"definition\"]\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.NetworkFirewall;\n\nvar iPSetProperty = new Dictionary {\n { \"definition\", new [] { \"definition\" } }\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.networkfirewall.*;\n\nIPSetProperty iPSetProperty = Map.of(\n \"definition\", List.of(\"definition\"));","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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\niPSetProperty := map[string][]*string{\n\t\"definition\": []*string{\n\t\tjsii.String(\"definition\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst iPSetProperty: networkfirewall.CfnRuleGroup.IPSetProperty = {\n definition: ['definition'],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup.IPSetProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup.IPSetProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 iPSetProperty: networkfirewall.CfnRuleGroup.IPSetProperty = {\n definition: ['definition'],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":6,"153":2,"169":1,"192":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":1,"290":1},"fqnsFingerprint":"e309551ba30d5b8321f984ca8429fcee54c5b94f56093deadf94470508032017"},"b52561f36ad45a3b7807ad3d0339f84a280360b030ef6e476dd8d979a1f81335":{"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_networkfirewall as networkfirewall\n\ni_pSet_reference_property = {\n \"reference_arn\": \"referenceArn\"\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.NetworkFirewall;\n\nvar iPSetReferenceProperty = new Dictionary {\n { \"referenceArn\", \"referenceArn\" }\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.networkfirewall.*;\n\nIPSetReferenceProperty iPSetReferenceProperty = Map.of(\n \"referenceArn\", \"referenceArn\");","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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\niPSetReferenceProperty := map[string]*string{\n\t\"referenceArn\": jsii.String(\"referenceArn\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst iPSetReferenceProperty: networkfirewall.CfnRuleGroup.IPSetReferenceProperty = {\n referenceArn: 'referenceArn',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup.IPSetReferenceProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup.IPSetReferenceProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 iPSetReferenceProperty: networkfirewall.CfnRuleGroup.IPSetReferenceProperty = {\n referenceArn: 'referenceArn',\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":"bcbc96a7b25efc6219270946fcd994f8bb1111fa58764378006fe71ccd23354e"},"48eab782e4e07751ad855e32db81dc3a7cc975d634ee5fb2f0985badca9b5c90":{"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_networkfirewall as networkfirewall\n\nmatch_attributes_property = networkfirewall.CfnRuleGroup.MatchAttributesProperty(\n destination_ports=[networkfirewall.CfnRuleGroup.PortRangeProperty(\n from_port=123,\n to_port=123\n )],\n destinations=[networkfirewall.CfnRuleGroup.AddressProperty(\n address_definition=\"addressDefinition\"\n )],\n protocols=[123],\n source_ports=[networkfirewall.CfnRuleGroup.PortRangeProperty(\n from_port=123,\n to_port=123\n )],\n sources=[networkfirewall.CfnRuleGroup.AddressProperty(\n address_definition=\"addressDefinition\"\n )],\n tcp_flags=[networkfirewall.CfnRuleGroup.TCPFlagFieldProperty(\n flags=[\"flags\"],\n\n # the properties below are optional\n masks=[\"masks\"]\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.NetworkFirewall;\n\nvar matchAttributesProperty = new MatchAttributesProperty {\n DestinationPorts = new [] { new PortRangeProperty {\n FromPort = 123,\n ToPort = 123\n } },\n Destinations = new [] { new AddressProperty {\n AddressDefinition = \"addressDefinition\"\n } },\n Protocols = new [] { 123 },\n SourcePorts = new [] { new PortRangeProperty {\n FromPort = 123,\n ToPort = 123\n } },\n Sources = new [] { new AddressProperty {\n AddressDefinition = \"addressDefinition\"\n } },\n TcpFlags = new [] { new TCPFlagFieldProperty {\n Flags = new [] { \"flags\" },\n\n // the properties below are optional\n Masks = new [] { \"masks\" }\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.networkfirewall.*;\n\nMatchAttributesProperty matchAttributesProperty = MatchAttributesProperty.builder()\n .destinationPorts(List.of(PortRangeProperty.builder()\n .fromPort(123)\n .toPort(123)\n .build()))\n .destinations(List.of(AddressProperty.builder()\n .addressDefinition(\"addressDefinition\")\n .build()))\n .protocols(List.of(123))\n .sourcePorts(List.of(PortRangeProperty.builder()\n .fromPort(123)\n .toPort(123)\n .build()))\n .sources(List.of(AddressProperty.builder()\n .addressDefinition(\"addressDefinition\")\n .build()))\n .tcpFlags(List.of(TCPFlagFieldProperty.builder()\n .flags(List.of(\"flags\"))\n\n // the properties below are optional\n .masks(List.of(\"masks\"))\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nmatchAttributesProperty := &MatchAttributesProperty{\n\tDestinationPorts: []interface{}{\n\t\t&PortRangeProperty{\n\t\t\tFromPort: jsii.Number(123),\n\t\t\tToPort: jsii.Number(123),\n\t\t},\n\t},\n\tDestinations: []interface{}{\n\t\t&AddressProperty{\n\t\t\tAddressDefinition: jsii.String(\"addressDefinition\"),\n\t\t},\n\t},\n\tProtocols: []interface{}{\n\t\tjsii.Number(123),\n\t},\n\tSourcePorts: []interface{}{\n\t\t&PortRangeProperty{\n\t\t\tFromPort: jsii.Number(123),\n\t\t\tToPort: jsii.Number(123),\n\t\t},\n\t},\n\tSources: []interface{}{\n\t\t&AddressProperty{\n\t\t\tAddressDefinition: jsii.String(\"addressDefinition\"),\n\t\t},\n\t},\n\tTcpFlags: []interface{}{\n\t\t&TCPFlagFieldProperty{\n\t\t\tFlags: []*string{\n\t\t\t\tjsii.String(\"flags\"),\n\t\t\t},\n\n\t\t\t// the properties below are optional\n\t\t\tMasks: []*string{\n\t\t\t\tjsii.String(\"masks\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst matchAttributesProperty: networkfirewall.CfnRuleGroup.MatchAttributesProperty = {\n destinationPorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n destinations: [{\n addressDefinition: 'addressDefinition',\n }],\n protocols: [123],\n sourcePorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n sources: [{\n addressDefinition: 'addressDefinition',\n }],\n tcpFlags: [{\n flags: ['flags'],\n\n // the properties below are optional\n masks: ['masks'],\n }],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup.MatchAttributesProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup.MatchAttributesProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 matchAttributesProperty: networkfirewall.CfnRuleGroup.MatchAttributesProperty = {\n destinationPorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n destinations: [{\n addressDefinition: 'addressDefinition',\n }],\n protocols: [123],\n sourcePorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n sources: [{\n addressDefinition: 'addressDefinition',\n }],\n tcpFlags: [{\n flags: ['flags'],\n\n // the properties below are optional\n masks: ['masks'],\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":5,"10":5,"75":19,"153":2,"169":1,"192":8,"193":6,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":14,"290":1},"fqnsFingerprint":"464ecf1a1ba3a15d698cfaf0505d875ff421a0d2946246d11e45bda3a77a095e"},"812f7f4f16cf33f39102af68642bbdd5ab43a24dd8036fc62a2dc148e8de18e0":{"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_networkfirewall as networkfirewall\n\nport_range_property = networkfirewall.CfnRuleGroup.PortRangeProperty(\n from_port=123,\n to_port=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.NetworkFirewall;\n\nvar portRangeProperty = new PortRangeProperty {\n FromPort = 123,\n ToPort = 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.networkfirewall.*;\n\nPortRangeProperty portRangeProperty = PortRangeProperty.builder()\n .fromPort(123)\n .toPort(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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nportRangeProperty := &PortRangeProperty{\n\tFromPort: jsii.Number(123),\n\tToPort: 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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst portRangeProperty: networkfirewall.CfnRuleGroup.PortRangeProperty = {\n fromPort: 123,\n toPort: 123,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup.PortRangeProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup.PortRangeProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 portRangeProperty: networkfirewall.CfnRuleGroup.PortRangeProperty = {\n fromPort: 123,\n toPort: 123,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":2,"10":1,"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":"92eb9a7eb6bb9bff274a91f4b69074825aee9c57d082bf62345afe0f4715531d"},"17b3ef9875cac5e8f04852a5a7459fef38465ee0b9d83e0bc29a10bec50924fe":{"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_networkfirewall as networkfirewall\n\nport_set_property = networkfirewall.CfnRuleGroup.PortSetProperty(\n definition=[\"definition\"]\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.NetworkFirewall;\n\nvar portSetProperty = new PortSetProperty {\n Definition = new [] { \"definition\" }\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.networkfirewall.*;\n\nPortSetProperty portSetProperty = PortSetProperty.builder()\n .definition(List.of(\"definition\"))\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nportSetProperty := &PortSetProperty{\n\tDefinition: []*string{\n\t\tjsii.String(\"definition\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst portSetProperty: networkfirewall.CfnRuleGroup.PortSetProperty = {\n definition: ['definition'],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup.PortSetProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup.PortSetProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 portSetProperty: networkfirewall.CfnRuleGroup.PortSetProperty = {\n definition: ['definition'],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":6,"153":2,"169":1,"192":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":1,"290":1},"fqnsFingerprint":"b67e6c70db86d131ea52062a4780654abc97966ed60d15af949a5dff6f0b90ed"},"57772cd0b0848af2ab65089ee178b3633682b32014faa09eb9dc5c0af9a62cc7":{"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_networkfirewall as networkfirewall\n\npublish_metric_action_property = networkfirewall.CfnRuleGroup.PublishMetricActionProperty(\n dimensions=[networkfirewall.CfnRuleGroup.DimensionProperty(\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.NetworkFirewall;\n\nvar publishMetricActionProperty = new PublishMetricActionProperty {\n Dimensions = new [] { new DimensionProperty {\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.networkfirewall.*;\n\nPublishMetricActionProperty publishMetricActionProperty = PublishMetricActionProperty.builder()\n .dimensions(List.of(DimensionProperty.builder()\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\npublishMetricActionProperty := &PublishMetricActionProperty{\n\tDimensions: []interface{}{\n\t\t&DimensionProperty{\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst publishMetricActionProperty: networkfirewall.CfnRuleGroup.PublishMetricActionProperty = {\n dimensions: [{\n value: 'value',\n }],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup.PublishMetricActionProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup.PublishMetricActionProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 publishMetricActionProperty: networkfirewall.CfnRuleGroup.PublishMetricActionProperty = {\n dimensions: [{\n value: 'value',\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":7,"153":2,"169":1,"192":1,"193":2,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"42c5ffd4426b2fb125301c8b1f1f08a0ddef0ae18538c2752607df8bd1cea958"},"6c4acf99149cd92b1ffd810936113a4051196cc16df5fbd921536b50d2c70d32":{"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_networkfirewall as networkfirewall\n\nreference_sets_property = networkfirewall.CfnRuleGroup.ReferenceSetsProperty(\n ip_set_references={\n \"ip_set_references_key\": {\n \"reference_arn\": \"referenceArn\"\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.NetworkFirewall;\n\nvar referenceSetsProperty = new ReferenceSetsProperty {\n IpSetReferences = new Dictionary {\n { \"ipSetReferencesKey\", new Dictionary {\n { \"referenceArn\", \"referenceArn\" }\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.networkfirewall.*;\n\nReferenceSetsProperty referenceSetsProperty = ReferenceSetsProperty.builder()\n .ipSetReferences(Map.of(\n \"ipSetReferencesKey\", Map.of(\n \"referenceArn\", \"referenceArn\")))\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nreferenceSetsProperty := &ReferenceSetsProperty{\n\tIpSetReferences: map[string]interface{}{\n\t\t\"ipSetReferencesKey\": map[string]*string{\n\t\t\t\"referenceArn\": jsii.String(\"referenceArn\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst referenceSetsProperty: networkfirewall.CfnRuleGroup.ReferenceSetsProperty = {\n ipSetReferences: {\n ipSetReferencesKey: {\n referenceArn: 'referenceArn',\n },\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup.ReferenceSetsProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup.ReferenceSetsProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 referenceSetsProperty: networkfirewall.CfnRuleGroup.ReferenceSetsProperty = {\n ipSetReferences: {\n ipSetReferencesKey: {\n referenceArn: 'referenceArn',\n },\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":8,"153":2,"169":1,"193":3,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":3,"290":1},"fqnsFingerprint":"655caadf0db91da7a506dbf48f40eb187d6bdbb7d7776b0682641a94a6851d27"},"e08293dd2451feb89adad67942041af8d83fe2b6e6ea4948333f22026a8fbf7c":{"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_networkfirewall as networkfirewall\n\nrule_definition_property = networkfirewall.CfnRuleGroup.RuleDefinitionProperty(\n actions=[\"actions\"],\n match_attributes=networkfirewall.CfnRuleGroup.MatchAttributesProperty(\n destination_ports=[networkfirewall.CfnRuleGroup.PortRangeProperty(\n from_port=123,\n to_port=123\n )],\n destinations=[networkfirewall.CfnRuleGroup.AddressProperty(\n address_definition=\"addressDefinition\"\n )],\n protocols=[123],\n source_ports=[networkfirewall.CfnRuleGroup.PortRangeProperty(\n from_port=123,\n to_port=123\n )],\n sources=[networkfirewall.CfnRuleGroup.AddressProperty(\n address_definition=\"addressDefinition\"\n )],\n tcp_flags=[networkfirewall.CfnRuleGroup.TCPFlagFieldProperty(\n flags=[\"flags\"],\n\n # the properties below are optional\n masks=[\"masks\"]\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.NetworkFirewall;\n\nvar ruleDefinitionProperty = new RuleDefinitionProperty {\n Actions = new [] { \"actions\" },\n MatchAttributes = new MatchAttributesProperty {\n DestinationPorts = new [] { new PortRangeProperty {\n FromPort = 123,\n ToPort = 123\n } },\n Destinations = new [] { new AddressProperty {\n AddressDefinition = \"addressDefinition\"\n } },\n Protocols = new [] { 123 },\n SourcePorts = new [] { new PortRangeProperty {\n FromPort = 123,\n ToPort = 123\n } },\n Sources = new [] { new AddressProperty {\n AddressDefinition = \"addressDefinition\"\n } },\n TcpFlags = new [] { new TCPFlagFieldProperty {\n Flags = new [] { \"flags\" },\n\n // the properties below are optional\n Masks = new [] { \"masks\" }\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.networkfirewall.*;\n\nRuleDefinitionProperty ruleDefinitionProperty = RuleDefinitionProperty.builder()\n .actions(List.of(\"actions\"))\n .matchAttributes(MatchAttributesProperty.builder()\n .destinationPorts(List.of(PortRangeProperty.builder()\n .fromPort(123)\n .toPort(123)\n .build()))\n .destinations(List.of(AddressProperty.builder()\n .addressDefinition(\"addressDefinition\")\n .build()))\n .protocols(List.of(123))\n .sourcePorts(List.of(PortRangeProperty.builder()\n .fromPort(123)\n .toPort(123)\n .build()))\n .sources(List.of(AddressProperty.builder()\n .addressDefinition(\"addressDefinition\")\n .build()))\n .tcpFlags(List.of(TCPFlagFieldProperty.builder()\n .flags(List.of(\"flags\"))\n\n // the properties below are optional\n .masks(List.of(\"masks\"))\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nruleDefinitionProperty := &RuleDefinitionProperty{\n\tActions: []*string{\n\t\tjsii.String(\"actions\"),\n\t},\n\tMatchAttributes: &MatchAttributesProperty{\n\t\tDestinationPorts: []interface{}{\n\t\t\t&PortRangeProperty{\n\t\t\t\tFromPort: jsii.Number(123),\n\t\t\t\tToPort: jsii.Number(123),\n\t\t\t},\n\t\t},\n\t\tDestinations: []interface{}{\n\t\t\t&AddressProperty{\n\t\t\t\tAddressDefinition: jsii.String(\"addressDefinition\"),\n\t\t\t},\n\t\t},\n\t\tProtocols: []interface{}{\n\t\t\tjsii.Number(123),\n\t\t},\n\t\tSourcePorts: []interface{}{\n\t\t\t&PortRangeProperty{\n\t\t\t\tFromPort: jsii.Number(123),\n\t\t\t\tToPort: jsii.Number(123),\n\t\t\t},\n\t\t},\n\t\tSources: []interface{}{\n\t\t\t&AddressProperty{\n\t\t\t\tAddressDefinition: jsii.String(\"addressDefinition\"),\n\t\t\t},\n\t\t},\n\t\tTcpFlags: []interface{}{\n\t\t\t&TCPFlagFieldProperty{\n\t\t\t\tFlags: []*string{\n\t\t\t\t\tjsii.String(\"flags\"),\n\t\t\t\t},\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tMasks: []*string{\n\t\t\t\t\tjsii.String(\"masks\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst ruleDefinitionProperty: networkfirewall.CfnRuleGroup.RuleDefinitionProperty = {\n actions: ['actions'],\n matchAttributes: {\n destinationPorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n destinations: [{\n addressDefinition: 'addressDefinition',\n }],\n protocols: [123],\n sourcePorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n sources: [{\n addressDefinition: 'addressDefinition',\n }],\n tcpFlags: [{\n flags: ['flags'],\n\n // the properties below are optional\n masks: ['masks'],\n }],\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup.RuleDefinitionProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup.RuleDefinitionProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 ruleDefinitionProperty: networkfirewall.CfnRuleGroup.RuleDefinitionProperty = {\n actions: ['actions'],\n matchAttributes: {\n destinationPorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n destinations: [{\n addressDefinition: 'addressDefinition',\n }],\n protocols: [123],\n sourcePorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n sources: [{\n addressDefinition: 'addressDefinition',\n }],\n tcpFlags: [{\n flags: ['flags'],\n\n // the properties below are optional\n masks: ['masks'],\n }],\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":5,"10":6,"75":21,"153":2,"169":1,"192":9,"193":7,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":16,"290":1},"fqnsFingerprint":"07504ae9a0676b3810861c0077a0ed3a28c3f6ec3e6d7335a9620b5136901889"},"c3105b310859bbfa39a1e59db6b7b317f23f2411df12620ceffbb59ca5fa61cd":{"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_networkfirewall as networkfirewall\n\nrule_group_property = networkfirewall.CfnRuleGroup.RuleGroupProperty(\n rules_source=networkfirewall.CfnRuleGroup.RulesSourceProperty(\n rules_source_list=networkfirewall.CfnRuleGroup.RulesSourceListProperty(\n generated_rules_type=\"generatedRulesType\",\n targets=[\"targets\"],\n target_types=[\"targetTypes\"]\n ),\n rules_string=\"rulesString\",\n stateful_rules=[networkfirewall.CfnRuleGroup.StatefulRuleProperty(\n action=\"action\",\n header=networkfirewall.CfnRuleGroup.HeaderProperty(\n destination=\"destination\",\n destination_port=\"destinationPort\",\n direction=\"direction\",\n protocol=\"protocol\",\n source=\"source\",\n source_port=\"sourcePort\"\n ),\n rule_options=[networkfirewall.CfnRuleGroup.RuleOptionProperty(\n keyword=\"keyword\",\n\n # the properties below are optional\n settings=[\"settings\"]\n )]\n )],\n stateless_rules_and_custom_actions=networkfirewall.CfnRuleGroup.StatelessRulesAndCustomActionsProperty(\n stateless_rules=[networkfirewall.CfnRuleGroup.StatelessRuleProperty(\n priority=123,\n rule_definition=networkfirewall.CfnRuleGroup.RuleDefinitionProperty(\n actions=[\"actions\"],\n match_attributes=networkfirewall.CfnRuleGroup.MatchAttributesProperty(\n destination_ports=[networkfirewall.CfnRuleGroup.PortRangeProperty(\n from_port=123,\n to_port=123\n )],\n destinations=[networkfirewall.CfnRuleGroup.AddressProperty(\n address_definition=\"addressDefinition\"\n )],\n protocols=[123],\n source_ports=[networkfirewall.CfnRuleGroup.PortRangeProperty(\n from_port=123,\n to_port=123\n )],\n sources=[networkfirewall.CfnRuleGroup.AddressProperty(\n address_definition=\"addressDefinition\"\n )],\n tcp_flags=[networkfirewall.CfnRuleGroup.TCPFlagFieldProperty(\n flags=[\"flags\"],\n\n # the properties below are optional\n masks=[\"masks\"]\n )]\n )\n )\n )],\n\n # the properties below are optional\n custom_actions=[networkfirewall.CfnRuleGroup.CustomActionProperty(\n action_definition=networkfirewall.CfnRuleGroup.ActionDefinitionProperty(\n publish_metric_action=networkfirewall.CfnRuleGroup.PublishMetricActionProperty(\n dimensions=[networkfirewall.CfnRuleGroup.DimensionProperty(\n value=\"value\"\n )]\n )\n ),\n action_name=\"actionName\"\n )]\n )\n ),\n\n # the properties below are optional\n reference_sets=networkfirewall.CfnRuleGroup.ReferenceSetsProperty(\n ip_set_references={\n \"ip_set_references_key\": {\n \"reference_arn\": \"referenceArn\"\n }\n }\n ),\n rule_variables=networkfirewall.CfnRuleGroup.RuleVariablesProperty(\n ip_sets={\n \"ip_sets_key\": {\n \"definition\": [\"definition\"]\n }\n },\n port_sets={\n \"port_sets_key\": networkfirewall.CfnRuleGroup.PortSetProperty(\n definition=[\"definition\"]\n )\n }\n ),\n stateful_rule_options=networkfirewall.CfnRuleGroup.StatefulRuleOptionsProperty(\n rule_order=\"ruleOrder\"\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.NetworkFirewall;\n\nvar ruleGroupProperty = new RuleGroupProperty {\n RulesSource = new RulesSourceProperty {\n RulesSourceList = new RulesSourceListProperty {\n GeneratedRulesType = \"generatedRulesType\",\n Targets = new [] { \"targets\" },\n TargetTypes = new [] { \"targetTypes\" }\n },\n RulesString = \"rulesString\",\n StatefulRules = new [] { new StatefulRuleProperty {\n Action = \"action\",\n Header = new HeaderProperty {\n Destination = \"destination\",\n DestinationPort = \"destinationPort\",\n Direction = \"direction\",\n Protocol = \"protocol\",\n Source = \"source\",\n SourcePort = \"sourcePort\"\n },\n RuleOptions = new [] { new RuleOptionProperty {\n Keyword = \"keyword\",\n\n // the properties below are optional\n Settings = new [] { \"settings\" }\n } }\n } },\n StatelessRulesAndCustomActions = new StatelessRulesAndCustomActionsProperty {\n StatelessRules = new [] { new StatelessRuleProperty {\n Priority = 123,\n RuleDefinition = new RuleDefinitionProperty {\n Actions = new [] { \"actions\" },\n MatchAttributes = new MatchAttributesProperty {\n DestinationPorts = new [] { new PortRangeProperty {\n FromPort = 123,\n ToPort = 123\n } },\n Destinations = new [] { new AddressProperty {\n AddressDefinition = \"addressDefinition\"\n } },\n Protocols = new [] { 123 },\n SourcePorts = new [] { new PortRangeProperty {\n FromPort = 123,\n ToPort = 123\n } },\n Sources = new [] { new AddressProperty {\n AddressDefinition = \"addressDefinition\"\n } },\n TcpFlags = new [] { new TCPFlagFieldProperty {\n Flags = new [] { \"flags\" },\n\n // the properties below are optional\n Masks = new [] { \"masks\" }\n } }\n }\n }\n } },\n\n // the properties below are optional\n CustomActions = new [] { new CustomActionProperty {\n ActionDefinition = new ActionDefinitionProperty {\n PublishMetricAction = new PublishMetricActionProperty {\n Dimensions = new [] { new DimensionProperty {\n Value = \"value\"\n } }\n }\n },\n ActionName = \"actionName\"\n } }\n }\n },\n\n // the properties below are optional\n ReferenceSets = new ReferenceSetsProperty {\n IpSetReferences = new Dictionary {\n { \"ipSetReferencesKey\", new Dictionary {\n { \"referenceArn\", \"referenceArn\" }\n } }\n }\n },\n RuleVariables = new RuleVariablesProperty {\n IpSets = new Dictionary {\n { \"ipSetsKey\", new Dictionary {\n { \"definition\", new [] { \"definition\" } }\n } }\n },\n PortSets = new Dictionary {\n { \"portSetsKey\", new PortSetProperty {\n Definition = new [] { \"definition\" }\n } }\n }\n },\n StatefulRuleOptions = new StatefulRuleOptionsProperty {\n RuleOrder = \"ruleOrder\"\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.networkfirewall.*;\n\nRuleGroupProperty ruleGroupProperty = RuleGroupProperty.builder()\n .rulesSource(RulesSourceProperty.builder()\n .rulesSourceList(RulesSourceListProperty.builder()\n .generatedRulesType(\"generatedRulesType\")\n .targets(List.of(\"targets\"))\n .targetTypes(List.of(\"targetTypes\"))\n .build())\n .rulesString(\"rulesString\")\n .statefulRules(List.of(StatefulRuleProperty.builder()\n .action(\"action\")\n .header(HeaderProperty.builder()\n .destination(\"destination\")\n .destinationPort(\"destinationPort\")\n .direction(\"direction\")\n .protocol(\"protocol\")\n .source(\"source\")\n .sourcePort(\"sourcePort\")\n .build())\n .ruleOptions(List.of(RuleOptionProperty.builder()\n .keyword(\"keyword\")\n\n // the properties below are optional\n .settings(List.of(\"settings\"))\n .build()))\n .build()))\n .statelessRulesAndCustomActions(StatelessRulesAndCustomActionsProperty.builder()\n .statelessRules(List.of(StatelessRuleProperty.builder()\n .priority(123)\n .ruleDefinition(RuleDefinitionProperty.builder()\n .actions(List.of(\"actions\"))\n .matchAttributes(MatchAttributesProperty.builder()\n .destinationPorts(List.of(PortRangeProperty.builder()\n .fromPort(123)\n .toPort(123)\n .build()))\n .destinations(List.of(AddressProperty.builder()\n .addressDefinition(\"addressDefinition\")\n .build()))\n .protocols(List.of(123))\n .sourcePorts(List.of(PortRangeProperty.builder()\n .fromPort(123)\n .toPort(123)\n .build()))\n .sources(List.of(AddressProperty.builder()\n .addressDefinition(\"addressDefinition\")\n .build()))\n .tcpFlags(List.of(TCPFlagFieldProperty.builder()\n .flags(List.of(\"flags\"))\n\n // the properties below are optional\n .masks(List.of(\"masks\"))\n .build()))\n .build())\n .build())\n .build()))\n\n // the properties below are optional\n .customActions(List.of(CustomActionProperty.builder()\n .actionDefinition(ActionDefinitionProperty.builder()\n .publishMetricAction(PublishMetricActionProperty.builder()\n .dimensions(List.of(DimensionProperty.builder()\n .value(\"value\")\n .build()))\n .build())\n .build())\n .actionName(\"actionName\")\n .build()))\n .build())\n .build())\n\n // the properties below are optional\n .referenceSets(ReferenceSetsProperty.builder()\n .ipSetReferences(Map.of(\n \"ipSetReferencesKey\", Map.of(\n \"referenceArn\", \"referenceArn\")))\n .build())\n .ruleVariables(RuleVariablesProperty.builder()\n .ipSets(Map.of(\n \"ipSetsKey\", Map.of(\n \"definition\", List.of(\"definition\"))))\n .portSets(Map.of(\n \"portSetsKey\", PortSetProperty.builder()\n .definition(List.of(\"definition\"))\n .build()))\n .build())\n .statefulRuleOptions(StatefulRuleOptionsProperty.builder()\n .ruleOrder(\"ruleOrder\")\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nruleGroupProperty := &RuleGroupProperty{\n\tRulesSource: &RulesSourceProperty{\n\t\tRulesSourceList: &RulesSourceListProperty{\n\t\t\tGeneratedRulesType: jsii.String(\"generatedRulesType\"),\n\t\t\tTargets: []*string{\n\t\t\t\tjsii.String(\"targets\"),\n\t\t\t},\n\t\t\tTargetTypes: []*string{\n\t\t\t\tjsii.String(\"targetTypes\"),\n\t\t\t},\n\t\t},\n\t\tRulesString: jsii.String(\"rulesString\"),\n\t\tStatefulRules: []interface{}{\n\t\t\t&StatefulRuleProperty{\n\t\t\t\tAction: jsii.String(\"action\"),\n\t\t\t\tHeader: &HeaderProperty{\n\t\t\t\t\tDestination: jsii.String(\"destination\"),\n\t\t\t\t\tDestinationPort: jsii.String(\"destinationPort\"),\n\t\t\t\t\tDirection: jsii.String(\"direction\"),\n\t\t\t\t\tProtocol: jsii.String(\"protocol\"),\n\t\t\t\t\tSource: jsii.String(\"source\"),\n\t\t\t\t\tSourcePort: jsii.String(\"sourcePort\"),\n\t\t\t\t},\n\t\t\t\tRuleOptions: []interface{}{\n\t\t\t\t\t&RuleOptionProperty{\n\t\t\t\t\t\tKeyword: jsii.String(\"keyword\"),\n\n\t\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\tSettings: []*string{\n\t\t\t\t\t\t\tjsii.String(\"settings\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tStatelessRulesAndCustomActions: &StatelessRulesAndCustomActionsProperty{\n\t\t\tStatelessRules: []interface{}{\n\t\t\t\t&StatelessRuleProperty{\n\t\t\t\t\tPriority: jsii.Number(123),\n\t\t\t\t\tRuleDefinition: &RuleDefinitionProperty{\n\t\t\t\t\t\tActions: []*string{\n\t\t\t\t\t\t\tjsii.String(\"actions\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tMatchAttributes: &MatchAttributesProperty{\n\t\t\t\t\t\t\tDestinationPorts: []interface{}{\n\t\t\t\t\t\t\t\t&PortRangeProperty{\n\t\t\t\t\t\t\t\t\tFromPort: jsii.Number(123),\n\t\t\t\t\t\t\t\t\tToPort: jsii.Number(123),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tDestinations: []interface{}{\n\t\t\t\t\t\t\t\t&AddressProperty{\n\t\t\t\t\t\t\t\t\tAddressDefinition: jsii.String(\"addressDefinition\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tProtocols: []interface{}{\n\t\t\t\t\t\t\t\tjsii.Number(123),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tSourcePorts: []interface{}{\n\t\t\t\t\t\t\t\t&PortRangeProperty{\n\t\t\t\t\t\t\t\t\tFromPort: jsii.Number(123),\n\t\t\t\t\t\t\t\t\tToPort: jsii.Number(123),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tSources: []interface{}{\n\t\t\t\t\t\t\t\t&AddressProperty{\n\t\t\t\t\t\t\t\t\tAddressDefinition: jsii.String(\"addressDefinition\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tTcpFlags: []interface{}{\n\t\t\t\t\t\t\t\t&TCPFlagFieldProperty{\n\t\t\t\t\t\t\t\t\tFlags: []*string{\n\t\t\t\t\t\t\t\t\t\tjsii.String(\"flags\"),\n\t\t\t\t\t\t\t\t\t},\n\n\t\t\t\t\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\t\t\t\tMasks: []*string{\n\t\t\t\t\t\t\t\t\t\tjsii.String(\"masks\"),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\n\t\t\t// the properties below are optional\n\t\t\tCustomActions: []interface{}{\n\t\t\t\t&CustomActionProperty{\n\t\t\t\t\tActionDefinition: &ActionDefinitionProperty{\n\t\t\t\t\t\tPublishMetricAction: &PublishMetricActionProperty{\n\t\t\t\t\t\t\tDimensions: []interface{}{\n\t\t\t\t\t\t\t\t&DimensionProperty{\n\t\t\t\t\t\t\t\t\tValue: jsii.String(\"value\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tActionName: jsii.String(\"actionName\"),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n\n\t// the properties below are optional\n\tReferenceSets: &ReferenceSetsProperty{\n\t\tIpSetReferences: map[string]interface{}{\n\t\t\t\"ipSetReferencesKey\": map[string]*string{\n\t\t\t\t\"referenceArn\": jsii.String(\"referenceArn\"),\n\t\t\t},\n\t\t},\n\t},\n\tRuleVariables: &RuleVariablesProperty{\n\t\tIpSets: map[string]interface{}{\n\t\t\t\"ipSetsKey\": map[string][]*string{\n\t\t\t\t\"definition\": []*string{\n\t\t\t\t\tjsii.String(\"definition\"),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tPortSets: map[string]interface{}{\n\t\t\t\"portSetsKey\": &PortSetProperty{\n\t\t\t\t\"definition\": []*string{\n\t\t\t\t\tjsii.String(\"definition\"),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n\tStatefulRuleOptions: &StatefulRuleOptionsProperty{\n\t\tRuleOrder: jsii.String(\"ruleOrder\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst ruleGroupProperty: networkfirewall.CfnRuleGroup.RuleGroupProperty = {\n rulesSource: {\n rulesSourceList: {\n generatedRulesType: 'generatedRulesType',\n targets: ['targets'],\n targetTypes: ['targetTypes'],\n },\n rulesString: 'rulesString',\n statefulRules: [{\n action: 'action',\n header: {\n destination: 'destination',\n destinationPort: 'destinationPort',\n direction: 'direction',\n protocol: 'protocol',\n source: 'source',\n sourcePort: 'sourcePort',\n },\n ruleOptions: [{\n keyword: 'keyword',\n\n // the properties below are optional\n settings: ['settings'],\n }],\n }],\n statelessRulesAndCustomActions: {\n statelessRules: [{\n priority: 123,\n ruleDefinition: {\n actions: ['actions'],\n matchAttributes: {\n destinationPorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n destinations: [{\n addressDefinition: 'addressDefinition',\n }],\n protocols: [123],\n sourcePorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n sources: [{\n addressDefinition: 'addressDefinition',\n }],\n tcpFlags: [{\n flags: ['flags'],\n\n // the properties below are optional\n masks: ['masks'],\n }],\n },\n },\n }],\n\n // the properties below are optional\n customActions: [{\n actionDefinition: {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n },\n actionName: 'actionName',\n }],\n },\n },\n\n // the properties below are optional\n referenceSets: {\n ipSetReferences: {\n ipSetReferencesKey: {\n referenceArn: 'referenceArn',\n },\n },\n },\n ruleVariables: {\n ipSets: {\n ipSetsKey: {\n definition: ['definition'],\n },\n },\n portSets: {\n portSetsKey: {\n definition: ['definition'],\n },\n },\n },\n statefulRuleOptions: {\n ruleOrder: 'ruleOrder',\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup.RuleGroupProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup.RuleGroupProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 ruleGroupProperty: networkfirewall.CfnRuleGroup.RuleGroupProperty = {\n rulesSource: {\n rulesSourceList: {\n generatedRulesType: 'generatedRulesType',\n targets: ['targets'],\n targetTypes: ['targetTypes'],\n },\n rulesString: 'rulesString',\n statefulRules: [{\n action: 'action',\n header: {\n destination: 'destination',\n destinationPort: 'destinationPort',\n direction: 'direction',\n protocol: 'protocol',\n source: 'source',\n sourcePort: 'sourcePort',\n },\n ruleOptions: [{\n keyword: 'keyword',\n\n // the properties below are optional\n settings: ['settings'],\n }],\n }],\n statelessRulesAndCustomActions: {\n statelessRules: [{\n priority: 123,\n ruleDefinition: {\n actions: ['actions'],\n matchAttributes: {\n destinationPorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n destinations: [{\n addressDefinition: 'addressDefinition',\n }],\n protocols: [123],\n sourcePorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n sources: [{\n addressDefinition: 'addressDefinition',\n }],\n tcpFlags: [{\n flags: ['flags'],\n\n // the properties below are optional\n masks: ['masks'],\n }],\n },\n },\n }],\n\n // the properties below are optional\n customActions: [{\n actionDefinition: {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n },\n actionName: 'actionName',\n }],\n },\n },\n\n // the properties below are optional\n referenceSets: {\n ipSetReferences: {\n ipSetReferencesKey: {\n referenceArn: 'referenceArn',\n },\n },\n },\n ruleVariables: {\n ipSets: {\n ipSetsKey: {\n definition: ['definition'],\n },\n },\n portSets: {\n portSetsKey: {\n definition: ['definition'],\n },\n },\n },\n statefulRuleOptions: {\n ruleOrder: 'ruleOrder',\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":6,"10":25,"75":62,"153":2,"169":1,"192":19,"193":28,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":57,"290":1},"fqnsFingerprint":"606335bdc451d9bad7b4e08deb9fd2aed06fc1b376a8b7eaed0db3f411879f7f"},"f9a949e42be0813d81c024d616b9b9d2cd70707efb7eea81aa13c5bbf9701474":{"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_networkfirewall as networkfirewall\n\nrule_option_property = networkfirewall.CfnRuleGroup.RuleOptionProperty(\n keyword=\"keyword\",\n\n # the properties below are optional\n settings=[\"settings\"]\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.NetworkFirewall;\n\nvar ruleOptionProperty = new RuleOptionProperty {\n Keyword = \"keyword\",\n\n // the properties below are optional\n Settings = new [] { \"settings\" }\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.networkfirewall.*;\n\nRuleOptionProperty ruleOptionProperty = RuleOptionProperty.builder()\n .keyword(\"keyword\")\n\n // the properties below are optional\n .settings(List.of(\"settings\"))\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nruleOptionProperty := &RuleOptionProperty{\n\tKeyword: jsii.String(\"keyword\"),\n\n\t// the properties below are optional\n\tSettings: []*string{\n\t\tjsii.String(\"settings\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst ruleOptionProperty: networkfirewall.CfnRuleGroup.RuleOptionProperty = {\n keyword: 'keyword',\n\n // the properties below are optional\n settings: ['settings'],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup.RuleOptionProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup.RuleOptionProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 ruleOptionProperty: networkfirewall.CfnRuleGroup.RuleOptionProperty = {\n keyword: 'keyword',\n\n // the properties below are optional\n settings: ['settings'],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":7,"153":2,"169":1,"192":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"e065039ae59378cac3f3a72e59a6e0306143e0c4622af31286e6ac2de1c248e1"},"9d8013af16887a9f937c269df5e56ee1d781812d7c9622f02f87ea8967e5f4c4":{"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_networkfirewall as networkfirewall\n\nrule_variables_property = networkfirewall.CfnRuleGroup.RuleVariablesProperty(\n ip_sets={\n \"ip_sets_key\": {\n \"definition\": [\"definition\"]\n }\n },\n port_sets={\n \"port_sets_key\": networkfirewall.CfnRuleGroup.PortSetProperty(\n definition=[\"definition\"]\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.NetworkFirewall;\n\nvar ruleVariablesProperty = new RuleVariablesProperty {\n IpSets = new Dictionary {\n { \"ipSetsKey\", new Dictionary {\n { \"definition\", new [] { \"definition\" } }\n } }\n },\n PortSets = new Dictionary {\n { \"portSetsKey\", new PortSetProperty {\n Definition = new [] { \"definition\" }\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.networkfirewall.*;\n\nRuleVariablesProperty ruleVariablesProperty = RuleVariablesProperty.builder()\n .ipSets(Map.of(\n \"ipSetsKey\", Map.of(\n \"definition\", List.of(\"definition\"))))\n .portSets(Map.of(\n \"portSetsKey\", PortSetProperty.builder()\n .definition(List.of(\"definition\"))\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nruleVariablesProperty := &RuleVariablesProperty{\n\tIpSets: map[string]interface{}{\n\t\t\"ipSetsKey\": map[string][]*string{\n\t\t\t\"definition\": []*string{\n\t\t\t\tjsii.String(\"definition\"),\n\t\t\t},\n\t\t},\n\t},\n\tPortSets: map[string]interface{}{\n\t\t\"portSetsKey\": &PortSetProperty{\n\t\t\t\"definition\": []*string{\n\t\t\t\tjsii.String(\"definition\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst ruleVariablesProperty: networkfirewall.CfnRuleGroup.RuleVariablesProperty = {\n ipSets: {\n ipSetsKey: {\n definition: ['definition'],\n },\n },\n portSets: {\n portSetsKey: {\n definition: ['definition'],\n },\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup.RuleVariablesProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup.RuleVariablesProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 ruleVariablesProperty: networkfirewall.CfnRuleGroup.RuleVariablesProperty = {\n ipSets: {\n ipSetsKey: {\n definition: ['definition'],\n },\n },\n portSets: {\n portSetsKey: {\n definition: ['definition'],\n },\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":11,"153":2,"169":1,"192":2,"193":5,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":6,"290":1},"fqnsFingerprint":"d5276ea2f29007008a2062ac85dd6656861793e2346c787d9cd5de94ea1a1e8a"},"a4c3aa85ae403eac2ca4736935948c6cfd19b08570046efda82c03a5f68a16e1":{"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_networkfirewall as networkfirewall\n\nrules_source_list_property = networkfirewall.CfnRuleGroup.RulesSourceListProperty(\n generated_rules_type=\"generatedRulesType\",\n targets=[\"targets\"],\n target_types=[\"targetTypes\"]\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.NetworkFirewall;\n\nvar rulesSourceListProperty = new RulesSourceListProperty {\n GeneratedRulesType = \"generatedRulesType\",\n Targets = new [] { \"targets\" },\n TargetTypes = new [] { \"targetTypes\" }\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.networkfirewall.*;\n\nRulesSourceListProperty rulesSourceListProperty = RulesSourceListProperty.builder()\n .generatedRulesType(\"generatedRulesType\")\n .targets(List.of(\"targets\"))\n .targetTypes(List.of(\"targetTypes\"))\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nrulesSourceListProperty := &RulesSourceListProperty{\n\tGeneratedRulesType: jsii.String(\"generatedRulesType\"),\n\tTargets: []*string{\n\t\tjsii.String(\"targets\"),\n\t},\n\tTargetTypes: []*string{\n\t\tjsii.String(\"targetTypes\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst rulesSourceListProperty: networkfirewall.CfnRuleGroup.RulesSourceListProperty = {\n generatedRulesType: 'generatedRulesType',\n targets: ['targets'],\n targetTypes: ['targetTypes'],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup.RulesSourceListProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup.RulesSourceListProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 rulesSourceListProperty: networkfirewall.CfnRuleGroup.RulesSourceListProperty = {\n generatedRulesType: 'generatedRulesType',\n targets: ['targets'],\n targetTypes: ['targetTypes'],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":4,"75":8,"153":2,"169":1,"192":2,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":3,"290":1},"fqnsFingerprint":"370bf1d1f56d9b9f8f270fedb36d83a065363ba5d3eb14ef6ad10c6d3eea9787"},"9e1686c2c425fa1b1a032154b2f6d3e85e2981df2b8a81db1552af502063d456":{"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_networkfirewall as networkfirewall\n\nrules_source_property = networkfirewall.CfnRuleGroup.RulesSourceProperty(\n rules_source_list=networkfirewall.CfnRuleGroup.RulesSourceListProperty(\n generated_rules_type=\"generatedRulesType\",\n targets=[\"targets\"],\n target_types=[\"targetTypes\"]\n ),\n rules_string=\"rulesString\",\n stateful_rules=[networkfirewall.CfnRuleGroup.StatefulRuleProperty(\n action=\"action\",\n header=networkfirewall.CfnRuleGroup.HeaderProperty(\n destination=\"destination\",\n destination_port=\"destinationPort\",\n direction=\"direction\",\n protocol=\"protocol\",\n source=\"source\",\n source_port=\"sourcePort\"\n ),\n rule_options=[networkfirewall.CfnRuleGroup.RuleOptionProperty(\n keyword=\"keyword\",\n\n # the properties below are optional\n settings=[\"settings\"]\n )]\n )],\n stateless_rules_and_custom_actions=networkfirewall.CfnRuleGroup.StatelessRulesAndCustomActionsProperty(\n stateless_rules=[networkfirewall.CfnRuleGroup.StatelessRuleProperty(\n priority=123,\n rule_definition=networkfirewall.CfnRuleGroup.RuleDefinitionProperty(\n actions=[\"actions\"],\n match_attributes=networkfirewall.CfnRuleGroup.MatchAttributesProperty(\n destination_ports=[networkfirewall.CfnRuleGroup.PortRangeProperty(\n from_port=123,\n to_port=123\n )],\n destinations=[networkfirewall.CfnRuleGroup.AddressProperty(\n address_definition=\"addressDefinition\"\n )],\n protocols=[123],\n source_ports=[networkfirewall.CfnRuleGroup.PortRangeProperty(\n from_port=123,\n to_port=123\n )],\n sources=[networkfirewall.CfnRuleGroup.AddressProperty(\n address_definition=\"addressDefinition\"\n )],\n tcp_flags=[networkfirewall.CfnRuleGroup.TCPFlagFieldProperty(\n flags=[\"flags\"],\n\n # the properties below are optional\n masks=[\"masks\"]\n )]\n )\n )\n )],\n\n # the properties below are optional\n custom_actions=[networkfirewall.CfnRuleGroup.CustomActionProperty(\n action_definition=networkfirewall.CfnRuleGroup.ActionDefinitionProperty(\n publish_metric_action=networkfirewall.CfnRuleGroup.PublishMetricActionProperty(\n dimensions=[networkfirewall.CfnRuleGroup.DimensionProperty(\n value=\"value\"\n )]\n )\n ),\n action_name=\"actionName\"\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.NetworkFirewall;\n\nvar rulesSourceProperty = new RulesSourceProperty {\n RulesSourceList = new RulesSourceListProperty {\n GeneratedRulesType = \"generatedRulesType\",\n Targets = new [] { \"targets\" },\n TargetTypes = new [] { \"targetTypes\" }\n },\n RulesString = \"rulesString\",\n StatefulRules = new [] { new StatefulRuleProperty {\n Action = \"action\",\n Header = new HeaderProperty {\n Destination = \"destination\",\n DestinationPort = \"destinationPort\",\n Direction = \"direction\",\n Protocol = \"protocol\",\n Source = \"source\",\n SourcePort = \"sourcePort\"\n },\n RuleOptions = new [] { new RuleOptionProperty {\n Keyword = \"keyword\",\n\n // the properties below are optional\n Settings = new [] { \"settings\" }\n } }\n } },\n StatelessRulesAndCustomActions = new StatelessRulesAndCustomActionsProperty {\n StatelessRules = new [] { new StatelessRuleProperty {\n Priority = 123,\n RuleDefinition = new RuleDefinitionProperty {\n Actions = new [] { \"actions\" },\n MatchAttributes = new MatchAttributesProperty {\n DestinationPorts = new [] { new PortRangeProperty {\n FromPort = 123,\n ToPort = 123\n } },\n Destinations = new [] { new AddressProperty {\n AddressDefinition = \"addressDefinition\"\n } },\n Protocols = new [] { 123 },\n SourcePorts = new [] { new PortRangeProperty {\n FromPort = 123,\n ToPort = 123\n } },\n Sources = new [] { new AddressProperty {\n AddressDefinition = \"addressDefinition\"\n } },\n TcpFlags = new [] { new TCPFlagFieldProperty {\n Flags = new [] { \"flags\" },\n\n // the properties below are optional\n Masks = new [] { \"masks\" }\n } }\n }\n }\n } },\n\n // the properties below are optional\n CustomActions = new [] { new CustomActionProperty {\n ActionDefinition = new ActionDefinitionProperty {\n PublishMetricAction = new PublishMetricActionProperty {\n Dimensions = new [] { new DimensionProperty {\n Value = \"value\"\n } }\n }\n },\n ActionName = \"actionName\"\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.networkfirewall.*;\n\nRulesSourceProperty rulesSourceProperty = RulesSourceProperty.builder()\n .rulesSourceList(RulesSourceListProperty.builder()\n .generatedRulesType(\"generatedRulesType\")\n .targets(List.of(\"targets\"))\n .targetTypes(List.of(\"targetTypes\"))\n .build())\n .rulesString(\"rulesString\")\n .statefulRules(List.of(StatefulRuleProperty.builder()\n .action(\"action\")\n .header(HeaderProperty.builder()\n .destination(\"destination\")\n .destinationPort(\"destinationPort\")\n .direction(\"direction\")\n .protocol(\"protocol\")\n .source(\"source\")\n .sourcePort(\"sourcePort\")\n .build())\n .ruleOptions(List.of(RuleOptionProperty.builder()\n .keyword(\"keyword\")\n\n // the properties below are optional\n .settings(List.of(\"settings\"))\n .build()))\n .build()))\n .statelessRulesAndCustomActions(StatelessRulesAndCustomActionsProperty.builder()\n .statelessRules(List.of(StatelessRuleProperty.builder()\n .priority(123)\n .ruleDefinition(RuleDefinitionProperty.builder()\n .actions(List.of(\"actions\"))\n .matchAttributes(MatchAttributesProperty.builder()\n .destinationPorts(List.of(PortRangeProperty.builder()\n .fromPort(123)\n .toPort(123)\n .build()))\n .destinations(List.of(AddressProperty.builder()\n .addressDefinition(\"addressDefinition\")\n .build()))\n .protocols(List.of(123))\n .sourcePorts(List.of(PortRangeProperty.builder()\n .fromPort(123)\n .toPort(123)\n .build()))\n .sources(List.of(AddressProperty.builder()\n .addressDefinition(\"addressDefinition\")\n .build()))\n .tcpFlags(List.of(TCPFlagFieldProperty.builder()\n .flags(List.of(\"flags\"))\n\n // the properties below are optional\n .masks(List.of(\"masks\"))\n .build()))\n .build())\n .build())\n .build()))\n\n // the properties below are optional\n .customActions(List.of(CustomActionProperty.builder()\n .actionDefinition(ActionDefinitionProperty.builder()\n .publishMetricAction(PublishMetricActionProperty.builder()\n .dimensions(List.of(DimensionProperty.builder()\n .value(\"value\")\n .build()))\n .build())\n .build())\n .actionName(\"actionName\")\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nrulesSourceProperty := &RulesSourceProperty{\n\tRulesSourceList: &RulesSourceListProperty{\n\t\tGeneratedRulesType: jsii.String(\"generatedRulesType\"),\n\t\tTargets: []*string{\n\t\t\tjsii.String(\"targets\"),\n\t\t},\n\t\tTargetTypes: []*string{\n\t\t\tjsii.String(\"targetTypes\"),\n\t\t},\n\t},\n\tRulesString: jsii.String(\"rulesString\"),\n\tStatefulRules: []interface{}{\n\t\t&StatefulRuleProperty{\n\t\t\tAction: jsii.String(\"action\"),\n\t\t\tHeader: &HeaderProperty{\n\t\t\t\tDestination: jsii.String(\"destination\"),\n\t\t\t\tDestinationPort: jsii.String(\"destinationPort\"),\n\t\t\t\tDirection: jsii.String(\"direction\"),\n\t\t\t\tProtocol: jsii.String(\"protocol\"),\n\t\t\t\tSource: jsii.String(\"source\"),\n\t\t\t\tSourcePort: jsii.String(\"sourcePort\"),\n\t\t\t},\n\t\t\tRuleOptions: []interface{}{\n\t\t\t\t&RuleOptionProperty{\n\t\t\t\t\tKeyword: jsii.String(\"keyword\"),\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\tSettings: []*string{\n\t\t\t\t\t\tjsii.String(\"settings\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n\tStatelessRulesAndCustomActions: &StatelessRulesAndCustomActionsProperty{\n\t\tStatelessRules: []interface{}{\n\t\t\t&StatelessRuleProperty{\n\t\t\t\tPriority: jsii.Number(123),\n\t\t\t\tRuleDefinition: &RuleDefinitionProperty{\n\t\t\t\t\tActions: []*string{\n\t\t\t\t\t\tjsii.String(\"actions\"),\n\t\t\t\t\t},\n\t\t\t\t\tMatchAttributes: &MatchAttributesProperty{\n\t\t\t\t\t\tDestinationPorts: []interface{}{\n\t\t\t\t\t\t\t&PortRangeProperty{\n\t\t\t\t\t\t\t\tFromPort: jsii.Number(123),\n\t\t\t\t\t\t\t\tToPort: jsii.Number(123),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tDestinations: []interface{}{\n\t\t\t\t\t\t\t&AddressProperty{\n\t\t\t\t\t\t\t\tAddressDefinition: jsii.String(\"addressDefinition\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tProtocols: []interface{}{\n\t\t\t\t\t\t\tjsii.Number(123),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tSourcePorts: []interface{}{\n\t\t\t\t\t\t\t&PortRangeProperty{\n\t\t\t\t\t\t\t\tFromPort: jsii.Number(123),\n\t\t\t\t\t\t\t\tToPort: jsii.Number(123),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tSources: []interface{}{\n\t\t\t\t\t\t\t&AddressProperty{\n\t\t\t\t\t\t\t\tAddressDefinition: jsii.String(\"addressDefinition\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tTcpFlags: []interface{}{\n\t\t\t\t\t\t\t&TCPFlagFieldProperty{\n\t\t\t\t\t\t\t\tFlags: []*string{\n\t\t\t\t\t\t\t\t\tjsii.String(\"flags\"),\n\t\t\t\t\t\t\t\t},\n\n\t\t\t\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\t\t\tMasks: []*string{\n\t\t\t\t\t\t\t\t\tjsii.String(\"masks\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\n\t\t// the properties below are optional\n\t\tCustomActions: []interface{}{\n\t\t\t&CustomActionProperty{\n\t\t\t\tActionDefinition: &ActionDefinitionProperty{\n\t\t\t\t\tPublishMetricAction: &PublishMetricActionProperty{\n\t\t\t\t\t\tDimensions: []interface{}{\n\t\t\t\t\t\t\t&DimensionProperty{\n\t\t\t\t\t\t\t\tValue: jsii.String(\"value\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tActionName: jsii.String(\"actionName\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst rulesSourceProperty: networkfirewall.CfnRuleGroup.RulesSourceProperty = {\n rulesSourceList: {\n generatedRulesType: 'generatedRulesType',\n targets: ['targets'],\n targetTypes: ['targetTypes'],\n },\n rulesString: 'rulesString',\n statefulRules: [{\n action: 'action',\n header: {\n destination: 'destination',\n destinationPort: 'destinationPort',\n direction: 'direction',\n protocol: 'protocol',\n source: 'source',\n sourcePort: 'sourcePort',\n },\n ruleOptions: [{\n keyword: 'keyword',\n\n // the properties below are optional\n settings: ['settings'],\n }],\n }],\n statelessRulesAndCustomActions: {\n statelessRules: [{\n priority: 123,\n ruleDefinition: {\n actions: ['actions'],\n matchAttributes: {\n destinationPorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n destinations: [{\n addressDefinition: 'addressDefinition',\n }],\n protocols: [123],\n sourcePorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n sources: [{\n addressDefinition: 'addressDefinition',\n }],\n tcpFlags: [{\n flags: ['flags'],\n\n // the properties below are optional\n masks: ['masks'],\n }],\n },\n },\n }],\n\n // the properties below are optional\n customActions: [{\n actionDefinition: {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n },\n actionName: 'actionName',\n }],\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup.RulesSourceProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup.RulesSourceProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 rulesSourceProperty: networkfirewall.CfnRuleGroup.RulesSourceProperty = {\n rulesSourceList: {\n generatedRulesType: 'generatedRulesType',\n targets: ['targets'],\n targetTypes: ['targetTypes'],\n },\n rulesString: 'rulesString',\n statefulRules: [{\n action: 'action',\n header: {\n destination: 'destination',\n destinationPort: 'destinationPort',\n direction: 'direction',\n protocol: 'protocol',\n source: 'source',\n sourcePort: 'sourcePort',\n },\n ruleOptions: [{\n keyword: 'keyword',\n\n // the properties below are optional\n settings: ['settings'],\n }],\n }],\n statelessRulesAndCustomActions: {\n statelessRules: [{\n priority: 123,\n ruleDefinition: {\n actions: ['actions'],\n matchAttributes: {\n destinationPorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n destinations: [{\n addressDefinition: 'addressDefinition',\n }],\n protocols: [123],\n sourcePorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n sources: [{\n addressDefinition: 'addressDefinition',\n }],\n tcpFlags: [{\n flags: ['flags'],\n\n // the properties below are optional\n masks: ['masks'],\n }],\n },\n },\n }],\n\n // the properties below are optional\n customActions: [{\n actionDefinition: {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n },\n actionName: 'actionName',\n }],\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":6,"10":21,"75":48,"153":2,"169":1,"192":17,"193":18,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":43,"290":1},"fqnsFingerprint":"1a4cfcaa0db191dc43c57ff02d0b13de16f5a7c34d0a9b19f6d4fc45b9d635a4"},"565ee09c0f79534229b5d4fa663bb9bc0de12eec961b124b42deccfef4b35eaa":{"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_networkfirewall as networkfirewall\n\nstateful_rule_options_property = networkfirewall.CfnRuleGroup.StatefulRuleOptionsProperty(\n rule_order=\"ruleOrder\"\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.NetworkFirewall;\n\nvar statefulRuleOptionsProperty = new StatefulRuleOptionsProperty {\n RuleOrder = \"ruleOrder\"\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.networkfirewall.*;\n\nStatefulRuleOptionsProperty statefulRuleOptionsProperty = StatefulRuleOptionsProperty.builder()\n .ruleOrder(\"ruleOrder\")\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nstatefulRuleOptionsProperty := &StatefulRuleOptionsProperty{\n\tRuleOrder: jsii.String(\"ruleOrder\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst statefulRuleOptionsProperty: networkfirewall.CfnRuleGroup.StatefulRuleOptionsProperty = {\n ruleOrder: 'ruleOrder',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup.StatefulRuleOptionsProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup.StatefulRuleOptionsProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 statefulRuleOptionsProperty: networkfirewall.CfnRuleGroup.StatefulRuleOptionsProperty = {\n ruleOrder: 'ruleOrder',\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":"b4f7ffcc6501972a8d7f38733ba416d64b1379db720f2cdee61d6eca031ce786"},"c3c60703d3f78c194edba350710a37e98e71869c3712f0619b4d3b17e6c586a2":{"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_networkfirewall as networkfirewall\n\nstateful_rule_property = networkfirewall.CfnRuleGroup.StatefulRuleProperty(\n action=\"action\",\n header=networkfirewall.CfnRuleGroup.HeaderProperty(\n destination=\"destination\",\n destination_port=\"destinationPort\",\n direction=\"direction\",\n protocol=\"protocol\",\n source=\"source\",\n source_port=\"sourcePort\"\n ),\n rule_options=[networkfirewall.CfnRuleGroup.RuleOptionProperty(\n keyword=\"keyword\",\n\n # the properties below are optional\n settings=[\"settings\"]\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.NetworkFirewall;\n\nvar statefulRuleProperty = new StatefulRuleProperty {\n Action = \"action\",\n Header = new HeaderProperty {\n Destination = \"destination\",\n DestinationPort = \"destinationPort\",\n Direction = \"direction\",\n Protocol = \"protocol\",\n Source = \"source\",\n SourcePort = \"sourcePort\"\n },\n RuleOptions = new [] { new RuleOptionProperty {\n Keyword = \"keyword\",\n\n // the properties below are optional\n Settings = new [] { \"settings\" }\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.networkfirewall.*;\n\nStatefulRuleProperty statefulRuleProperty = StatefulRuleProperty.builder()\n .action(\"action\")\n .header(HeaderProperty.builder()\n .destination(\"destination\")\n .destinationPort(\"destinationPort\")\n .direction(\"direction\")\n .protocol(\"protocol\")\n .source(\"source\")\n .sourcePort(\"sourcePort\")\n .build())\n .ruleOptions(List.of(RuleOptionProperty.builder()\n .keyword(\"keyword\")\n\n // the properties below are optional\n .settings(List.of(\"settings\"))\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nstatefulRuleProperty := &StatefulRuleProperty{\n\tAction: jsii.String(\"action\"),\n\tHeader: &HeaderProperty{\n\t\tDestination: jsii.String(\"destination\"),\n\t\tDestinationPort: jsii.String(\"destinationPort\"),\n\t\tDirection: jsii.String(\"direction\"),\n\t\tProtocol: jsii.String(\"protocol\"),\n\t\tSource: jsii.String(\"source\"),\n\t\tSourcePort: jsii.String(\"sourcePort\"),\n\t},\n\tRuleOptions: []interface{}{\n\t\t&RuleOptionProperty{\n\t\t\tKeyword: jsii.String(\"keyword\"),\n\n\t\t\t// the properties below are optional\n\t\t\tSettings: []*string{\n\t\t\t\tjsii.String(\"settings\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst statefulRuleProperty: networkfirewall.CfnRuleGroup.StatefulRuleProperty = {\n action: 'action',\n header: {\n destination: 'destination',\n destinationPort: 'destinationPort',\n direction: 'direction',\n protocol: 'protocol',\n source: 'source',\n sourcePort: 'sourcePort',\n },\n ruleOptions: [{\n keyword: 'keyword',\n\n // the properties below are optional\n settings: ['settings'],\n }],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup.StatefulRuleProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup.StatefulRuleProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 statefulRuleProperty: networkfirewall.CfnRuleGroup.StatefulRuleProperty = {\n action: 'action',\n header: {\n destination: 'destination',\n destinationPort: 'destinationPort',\n direction: 'direction',\n protocol: 'protocol',\n source: 'source',\n sourcePort: 'sourcePort',\n },\n ruleOptions: [{\n keyword: 'keyword',\n\n // the properties below are optional\n settings: ['settings'],\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":10,"75":16,"153":2,"169":1,"192":2,"193":3,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":11,"290":1},"fqnsFingerprint":"c4ca4776fbbfe8b36987dc510ad6da960ec56f0d958b1da56c6dc18d35aa36e7"},"c1b82b36c6e9fb27bda4347b5faee4d3a2f5c37f6690c0a7c02ff80c2eee6bf1":{"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_networkfirewall as networkfirewall\n\nstateless_rule_property = networkfirewall.CfnRuleGroup.StatelessRuleProperty(\n priority=123,\n rule_definition=networkfirewall.CfnRuleGroup.RuleDefinitionProperty(\n actions=[\"actions\"],\n match_attributes=networkfirewall.CfnRuleGroup.MatchAttributesProperty(\n destination_ports=[networkfirewall.CfnRuleGroup.PortRangeProperty(\n from_port=123,\n to_port=123\n )],\n destinations=[networkfirewall.CfnRuleGroup.AddressProperty(\n address_definition=\"addressDefinition\"\n )],\n protocols=[123],\n source_ports=[networkfirewall.CfnRuleGroup.PortRangeProperty(\n from_port=123,\n to_port=123\n )],\n sources=[networkfirewall.CfnRuleGroup.AddressProperty(\n address_definition=\"addressDefinition\"\n )],\n tcp_flags=[networkfirewall.CfnRuleGroup.TCPFlagFieldProperty(\n flags=[\"flags\"],\n\n # the properties below are optional\n masks=[\"masks\"]\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.NetworkFirewall;\n\nvar statelessRuleProperty = new StatelessRuleProperty {\n Priority = 123,\n RuleDefinition = new RuleDefinitionProperty {\n Actions = new [] { \"actions\" },\n MatchAttributes = new MatchAttributesProperty {\n DestinationPorts = new [] { new PortRangeProperty {\n FromPort = 123,\n ToPort = 123\n } },\n Destinations = new [] { new AddressProperty {\n AddressDefinition = \"addressDefinition\"\n } },\n Protocols = new [] { 123 },\n SourcePorts = new [] { new PortRangeProperty {\n FromPort = 123,\n ToPort = 123\n } },\n Sources = new [] { new AddressProperty {\n AddressDefinition = \"addressDefinition\"\n } },\n TcpFlags = new [] { new TCPFlagFieldProperty {\n Flags = new [] { \"flags\" },\n\n // the properties below are optional\n Masks = new [] { \"masks\" }\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.networkfirewall.*;\n\nStatelessRuleProperty statelessRuleProperty = StatelessRuleProperty.builder()\n .priority(123)\n .ruleDefinition(RuleDefinitionProperty.builder()\n .actions(List.of(\"actions\"))\n .matchAttributes(MatchAttributesProperty.builder()\n .destinationPorts(List.of(PortRangeProperty.builder()\n .fromPort(123)\n .toPort(123)\n .build()))\n .destinations(List.of(AddressProperty.builder()\n .addressDefinition(\"addressDefinition\")\n .build()))\n .protocols(List.of(123))\n .sourcePorts(List.of(PortRangeProperty.builder()\n .fromPort(123)\n .toPort(123)\n .build()))\n .sources(List.of(AddressProperty.builder()\n .addressDefinition(\"addressDefinition\")\n .build()))\n .tcpFlags(List.of(TCPFlagFieldProperty.builder()\n .flags(List.of(\"flags\"))\n\n // the properties below are optional\n .masks(List.of(\"masks\"))\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nstatelessRuleProperty := &StatelessRuleProperty{\n\tPriority: jsii.Number(123),\n\tRuleDefinition: &RuleDefinitionProperty{\n\t\tActions: []*string{\n\t\t\tjsii.String(\"actions\"),\n\t\t},\n\t\tMatchAttributes: &MatchAttributesProperty{\n\t\t\tDestinationPorts: []interface{}{\n\t\t\t\t&PortRangeProperty{\n\t\t\t\t\tFromPort: jsii.Number(123),\n\t\t\t\t\tToPort: jsii.Number(123),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDestinations: []interface{}{\n\t\t\t\t&AddressProperty{\n\t\t\t\t\tAddressDefinition: jsii.String(\"addressDefinition\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tProtocols: []interface{}{\n\t\t\t\tjsii.Number(123),\n\t\t\t},\n\t\t\tSourcePorts: []interface{}{\n\t\t\t\t&PortRangeProperty{\n\t\t\t\t\tFromPort: jsii.Number(123),\n\t\t\t\t\tToPort: jsii.Number(123),\n\t\t\t\t},\n\t\t\t},\n\t\t\tSources: []interface{}{\n\t\t\t\t&AddressProperty{\n\t\t\t\t\tAddressDefinition: jsii.String(\"addressDefinition\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTcpFlags: []interface{}{\n\t\t\t\t&TCPFlagFieldProperty{\n\t\t\t\t\tFlags: []*string{\n\t\t\t\t\t\tjsii.String(\"flags\"),\n\t\t\t\t\t},\n\n\t\t\t\t\t// the properties below are optional\n\t\t\t\t\tMasks: []*string{\n\t\t\t\t\t\tjsii.String(\"masks\"),\n\t\t\t\t\t},\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst statelessRuleProperty: networkfirewall.CfnRuleGroup.StatelessRuleProperty = {\n priority: 123,\n ruleDefinition: {\n actions: ['actions'],\n matchAttributes: {\n destinationPorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n destinations: [{\n addressDefinition: 'addressDefinition',\n }],\n protocols: [123],\n sourcePorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n sources: [{\n addressDefinition: 'addressDefinition',\n }],\n tcpFlags: [{\n flags: ['flags'],\n\n // the properties below are optional\n masks: ['masks'],\n }],\n },\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup.StatelessRuleProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup.StatelessRuleProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 statelessRuleProperty: networkfirewall.CfnRuleGroup.StatelessRuleProperty = {\n priority: 123,\n ruleDefinition: {\n actions: ['actions'],\n matchAttributes: {\n destinationPorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n destinations: [{\n addressDefinition: 'addressDefinition',\n }],\n protocols: [123],\n sourcePorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n sources: [{\n addressDefinition: 'addressDefinition',\n }],\n tcpFlags: [{\n flags: ['flags'],\n\n // the properties below are optional\n masks: ['masks'],\n }],\n },\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":6,"10":6,"75":23,"153":2,"169":1,"192":9,"193":8,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":18,"290":1},"fqnsFingerprint":"ff8c8fac9b75f81ee0cadd0508fe3dbb293b36f89d4ba12bb106f0ca64a7e143"},"4d6b3215905214b71dd1447fcf9b2773a155442978dbd11a7b97f9e53241a957":{"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_networkfirewall as networkfirewall\n\nstateless_rules_and_custom_actions_property = networkfirewall.CfnRuleGroup.StatelessRulesAndCustomActionsProperty(\n stateless_rules=[networkfirewall.CfnRuleGroup.StatelessRuleProperty(\n priority=123,\n rule_definition=networkfirewall.CfnRuleGroup.RuleDefinitionProperty(\n actions=[\"actions\"],\n match_attributes=networkfirewall.CfnRuleGroup.MatchAttributesProperty(\n destination_ports=[networkfirewall.CfnRuleGroup.PortRangeProperty(\n from_port=123,\n to_port=123\n )],\n destinations=[networkfirewall.CfnRuleGroup.AddressProperty(\n address_definition=\"addressDefinition\"\n )],\n protocols=[123],\n source_ports=[networkfirewall.CfnRuleGroup.PortRangeProperty(\n from_port=123,\n to_port=123\n )],\n sources=[networkfirewall.CfnRuleGroup.AddressProperty(\n address_definition=\"addressDefinition\"\n )],\n tcp_flags=[networkfirewall.CfnRuleGroup.TCPFlagFieldProperty(\n flags=[\"flags\"],\n\n # the properties below are optional\n masks=[\"masks\"]\n )]\n )\n )\n )],\n\n # the properties below are optional\n custom_actions=[networkfirewall.CfnRuleGroup.CustomActionProperty(\n action_definition=networkfirewall.CfnRuleGroup.ActionDefinitionProperty(\n publish_metric_action=networkfirewall.CfnRuleGroup.PublishMetricActionProperty(\n dimensions=[networkfirewall.CfnRuleGroup.DimensionProperty(\n value=\"value\"\n )]\n )\n ),\n action_name=\"actionName\"\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.NetworkFirewall;\n\nvar statelessRulesAndCustomActionsProperty = new StatelessRulesAndCustomActionsProperty {\n StatelessRules = new [] { new StatelessRuleProperty {\n Priority = 123,\n RuleDefinition = new RuleDefinitionProperty {\n Actions = new [] { \"actions\" },\n MatchAttributes = new MatchAttributesProperty {\n DestinationPorts = new [] { new PortRangeProperty {\n FromPort = 123,\n ToPort = 123\n } },\n Destinations = new [] { new AddressProperty {\n AddressDefinition = \"addressDefinition\"\n } },\n Protocols = new [] { 123 },\n SourcePorts = new [] { new PortRangeProperty {\n FromPort = 123,\n ToPort = 123\n } },\n Sources = new [] { new AddressProperty {\n AddressDefinition = \"addressDefinition\"\n } },\n TcpFlags = new [] { new TCPFlagFieldProperty {\n Flags = new [] { \"flags\" },\n\n // the properties below are optional\n Masks = new [] { \"masks\" }\n } }\n }\n }\n } },\n\n // the properties below are optional\n CustomActions = new [] { new CustomActionProperty {\n ActionDefinition = new ActionDefinitionProperty {\n PublishMetricAction = new PublishMetricActionProperty {\n Dimensions = new [] { new DimensionProperty {\n Value = \"value\"\n } }\n }\n },\n ActionName = \"actionName\"\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.networkfirewall.*;\n\nStatelessRulesAndCustomActionsProperty statelessRulesAndCustomActionsProperty = StatelessRulesAndCustomActionsProperty.builder()\n .statelessRules(List.of(StatelessRuleProperty.builder()\n .priority(123)\n .ruleDefinition(RuleDefinitionProperty.builder()\n .actions(List.of(\"actions\"))\n .matchAttributes(MatchAttributesProperty.builder()\n .destinationPorts(List.of(PortRangeProperty.builder()\n .fromPort(123)\n .toPort(123)\n .build()))\n .destinations(List.of(AddressProperty.builder()\n .addressDefinition(\"addressDefinition\")\n .build()))\n .protocols(List.of(123))\n .sourcePorts(List.of(PortRangeProperty.builder()\n .fromPort(123)\n .toPort(123)\n .build()))\n .sources(List.of(AddressProperty.builder()\n .addressDefinition(\"addressDefinition\")\n .build()))\n .tcpFlags(List.of(TCPFlagFieldProperty.builder()\n .flags(List.of(\"flags\"))\n\n // the properties below are optional\n .masks(List.of(\"masks\"))\n .build()))\n .build())\n .build())\n .build()))\n\n // the properties below are optional\n .customActions(List.of(CustomActionProperty.builder()\n .actionDefinition(ActionDefinitionProperty.builder()\n .publishMetricAction(PublishMetricActionProperty.builder()\n .dimensions(List.of(DimensionProperty.builder()\n .value(\"value\")\n .build()))\n .build())\n .build())\n .actionName(\"actionName\")\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\nstatelessRulesAndCustomActionsProperty := &StatelessRulesAndCustomActionsProperty{\n\tStatelessRules: []interface{}{\n\t\t&StatelessRuleProperty{\n\t\t\tPriority: jsii.Number(123),\n\t\t\tRuleDefinition: &RuleDefinitionProperty{\n\t\t\t\tActions: []*string{\n\t\t\t\t\tjsii.String(\"actions\"),\n\t\t\t\t},\n\t\t\t\tMatchAttributes: &MatchAttributesProperty{\n\t\t\t\t\tDestinationPorts: []interface{}{\n\t\t\t\t\t\t&PortRangeProperty{\n\t\t\t\t\t\t\tFromPort: jsii.Number(123),\n\t\t\t\t\t\t\tToPort: jsii.Number(123),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tDestinations: []interface{}{\n\t\t\t\t\t\t&AddressProperty{\n\t\t\t\t\t\t\tAddressDefinition: jsii.String(\"addressDefinition\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tProtocols: []interface{}{\n\t\t\t\t\t\tjsii.Number(123),\n\t\t\t\t\t},\n\t\t\t\t\tSourcePorts: []interface{}{\n\t\t\t\t\t\t&PortRangeProperty{\n\t\t\t\t\t\t\tFromPort: jsii.Number(123),\n\t\t\t\t\t\t\tToPort: jsii.Number(123),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tSources: []interface{}{\n\t\t\t\t\t\t&AddressProperty{\n\t\t\t\t\t\t\tAddressDefinition: jsii.String(\"addressDefinition\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tTcpFlags: []interface{}{\n\t\t\t\t\t\t&TCPFlagFieldProperty{\n\t\t\t\t\t\t\tFlags: []*string{\n\t\t\t\t\t\t\t\tjsii.String(\"flags\"),\n\t\t\t\t\t\t\t},\n\n\t\t\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\t\tMasks: []*string{\n\t\t\t\t\t\t\t\tjsii.String(\"masks\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\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\tCustomActions: []interface{}{\n\t\t&CustomActionProperty{\n\t\t\tActionDefinition: &ActionDefinitionProperty{\n\t\t\t\tPublishMetricAction: &PublishMetricActionProperty{\n\t\t\t\t\tDimensions: []interface{}{\n\t\t\t\t\t\t&DimensionProperty{\n\t\t\t\t\t\t\tValue: jsii.String(\"value\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tActionName: jsii.String(\"actionName\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst statelessRulesAndCustomActionsProperty: networkfirewall.CfnRuleGroup.StatelessRulesAndCustomActionsProperty = {\n statelessRules: [{\n priority: 123,\n ruleDefinition: {\n actions: ['actions'],\n matchAttributes: {\n destinationPorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n destinations: [{\n addressDefinition: 'addressDefinition',\n }],\n protocols: [123],\n sourcePorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n sources: [{\n addressDefinition: 'addressDefinition',\n }],\n tcpFlags: [{\n flags: ['flags'],\n\n // the properties below are optional\n masks: ['masks'],\n }],\n },\n },\n }],\n\n // the properties below are optional\n customActions: [{\n actionDefinition: {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n },\n actionName: 'actionName',\n }],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup.StatelessRulesAndCustomActionsProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup.StatelessRulesAndCustomActionsProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 statelessRulesAndCustomActionsProperty: networkfirewall.CfnRuleGroup.StatelessRulesAndCustomActionsProperty = {\n statelessRules: [{\n priority: 123,\n ruleDefinition: {\n actions: ['actions'],\n matchAttributes: {\n destinationPorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n destinations: [{\n addressDefinition: 'addressDefinition',\n }],\n protocols: [123],\n sourcePorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n sources: [{\n addressDefinition: 'addressDefinition',\n }],\n tcpFlags: [{\n flags: ['flags'],\n\n // the properties below are optional\n masks: ['masks'],\n }],\n },\n },\n }],\n\n // the properties below are optional\n customActions: [{\n actionDefinition: {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n },\n actionName: 'actionName',\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":6,"10":8,"75":30,"153":2,"169":1,"192":12,"193":13,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":25,"290":1},"fqnsFingerprint":"d80bfb78d4121be52a5e064543b7522bd9fc33db935a88df92de7aa71620816a"},"ff4b6ab5130620de4bb93d68229c2e6dd1dd69f1493bde80c80d8b5c2829c4b2":{"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_networkfirewall as networkfirewall\n\nt_cPFlag_field_property = networkfirewall.CfnRuleGroup.TCPFlagFieldProperty(\n flags=[\"flags\"],\n\n # the properties below are optional\n masks=[\"masks\"]\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.NetworkFirewall;\n\nvar tCPFlagFieldProperty = new TCPFlagFieldProperty {\n Flags = new [] { \"flags\" },\n\n // the properties below are optional\n Masks = new [] { \"masks\" }\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.networkfirewall.*;\n\nTCPFlagFieldProperty tCPFlagFieldProperty = TCPFlagFieldProperty.builder()\n .flags(List.of(\"flags\"))\n\n // the properties below are optional\n .masks(List.of(\"masks\"))\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 networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\ntCPFlagFieldProperty := &TCPFlagFieldProperty{\n\tFlags: []*string{\n\t\tjsii.String(\"flags\"),\n\t},\n\n\t// the properties below are optional\n\tMasks: []*string{\n\t\tjsii.String(\"masks\"),\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 networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst tCPFlagFieldProperty: networkfirewall.CfnRuleGroup.TCPFlagFieldProperty = {\n flags: ['flags'],\n\n // the properties below are optional\n masks: ['masks'],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroup.TCPFlagFieldProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroup.TCPFlagFieldProperty"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 tCPFlagFieldProperty: networkfirewall.CfnRuleGroup.TCPFlagFieldProperty = {\n flags: ['flags'],\n\n // the properties below are optional\n masks: ['masks'],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":7,"153":2,"169":1,"192":2,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"cf18f75cc30fc8574ab1cade24df3957e25802305014752fe6f6e1a931e6ff91"},"4a1b2d082810bb1795a2b27653d336f5b7dd264c7201d2bc9d20c4e266804a69":{"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_networkfirewall as networkfirewall\n\ncfn_rule_group_props = networkfirewall.CfnRuleGroupProps(\n capacity=123,\n rule_group_name=\"ruleGroupName\",\n type=\"type\",\n\n # the properties below are optional\n description=\"description\",\n rule_group=networkfirewall.CfnRuleGroup.RuleGroupProperty(\n rules_source=networkfirewall.CfnRuleGroup.RulesSourceProperty(\n rules_source_list=networkfirewall.CfnRuleGroup.RulesSourceListProperty(\n generated_rules_type=\"generatedRulesType\",\n targets=[\"targets\"],\n target_types=[\"targetTypes\"]\n ),\n rules_string=\"rulesString\",\n stateful_rules=[networkfirewall.CfnRuleGroup.StatefulRuleProperty(\n action=\"action\",\n header=networkfirewall.CfnRuleGroup.HeaderProperty(\n destination=\"destination\",\n destination_port=\"destinationPort\",\n direction=\"direction\",\n protocol=\"protocol\",\n source=\"source\",\n source_port=\"sourcePort\"\n ),\n rule_options=[networkfirewall.CfnRuleGroup.RuleOptionProperty(\n keyword=\"keyword\",\n\n # the properties below are optional\n settings=[\"settings\"]\n )]\n )],\n stateless_rules_and_custom_actions=networkfirewall.CfnRuleGroup.StatelessRulesAndCustomActionsProperty(\n stateless_rules=[networkfirewall.CfnRuleGroup.StatelessRuleProperty(\n priority=123,\n rule_definition=networkfirewall.CfnRuleGroup.RuleDefinitionProperty(\n actions=[\"actions\"],\n match_attributes=networkfirewall.CfnRuleGroup.MatchAttributesProperty(\n destination_ports=[networkfirewall.CfnRuleGroup.PortRangeProperty(\n from_port=123,\n to_port=123\n )],\n destinations=[networkfirewall.CfnRuleGroup.AddressProperty(\n address_definition=\"addressDefinition\"\n )],\n protocols=[123],\n source_ports=[networkfirewall.CfnRuleGroup.PortRangeProperty(\n from_port=123,\n to_port=123\n )],\n sources=[networkfirewall.CfnRuleGroup.AddressProperty(\n address_definition=\"addressDefinition\"\n )],\n tcp_flags=[networkfirewall.CfnRuleGroup.TCPFlagFieldProperty(\n flags=[\"flags\"],\n\n # the properties below are optional\n masks=[\"masks\"]\n )]\n )\n )\n )],\n\n # the properties below are optional\n custom_actions=[networkfirewall.CfnRuleGroup.CustomActionProperty(\n action_definition=networkfirewall.CfnRuleGroup.ActionDefinitionProperty(\n publish_metric_action=networkfirewall.CfnRuleGroup.PublishMetricActionProperty(\n dimensions=[networkfirewall.CfnRuleGroup.DimensionProperty(\n value=\"value\"\n )]\n )\n ),\n action_name=\"actionName\"\n )]\n )\n ),\n\n # the properties below are optional\n reference_sets=networkfirewall.CfnRuleGroup.ReferenceSetsProperty(\n ip_set_references={\n \"ip_set_references_key\": {\n \"reference_arn\": \"referenceArn\"\n }\n }\n ),\n rule_variables=networkfirewall.CfnRuleGroup.RuleVariablesProperty(\n ip_sets={\n \"ip_sets_key\": {\n \"definition\": [\"definition\"]\n }\n },\n port_sets={\n \"port_sets_key\": networkfirewall.CfnRuleGroup.PortSetProperty(\n definition=[\"definition\"]\n )\n }\n ),\n stateful_rule_options=networkfirewall.CfnRuleGroup.StatefulRuleOptionsProperty(\n rule_order=\"ruleOrder\"\n )\n ),\n tags=[CfnTag(\n key=\"key\",\n value=\"value\"\n )]\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.NetworkFirewall;\n\nvar cfnRuleGroupProps = new CfnRuleGroupProps {\n Capacity = 123,\n RuleGroupName = \"ruleGroupName\",\n Type = \"type\",\n\n // the properties below are optional\n Description = \"description\",\n RuleGroup = new RuleGroupProperty {\n RulesSource = new RulesSourceProperty {\n RulesSourceList = new RulesSourceListProperty {\n GeneratedRulesType = \"generatedRulesType\",\n Targets = new [] { \"targets\" },\n TargetTypes = new [] { \"targetTypes\" }\n },\n RulesString = \"rulesString\",\n StatefulRules = new [] { new StatefulRuleProperty {\n Action = \"action\",\n Header = new HeaderProperty {\n Destination = \"destination\",\n DestinationPort = \"destinationPort\",\n Direction = \"direction\",\n Protocol = \"protocol\",\n Source = \"source\",\n SourcePort = \"sourcePort\"\n },\n RuleOptions = new [] { new RuleOptionProperty {\n Keyword = \"keyword\",\n\n // the properties below are optional\n Settings = new [] { \"settings\" }\n } }\n } },\n StatelessRulesAndCustomActions = new StatelessRulesAndCustomActionsProperty {\n StatelessRules = new [] { new StatelessRuleProperty {\n Priority = 123,\n RuleDefinition = new RuleDefinitionProperty {\n Actions = new [] { \"actions\" },\n MatchAttributes = new MatchAttributesProperty {\n DestinationPorts = new [] { new PortRangeProperty {\n FromPort = 123,\n ToPort = 123\n } },\n Destinations = new [] { new AddressProperty {\n AddressDefinition = \"addressDefinition\"\n } },\n Protocols = new [] { 123 },\n SourcePorts = new [] { new PortRangeProperty {\n FromPort = 123,\n ToPort = 123\n } },\n Sources = new [] { new AddressProperty {\n AddressDefinition = \"addressDefinition\"\n } },\n TcpFlags = new [] { new TCPFlagFieldProperty {\n Flags = new [] { \"flags\" },\n\n // the properties below are optional\n Masks = new [] { \"masks\" }\n } }\n }\n }\n } },\n\n // the properties below are optional\n CustomActions = new [] { new CustomActionProperty {\n ActionDefinition = new ActionDefinitionProperty {\n PublishMetricAction = new PublishMetricActionProperty {\n Dimensions = new [] { new DimensionProperty {\n Value = \"value\"\n } }\n }\n },\n ActionName = \"actionName\"\n } }\n }\n },\n\n // the properties below are optional\n ReferenceSets = new ReferenceSetsProperty {\n IpSetReferences = new Dictionary {\n { \"ipSetReferencesKey\", new Dictionary {\n { \"referenceArn\", \"referenceArn\" }\n } }\n }\n },\n RuleVariables = new RuleVariablesProperty {\n IpSets = new Dictionary {\n { \"ipSetsKey\", new Dictionary {\n { \"definition\", new [] { \"definition\" } }\n } }\n },\n PortSets = new Dictionary {\n { \"portSetsKey\", new PortSetProperty {\n Definition = new [] { \"definition\" }\n } }\n }\n },\n StatefulRuleOptions = new StatefulRuleOptionsProperty {\n RuleOrder = \"ruleOrder\"\n }\n },\n Tags = new [] { new CfnTag {\n Key = \"key\",\n Value = \"value\"\n } }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.networkfirewall.*;\n\nCfnRuleGroupProps cfnRuleGroupProps = CfnRuleGroupProps.builder()\n .capacity(123)\n .ruleGroupName(\"ruleGroupName\")\n .type(\"type\")\n\n // the properties below are optional\n .description(\"description\")\n .ruleGroup(RuleGroupProperty.builder()\n .rulesSource(RulesSourceProperty.builder()\n .rulesSourceList(RulesSourceListProperty.builder()\n .generatedRulesType(\"generatedRulesType\")\n .targets(List.of(\"targets\"))\n .targetTypes(List.of(\"targetTypes\"))\n .build())\n .rulesString(\"rulesString\")\n .statefulRules(List.of(StatefulRuleProperty.builder()\n .action(\"action\")\n .header(HeaderProperty.builder()\n .destination(\"destination\")\n .destinationPort(\"destinationPort\")\n .direction(\"direction\")\n .protocol(\"protocol\")\n .source(\"source\")\n .sourcePort(\"sourcePort\")\n .build())\n .ruleOptions(List.of(RuleOptionProperty.builder()\n .keyword(\"keyword\")\n\n // the properties below are optional\n .settings(List.of(\"settings\"))\n .build()))\n .build()))\n .statelessRulesAndCustomActions(StatelessRulesAndCustomActionsProperty.builder()\n .statelessRules(List.of(StatelessRuleProperty.builder()\n .priority(123)\n .ruleDefinition(RuleDefinitionProperty.builder()\n .actions(List.of(\"actions\"))\n .matchAttributes(MatchAttributesProperty.builder()\n .destinationPorts(List.of(PortRangeProperty.builder()\n .fromPort(123)\n .toPort(123)\n .build()))\n .destinations(List.of(AddressProperty.builder()\n .addressDefinition(\"addressDefinition\")\n .build()))\n .protocols(List.of(123))\n .sourcePorts(List.of(PortRangeProperty.builder()\n .fromPort(123)\n .toPort(123)\n .build()))\n .sources(List.of(AddressProperty.builder()\n .addressDefinition(\"addressDefinition\")\n .build()))\n .tcpFlags(List.of(TCPFlagFieldProperty.builder()\n .flags(List.of(\"flags\"))\n\n // the properties below are optional\n .masks(List.of(\"masks\"))\n .build()))\n .build())\n .build())\n .build()))\n\n // the properties below are optional\n .customActions(List.of(CustomActionProperty.builder()\n .actionDefinition(ActionDefinitionProperty.builder()\n .publishMetricAction(PublishMetricActionProperty.builder()\n .dimensions(List.of(DimensionProperty.builder()\n .value(\"value\")\n .build()))\n .build())\n .build())\n .actionName(\"actionName\")\n .build()))\n .build())\n .build())\n\n // the properties below are optional\n .referenceSets(ReferenceSetsProperty.builder()\n .ipSetReferences(Map.of(\n \"ipSetReferencesKey\", Map.of(\n \"referenceArn\", \"referenceArn\")))\n .build())\n .ruleVariables(RuleVariablesProperty.builder()\n .ipSets(Map.of(\n \"ipSetsKey\", Map.of(\n \"definition\", List.of(\"definition\"))))\n .portSets(Map.of(\n \"portSetsKey\", PortSetProperty.builder()\n .definition(List.of(\"definition\"))\n .build()))\n .build())\n .statefulRuleOptions(StatefulRuleOptionsProperty.builder()\n .ruleOrder(\"ruleOrder\")\n .build())\n .build())\n .tags(List.of(CfnTag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport networkfirewall \"github.com/aws-samples/dummy/awscdkawsnetworkfirewall\"\n\ncfnRuleGroupProps := &CfnRuleGroupProps{\n\tCapacity: jsii.Number(123),\n\tRuleGroupName: jsii.String(\"ruleGroupName\"),\n\tType: jsii.String(\"type\"),\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tRuleGroup: &RuleGroupProperty{\n\t\tRulesSource: &RulesSourceProperty{\n\t\t\tRulesSourceList: &RulesSourceListProperty{\n\t\t\t\tGeneratedRulesType: jsii.String(\"generatedRulesType\"),\n\t\t\t\tTargets: []*string{\n\t\t\t\t\tjsii.String(\"targets\"),\n\t\t\t\t},\n\t\t\t\tTargetTypes: []*string{\n\t\t\t\t\tjsii.String(\"targetTypes\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tRulesString: jsii.String(\"rulesString\"),\n\t\t\tStatefulRules: []interface{}{\n\t\t\t\t&StatefulRuleProperty{\n\t\t\t\t\tAction: jsii.String(\"action\"),\n\t\t\t\t\tHeader: &HeaderProperty{\n\t\t\t\t\t\tDestination: jsii.String(\"destination\"),\n\t\t\t\t\t\tDestinationPort: jsii.String(\"destinationPort\"),\n\t\t\t\t\t\tDirection: jsii.String(\"direction\"),\n\t\t\t\t\t\tProtocol: jsii.String(\"protocol\"),\n\t\t\t\t\t\tSource: jsii.String(\"source\"),\n\t\t\t\t\t\tSourcePort: jsii.String(\"sourcePort\"),\n\t\t\t\t\t},\n\t\t\t\t\tRuleOptions: []interface{}{\n\t\t\t\t\t\t&RuleOptionProperty{\n\t\t\t\t\t\t\tKeyword: jsii.String(\"keyword\"),\n\n\t\t\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\t\tSettings: []*string{\n\t\t\t\t\t\t\t\tjsii.String(\"settings\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tStatelessRulesAndCustomActions: &StatelessRulesAndCustomActionsProperty{\n\t\t\t\tStatelessRules: []interface{}{\n\t\t\t\t\t&StatelessRuleProperty{\n\t\t\t\t\t\tPriority: jsii.Number(123),\n\t\t\t\t\t\tRuleDefinition: &RuleDefinitionProperty{\n\t\t\t\t\t\t\tActions: []*string{\n\t\t\t\t\t\t\t\tjsii.String(\"actions\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tMatchAttributes: &MatchAttributesProperty{\n\t\t\t\t\t\t\t\tDestinationPorts: []interface{}{\n\t\t\t\t\t\t\t\t\t&PortRangeProperty{\n\t\t\t\t\t\t\t\t\t\tFromPort: jsii.Number(123),\n\t\t\t\t\t\t\t\t\t\tToPort: jsii.Number(123),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tDestinations: []interface{}{\n\t\t\t\t\t\t\t\t\t&AddressProperty{\n\t\t\t\t\t\t\t\t\t\tAddressDefinition: jsii.String(\"addressDefinition\"),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tProtocols: []interface{}{\n\t\t\t\t\t\t\t\t\tjsii.Number(123),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tSourcePorts: []interface{}{\n\t\t\t\t\t\t\t\t\t&PortRangeProperty{\n\t\t\t\t\t\t\t\t\t\tFromPort: jsii.Number(123),\n\t\t\t\t\t\t\t\t\t\tToPort: jsii.Number(123),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tSources: []interface{}{\n\t\t\t\t\t\t\t\t\t&AddressProperty{\n\t\t\t\t\t\t\t\t\t\tAddressDefinition: jsii.String(\"addressDefinition\"),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tTcpFlags: []interface{}{\n\t\t\t\t\t\t\t\t\t&TCPFlagFieldProperty{\n\t\t\t\t\t\t\t\t\t\tFlags: []*string{\n\t\t\t\t\t\t\t\t\t\t\tjsii.String(\"flags\"),\n\t\t\t\t\t\t\t\t\t\t},\n\n\t\t\t\t\t\t\t\t\t\t// the properties below are optional\n\t\t\t\t\t\t\t\t\t\tMasks: []*string{\n\t\t\t\t\t\t\t\t\t\t\tjsii.String(\"masks\"),\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tCustomActions: []interface{}{\n\t\t\t\t\t&CustomActionProperty{\n\t\t\t\t\t\tActionDefinition: &ActionDefinitionProperty{\n\t\t\t\t\t\t\tPublishMetricAction: &PublishMetricActionProperty{\n\t\t\t\t\t\t\t\tDimensions: []interface{}{\n\t\t\t\t\t\t\t\t\t&DimensionProperty{\n\t\t\t\t\t\t\t\t\t\tValue: jsii.String(\"value\"),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tActionName: jsii.String(\"actionName\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\n\t\t// the properties below are optional\n\t\tReferenceSets: &ReferenceSetsProperty{\n\t\t\tIpSetReferences: map[string]interface{}{\n\t\t\t\t\"ipSetReferencesKey\": map[string]*string{\n\t\t\t\t\t\"referenceArn\": jsii.String(\"referenceArn\"),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tRuleVariables: &RuleVariablesProperty{\n\t\t\tIpSets: map[string]interface{}{\n\t\t\t\t\"ipSetsKey\": map[string][]*string{\n\t\t\t\t\t\"definition\": []*string{\n\t\t\t\t\t\tjsii.String(\"definition\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tPortSets: map[string]interface{}{\n\t\t\t\t\"portSetsKey\": &PortSetProperty{\n\t\t\t\t\t\"definition\": []*string{\n\t\t\t\t\t\tjsii.String(\"definition\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tStatefulRuleOptions: &StatefulRuleOptionsProperty{\n\t\t\tRuleOrder: jsii.String(\"ruleOrder\"),\n\t\t},\n\t},\n\tTags: []cfnTag{\n\t\t&cfnTag{\n\t\t\tKey: jsii.String(\"key\"),\n\t\t\tValue: jsii.String(\"value\"),\n\t\t},\n\t},\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as networkfirewall from '@aws-cdk/aws-networkfirewall';\nconst cfnRuleGroupProps: networkfirewall.CfnRuleGroupProps = {\n capacity: 123,\n ruleGroupName: 'ruleGroupName',\n type: 'type',\n\n // the properties below are optional\n description: 'description',\n ruleGroup: {\n rulesSource: {\n rulesSourceList: {\n generatedRulesType: 'generatedRulesType',\n targets: ['targets'],\n targetTypes: ['targetTypes'],\n },\n rulesString: 'rulesString',\n statefulRules: [{\n action: 'action',\n header: {\n destination: 'destination',\n destinationPort: 'destinationPort',\n direction: 'direction',\n protocol: 'protocol',\n source: 'source',\n sourcePort: 'sourcePort',\n },\n ruleOptions: [{\n keyword: 'keyword',\n\n // the properties below are optional\n settings: ['settings'],\n }],\n }],\n statelessRulesAndCustomActions: {\n statelessRules: [{\n priority: 123,\n ruleDefinition: {\n actions: ['actions'],\n matchAttributes: {\n destinationPorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n destinations: [{\n addressDefinition: 'addressDefinition',\n }],\n protocols: [123],\n sourcePorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n sources: [{\n addressDefinition: 'addressDefinition',\n }],\n tcpFlags: [{\n flags: ['flags'],\n\n // the properties below are optional\n masks: ['masks'],\n }],\n },\n },\n }],\n\n // the properties below are optional\n customActions: [{\n actionDefinition: {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n },\n actionName: 'actionName',\n }],\n },\n },\n\n // the properties below are optional\n referenceSets: {\n ipSetReferences: {\n ipSetReferencesKey: {\n referenceArn: 'referenceArn',\n },\n },\n },\n ruleVariables: {\n ipSets: {\n ipSetsKey: {\n definition: ['definition'],\n },\n },\n portSets: {\n portSetsKey: {\n definition: ['definition'],\n },\n },\n },\n statefulRuleOptions: {\n ruleOrder: 'ruleOrder',\n },\n },\n tags: [{\n key: 'key',\n value: 'value',\n }],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-networkfirewall.CfnRuleGroupProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-networkfirewall.CfnRuleGroupProps"],"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 networkfirewall from '@aws-cdk/aws-networkfirewall';\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 cfnRuleGroupProps: networkfirewall.CfnRuleGroupProps = {\n capacity: 123,\n ruleGroupName: 'ruleGroupName',\n type: 'type',\n\n // the properties below are optional\n description: 'description',\n ruleGroup: {\n rulesSource: {\n rulesSourceList: {\n generatedRulesType: 'generatedRulesType',\n targets: ['targets'],\n targetTypes: ['targetTypes'],\n },\n rulesString: 'rulesString',\n statefulRules: [{\n action: 'action',\n header: {\n destination: 'destination',\n destinationPort: 'destinationPort',\n direction: 'direction',\n protocol: 'protocol',\n source: 'source',\n sourcePort: 'sourcePort',\n },\n ruleOptions: [{\n keyword: 'keyword',\n\n // the properties below are optional\n settings: ['settings'],\n }],\n }],\n statelessRulesAndCustomActions: {\n statelessRules: [{\n priority: 123,\n ruleDefinition: {\n actions: ['actions'],\n matchAttributes: {\n destinationPorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n destinations: [{\n addressDefinition: 'addressDefinition',\n }],\n protocols: [123],\n sourcePorts: [{\n fromPort: 123,\n toPort: 123,\n }],\n sources: [{\n addressDefinition: 'addressDefinition',\n }],\n tcpFlags: [{\n flags: ['flags'],\n\n // the properties below are optional\n masks: ['masks'],\n }],\n },\n },\n }],\n\n // the properties below are optional\n customActions: [{\n actionDefinition: {\n publishMetricAction: {\n dimensions: [{\n value: 'value',\n }],\n },\n },\n actionName: 'actionName',\n }],\n },\n },\n\n // the properties below are optional\n referenceSets: {\n ipSetReferences: {\n ipSetReferencesKey: {\n referenceArn: 'referenceArn',\n },\n },\n },\n ruleVariables: {\n ipSets: {\n ipSetsKey: {\n definition: ['definition'],\n },\n },\n portSets: {\n portSetsKey: {\n definition: ['definition'],\n },\n },\n },\n statefulRuleOptions: {\n ruleOrder: 'ruleOrder',\n },\n },\n tags: [{\n key: 'key',\n value: 'value',\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":7,"10":30,"75":69,"153":1,"169":1,"192":20,"193":30,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":65,"290":1},"fqnsFingerprint":"16fc506d063a396495bbd21f7c32e07f9f7048e4ada5810ab0365a3e139ec279"}}}