1 | import { Construct } from 'constructs';
|
2 | import { IBaseService } from '../base/base-service';
|
3 | import { ICluster } from '../cluster';
|
4 | /**
|
5 | * The properties to import from the service.
|
6 | */
|
7 | export interface ServiceAttributes {
|
8 | /**
|
9 | * The cluster that hosts the service.
|
10 | */
|
11 | readonly cluster: ICluster;
|
12 | /**
|
13 | * The service ARN.
|
14 | *
|
15 | * @default - either this, or {@link serviceName}, is required
|
16 | */
|
17 | readonly serviceArn?: string;
|
18 | /**
|
19 | * The name of the service.
|
20 | *
|
21 | * @default - either this, or {@link serviceArn}, is required
|
22 | */
|
23 | readonly serviceName?: string;
|
24 | }
|
25 | export declare function fromServiceAtrributes(scope: Construct, id: string, attrs: ServiceAttributes): IBaseService;
|