Skip to content

Instantly share code, notes, and snippets.

View skinny85's full-sized avatar

Adam Ruka skinny85

View GitHub Profile
const virtualNode = new appmesh.VirtualNode(this, 'virtual-node', {
mesh,
virtualNodeName: 'virtual-node',
});
const virtualService = new appmesh.VirtualService(this, 'service-a.default.svc.cluster.local', {
virtualServiceName: 'service-a.default.svc.cluster.local',
virtualServiceProvider: appmesh.VirtualServiceProvider.virtualNode(virtualNode),
});
virtualNode.addBackend(appmesh.Backend.virtualService(virtualService));
const devDesktop = new products.DevDesktopV2(this, "MyDevDesktop", {
instanceSize: products.DevDesktopInstanceSize.T2_MICRO,
keyPair: products.DevDesktopKeyPair.TEST_KEY,
});
// Copyright 2012-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// Generated from the AWS CloudFormation Resource Specification
// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html
// @cfn2ts:meta@ {"generated":"2020-12-04T01:12:12.315Z","fingerprint":"eifpSUbhYvlpfsD4HbA3E49WhtntsXdbjFh+lXzeO9U="}
/* eslint-disable max-len */ // This is generated code - line lengths are difficult to control
import * as cdk from '@aws-cdk/core';
import * as cfn_parse from '@aws-cdk/core/lib/cfn-parse';
// Copyright 2012-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// Generated from the AWS CloudFormation Resource Specification
// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html
// @cfn2ts:meta@ {"generated":"2020-12-02T02:01:04.788Z","fingerprint":"eifpSUbhYvlpfsD4HbA3E49WhtntsXdbjFh+lXzeO9U="}
/* eslint-disable max-len */ // This is generated code - line lengths are difficult to control
import * as cdk from '@aws-cdk/core';
import * as cfn_parse from '@aws-cdk/core/lib/cfn-parse';
// Copyright 2012-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// Generated from the AWS CloudFormation Resource Specification
// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html
// @cfn2ts:meta@ {"generated":"2020-05-14T02:15:02.155Z","fingerprint":"vIDbAYnP8upszOpBsI8OfKvGsCcZbaj6TbBHeG5hKeg="}
// tslint:disable:max-line-length | This is generated code - line lengths are difficult to control
import * as cdk from '@aws-cdk/core';
import * as cfn_parse from '@aws-cdk/core/lib/cfn-parse';
@skinny85
skinny85 / s3.generated.ts
Created May 6, 2020 01:49
s3.generated.ts code after the codegen changes in https://github.com/aws/aws-cdk/pull/7304
// Copyright 2012-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// Generated from the AWS CloudFormation Resource Specification
// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html
// @cfn2ts:meta@ {"generated":"2020-05-06T01:39:16.406Z","fingerprint":"vrA+V8uYaSH0J28Zl1o8XjeB9uf7pVRxcUt7V2UY3pg="}
// tslint:disable:max-line-length | This is generated code - line lengths are difficult to control
import * as cdk from '@aws-cdk/core';
import * as cfn_parse from '@aws-cdk/core/lib/cfn-parse';
// Copyright 2012-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// Generated from the AWS CloudFormation Resource Specification
// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html
// @cfn2ts:meta@ {"generated":"2020-04-30T16:02:41.215Z","fingerprint":"UmjJ3N7Ly7T7bUZLvWb3sQAmVR+O5ACcaEvENQT36Ys="}
// tslint:disable:max-line-length | This is generated code - line lengths are difficult to control
import * as cdk from '@aws-cdk/core';
/**
@skinny85
skinny85 / cfn-types-2-classes.json
Created April 16, 2020 21:48
cfn-types-2-classes.json generated by build.js from https://github.com/aws/aws-cdk/pull/7393
{
"Alexa::ASK::Skill": "@aws-cdk/alexa-ask.CfnSkill",
"AWS::AccessAnalyzer::Analyzer": "@aws-cdk/aws-accessanalyzer.CfnAnalyzer",
"AWS::ACMPCA::Certificate": "@aws-cdk/aws-acmpca.CfnCertificate",
"AWS::ACMPCA::CertificateAuthority": "@aws-cdk/aws-acmpca.CfnCertificateAuthority",
"AWS::ACMPCA::CertificateAuthorityActivation": "@aws-cdk/aws-acmpca.CfnCertificateAuthorityActivation",
"AWS::AmazonMQ::Broker": "@aws-cdk/aws-amazonmq.CfnBroker",
"AWS::AmazonMQ::Configuration": "@aws-cdk/aws-amazonmq.CfnConfiguration",
"AWS::AmazonMQ::ConfigurationAssociation": "@aws-cdk/aws-amazonmq.CfnConfigurationAssociation",
"AWS::Amplify::App": "@aws-cdk/aws-amplify.CfnApp",
@skinny85
skinny85 / s3.generated.ts
Created April 14, 2020 16:24
s3.generated.ts with the codegen changes from https://github.com/aws/aws-cdk/pull/7304
// Copyright 2012-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// Generated from the AWS CloudFormation Resource Specification
// See: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html
// @cfn2ts:meta@ {"generated":"2020-04-09T00:36:58.095Z","fingerprint":"yEs46L4ThphzRBYEGpCEHg8OwDbaNRynW5zE+sNCPi8="}
// tslint:disable:max-line-length | This is generated code - line lengths are difficult to control
import * as cdk from '@aws-cdk/core';
/**
{
"name": "aws",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@aws-cdk/assets": {
"version": "1.30.0",
"resolved": "https://internal-artifactory/api/npm/op-npm-general/@aws-cdk/assets/-/assets-1.30.0.tgz",
"integrity": "sha1-1jHE1yQsVMp6QZLQuPvR7CvbPFc=",