Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/@aws-cdk-testing/cli-integ/lib/aws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ interface ClientConfig {
}

export class AwsClients {

public static async forRegion(region: string, output: NodeJS.WritableStream) {
return new AwsClients(region, output);
}
Expand Down
1 change: 0 additions & 1 deletion packages/@aws-cdk-testing/cli-integ/lib/with-cli-lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,5 @@ __EOS__`], {
},
});
}

}

Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ export interface GitHubRepositoryProps {
* The GitHubRepository resource
*/
export class GitHubRepository extends cdk.Resource implements IGitHubRepository {

public readonly owner: string;
public readonly repo: string;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ export interface UserPoolAuthenticationProviderBindConfig {
* Defines a User Pool Authentication Provider
*/
export class UserPoolAuthenticationProvider implements IUserPoolAuthenticationProvider {

/**
* The User Pool of the Associated Identity Providers
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ export class ApiCall {
throw Error(`No client constructor found within package: ${this.v3PackageName}`);
}
}

}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@
"publishConfig": {
"tag": "latest"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ export interface IDeliveryStream extends cdk.IResource, iam.IGrantable, ec2.ICon
* Base class for new and imported Kinesis Data Firehose delivery streams.
*/
abstract class DeliveryStreamBase extends cdk.Resource implements IDeliveryStream {

public abstract readonly deliveryStreamName: string;

public abstract readonly deliveryStreamArn: string;
Expand Down
1 change: 0 additions & 1 deletion packages/@aws-cdk/aws-kinesisfirehose-alpha/lib/source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ export interface ISource {
* A Kinesis Data Firehose delivery stream source.
*/
export class KinesisStreamSource implements ISource {

/**
* Creates a new KinesisStreamSource.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ export interface ScheduleTargetBaseProps {
* Base class for Schedule Targets
*/
export abstract class ScheduleTargetBase {

constructor(
private readonly baseProps: ScheduleTargetBaseProps,
protected readonly targetArn: string,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export interface TemplateAndChangeSetDiffMergerProps extends TemplateAndChangeSe
* The purpose of this class is to include differences from the ChangeSet to differences in the TemplateDiff.
*/
export class TemplateAndChangeSetDiffMerger {

public static determineChangeSetReplacementMode(propertyChange: ChangeSetResourceChangeDetail): types.ReplacementModes {
if (propertyChange.Target?.RequiresRecreation === undefined) {
// We can't determine if the resource will be replaced or not. That's what conditionally means.
Expand Down
2 changes: 0 additions & 2 deletions packages/@aws-cdk/integ-runner/lib/runner/integ-test-suite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export type TestSuiteType = 'test-suite' | 'legacy-test-suite';
* directory. For legacy test cases use LegacyIntegTestCases
*/
export class IntegTestSuite {

/**
* Loads integ tests from a snapshot directory
*/
Expand Down Expand Up @@ -114,7 +113,6 @@ export interface LegacyTestCaseConfig {
* test cases, i.e. tests without a `integ.json`.
*/
export class LegacyIntegTestSuite extends IntegTestSuite {

/**
* Returns the single test stack to use.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export interface DeployAssertProps {
* that should be performed on a construct
*/
export class DeployAssert extends Construct implements IDeployAssert {

/**
* Returns whether the construct is a DeployAssert construct
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ class LambdaFunctionProvider extends Construct {
public addPolicies(policies: any[]): void {
this.policies.push(...policies);
}

}

interface SingletonFunctionProps extends LambdaFunctionProviderProps {
Expand Down
1 change: 0 additions & 1 deletion packages/@aws-cdk/integ-tests-alpha/lib/test-case.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ export class IntegTestCaseStack extends Stack {
stacks: [this],
});
}

}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ export class ContextAwareCloudAssembly implements ICloudAssemblySource {
return assembly;
}
}

}

/**
Expand Down
1 change: 0 additions & 1 deletion packages/aws-cdk-lib/assertions/lib/match.ts
Original file line number Diff line number Diff line change
Expand Up @@ -498,5 +498,4 @@ class StringLikeRegexpMatch extends Matcher {

return result;
}

}
1 change: 0 additions & 1 deletion packages/aws-cdk-lib/assertions/lib/template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import { Stack, Stage } from '../../core';
* CloudFormation template has expected resources and properties.
*/
export class Template {

/**
* Base your assertions on the CloudFormation template synthesized by a CDK `Stack`.
* @param stack the CDK Stack to run assertions on
Expand Down
1 change: 0 additions & 1 deletion packages/aws-cdk-lib/aws-apigateway/lib/api-key.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ abstract class ApiKeyBase extends Resource implements IApiKey {
* for Method resources that require an Api Key.
*/
export class ApiKey extends ApiKeyBase {

/**
* Import an ApiKey by its Id
*/
Expand Down
3 changes: 0 additions & 3 deletions packages/aws-cdk-lib/aws-apigateway/lib/authorizers/lambda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export interface LambdaAuthorizerProps {
}

abstract class LambdaAuthorizer extends Authorizer implements IAuthorizer {

/**
* The id of the authorizer.
* @attribute
Expand Down Expand Up @@ -199,7 +198,6 @@ export interface TokenAuthorizerProps extends LambdaAuthorizerProps {
* @resource AWS::ApiGateway::Authorizer
*/
export class TokenAuthorizer extends LambdaAuthorizer {

public readonly authorizerId: string;

public readonly authorizerArn: string;
Expand Down Expand Up @@ -264,7 +262,6 @@ export interface RequestAuthorizerProps extends LambdaAuthorizerProps {
* @resource AWS::ApiGateway::Authorizer
*/
export class RequestAuthorizer extends LambdaAuthorizer {

public readonly authorizerId: string;

public readonly authorizerArn: string;
Expand Down
1 change: 0 additions & 1 deletion packages/aws-cdk-lib/aws-apigateway/lib/domain-name.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ export interface IDomainName extends IResource {
}

export class DomainName extends Resource implements IDomainName {

/**
* Imports an existing domain name.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,5 +219,4 @@ export class ResponseType {
private constructor(type: string) {
this.responseType = type;
}

}
1 change: 0 additions & 1 deletion packages/aws-cdk-lib/aws-apigateway/lib/restapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,6 @@ export interface RestApiAttributes {
* public endpoint.
*/
export class RestApi extends RestApiBase {

/**
* Return whether the given object is a `RestApi`
*/
Expand Down
2 changes: 0 additions & 2 deletions packages/aws-cdk-lib/aws-apigateway/lib/usage-plan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,9 @@ abstract class UsagePlanBase extends Resource implements IUsagePlan {
resource.overrideLogicalId(options?.overrideLogicalId);
}
}

}

export class UsagePlan extends UsagePlanBase {

/**
* Import an externally defined usage plan using its ARN.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export interface HttpLambdaIntegrationProps {
* The Lambda Proxy integration resource for HTTP API
*/
export class HttpLambdaIntegration extends HttpRouteIntegration {

private readonly _id: string;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export interface WebSocketLambdaIntegrationProps {
* Lambda WebSocket Integration
*/
export class WebSocketLambdaIntegration extends WebSocketRouteIntegration {

private readonly _id: string;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export interface WebSocketMockIntegrationProps {
* Mock WebSocket Integration
*/
export class WebSocketMockIntegration extends WebSocketRouteIntegration {

/**
* @param id id of the underlying integration construct
*/
Expand Down
1 change: 0 additions & 1 deletion packages/aws-cdk-lib/aws-apigatewayv2/lib/http/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ export interface AddRoutesOptions extends BatchHttpRouteOptions {
}

abstract class HttpApiBase extends ApiBase implements IHttpApi { // note that this is not exported

public abstract override readonly apiId: string;
public abstract readonly httpApiId: string;
public abstract override readonly apiEndpoint: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ export class MappingValue implements IMappingValue {
* Represents a Parameter Mapping.
*/
export class ParameterMapping {

/**
* Creates a mapping from an object.
*/
Expand Down
1 change: 0 additions & 1 deletion packages/aws-cdk-lib/aws-apigatewayv2/lib/websocket/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export interface IWebSocketApi extends IApi {
* Represents the currently available API Key Selection Expressions
*/
export class WebSocketApiKeySelectionExpression {

/**
* The API will extract the key value from the `x-api-key` header in the user request.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ export interface ScalableTargetProps {
* Define a scalable target
*/
export class ScalableTarget extends Resource implements IScalableTarget {

public static fromScalableTargetId(scope: Construct, id: string, scalableTargetId: string): IScalableTarget {
class Import extends Resource implements IScalableTarget {
public readonly scalableTargetId = scalableTargetId;
Expand Down
1 change: 0 additions & 1 deletion packages/aws-cdk-lib/aws-appmesh/lib/health-checks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,5 +181,4 @@ class HealthCheckImpl extends HealthCheck {
},
};
}

}
1 change: 0 additions & 1 deletion packages/aws-cdk-lib/aws-appmesh/lib/shared-interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@ export abstract class Backend {
* Represents the properties needed to define a Virtual Service backend
*/
class VirtualServiceBackend extends Backend {

constructor (private readonly virtualService: IVirtualService,
private readonly tlsClientPolicy: TlsClientPolicy | undefined) {
super();
Expand Down
1 change: 0 additions & 1 deletion packages/aws-cdk-lib/aws-appmesh/lib/tls-certificate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export abstract class TlsCertificate {
* Returns TLS certificate based provider.
*/
public abstract bind(_scope: Construct): TlsCertificateConfig;

}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ export abstract class VirtualGatewayListener {
* Represents the properties needed to define an HTTP Listener for a VirtualGateway
*/
class VirtualGatewayListenerImpl extends VirtualGatewayListener {

constructor(private readonly protocol: Protocol,
private readonly healthCheck: HealthCheck | undefined,
private readonly port: number = 8080,
Expand Down
1 change: 0 additions & 1 deletion packages/aws-cdk-lib/aws-appsync/lib/graphqlapi-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@ export interface IGraphqlApi extends IResource {
* Base Class for GraphQL API
*/
export abstract class GraphqlApiBase extends Resource implements IGraphqlApi {

/**
* an unique AWS AppSync GraphQL API identifier
* i.e. 'lxz775lwdrgcndgz3nurvac7oa'
Expand Down
1 change: 0 additions & 1 deletion packages/aws-cdk-lib/aws-appsync/lib/key.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { BaseKeyCondition, BeginsWith, Between, BinaryCondition } from './privat
* Factory class for DynamoDB key conditions.
*/
export class KeyCondition {

/**
* Condition k = arg, true if the key attribute k is equal to the Query argument
*/
Expand Down
1 change: 0 additions & 1 deletion packages/aws-cdk-lib/aws-appsync/lib/mapping-template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ export abstract class MappingTemplate {
}

class StringMappingTemplate extends MappingTemplate {

constructor(private readonly template: string) {
super();
}
Expand Down
1 change: 0 additions & 1 deletion packages/aws-cdk-lib/aws-appsync/lib/resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,4 @@ export class Resolver extends Construct {
ttl: config.ttl?.toSeconds(),
} : undefined;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ export interface SourceApiAssociationProps {
* The initial creation of the SourceApiAssociation merges the source API into the Merged API schema.
*/
export class SourceApiAssociation extends Resource implements ISourceApiAssociation {

/**
* Import Appsync Source Api Association from source API, merged api, and merge type.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,6 @@ export abstract class Signals {
},
};
}

}

/**
Expand Down Expand Up @@ -1026,7 +1025,6 @@ export interface RollingUpdateOptions {
* A set of group metrics
*/
export class GroupMetrics {

/**
* Report all group metrics.
*/
Expand All @@ -1048,7 +1046,6 @@ export class GroupMetrics {
* Group metrics that an Auto Scaling group sends to Amazon CloudWatch.
*/
export class GroupMetric {

/**
* The minimum size of the Auto Scaling group
*/
Expand Down Expand Up @@ -1119,7 +1116,6 @@ export enum CapacityDistributionStrategy {
}

abstract class AutoScalingGroupBase extends Resource implements IAutoScalingGroup {

public abstract autoScalingGroupName: string;
public abstract autoScalingGroupArn: string;
public abstract readonly osType: ec2.OperatingSystemType;
Expand Down Expand Up @@ -1273,7 +1269,6 @@ export class AutoScalingGroup extends AutoScalingGroupBase implements
ec2.IConnectable,
elbv2.IApplicationLoadBalancerTarget,
elbv2.INetworkLoadBalancerTarget {

public static fromAutoScalingGroupName(scope: Construct, id: string, autoScalingGroupName: string): IAutoScalingGroup {
class Import extends AutoScalingGroupBase {
public autoScalingGroupName = autoScalingGroupName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ abstract class SlackChannelConfigurationBase extends cdk.Resource implements ISl
* A new Slack channel configuration
*/
export class SlackChannelConfiguration extends SlackChannelConfigurationBase {

/**
* Import an existing Slack channel configuration provided an ARN
* @param scope The parent creating construct
Expand All @@ -224,7 +223,6 @@ export class SlackChannelConfiguration extends SlackChannelConfigurationBase {
}

class Import extends SlackChannelConfigurationBase {

/**
* @attribute
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ describeDeprecated('NestedStack', () => {
test('references to a resource from the parent stack in a nested stack is translated into a cfn parameter', () => {
// WHEN
class MyNestedStack extends NestedStack {

constructor(scope: Construct, id: string, resourceFromParent: CfnResource) {
super(scope, id);

Expand Down
Loading
Loading