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)

114 lines (113 loc) 5.96 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::ThreatIntelSet */ export declare class ThreatIntelSet extends pulumi.CustomResource { /** * Get an existing ThreatIntelSet 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): ThreatIntelSet; /** * Returns true if the given object is an instance of ThreatIntelSet. 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 ThreatIntelSet; /** * A boolean value that determines if GuardDuty can start using this list for custom threat detection. For GuardDuty to be able to generate findings based on an activity associated with these entries, this list must be active. */ readonly activate: pulumi.Output<boolean | undefined>; /** * The unique ID of the `threatIntelSet` . */ readonly awsId: pulumi.Output<string>; /** * The unique ID of the detector of the GuardDuty account for which you want to create a `threatIntelSet` . * * To find the `detectorId` in the current Region, see the * Settings page in the GuardDuty console, or run the [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) API. */ readonly detectorId: pulumi.Output<string | undefined>; /** * The AWS account ID that owns the Amazon S3 bucket specified in the *Location* field. * * When you provide this account ID, GuardDuty will validate that the S3 bucket belongs to this account. If you don't specify an account ID owner, GuardDuty doesn't perform any validation. */ readonly expectedBucketOwner: pulumi.Output<string | undefined>; /** * The format of the file that contains the `ThreatIntelSet` . For information about supported formats, see [List formats](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_upload-lists.html#prepare_list) in the *Amazon GuardDuty User Guide* . */ readonly format: pulumi.Output<string>; /** * The URI of the file that contains the ThreatIntelSet. */ readonly location: pulumi.Output<string>; /** * The user-friendly name to identify the ThreatIntelSet. * * The name of your list must be unique within an AWS account and Region. Valid characters are alphanumeric, whitespace, dash (-), and underscores (_). */ readonly name: pulumi.Output<string | undefined>; /** * The tags to be added to a new threat entity set resource. Each tag consists of a key and an optional value, both of which you define. * * 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 ThreatIntelSet 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: ThreatIntelSetArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ThreatIntelSet resource. */ export interface ThreatIntelSetArgs { /** * A boolean value that determines if GuardDuty can start using this list for custom threat detection. For GuardDuty to be able to generate findings based on an activity associated with these entries, this list must be active. */ activate?: pulumi.Input<boolean>; /** * The unique ID of the detector of the GuardDuty account for which you want to create a `threatIntelSet` . * * To find the `detectorId` in the current Region, see the * Settings page in the GuardDuty console, or run the [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) API. */ detectorId?: pulumi.Input<string>; /** * The AWS account ID that owns the Amazon S3 bucket specified in the *Location* field. * * When you provide this account ID, GuardDuty will validate that the S3 bucket belongs to this account. If you don't specify an account ID owner, GuardDuty doesn't perform any validation. */ expectedBucketOwner?: pulumi.Input<string>; /** * The format of the file that contains the `ThreatIntelSet` . For information about supported formats, see [List formats](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_upload-lists.html#prepare_list) in the *Amazon GuardDuty User Guide* . */ format: pulumi.Input<string>; /** * The URI of the file that contains the ThreatIntelSet. */ location: pulumi.Input<string>; /** * The user-friendly name to identify the ThreatIntelSet. * * The name of your list must be unique within an AWS account and Region. Valid characters are alphanumeric, whitespace, dash (-), and underscores (_). */ name?: pulumi.Input<string>; /** * The tags to be added to a new threat entity set resource. Each tag consists of a key and an optional value, both of which you define. * * 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>[]>; }