Socket
Socket
Sign inDemoInstall

@aws-sdk/config-resolver

Package Overview
Dependencies
5
Maintainers
5
Versions
162
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/config-resolver


Version published
Maintainers
5
Created

Package description

What is @aws-sdk/config-resolver?

@aws-sdk/config-resolver is a package within the AWS SDK for JavaScript that provides utilities for resolving configuration settings for AWS clients. It helps in managing and resolving configurations such as region, credentials, and other client-specific settings.

What are @aws-sdk/config-resolver's main functionalities?

Region Resolution

This feature allows you to resolve the region configuration for an AWS client. The code sample demonstrates how to use the `resolveRegionConfig` function to resolve the region setting from a client configuration object.

const { resolveRegionConfig } = require('@aws-sdk/config-resolver');
const clientConfig = { region: 'us-west-2' };
const resolvedConfig = resolveRegionConfig(clientConfig);
console.log(resolvedConfig);

Credentials Resolution

This feature allows you to resolve the credentials configuration for an AWS client. The code sample demonstrates how to use the `resolveCredentialsConfig` function to resolve the credentials setting from a client configuration object.

const { resolveCredentialsConfig } = require('@aws-sdk/config-resolver');
const clientConfig = { credentials: { accessKeyId: 'AKIA...', secretAccessKey: 'SECRET...' } };
const resolvedConfig = resolveCredentialsConfig(clientConfig);
console.log(resolvedConfig);

Endpoint Resolution

This feature allows you to resolve the endpoint configuration for an AWS client. The code sample demonstrates how to use the `resolveEndpointConfig` function to resolve the endpoint setting from a client configuration object.

const { resolveEndpointConfig } = require('@aws-sdk/config-resolver');
const clientConfig = { endpoint: 'https://dynamodb.us-west-2.amazonaws.com' };
const resolvedConfig = resolveEndpointConfig(clientConfig);
console.log(resolvedConfig);

Other packages similar to @aws-sdk/config-resolver

Changelog

Source

3.212.0 (2022-11-16)

Features

  • client-billingconductor: This release adds a new feature BillingEntity pricing rule. (6f15a0a)
  • client-cloudformation: Added UnsupportedTarget HandlerErrorCode for use with CFN Resource Hooks (6c5beed)
  • client-comprehendmedical: This release supports new set of entities and traits. It also adds new category (BEHAVIORAL_ENVIRONMENTAL_SOCIAL). (05089b4)
  • client-connect: This release adds a new MonitorContact API for initiating monitoring of ongoing Voice and Chat contacts. (2adc9d0)
  • client-eks: Adds support for customer-provided placement groups for Kubernetes control plane instances when creating local EKS clusters on Outposts (4c8f3dc)
  • client-elasticache: for Redis now supports AWS Identity and Access Management authentication access to Redis clusters starting with redis-engine version 7.0 (d1ac8d8)
  • client-iottwinmaker: This release adds the following: 1) ExecuteQuery API allows users to query their AWS IoT TwinMaker Knowledge Graph 2) Pricing plan APIs allow users to configure and manage their pricing mode 3) Support for property groups and tabular property values in existing AWS IoT TwinMaker APIs. (8d31224)
  • client-personalize-events: This release provides support for creation and use of metric attributions in AWS Personalize (f30761f)
  • client-proton: Add support for sorting and filtering in ListServiceInstances (68d0e23)
  • client-rds: This release adds support for container databases (CDBs) to Amazon RDS Custom for Oracle. A CDB contains one PDB at creation. You can add more PDBs using Oracle SQL. You can also customize your database installation by setting the Oracle base, Oracle home, and the OS user name and group. (6aa6b3a)
  • client-ssm-incidents: Add support for PagerDuty integrations on ResponsePlan, IncidentRecord, and RelatedItem APIs (7b5617c)
  • client-ssm: This release adds support for cross account access in CreateOpsItem, UpdateOpsItem and GetOpsItem. It introduces new APIs to setup resource policies for SSM resources: PutResourcePolicy, GetResourcePolicies and DeleteResourcePolicy. (1d04c01)
  • client-transfer: Allow additional operations to throw ThrottlingException (108f81d)
  • client-xray: This release adds new APIs - PutResourcePolicy, DeleteResourcePolicy, ListResourcePolicies for supporting resource based policies for AWS X-Ray. (1e16743)

Readme

Source

@aws-sdk/config-resolver

NPM version NPM downloads

An internal package

Usage

You probably shouldn't, at least directly.

FAQs

Last updated on 16 Nov 2022

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc