Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Describe details of an environment at Elastic Beanstalk by their URL
If you use Blue Green Deployment with Elastic Beanstalk, know that there is no fixed id of environments. Through the Swap Url's you make the switch the URL of environments.
So you can assume that the only fixed reference is the URL of your environment. However, the SDK of AWS does not Provide an API where you find in this way.
And this package solve this problem.
npm i --save aws-ebc
const awsEbc = require('aws-ebc');
const url = 'my-application.us-east-1.elasticbeanstalk.com';
const appName = 'my-application';
const credentials = {
region: 'us-east-1',
accessKeyId: 'ACCESSKEYID',
secretAccessKey: 'SECRETACCESSKEY'
};
awsEbc(url, appName, credentials).then(environment => {
console.log(environment.id) // aq14fG1a-1
console.log(environment.name) // example
console.log(environment.health) // Green
console.log(environment.status) // Ready
});
Return an object with id
, name
, health
and status
of the environment.
Type: string
URL of the environment you're searching.
Type: string
The application name of the environment.
Type: string
The region that their environment is available.
Type: string
Acces Key Id offered by AWS Identity and Access Management (IAM)
Type: string
Secret Access Key offered by AWS Identity and Access Management (IAM)
MIT © Cauê Alves
FAQs
Describe details of an environment at Elastic Beanstalk by their URL
We found that aws-ebc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.