Socket
Socket
Sign inDemoInstall

@aws-cdk/cdk

Package Overview
Dependencies
0
Maintainers
5
Versions
42
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/cdk


Version published
Maintainers
5
Install size
15.9 kB
Created

Changelog

Source

0.36.0 (2019-06-24)

Bug Fixes

Code Refactoring

  • rename all L1 enum-like members to ALL_CAPS #3024 #3023, #3018 #980 #2989 #2918 #2287
  • cx-api: bump cli <=> cdk protocol version (#2956) (8ab84ec), closes #2922
  • cloudformation: extract "custom-resources" module (#3027) (767687d), closes #2951
  • codepipeline: API cleanup. (#2982) (13025c4)
  • codepipeline: change the API of cross-region replication Buckets. (#2977) (98afdeb)
  • codepipeline: introduce IAction and unify the Action.bind() signature (#3012) (089fc93)
  • core: additional api cleanups (#2972) (7fb6fd6), closes #2971
  • core: CfnResource.options => cfnOptions (#3030) (e537e4c)
  • core: rename "Stack.autoRun" to "autoSynth" (#3016) (3b44791)
  • core: rename @aws-cdk/cdk to @aws-cdk/core (#2932) (4a0272d), closes #2733
  • ecs: hide clusterName from Services (#2980) (a6e4f6a)

Features

BREAKING CHANGES TO EXPERIMENTAL FEATURES

  • IMPORTANT: previous versions of the CDK CLI will not be fully compatible with this version of the framework and vice versa.
  • core: the @aws-cdk/cdk module was renamed to @aws-cdk/core, python: aws_cdk.core, java: the artifact cdk in groupId software.amazon.awscdk was renamed to core
  • all enum and public static readonly members have been renamed to use "ALL_CAPS" capitalization
  • properties throughout the AWS Construct Libraries that represent lengths of time have been re-typed to be @aws-cdk/cdk.Duration instead of number, and were renamed to exclude any unit indication.
  • core: The deprecated app.run() has been removed (use app.synth()).
  • core: The CfnResource.options property was renamed to CfnResource.cfnOptions to avoid conflicts with properties introduced by derived classes.
  • core CfnXxx.cfnResourceTypeName is now CFN_RESOURCE_TYPE_NAME in generated CFN resources.
  • core: ContextProvider is no longer designed to be extended. Use ContextProvider.getValue and ContextProvider.getKey as utilities.
  • core: Context.getSsmParameter has been removed. Use ssm.StringParameter.valueFromLookup
  • core: Context.getAvailabilityZones has been removed. Use stack.availabilityZones
  • core: Context.getDefaultAccount and getDefaultRegion have been removed an no longer available. Use the environment variables CDK_DEFAULT_ACCOUNT and CDK_DEFAULT_REGION instead.
  • core: StackProps.autoRun was renamed to StackProps.autoSynth.
  • core: CfnElement.refAsString renamed to ref of string type. The IResolvable version have been removed.
  • core: IStringValue renamed to IStringProducer
  • core: Include renamed to CfnInclude
  • core: Cfn prefix was added to the following types: CfnCreationPolicy, CfnResourceAutoScalingCreationPolicy, CfnResourceAutoScalingCreationPolicy, CfnDeletionPolicy, CfnUpdatePolicy, CfnAutoScalingRollingUpdate, CfnAutoScalingReplacingUpdate, CfnAutoScalingScheduledAction, CfnCodeDeployLambdaAliasUpdate, CfnTag CfnRuleAssertion, CfnDynamicReferenceProps
  • core: deepMerge is no longer exported.
  • core: CfnOutputProps.export was renamed to exportName.
  • core: CfnOutput all properties are now private
  • core: StringListCfnOutput has been removed
  • core: all instance methods of Fn were made static, and the Fn constructor was made private.
  • ec2: VpcNetworkProvider has been removed. Use Vpc.fromLookup.
  • ec2: ec2.MachineImage will now resolve AMIs from SSM during deployment.
  • ecs: ecs.EcsOptimizedAmi will now resolve AMis from SSM during deployment.
  • ecs: previously, the default generation is conditionally set to Amazon Linux v1 if hardwareType was STANDARD. Now it always defaults to Amazon Linux v2.
  • ecs: service.clusterName has been replaced with .cluster.
  • sam requiredTransform is now REQUIRED_TRANSFORM in generated code.
  • cloudformation: the AwsCustomResource class was moved to a new module called @aws-cdk/custom-resource
  • codepipeline: the capabilities property is now an array to support multiple capabilities.
  • codepipeline: the Pipeline construction property crossRegionReplicationBuckets now takes values of type IBucket instead of string.
  • corepipeline: the property Pipeline.crossRegionScaffoldStacks has been renamed to crossRegionSupport, and its type changed from CrossRegionScaffoldStack to CrossRegionSupport.
  • codepipeline-actions: rename CodeCommitAction.pollForSourceChanges to trigger and make it an enum.
  • codepipeline-actions: rename S3SourceAction.pollForSourceChanges to trigger, and make it an enum.
  • codepipeline-actions: rename StageAddToPipelineProps interface to StageOptions.
  • codepipeline-actions: remove the classes CloudFormationAction and CloudFormationDeployAction.
  • route52: HostedZoneProvider has been removed. Use HostedZone.fromLookup.

Readme

Source

Renamed to @aws-cdk/core


Stability: Deprecated

This API may emit warnings. Backward compatibility is not guaranteed.


This module has been renamed to @aws-cdk/core

Keywords

FAQs

Last updated on 25 Jun 2019

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