import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource which manages Cloudflare Logpush ownership challenges to use * in a Logpush Job. On it's own, doesn't do much however this resource should * be used in conjunction to create Logpush jobs. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const example = new cloudflare.LogPushOwnershipChallenge("example", { * destinationConf: "s3://my-bucket-path?region=us-west-2", * zoneId: "d41d8cd98f00b204e9800998ecf8427e", * }); * ``` * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const example = new cloudflare.LogPushOwnershipChallenge("example", { * accountId: "1d5fdc9e88c8a8c4518b068cd94331fe", * destinationConf: "s3://my-bucket-path?region=us-west-2", * }); * ``` */ export declare class LogPushOwnershipChallenge extends pulumi.CustomResource { /** * Get an existing LogPushOwnershipChallenge 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: LogPushOwnershipChallengeState, opts?: pulumi.CustomResourceOptions): LogPushOwnershipChallenge; /** * Returns true if the given object is an instance of LogPushOwnershipChallenge. 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 LogPushOwnershipChallenge; /** * The account ID where the logpush ownership challenge should be created. Either `accountId` or `zoneId` are required. */ readonly accountId: pulumi.Output; /** * Uniquely identifies a resource (such as an s3 bucket) where data will be pushed. Additional configuration parameters supported by the destination may be included. See [Logpush destination documentation](https://developers.cloudflare.com/logs/logpush/logpush-configuration-api/understanding-logpush-api/#destination). */ readonly destinationConf: pulumi.Output; /** * The filename of the ownership challenge which * contains the contents required for Logpush Job creation. */ readonly ownershipChallengeFilename: pulumi.Output; /** * The zone ID where the logpush ownership challenge should be created. Either `accountId` or `zoneId` are required. */ readonly zoneId: pulumi.Output; /** * Create a LogPushOwnershipChallenge 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: LogPushOwnershipChallengeArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LogPushOwnershipChallenge resources. */ export interface LogPushOwnershipChallengeState { /** * The account ID where the logpush ownership challenge should be created. Either `accountId` or `zoneId` are required. */ accountId?: pulumi.Input; /** * Uniquely identifies a resource (such as an s3 bucket) where data will be pushed. Additional configuration parameters supported by the destination may be included. See [Logpush destination documentation](https://developers.cloudflare.com/logs/logpush/logpush-configuration-api/understanding-logpush-api/#destination). */ destinationConf?: pulumi.Input; /** * The filename of the ownership challenge which * contains the contents required for Logpush Job creation. */ ownershipChallengeFilename?: pulumi.Input; /** * The zone ID where the logpush ownership challenge should be created. Either `accountId` or `zoneId` are required. */ zoneId?: pulumi.Input; } /** * The set of arguments for constructing a LogPushOwnershipChallenge resource. */ export interface LogPushOwnershipChallengeArgs { /** * The account ID where the logpush ownership challenge should be created. Either `accountId` or `zoneId` are required. */ accountId?: pulumi.Input; /** * Uniquely identifies a resource (such as an s3 bucket) where data will be pushed. Additional configuration parameters supported by the destination may be included. See [Logpush destination documentation](https://developers.cloudflare.com/logs/logpush/logpush-configuration-api/understanding-logpush-api/#destination). */ destinationConf: pulumi.Input; /** * The zone ID where the logpush ownership challenge should be created. Either `accountId` or `zoneId` are required. */ zoneId?: pulumi.Input; }