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)

105 lines (104 loc) 4.07 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"; /** * Resource Type definition for AWS::CloudFront::ConnectionFunction */ export declare class ConnectionFunction extends pulumi.CustomResource { /** * Get an existing ConnectionFunction 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): ConnectionFunction; /** * Returns true if the given object is an instance of ConnectionFunction. 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 ConnectionFunction; /** * A flag that determines whether to automatically publish the function to the `LIVE` stage when it’s created. To automatically publish to the `LIVE` stage, set this property to `true` . */ readonly autoPublish: pulumi.Output<boolean | undefined>; /** * The connection function ID. */ readonly awsId: pulumi.Output<string>; /** * The connection function Amazon Resource Name (ARN). */ readonly connectionFunctionArn: pulumi.Output<string>; /** * The code for the connection function. */ readonly connectionFunctionCode: pulumi.Output<string>; /** * Contains configuration information about a CloudFront function. */ readonly connectionFunctionConfig: pulumi.Output<outputs.cloudfront.ConnectionFunctionConfig>; /** * The connection function created time. */ readonly createdTime: pulumi.Output<string>; /** * A complex type that contains `Tag` key and `Tag` value. */ readonly eTag: pulumi.Output<string>; /** * The connection function last modified time. */ readonly lastModifiedTime: pulumi.Output<string>; /** * The connection function name. */ readonly name: pulumi.Output<string>; /** * The connection function stage. */ readonly stage: pulumi.Output<enums.cloudfront.ConnectionFunctionStage>; /** * The connection function status. */ readonly status: pulumi.Output<enums.cloudfront.ConnectionFunctionStatus>; /** * A complex type that contains zero or more `Tag` elements. */ readonly tags: pulumi.Output<outputs.Tag[] | undefined>; /** * Create a ConnectionFunction 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: ConnectionFunctionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ConnectionFunction resource. */ export interface ConnectionFunctionArgs { /** * A flag that determines whether to automatically publish the function to the `LIVE` stage when it’s created. To automatically publish to the `LIVE` stage, set this property to `true` . */ autoPublish?: pulumi.Input<boolean>; /** * The code for the connection function. */ connectionFunctionCode: pulumi.Input<string>; /** * Contains configuration information about a CloudFront function. */ connectionFunctionConfig: pulumi.Input<inputs.cloudfront.ConnectionFunctionConfigArgs>; /** * The connection function name. */ name?: pulumi.Input<string>; /** * A complex type that contains zero or more `Tag` elements. */ tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>; }