import * as core from "@terrascript/core"; export interface DelegatedServicesBlkArgs extends core.SchemaArgs { delegationEnabledDate: string | core.StringOut; servicePrincipal: string | core.StringOut; } export class DelegatedServicesBlk extends core.Schema { @core.attr(String, { computed: true }) public delegationEnabledDate!: string | core.StringOut; @core.attr(String, { computed: true }) public servicePrincipal!: string | core.StringOut; } export interface DsDelegatedServicesArgs { /** * (Required) The account ID number of a delegated administrator account in the organization. */ accountId: string | core.StringOut; } export class DsDelegatedServices extends core.Data { /** * (Required) The account ID number of a delegated administrator account in the organization. */ @core.attr(String) public accountId!: string | core.StringOut; /** * The services for which the account is a delegated administrator, which have the following attributes * : */ @core.attr(DelegatedServicesBlk, { computed: true, kind: "array" }) public delegatedServices!: | core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; constructor(name: string, args?: DsDelegatedServicesArgs) { super(name, "aws_organizations_delegated_services", args); } public override getNamespace(): string { return "aws_organizations"; } }