import * as core from "@terrascript/core"; export interface PortfolioArgs extends core.ResourceArgs { /** * (Required) Description of the portfolio */ description?: string | core.StringOut; /** * (Required) The name of the portfolio. */ name: string | core.StringOut; /** * (Required) Name of the person or organization who owns the portfolio. */ providerName: string | core.StringOut; /** * (Optional) Tags to apply to the connection. If configured with a provider [`default_tags` configurat * ion block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurat * ion-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 Portfolio extends core.Resource { @core.attr(String, { computed: true }) public arn!: string | core.StringOut; @core.attr(String, { computed: true }) public createdTime!: string | core.StringOut; /** * (Required) Description of the portfolio */ @core.attr(String, { computed: true }) public description?: string | core.StringOut; /** * The ID of the Service Catalog Portfolio. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the portfolio. */ @core.attr(String) public name!: string | core.StringOut; /** * (Required) Name of the person or organization who owns the portfolio. */ @core.attr(String) public providerName!: string | core.StringOut; /** * (Optional) Tags to apply to the connection. If configured with a provider [`default_tags` configurat * ion block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurat * ion-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?: PortfolioArgs) { super(name, "aws_servicecatalog_portfolio", args); } public override getNamespace(): string { return "aws_servicecatalog"; } }