-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cfnspec): cloudformation spec v41.1.0 (#16524)
Co-authored-by: AWS CDK Team <aws-cdk@amazon.com>
- Loading branch information
1 parent
cafe825
commit 124a7a1
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Fixture with cluster already created | ||
import { Construct, SecretValue, Stack } from '@aws-cdk/core'; | ||
import { Vpc } from '@aws-cdk/aws-ec2'; | ||
import { Cluster, Table, TableAction, User } from '@aws-cdk/aws-redshift'; | ||
|
||
class Fixture extends Stack { | ||
constructor(scope: Construct, id: string) { | ||
super(scope, id); | ||
|
||
const vpc = new Vpc(this, 'Vpc'); | ||
const cluster = new Cluster(this, 'Cluster', { | ||
vpc, | ||
masterUser: { | ||
masterUsername: 'admin', | ||
}, | ||
}); | ||
|
||
/// here | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import * as cdk from '@aws-cdk/core'; | ||
import * as es from '@aws-cdk/aws-elasticsearch'; | ||
import * as iam from '@aws-cdk/aws-iam'; | ||
import * as opensearch from '@aws-cdk/aws-opensearchservice'; | ||
|
||
declare const role: iam.IRole; | ||
declare const elasticsearchVersion: es.ElasticsearchVersion; | ||
declare const openSearchVersion: opensearch.EngineVersion; | ||
|
||
class Fixture extends cdk.Construct { | ||
constructor(scope: cdk.Construct, id: string) { | ||
super(scope, id); | ||
|
||
/// here | ||
} | ||
} |