import * as core from "@terrascript/core"; export interface DelegatedAdministratorArgs extends core.ResourceArgs { /** * (Required) The account ID number of the member account in the organization to register as a delegate * d administrator. */ accountId: string | core.StringOut; /** * (Required) The service principal of the AWS service for which you want to make the member account a * delegated administrator. */ servicePrincipal: string | core.StringOut; } export class DelegatedAdministrator extends core.Resource { /** * (Required) The account ID number of the member account in the organization to register as a delegate * d administrator. */ @core.attr(String) public accountId!: string | core.StringOut; /** * The Amazon Resource Name (ARN) of the delegated administrator's account. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The date when the account was made a delegated administrator. */ @core.attr(String, { computed: true }) public delegationEnabledDate!: string | core.StringOut; /** * The email address that is associated with the delegated administrator's AWS account. */ @core.attr(String, { computed: true }) public email!: string | core.StringOut; /** * The unique identifier (ID) of the delegated administrator. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The method by which the delegated administrator's account joined the organization. */ @core.attr(String, { computed: true }) public joinedMethod!: string | core.StringOut; /** * The date when the delegated administrator's account became a part of the organization. */ @core.attr(String, { computed: true }) public joinedTimestamp!: string | core.StringOut; /** * The friendly name of the delegated administrator's account. */ @core.attr(String, { computed: true }) public name!: string | core.StringOut; /** * (Required) The service principal of the AWS service for which you want to make the member account a * delegated administrator. */ @core.attr(String) public servicePrincipal!: string | core.StringOut; /** * The status of the delegated administrator's account in the organization. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; constructor(name: string, args?: DelegatedAdministratorArgs) { super(name, "aws_organizations_delegated_administrator", args); } public override getNamespace(): string { return "aws_organizations"; } }