New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/client-appconfig

Package Overview
Dependencies
Maintainers
0
Versions
439
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-appconfig

AWS SDK for JavaScript Appconfig Client for Node.js, Browser and React Native

  • 3.758.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created

What is @aws-sdk/client-appconfig?

@aws-sdk/client-appconfig is a part of the AWS SDK for JavaScript, which allows developers to interact with AWS AppConfig. AWS AppConfig is a service that helps you manage application configurations in a secure, scalable, and reliable way. It is particularly useful for deploying feature flags, toggles, and other configuration data without requiring a redeployment of your application.

What are @aws-sdk/client-appconfig's main functionalities?

Create Configuration Profile

This feature allows you to create a new configuration profile in AWS AppConfig. Configuration profiles are used to define the source of your configuration data, such as an SSM parameter or an S3 object.

const { AppConfigClient, CreateConfigurationProfileCommand } = require('@aws-sdk/client-appconfig');

const client = new AppConfigClient({ region: 'us-west-2' });

const params = {
  ApplicationId: 'your-application-id',
  Name: 'MyConfigurationProfile',
  LocationUri: 'ssm-parameter://my-parameter',
  Type: 'AWS.AppConfig.FeatureFlags'
};

const command = new CreateConfigurationProfileCommand(params);

client.send(command).then(
  (data) => console.log(data),
  (error) => console.error(error)
);

Get Configuration

This feature allows you to retrieve the latest configuration data for a specified application, environment, and configuration profile. This is useful for dynamically updating your application's configuration without redeploying.

const { AppConfigClient, GetConfigurationCommand } = require('@aws-sdk/client-appconfig');

const client = new AppConfigClient({ region: 'us-west-2' });

const params = {
  Application: 'your-application-id',
  Environment: 'your-environment-id',
  Configuration: 'your-configuration-profile-id',
  ClientId: 'your-client-id'
};

const command = new GetConfigurationCommand(params);

client.send(command).then(
  (data) => console.log(data),
  (error) => console.error(error)
);

Update Configuration Profile

This feature allows you to update an existing configuration profile. You can change the name, location URI, and other properties of the configuration profile.

const { AppConfigClient, UpdateConfigurationProfileCommand } = require('@aws-sdk/client-appconfig');

const client = new AppConfigClient({ region: 'us-west-2' });

const params = {
  ApplicationId: 'your-application-id',
  ConfigurationProfileId: 'your-configuration-profile-id',
  Name: 'UpdatedConfigurationProfile',
  LocationUri: 'ssm-parameter://updated-parameter'
};

const command = new UpdateConfigurationProfileCommand(params);

client.send(command).then(
  (data) => console.log(data),
  (error) => console.error(error)
);

Other packages similar to @aws-sdk/client-appconfig

FAQs

Package last updated on 27 Feb 2025

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc