Skip to content

Commit

Permalink
Merge branch 'main' into autoMinorVersionUpgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
badmintoncryer authored Nov 2, 2024
2 parents 4ae5309 + 796c6d1 commit cb24723
Show file tree
Hide file tree
Showing 29 changed files with 434 additions and 57 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@
"KeyId": "alias/aws/kinesis"
}
]
}
},
"Tags": [
{
"Key": "stage",
"Value": "IntegTest"
}
]
},
"UpdateReplacePolicy": "Retain",
"DeletionPolicy": "Retain"
Expand Down Expand Up @@ -148,6 +154,14 @@
"Region": "us-east-2",
"TableClass": "STANDARD_INFREQUENT_ACCESS",
"Tags": [
{
"Key": "stage",
"Value": "IntegTest"
},
{
"Key": "tagAspectKey",
"Value": "tagAspectValue"
},
{
"Key": "USE2ReplicaTagKey",
"Value": "USE2ReplicaTagValue"
Expand Down Expand Up @@ -184,6 +198,14 @@
"Region": "us-west-2",
"TableClass": "STANDARD",
"Tags": [
{
"Key": "stage",
"Value": "IntegTest"
},
{
"Key": "tagAspectKey",
"Value": "tagAspectValue"
},
{
"Key": "USW2ReplicaTagKey",
"Value": "USW2ReplicaTagValue"
Expand Down Expand Up @@ -231,6 +253,14 @@
"Region": "us-east-1",
"TableClass": "STANDARD_INFREQUENT_ACCESS",
"Tags": [
{
"Key": "stage",
"Value": "IntegTest"
},
{
"Key": "tagAspectKey",
"Value": "tagAspectValue"
},
{
"Key": "primaryTableTagKey",
"Value": "primaryTableTagValue"
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { IntegTest } from '@aws-cdk/integ-tests-alpha';
import { App, RemovalPolicy, Stack, StackProps } from 'aws-cdk-lib';
import { App, RemovalPolicy, Stack, StackProps, Tags } from 'aws-cdk-lib';
import { AttributeType, Billing, Capacity, TableV2, TableClass, TableEncryptionV2 } from 'aws-cdk-lib/aws-dynamodb';
import { Stream } from 'aws-cdk-lib/aws-kinesis';
import { Construct } from 'constructs';
Expand All @@ -10,7 +10,7 @@ class TestStack extends Stack {

const stream = new Stream(this, 'Stream');

new TableV2(this, 'GlobalTable', {
const globalTable = new TableV2(this, 'GlobalTable', {
tableName: 'my-global-table',
partitionKey: { name: 'pk', type: AttributeType.STRING },
sortKey: { name: 'sk', type: AttributeType.NUMBER },
Expand Down Expand Up @@ -68,10 +68,13 @@ class TestStack extends Stack {
],
tags: [{ key: 'primaryTableTagKey', value: 'primaryTableTagValue' }],
});

Tags.of(globalTable).add('tagAspectKey', 'tagAspectValue');
}
}

const app = new App();
Tags.of(app).add('stage', 'IntegTest');
new IntegTest(app, 'aws-cdk-global-table-integ', {
testCases: [new TestStack(app, 'aws-cdk-global-table', { env: { region: 'us-east-1' } })],
regions: ['us-east-1'],
Expand Down
4 changes: 4 additions & 0 deletions packages/@aws-cdk/aws-neptune-alpha/lib/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ export class EngineVersion {
* Neptune engine version 1.3.3.0
*/
public static readonly V1_3_3_0 = new EngineVersion('1.3.3.0');
/**
* Neptune engine version 1.3.4.0
*/
public static readonly V1_3_4_0 = new EngineVersion('1.3.4.0');

/**
* Constructor for specifying a custom engine version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ const table = new ddb.TableV2(stack, 'MyTable', {
const dlqQueue = new cdk.aws_sqs.Queue(stack, 'DlqQueue');
const targetQueue = new cdk.aws_sqs.Queue(stack, 'TargetQueue');

// When this module is promoted from alpha, TestTarget should
// be replaced with SqsTarget from @aws-cdk/aws-pipes-targets-alpha
class TestTarget implements ITarget {
targetArn: string;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ const stack = new cdk.Stack(app, 'aws-cdk-pipes-sources-kinesis');
const sourceKinesisStream = new cdk.aws_kinesis.Stream(stack, 'SourceKinesisStream');
const targetQueue = new cdk.aws_sqs.Queue(stack, 'TargetQueue');

// When this module is promoted from alpha, TestTarget should
// be replaced with SqsTarget from @aws-cdk/aws-pipes-targets-alpha
class TestTarget implements ITarget {
targetArn: string;

Expand Down
2 changes: 2 additions & 0 deletions packages/@aws-cdk/aws-pipes-sources-alpha/test/integ.sqs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ const stack = new cdk.Stack(app, 'aws-cdk-pipes-sources-sqs');
const sourceQueue = new cdk.aws_sqs.Queue(stack, 'SourceQueue');
const targetQueue = new cdk.aws_sqs.Queue(stack, 'TargetQueue');

// When this module is promoted from alpha, TestTarget should
// be replaced with SqsTarget from @aws-cdk/aws-pipes-targets-alpha
class TestTarget implements ITarget {
targetArn: string;
inputTransformation: InputTransformation = InputTransformation.fromEventPath('$.body');
Expand Down
Loading

0 comments on commit cb24723

Please sign in to comment.