@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
65 lines (64 loc) • 1.94 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as enums from "../types/enums";
/**
* Creates a service function within a Resilience Hub service.
*/
export declare function getServiceFunction(args: GetServiceFunctionArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceFunctionResult>;
export interface GetServiceFunctionArgs {
/**
* The ARN of the parent service.
*/
serviceArn: string;
/**
* The server-generated service function ID.
*/
serviceFunctionId: string;
}
export interface GetServiceFunctionResult {
/**
* The timestamp when the service function was created.
*/
readonly createdAt?: string;
/**
* The criticality of the service function.
*/
readonly criticality?: enums.resiliencehubv2.ServiceFunctionCriticality;
/**
* The description of the service function.
*/
readonly description?: string;
/**
* The name of the service function.
*/
readonly name?: string;
/**
* The number of resources associated with this function.
*/
readonly resourceCount?: number;
/**
* The server-generated service function ID.
*/
readonly serviceFunctionId?: string;
/**
* The source of the service function.
*/
readonly source?: enums.resiliencehubv2.ServiceFunctionSource;
/**
* The timestamp when the service function was last updated.
*/
readonly updatedAt?: string;
}
/**
* Creates a service function within a Resilience Hub service.
*/
export declare function getServiceFunctionOutput(args: GetServiceFunctionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServiceFunctionResult>;
export interface GetServiceFunctionOutputArgs {
/**
* The ARN of the parent service.
*/
serviceArn: pulumi.Input<string>;
/**
* The server-generated service function ID.
*/
serviceFunctionId: pulumi.Input<string>;
}