import * as core from "@terrascript/core"; export interface DelegatedAdministratorsBlkArgs extends core.SchemaArgs { arn: string | core.StringOut; delegationEnabledDate: string | core.StringOut; email: string | core.StringOut; id: string | core.StringOut; joinedMethod: string | core.StringOut; joinedTimestamp: string | core.StringOut; name: string | core.StringOut; status: string | core.StringOut; } export class DelegatedAdministratorsBlk extends core.Schema { @core.attr(String, { computed: true }) public arn!: string | core.StringOut; @core.attr(String, { computed: true }) public delegationEnabledDate!: string | core.StringOut; @core.attr(String, { computed: true }) public email!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; @core.attr(String, { computed: true }) public joinedMethod!: string | core.StringOut; @core.attr(String, { computed: true }) public joinedTimestamp!: string | core.StringOut; @core.attr(String, { computed: true }) public name!: string | core.StringOut; @core.attr(String, { computed: true }) public status!: string | core.StringOut; } export interface DsDelegatedAdministratorsArgs { /** * (Optional) Specifies a service principal name. If specified, then the operation lists the delegated * administrators only for the specified service. If you don't specify a service principal, the operati * on lists all delegated administrators for all services in your organization. */ servicePrincipal?: string | core.StringOut; } export class DsDelegatedAdministrators extends core.Data { /** * The list of delegated administrators in your organization, which have the following attributes: */ @core.attr(DelegatedAdministratorsBlk, { computed: true, kind: "array" }) public delegatedAdministrators!: | core.Array | core.ArrayOut; /** * The unique identifier (ID) of the delegated administrator's account. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) Specifies a service principal name. If specified, then the operation lists the delegated * administrators only for the specified service. If you don't specify a service principal, the operati * on lists all delegated administrators for all services in your organization. */ @core.attr(String) public servicePrincipal?: string | core.StringOut; constructor(name: string, args?: DsDelegatedAdministratorsArgs) { super(name, "aws_organizations_delegated_administrators", args); } public override getNamespace(): string { return "aws_organizations"; } }