import * as core from "@terrascript/core"; export interface ThreatintelsetArgs extends core.ResourceArgs { /** * (Required) Specifies whether GuardDuty is to start using the uploaded ThreatIntelSet. */ activate: boolean | core.BooleanOut; /** * (Required) The detector ID of the GuardDuty. */ detectorId: string | core.StringOut; /** * (Required) The format of the file that contains the ThreatIntelSet. Valid values: `TXT` | `STIX` | ` * OTX_CSV` | `ALIEN_VAULT` | `PROOF_POINT` | `FIRE_EYE` */ format: string | core.StringOut; /** * (Required) The URI of the file that contains the ThreatIntelSet. */ location: string | core.StringOut; /** * (Required) The friendly name to identify the ThreatIntelSet. */ name: string | core.StringOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class Threatintelset extends core.Resource { /** * (Required) Specifies whether GuardDuty is to start using the uploaded ThreatIntelSet. */ @core.attr(Boolean) public activate!: boolean | core.BooleanOut; /** * Amazon Resource Name (ARN) of the GuardDuty ThreatIntelSet. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) The detector ID of the GuardDuty. */ @core.attr(String) public detectorId!: string | core.StringOut; /** * (Required) The format of the file that contains the ThreatIntelSet. Valid values: `TXT` | `STIX` | ` * OTX_CSV` | `ALIEN_VAULT` | `PROOF_POINT` | `FIRE_EYE` */ @core.attr(String) public format!: string | core.StringOut; /** * The ID of the GuardDuty ThreatIntelSet and the detector ID. Format: `: * */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The URI of the file that contains the ThreatIntelSet. */ @core.attr(String) public location!: string | core.StringOut; /** * (Required) The friendly name to identify the ThreatIntelSet. */ @core.attr(String) public name!: string | core.StringOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: ThreatintelsetArgs) { super(name, "aws_guardduty_threatintelset", args); } public override getNamespace(): string { return "aws_guardduty"; } }