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)

134 lines (133 loc) 5 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; 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 class Service extends pulumi.CustomResource { /** * Get an existing Service resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Service; /** * Returns true if the given object is an instance of Service. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Service; /** * Assertions associated with this service. */ readonly assertions: pulumi.Output<outputs.resiliencehubv2.ServiceAssertionDefinition[] | undefined>; /** * Systems associated with this service. */ readonly associatedSystems: pulumi.Output<outputs.resiliencehubv2.ServiceAssociatedSystem[] | undefined>; /** * The timestamp when the service was created. */ readonly createdAt: pulumi.Output<string>; /** * Dependency discovery state. */ readonly dependencyDiscovery: pulumi.Output<enums.resiliencehubv2.ServiceDependencyDiscovery | undefined>; /** * The description of the service. */ readonly description: pulumi.Output<string | undefined>; readonly effectivePolicyValues: pulumi.Output<outputs.resiliencehubv2.ServiceEffectivePolicyValues>; /** * Input sources for this service. */ readonly inputSources: pulumi.Output<outputs.resiliencehubv2.ServiceInputSourceDefinition[] | undefined>; /** * The KMS key ID for encrypting service data. */ readonly kmsKeyId: pulumi.Output<string | undefined>; /** * The name of the service. */ readonly name: pulumi.Output<string>; readonly permissionModel: pulumi.Output<outputs.resiliencehubv2.ServicePermissionModel | undefined>; /** * The ARN of the resilience policy to associate. */ readonly policyArn: pulumi.Output<string | undefined>; /** * AWS regions for the service. */ readonly regions: pulumi.Output<string[]>; readonly reportConfiguration: pulumi.Output<outputs.resiliencehubv2.ServiceReportConfiguration | undefined>; /** * The ARN of the service. */ readonly serviceArn: pulumi.Output<string>; /** * Tags assigned to the service. */ readonly tags: pulumi.Output<outputs.Tag[] | undefined>; /** * The timestamp when the service was last updated. */ readonly updatedAt: pulumi.Output<string>; /** * Create a Service resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ServiceArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Service resource. */ export interface ServiceArgs { /** * Assertions associated with this service. */ assertions?: pulumi.Input<pulumi.Input<inputs.resiliencehubv2.ServiceAssertionDefinitionArgs>[]>; /** * Systems associated with this service. */ associatedSystems?: pulumi.Input<pulumi.Input<inputs.resiliencehubv2.ServiceAssociatedSystemArgs>[]>; /** * Dependency discovery state. */ dependencyDiscovery?: pulumi.Input<enums.resiliencehubv2.ServiceDependencyDiscovery>; /** * The description of the service. */ description?: pulumi.Input<string>; /** * Input sources for this service. */ inputSources?: pulumi.Input<pulumi.Input<inputs.resiliencehubv2.ServiceInputSourceDefinitionArgs>[]>; /** * The KMS key ID for encrypting service data. */ kmsKeyId?: pulumi.Input<string>; /** * The name of the service. */ name?: pulumi.Input<string>; permissionModel?: pulumi.Input<inputs.resiliencehubv2.ServicePermissionModelArgs>; /** * The ARN of the resilience policy to associate. */ policyArn?: pulumi.Input<string>; /** * AWS regions for the service. */ regions: pulumi.Input<pulumi.Input<string>[]>; reportConfiguration?: pulumi.Input<inputs.resiliencehubv2.ServiceReportConfigurationArgs>; /** * Tags assigned to the service. */ tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>; }