import * as core from "@terrascript/core"; export interface AnalyzerArgs extends core.ResourceArgs { /** * (Required) Name of the Analyzer. */ analyzerName: 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; /** * (Optional) Type of Analyzer. Valid values are `ACCOUNT` or `ORGANIZATION`. Defaults to `ACCOUNT`. */ type?: string | core.StringOut; } export class Analyzer extends core.Resource { /** * (Required) Name of the Analyzer. */ @core.attr(String) public analyzerName!: string | core.StringOut; /** * The Amazon Resource Name (ARN) of the Analyzer. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * Analyzer name. */ @core.attr(String, { computed: true }) public id!: 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; /** * (Optional) Type of Analyzer. Valid values are `ACCOUNT` or `ORGANIZATION`. Defaults to `ACCOUNT`. */ @core.attr(String) public type?: string | core.StringOut; constructor(name: string, args?: AnalyzerArgs) { super(name, "aws_accessanalyzer_analyzer", args); } public override getNamespace(): string { return "aws_accessanalyzer"; } }