GitXplorerGitXplorer
i

aws-cdk-sdk

public
2 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
1a366a2ff8789fc7d028437e05d869a997e3eb05

no release

iiliapolo committed 3 years ago
Unverified
8fa12bc4c108f99e87f34cf6eb4af522c26f2575

mid work

iiliapolo committed 3 years ago
Unverified
b8ccb3c1b720b357cb86a77d8800bd514bc45f51

mid work

iiliapolo committed 3 years ago
Verified
65d7eeee1d85d2dba4c0fcff6869bff03bd36528

Epolon/exclude mediaconvert (#284)

iiliapolo committed 3 years ago
Verified
f258b0810349837ddfdbc144f15a6f5db5b6ffdf

chore: exclude `MediaConvert` (#283)

iiliapolo committed 3 years ago
Unverified
01edc3b652d76711322853afbccea77d503b048b

more memory

iiliapolo committed 3 years ago

README

The README file for this repository.

Overview

Invoke AWS SDK api calls as part of your CDK application deployment.

Why

On occasion, you might find some missing capabilities that can be easily bridged by invoking the AWS SDK. You can use it to either configure resources, or fetch deploy time information that isn't exposed as CloudFormation attributes.

To that end, the core CDK framework offers the wonderful AwsCustomResource, which lets you configure the exact API call along with any necessary parameters.

This library does the same, but in a type-safe manner that simulates direct usage of the API offered by the SDK itself.

Examples

Get the latest version of a secure SSM parameter

import { App, Stack } from '@aws-cdk/core';
import { SsmClient } from 'aws-cdk-sdk/clients/ssm';

const app = new App();
const stack = new Stack(app, 'ssm-stack');
const client = new SsmClient(stack, 'Client', ['*']);

const parameter = client.fetchParameter({ name: 'my-parameter', withDecryption: true }).parameter;

const value = parameter.value;
const type = parameter.type;