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)

88 lines (87 loc) 3.83 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource Type definition for AWS::GuardDuty::Detector */ export declare class Detector extends pulumi.CustomResource { /** * Get an existing Detector 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): Detector; /** * Returns true if the given object is an instance of Detector. 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 Detector; /** * The unique ID of the detector. */ readonly awsId: pulumi.Output<string>; /** * Describes which data sources will be enabled for the detector. */ readonly dataSources: pulumi.Output<outputs.guardduty.DetectorCfnDataSourceConfigurations | undefined>; /** * Specifies whether the detector is to be enabled on creation. */ readonly enable: pulumi.Output<boolean>; /** * A list of features that will be configured for the detector. */ readonly features: pulumi.Output<outputs.guardduty.DetectorCfnFeatureConfiguration[] | undefined>; /** * Specifies how frequently updated findings are exported. */ readonly findingPublishingFrequency: pulumi.Output<string | undefined>; /** * Specifies tags added to a new detector resource. Each tag consists of a key and an optional value, both of which you define. * * Currently, support is available only for creating and deleting a tag. No support exists for updating the tags. * * For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) . */ readonly tags: pulumi.Output<outputs.Tag[] | undefined>; /** * Create a Detector 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: DetectorArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Detector resource. */ export interface DetectorArgs { /** * Describes which data sources will be enabled for the detector. */ dataSources?: pulumi.Input<inputs.guardduty.DetectorCfnDataSourceConfigurationsArgs>; /** * Specifies whether the detector is to be enabled on creation. */ enable: pulumi.Input<boolean>; /** * A list of features that will be configured for the detector. */ features?: pulumi.Input<pulumi.Input<inputs.guardduty.DetectorCfnFeatureConfigurationArgs>[]>; /** * Specifies how frequently updated findings are exported. */ findingPublishingFrequency?: pulumi.Input<string>; /** * Specifies tags added to a new detector resource. Each tag consists of a key and an optional value, both of which you define. * * Currently, support is available only for creating and deleting a tag. No support exists for updating the tags. * * For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) . */ tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>; }