import * as core from "@terrascript/core"; export interface FilterArgs extends core.SchemaArgs { name: string | core.StringOut; values: core.Array | core.ArrayOut; } export class Filter extends core.Schema { @core.attr(String) public name!: string | core.StringOut; @core.attr(String, { kind: "array" }) public values!: core.Array | core.ArrayOut; } export interface DsResourceShareArgs { /** * (Optional) A filter used to scope the list e.g., by tags. See [related docs] (https://docs.aws.amazo * n.com/ram/latest/APIReference/API_TagFilter.html). */ filter?: core.Array | core.ArrayOut; /** * (Required) The name of the resource share to retrieve. */ name: string | core.StringOut; resourceOwner: string | core.StringOut; resourceShareStatus?: string | core.StringOut; /** * The Tags attached to the RAM share */ tags?: core.Map | core.MapOut; } export class DsResourceShare extends core.Data { /** * The Amazon Resource Name (ARN) of the resource share. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) A filter used to scope the list e.g., by tags. See [related docs] (https://docs.aws.amazo * n.com/ram/latest/APIReference/API_TagFilter.html). */ @core.attr(Filter, { kind: "array" }) public filter?: core.Array | core.ArrayOut; /** * The Amazon Resource Name (ARN) of the resource share. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the resource share to retrieve. */ @core.attr(String) public name!: string | core.StringOut; /** * The ID of the AWS account that owns the resource share. */ @core.attr(String, { computed: true }) public owningAccountId!: string | core.StringOut; @core.attr(String) public resourceOwner!: string | core.StringOut; @core.attr(String) public resourceShareStatus?: string | core.StringOut; /** * The Status of the RAM share. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * The Tags attached to the RAM share */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; constructor(name: string, args?: DsResourceShareArgs) { super(name, "aws_ram_resource_share", args); } public override getNamespace(): string { return "aws_ram"; } }