import * as core from "@terrascript/core"; export interface DirectoryServiceSharedDirectoryAccepterArgs extends core.ResourceArgs { /** * (Required) Identifier of the directory that is stored in the directory consumer account that corresp * onds to the shared directory in the owner account. */ sharedDirectoryId: string | core.StringOut; } export class DirectoryServiceSharedDirectoryAccepter extends core.Resource { /** * Identifier of the shared directory. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * Method used when sharing a directory (i.e., `ORGANIZATIONS` or `HANDSHAKE`). */ @core.attr(String, { computed: true }) public method!: string | core.StringOut; /** * Message sent by the directory owner to the directory consumer to help the directory consumer adminis * trator determine whether to approve or reject the share invitation. */ @core.attr(String, { computed: true }) public notes!: string | core.StringOut; /** * Account identifier of the directory owner. */ @core.attr(String, { computed: true }) public ownerAccountId!: string | core.StringOut; /** * Identifier of the Managed Microsoft AD directory from the perspective of the directory owner. */ @core.attr(String, { computed: true }) public ownerDirectoryId!: string | core.StringOut; /** * (Required) Identifier of the directory that is stored in the directory consumer account that corresp * onds to the shared directory in the owner account. */ @core.attr(String) public sharedDirectoryId!: string | core.StringOut; constructor( name: string, args?: DirectoryServiceSharedDirectoryAccepterArgs ) { super(name, "aws_directory_service_shared_directory_accepter", args); } public override getNamespace(): string { return "aws_ds"; } }