Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
badmintoncryer committed Dec 10, 2023
1 parent e64bee6 commit 407ee77
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ export interface QueueProcessingServiceBaseProps {
/**
* The image used to start a container.
* Image or taskDefinition must be specified, but not both.
*
* @default - none
*/
readonly image?: ContainerImage;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ export interface QueueProcessingEc2ServiceProps extends QueueProcessingServiceBa
/**
* The task definition to use for tasks in the service. TaskDefinition or Image must be specified, but not both..
*
* [disable-awslint:ref-via-interface]
*
* @default - none
*/
readonly taskDefinition?: Ec2TaskDefinition;
Expand Down Expand Up @@ -110,7 +112,7 @@ export class QueueProcessingEc2Service extends QueueProcessingServiceBase {
/**
* Constructs a new instance of the QueueProcessingEc2Service class.
*/
constructor(scope: Construct, id: string, props: QueueProcessingEc2ServiceProps) {
constructor(scope: Construct, id: string, props: QueueProcessingEc2ServiceProps = {}) {
super(scope, id, props);

if (props.taskDefinition != null && props.image != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class QueueProcessingFargateService extends QueueProcessingServiceBase {
/**
* Constructs a new instance of the QueueProcessingFargateService class.
*/
constructor(scope: Construct, id: string, props: QueueProcessingFargateServiceProps) {
constructor(scope: Construct, id: string, props: QueueProcessingFargateServiceProps = {}) {
super(scope, id, props);

if (props.taskDefinition != null && props.image != null) {
Expand Down

0 comments on commit 407ee77

Please sign in to comment.