UNPKG

@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)

69 lines (68 loc) 2.29 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Creates a resilience-managed service with associated systems, input sources, assertions, and service functions. */ export declare function getService(args: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceResult>; export interface GetServiceArgs { /** * The ARN of the service. */ serviceArn: string; } export interface GetServiceResult { /** * Assertions associated with this service. */ readonly assertions?: outputs.resiliencehubv2.ServiceAssertionDefinition[]; /** * Systems associated with this service. */ readonly associatedSystems?: outputs.resiliencehubv2.ServiceAssociatedSystem[]; /** * The timestamp when the service was created. */ readonly createdAt?: string; /** * Dependency discovery state. */ readonly dependencyDiscovery?: enums.resiliencehubv2.ServiceDependencyDiscovery; /** * The description of the service. */ readonly description?: string; readonly effectivePolicyValues?: outputs.resiliencehubv2.ServiceEffectivePolicyValues; /** * Input sources for this service. */ readonly inputSources?: outputs.resiliencehubv2.ServiceInputSourceDefinition[]; readonly permissionModel?: outputs.resiliencehubv2.ServicePermissionModel; /** * The ARN of the resilience policy to associate. */ readonly policyArn?: string; readonly reportConfiguration?: outputs.resiliencehubv2.ServiceReportConfiguration; /** * The ARN of the service. */ readonly serviceArn?: string; /** * Tags assigned to the service. */ readonly tags?: outputs.Tag[]; /** * The timestamp when the service was last updated. */ readonly updatedAt?: string; } /** * Creates a resilience-managed service with associated systems, input sources, assertions, and service functions. */ export declare function getServiceOutput(args: GetServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServiceResult>; export interface GetServiceOutputArgs { /** * The ARN of the service. */ serviceArn: pulumi.Input<string>; }