import * as core from "@terrascript/core"; export interface ScopeArgs extends core.SchemaArgs { scopeDescription: string | core.StringOut; scopeName: string | core.StringOut; } export class Scope extends core.Schema { @core.attr(String) public scopeDescription!: string | core.StringOut; @core.attr(String) public scopeName!: string | core.StringOut; } export interface ResourceServerArgs extends core.ResourceArgs { identifier: string | core.StringOut; name: string | core.StringOut; scope?: core.Array | core.ArrayOut; userPoolId: string | core.StringOut; } export class ResourceServer extends core.Resource { @core.attr(String, { computed: true }) public id!: string | core.StringOut; @core.attr(String) public identifier!: string | core.StringOut; @core.attr(String) public name!: string | core.StringOut; @core.attr(Scope, { kind: "array" }) public scope?: core.Array | core.ArrayOut; @core.attr(String, { computed: true, kind: "array" }) public scopeIdentifiers!: core.Array | core.ArrayOut; @core.attr(String) public userPoolId!: string | core.StringOut; constructor(name: string, args?: ResourceServerArgs) { super(name, "aws_cognito_resource_server", args); } public override getNamespace(): string { return "aws_cognito"; } }