import * as core from "@terrascript/core"; export interface DsDetectorArgs { /** * (Optional) The ID of the detector. */ id?: string | core.StringOut; } export class DsDetector extends core.Data { /** * The frequency of notifications sent about subsequent finding occurrences. */ @core.attr(String, { computed: true }) public findingPublishingFrequency!: string | core.StringOut; /** * (Optional) The ID of the detector. */ @core.attr(String, { computed: true }) public id?: string | core.StringOut; /** * The service-linked role that grants GuardDuty access to the resources in the AWS account. */ @core.attr(String, { computed: true }) public serviceRoleArn!: string | core.StringOut; /** * The current status of the detector. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; constructor(name: string, args?: DsDetectorArgs) { super(name, "aws_guardduty_detector", args); } public override getNamespace(): string { return "aws_guardduty"; } }