Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
dvs-inbox-infra
Advanced tools
This package provides a CDK Constrcut and related TS Types for creating DVS Inbox related resources.
import { App, Stack, StackProps } from "aws-cdk-lib";
import { Construct } from "constructs";
import { InboxConstruct, InboxProps } from "@a-cloud-guru/dvs-inbox-infra";
const app = new App();
class ExampleServiceStack extends Stack {
constructor(scope: Construct, id: string, props: StackProps = {}) {
super(scope, id, props);
const inboxProps: InboxProps = {
vpcId: "vpc-12345",
subnetIds: ["subnet-12345", "subnet-67890"],
kafka: {
bootstrapServers: ["kafka1-broker-staging.vnerd.com:9092"],
topicName: "dvs.foo.v1",
schemaRegistryHost: "http://dvs-schema-registry-stage.vnerd.com:8081",
}
};
const inboxConstruct = new InboxConstruct(
this,
'MyFooInbox', // Prefix for this Inbox.
inboxProps
);
console.log("Created inbox resources", inboxConstruct);
}
}
new ExampleServiceStack(app, "MyExampleServiceStack", {
env: {
account: "123456789012",
region: "us-east-1",
},
tags: {
"cc_service": "cloud-dvs-integration-example",
"cc_company_usage": "acg",
"team": "principle-engineers",
"info:env": "dev"
}
});
type InboxProps = {
vpcId: string;
subnetIds: string[];
kafka: {
bootstrapServers: string[];
schemaRegistryHost: string;
topicName: string;
};
};
This construct generates the following CfOutput variables. Please note these names exclude the random hash that cdk normally generates. This is to make it easier for these variables to be referenced in the tools like Serverless framework.
${camelCasePrefix}TargetVpcId
- VPC ID of where the construct is deployed${camelCasePrefix}DynamoDBTableName
- Name of the DynamoDB table${camelCasePrefix}SecurityGroupId
- ID of the Security Group generated for the nested resources${camelCasePrefix}ExecutionRoleArn
- ARN of the Lambda's execution Role${camelCasePrefix}ConsumerFunctionArn
- ARN of the consumer FunctioncamelCasePrefix
is basde on the prefix
parameter of the construct and stage tag (ie info:env
), which are formatted in camleCase. (eg. MyFooInbox
& dev
-> myFooInboxDev
)
FAQs
AWS CDK Constructs for creating Inbox resources
The npm package dvs-inbox-infra receives a total of 0 weekly downloads. As such, dvs-inbox-infra popularity was classified as not popular.
We found that dvs-inbox-infra demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.