Skip to content

Commit 3d56efa

Browse files
authored
fix(apprunner): the Service class does not implement IService (#32771)
### Issue # (if applicable) Closes #32745 ### Reason for this change `Service` should implement `IService`. However at the moment, it doesn't. ### Description of changes Modified `Service` class to implement `IService`. ### Describe any new or updated permissions being added None ### Description of how you validated changes No validation was needed as only interface implementation was added. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent ed366ce commit 3d56efa

File tree

1 file changed

+2
-1
lines changed
  • packages/@aws-cdk/aws-apprunner-alpha/lib

1 file changed

+2
-1
lines changed

packages/@aws-cdk/aws-apprunner-alpha/lib/service.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1103,6 +1103,7 @@ export interface IService extends cdk.IResource {
11031103

11041104
/**
11051105
* The ARN of the service.
1106+
* @attribute
11061107
*/
11071108
readonly serviceArn: string;
11081109
}
@@ -1178,7 +1179,7 @@ export abstract class Secret {
11781179
/**
11791180
* The App Runner Service.
11801181
*/
1181-
export class Service extends cdk.Resource implements iam.IGrantable {
1182+
export class Service extends cdk.Resource implements IService, iam.IGrantable {
11821183
/**
11831184
* Import from service name.
11841185
*/

0 commit comments

Comments
 (0)