UNPKG

@pulumi/pulumiservice

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fpulumiservice.svg)](https://www.npmjs.com/package/@pulumi/pulumiservice) [![Python version](https://badge.fury.io

107 lines 4.2 kB
import * as pulumi from "@pulumi/pulumi"; import * as enums from "./types/enums"; /** * Insights Account for cloud resource scanning and analysis across AWS, Azure, and GCP. */ export declare class InsightsAccount extends pulumi.CustomResource { /** * Get an existing InsightsAccount 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): InsightsAccount; /** * Returns true if the given object is an instance of InsightsAccount. 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 InsightsAccount; /** * Name of the insights account. */ readonly accountName: pulumi.Output<string>; /** * The ESC environment used for provider credentials. Format: 'project/environment' with optional '@version' suffix (e.g., 'my-project/prod-env' or 'my-project/prod-env@v1.0'). */ readonly environment: pulumi.Output<string>; /** * The insights account identifier. */ readonly insightsAccountId: pulumi.Output<string>; /** * The organization's name. */ readonly organizationName: pulumi.Output<string>; /** * The cloud provider for scanning. */ readonly provider: pulumi.Output<enums.CloudProvider>; /** * Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}. */ readonly providerConfig: pulumi.Output<{ [key: string]: any; } | undefined>; /** * Schedule for automated scanning. Use 'daily' for daily scans, '12h' for scans every twelve hours, or 'none' to disable scheduled scanning. Defaults to 'none'. */ readonly scanSchedule: pulumi.Output<enums.ScanSchedule>; /** * Whether scheduled scanning is enabled. */ readonly scheduledScanEnabled: pulumi.Output<boolean>; /** * Key-value tags to associate with the insights account. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a InsightsAccount 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: InsightsAccountArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a InsightsAccount resource. */ export interface InsightsAccountArgs { /** * Name of the insights account. */ accountName: pulumi.Input<string>; /** * The ESC environment used for provider credentials. Format: 'project/environment' with optional '@version' suffix (e.g., 'my-project/prod-env' or 'my-project/prod-env@v1.0'). */ environment: pulumi.Input<string>; /** * The organization's name. */ organizationName: pulumi.Input<string>; /** * The cloud provider for scanning. */ provider: pulumi.Input<enums.CloudProvider>; /** * Provider-specific configuration as a JSON object. For AWS, specify regions to scan: {"regions": ["us-west-1", "us-west-2"]}. */ providerConfig?: pulumi.Input<{ [key: string]: any; } | undefined>; /** * Schedule for automated scanning. Use 'daily' for daily scans, '12h' for scans every twelve hours, or 'none' to disable scheduled scanning. Defaults to 'none'. */ scanSchedule: pulumi.Input<enums.ScanSchedule>; /** * Key-value tags to associate with the insights account. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; } | undefined>; } //# sourceMappingURL=insightsAccount.d.ts.map