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)

53 lines (52 loc) 1.85 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Resource Type definition for AWS::GuardDuty::Detector */ export declare function getDetector(args: GetDetectorArgs, opts?: pulumi.InvokeOptions): Promise<GetDetectorResult>; export interface GetDetectorArgs { /** * The unique ID of the detector. */ id: string; } export interface GetDetectorResult { /** * Describes which data sources will be enabled for the detector. */ readonly dataSources?: outputs.guardduty.DetectorCfnDataSourceConfigurations; /** * Specifies whether the detector is to be enabled on creation. */ readonly enable?: boolean; /** * A list of features that will be configured for the detector. */ readonly features?: outputs.guardduty.DetectorCfnFeatureConfiguration[]; /** * Specifies how frequently updated findings are exported. */ readonly findingPublishingFrequency?: string; /** * The unique ID of the detector. */ readonly id?: 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) . */ readonly tags?: outputs.Tag[]; } /** * Resource Type definition for AWS::GuardDuty::Detector */ export declare function getDetectorOutput(args: GetDetectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDetectorResult>; export interface GetDetectorOutputArgs { /** * The unique ID of the detector. */ id: pulumi.Input<string>; }