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)

96 lines (95 loc) 4.35 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 capacity provider that manages compute resources for Lambda functions */ export declare class CapacityProvider extends pulumi.CustomResource { /** * Get an existing CapacityProvider 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): CapacityProvider; /** * Returns true if the given object is an instance of CapacityProvider. 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 CapacityProvider; readonly arn: pulumi.Output<string>; readonly capacityProviderName: pulumi.Output<string | undefined>; /** * The scaling configuration for the capacity provider. */ readonly capacityProviderScalingConfig: pulumi.Output<outputs.lambda.CapacityProviderScalingConfig | undefined>; /** * The instance requirements for compute resources managed by the capacity provider. */ readonly instanceRequirements: pulumi.Output<outputs.lambda.CapacityProviderInstanceRequirements | undefined>; /** * The ARN of the KMS key used to encrypt the capacity provider's resources. */ readonly kmsKeyArn: pulumi.Output<string | undefined>; /** * The permissions configuration for the capacity provider. */ readonly permissionsConfig: pulumi.Output<outputs.lambda.CapacityProviderPermissionsConfig>; readonly propagateTags: pulumi.Output<outputs.lambda.CapacityProviderPropagateTagsConfig | undefined>; /** * The current state of the capacity provider. */ readonly state: pulumi.Output<enums.lambda.CapacityProviderState>; /** * A key-value pair that provides metadata for the capacity provider. */ readonly tags: pulumi.Output<outputs.Tag[] | undefined>; readonly telemetryConfig: pulumi.Output<outputs.lambda.CapacityProviderTelemetryConfig | undefined>; /** * The VPC configuration for the capacity provider. */ readonly vpcConfig: pulumi.Output<outputs.lambda.CapacityProviderVpcConfig>; /** * Create a CapacityProvider 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: CapacityProviderArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a CapacityProvider resource. */ export interface CapacityProviderArgs { capacityProviderName?: pulumi.Input<string>; /** * The scaling configuration for the capacity provider. */ capacityProviderScalingConfig?: pulumi.Input<inputs.lambda.CapacityProviderScalingConfigArgs>; /** * The instance requirements for compute resources managed by the capacity provider. */ instanceRequirements?: pulumi.Input<inputs.lambda.CapacityProviderInstanceRequirementsArgs>; /** * The ARN of the KMS key used to encrypt the capacity provider's resources. */ kmsKeyArn?: pulumi.Input<string>; /** * The permissions configuration for the capacity provider. */ permissionsConfig: pulumi.Input<inputs.lambda.CapacityProviderPermissionsConfigArgs>; propagateTags?: pulumi.Input<inputs.lambda.CapacityProviderPropagateTagsConfigArgs>; /** * A key-value pair that provides metadata for the capacity provider. */ tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>; telemetryConfig?: pulumi.Input<inputs.lambda.CapacityProviderTelemetryConfigArgs>; /** * The VPC configuration for the capacity provider. */ vpcConfig: pulumi.Input<inputs.lambda.CapacityProviderVpcConfigArgs>; }