CustomResourceProps
Properties for defining a CustomResource
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ros-customresource
Initializer
import { CustomResourceProps } from '@alicloud/ros-cdk-ros'
const customResourceProps: CustomResourceProps = { ... }
Properties
Name | Type | Description |
---|---|---|
serviceToken |
string | @alicloud/ros-cdk-core.IResolvable |
Property serviceToken: The service token that was given to the template developer by the service provider to access the service. |
timeout |
number | @alicloud/ros-cdk-core.IResolvable |
Property timeout: Timeout seconds before service provider responses. |
httpConfig |
@alicloud/ros-cdk-core.IResolvable | HttpConfigProperty |
Property httpConfig: Config for HTTP&HTTPS service provider. |
parameters |
@alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} |
Property parameters: Parameters to be passed to service provider. |
serviceToken
Required
public readonly serviceToken: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property serviceToken: The service token that was given to the template developer by the service provider to access the service.
Allowed values:
- Function Compute: acs:fc:
timeout
Required
public readonly timeout: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property timeout: Timeout seconds before service provider responses.
It takes effects only if the type of ServiceToken is Function Compute, MNS Queue, MNS Topic or async HTTP&HTTPS request. Timeout seconds are always 10 for sync HTTP&HTTPS request.
httpConfig
Optional
public readonly httpConfig: IResolvable | HttpConfigProperty;
- Type: @alicloud/ros-cdk-core.IResolvable | HttpConfigProperty
Property httpConfig: Config for HTTP&HTTPS service provider.
parameters
Optional
public readonly parameters: IResolvable | {[ key: string ]: any};
- Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}
Property parameters: Parameters to be passed to service provider.