Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizencc committed Nov 28, 2023
1 parent eb7acb4 commit 2295c7f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tools/@aws-cdk/spec2cdk/test/__snapshots__/resources.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export interface ICfnResource extends constructs.IConstruct {
*
* @cloudformationAttribute Ref
*/
readonly attrId?: string;
readonly attrId: string;
}
/**
Expand Down Expand Up @@ -62,7 +62,7 @@ export class CfnResource extends cdk.CfnResource implements cdk.IInspectable, IC
*
* @cloudformationAttribute Ref
*/
public readonly attrId?: string;
public readonly attrId: string;
/**
* The identifier of the resource.
Expand Down Expand Up @@ -1107,22 +1107,22 @@ import * as cfn_parse from "aws-cdk-lib/core/lib/helpers-internal";
*
* @stability external
*/
export interface ICfnResource {
export interface ICfnResource extends constructs.IConstruct {
/**
* The identifier of the resource.
* This property gets determined after the resource is created.
*
* @cloudformationAttribute Ref
*/
readonly attrId?: string;
readonly attrId: string;
/**
* Another identifier of the resource.
* This property gets determined after the resource is created.
*
* @cloudformationAttribute Ref
*/
readonly attrAnotherId?: string;
readonly attrAnotherId: string;
}
/**
Expand Down Expand Up @@ -1166,15 +1166,15 @@ export class CfnResource extends cdk.CfnResource implements cdk.IInspectable, IC
*
* @cloudformationAttribute Ref
*/
public readonly attrAnotherId?: string;
public readonly attrAnotherId: string;
/**
* The identifier of the resource.
* This property gets determined after the resource is created.
*
* @cloudformationAttribute Ref
*/
public readonly attrId?: string;
public readonly attrId: string;
/**
* Another identifier of the resource.
Expand Down Expand Up @@ -1305,14 +1305,14 @@ import * as cfn_parse from "aws-cdk-lib/core/lib/helpers-internal";
*
* @stability external
*/
export interface ICfnResource {
export interface ICfnResource extends constructs.IConstruct {
/**
* The identifier of the resource.
* This property gets determined after the resource is created.
*
* @cloudformationAttribute Ref
*/
readonly attrId?: string;
readonly attrId: string;
}
/**
Expand Down Expand Up @@ -1356,7 +1356,7 @@ export class CfnResource extends cdk.CfnResource implements cdk.IInspectable, IC
*
* @cloudformationAttribute Ref
*/
public readonly attrId?: string;
public readonly attrId: string;
/**
* The identifier of the resource.
Expand Down

0 comments on commit 2295c7f

Please sign in to comment.