-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(s3): export bucket websiteURL (#1521) #1522
feat(s3): export bucket websiteURL (#1521) #1522
Commits on Jan 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 497620d - Browse repository at this point
Copy the full SHA 497620dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6a3bfa - Browse repository at this point
Copy the full SHA f6a3bfaView commit details
Commits on Jan 14, 2019
-
rename bucketWebsiteURL to bucketWebsiteUrl
based on PR feedback from @eladb
Configuration menu - View commit details
-
Copy full SHA for c2aeebd - Browse repository at this point
Copy the full SHA c2aeebdView commit details -
update implementation to return WebsiteURL value
rather than the DomainName value
Configuration menu - View commit details
-
Copy full SHA for a36ac08 - Browse repository at this point
Copy the full SHA a36ac08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bafbff - Browse repository at this point
Copy the full SHA 7bafbffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1724161 - Browse repository at this point
Copy the full SHA 1724161View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4645f2 - Browse repository at this point
Copy the full SHA a4645f2View commit details -
feat(aws-kms): allow tagging kms keys (#1485)
Small change to enable tagging KMS keys.
Configuration menu - View commit details
-
Copy full SHA for b22cf0c - Browse repository at this point
Copy the full SHA b22cf0cView commit details -
chore: Document return behavior of cdk diff (#1446)
The `cdk diff` command intentionally returns non-zero when a difference is found, similar to how the POSIX `diff` command behaves (returning 0 when no difference is found, 1 when some difference is found, and >1 when an error occurred). This behavior was however undocumented, possibly leading to user confusion. This change adds a note in `cdk --help` that mentions the exit code 1 will be used when a difference is found. Fixes #1440
Configuration menu - View commit details
-
Copy full SHA for 19c9392 - Browse repository at this point
Copy the full SHA 19c9392View commit details -
fix(elbv2): unable to specify load balancer name (#1486)
Since #973, the renames of CFN properties from "name" to "xxxName" were removed. But the ELBv2 library still used `loadBalancerName`. The reason this was not discovered was because we are splatting `additionalProps` of type `any`, and this caused the type checker to stop verifying property names. Fixes #1481
Configuration menu - View commit details
-
Copy full SHA for 5096201 - Browse repository at this point
Copy the full SHA 5096201View commit details -
feat(diff): Better diff of random objects (#1488)
Use a unified diff format to render differences in arbitrary values, making it easier to understand what is changing in possibly large JSON structures, for example. The number of context lines used when rendering the JSON differences can be customized using the `--context-lines` option of `cdk diff`, which has a default value of `3`.
Configuration menu - View commit details
-
Copy full SHA for 9bae09b - Browse repository at this point
Copy the full SHA 9bae09bView commit details -
Configuration menu - View commit details
-
Copy full SHA for be19cc5 - Browse repository at this point
Copy the full SHA be19cc5View commit details -
feat(route53): support CNAME records (#1487)
Adds support for CNAME records via the `CnameRecord` construct. Misc: - `TXTRecord` was renamed to `TxtRecord`. - `hostedZoneNameServers` attribute added to IHostedZone - Made `HostedZone` a concrete (non-abstract) class so it will be compatible with how CloudFormation represents this resource, but left PublicHostedZone and PrivateHostedZone to allow a more strongly-typed experience if you like. Credits for original PR (closes #1420): @MikeBild BREAKING CHANGE: The `route53.TXTRecord` class was renamed to `route53.TxtRecord`.
Configuration menu - View commit details
-
Copy full SHA for 81a5a07 - Browse repository at this point
Copy the full SHA 81a5a07View commit details -
feat: no more generated attribute types in CFN layer (L1) (#1489)
Now that we can represent attributes as native strings and string lists, this covers the majority of resource attributes in CloudFormation. This change: * String attributes are represented as `string` (like before). * String list attribute are now represented as `string[]`. * Any other attribute types are represented as `cdk.Token`. Attributes that are represented as Tokens as of this change: * amazonmq has a bunch of `Integer` attributes (will be solved by #1455) * iot1click has a bunch of `Boolean` attributes * cloudformation has a JSON attribute * That's all. A few improvements to cfn2ts: * Auto-detect cfn2ts scope from package.json so it is more self-contained and doesn't rely on cdk-build-tools to run. * Added a "cfn2ts" npm script to all modules so it is now possible to regenerate all L1 via "lerna run cfn2ts". * Removed the premature optimization for avoiding code regeneration (it saved about 0.5ms). Fixes #1406 BREAKING CHANGE: any `CfnXxx` resource attributes that represented a list of strings are now typed as `string[]`s (via #1144). Attributes that represent strings, are still typed as `string` (#712) and all other attribute types are represented as `cdk.Token`.
Configuration menu - View commit details
-
Copy full SHA for ed5a38b - Browse repository at this point
Copy the full SHA ed5a38bView commit details -
feat: stop generating legacy cloudformation resources (#1493)
BREAKING CHANGE: the deprecated `cloudformation.XxxResource` classes have been removed. Use the `CfnXxx` classes instead.
Configuration menu - View commit details
-
Copy full SHA for ccd01e2 - Browse repository at this point
Copy the full SHA ccd01e2View commit details -
feat: cloudformation condition chaining (#1494)
Change `conditionXx` methods to accept an interface `IConditionExpression` instead of concrete class and implement this interface by the `Condition` construct. This enables chaining conditions like so: const cond1, cond2, cond, cond4 = new cdk.Condition(...) Fn.conditionOr(cond1, cond2, Fn.conditionAnd(cond3, cond4)) Fixes #1457
Configuration menu - View commit details
-
Copy full SHA for b1f5b2e - Browse repository at this point
Copy the full SHA b1f5b2eView commit details -
feat(step-functions): support parameters option (#1492)
AWS Step Functions released support for 'Parameters' option in the input definition. Closes #1480
Configuration menu - View commit details
-
Copy full SHA for 9cb842f - Browse repository at this point
Copy the full SHA 9cb842fView commit details -
feat(cdk): transparently use constructs from another stack
It is now no longer necessary to use `export()` and `import()` when sharing constructs between two `Stacks` inside the same CDK app. Instead, objects defined in one stack can be used directly in another stack. The CDK will detect when an attribute (such as an ARN, ID or URL) of such an object is used in a different stack, and will automatically create the required `Export` in the producing stack and insert the corresponding `Fn::ImportValue` in the consuming stack. BREAKING CHANGE: if you are using `export()` and `import()` to share constructs between stacks, you can stop doing that, instead of `FooImportProps` accept an `IFoo` directly on the consuming stack, and use that object as usual. `ArnUtils.fromComponents()` and `ArnUtils.parse()` have been moved onto `Stack`. All CloudFormation pseudo-parameter (such as `AWS::AccountId` etc) are now also accessible via `Stack`, as `stack.accountId` etc. `resolve()` has been moved to `this.node.resolve()`. `CloudFormationJSON.stringify()` has been moved to `this.node.stringifyJson()`. `validate()` now should be `protected`. Fixes #1324.
Configuration menu - View commit details
-
Copy full SHA for f393a26 - Browse repository at this point
Copy the full SHA f393a26View commit details -
fix(lambda): use IRole instead of Role to allow imports (#1509)
In order to allow passing in an imported role to a Lambda/Alias, we must use `IRole` instead of `Role`.
Configuration menu - View commit details
-
Copy full SHA for 6ad8c5e - Browse repository at this point
Copy the full SHA 6ad8c5eView commit details -
fix(core): automatic cross-stack refs for CFN resources (#1510)
The "toCloudFormation" method of generated CFN resources invoke "resolve" so that any lazy tokens are evaluated. This escaped the global settings set by `findTokens` which collect tokens so they can be reported as references by `StackElement.prepare`. To solve this, findTokens now accepts a function instead of an object and basically just wraps it's invocation with settings that will collect all tokens resolved within that scope. Not an ideal solution but simple enough. This was not discovered because we didn't have any tests that validated the behavior of the generated CFN resources (they are not accessible from the @aws-cdk/cdk library). We add a unit test in the IAM library to cover this use case.
Configuration menu - View commit details
-
Copy full SHA for 0fb62c8 - Browse repository at this point
Copy the full SHA 0fb62c8View commit details -
feat(aws-cdk): better stack dependency handling (#1511)
Two improvements to stack dependency handling in the toolkit: * Destroy stacks in reverse order. This is necessary to properly dispose of stacks that use exports and `Fn::ImportValue`. Fixes #1508. * Automatically include stacks that have a dependency relationship with the requested stacks, unless `--exclusively` (`-e`) is passed on the command line. Fixes #1505.
Configuration menu - View commit details
-
Copy full SHA for 3961ad7 - Browse repository at this point
Copy the full SHA 3961ad7View commit details -
* v0.22.0 See CHANGELOG
Configuration menu - View commit details
-
Copy full SHA for 01d72cf - Browse repository at this point
Copy the full SHA 01d72cfView commit details -
add packages.txt to github pages (#1520)
add packages.txt to github pages
Configuration menu - View commit details
-
Copy full SHA for 948b5df - Browse repository at this point
Copy the full SHA 948b5dfView commit details -
chore(scripts): Add Jetbrains node_modules exclusion script (#1507)
Jetbrains IDEs will index the files in a project to provide intelligent suggestions to users. However, this project uses lerna and has cyclical symlinks inside node_module directories. The IDE will index until it runs out of memory following these links. Given the size of this project, doing the exclusions by hand is infeasable every time one does a git clean. This script will modify the .iml file directly to add the appropriate exclusions. * The JetBrains IDEs exclusion list assumed your iml file was named aws-cdk. It now uses the root directory's name instead. * IntelliJ stores the iml file at root. The script now accounts for that difference. * For uncommon setups, the script can take an optional path arguement to opt-out of conventional file discovery, and be explicit.
Configuration menu - View commit details
-
Copy full SHA for 4443d5c - Browse repository at this point
Copy the full SHA 4443d5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 582c8b1 - Browse repository at this point
Copy the full SHA 582c8b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c79d234 - Browse repository at this point
Copy the full SHA c79d234View commit details