Skip to content

Commit

Permalink
allow interface
Browse files Browse the repository at this point in the history
Accept the interface.

I should be able to write something like the following:

```
new codepipeline_actions.EcsDeployAction({
    actionName: 'Deploy-Development',
    input: dockerBuildOutput,
    service: ecs.FargateService.fromFargateServiceArn(this, 'FargateService’, ‘theARN')
})

```
  • Loading branch information
Andrew Hammond committed Jan 23, 2020
1 parent 2ab25bd commit 41126a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export interface EcsDeployActionProps extends codepipeline.CommonAwsActionProps
/**
* The ECS Service to deploy.
*/
readonly service: ecs.BaseService;
readonly service: ecs.IService;
}

/**
Expand Down

0 comments on commit 41126a2

Please sign in to comment.