import * as core from "@terrascript/core"; export interface IpsetArgs extends core.ResourceArgs { /** * (Required) Specifies whether GuardDuty is to start using the uploaded IPSet. */ activate: boolean | core.BooleanOut; /** * (Required) The detector ID of the GuardDuty. */ detectorId: string | core.StringOut; /** * (Required) The format of the file that contains the IPSet. 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 IPSet. */ location: string | core.StringOut; /** * (Required) The friendly name to identify the IPSet. */ 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 Ipset extends core.Resource { /** * (Required) Specifies whether GuardDuty is to start using the uploaded IPSet. */ @core.attr(Boolean) public activate!: boolean | core.BooleanOut; /** * Amazon Resource Name (ARN) of the GuardDuty IPSet. */ @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 IPSet. 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 IPSet. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The URI of the file that contains the IPSet. */ @core.attr(String) public location!: string | core.StringOut; /** * (Required) The friendly name to identify the IPSet. */ @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?: IpsetArgs) { super(name, "aws_guardduty_ipset", args); } public override getNamespace(): string { return "aws_guardduty"; } }