Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Kotlin DSL for AWS CDK

License

NotificationsYou must be signed in to change notification settings

cloudshiftinc/kotlin-cdk-wrapper

Repository files navigation

latest releaseGitHub

Kotlin Wrapper for AWS CDK

Use the AWS CDK with all the power of Kotlin!

val app=App()val stack=Stack(scope= app, id="TestStack")val bucket=Bucket(scope= stack, id="TestBucket") { bucketName("test-bucket") }bucket.addCorsRule {    allowedHeaders("Test-Header")    allowedMethods(HttpMethods.HEAD)    allowedOrigins("abc")}app.synth()

The Kotlin DSL is fully Kotlin - no imports from the Java CDK. Any construct / object that has a builder has a corresponding DSL.

This provides the basis for powerful Kotlin extensions to the DSL to supercharge your CDK code.

Getting Started

Gradle:latest release

implementation("io.cloudshiftdev.kotlin-cdk-wrapper:kotlin-cdk-wrapper:<version>")

Contributors3

  •  
  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp