import * as core from "@terrascript/core"; export interface PolicyAttachmentArgs extends core.ResourceArgs { /** * (Required) The unique identifier (ID) of the policy that you want to attach to the target. */ policyId: string | core.StringOut; /** * (Required) The unique identifier (ID) of the root, organizational unit, or account number that you w * ant to attach the policy to. */ targetId: string | core.StringOut; } export class PolicyAttachment extends core.Resource { @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The unique identifier (ID) of the policy that you want to attach to the target. */ @core.attr(String) public policyId!: string | core.StringOut; /** * (Required) The unique identifier (ID) of the root, organizational unit, or account number that you w * ant to attach the policy to. */ @core.attr(String) public targetId!: string | core.StringOut; constructor(name: string, args?: PolicyAttachmentArgs) { super(name, "aws_organizations_policy_attachment", args); } public override getNamespace(): string { return "aws_organizations"; } }