import * as core from "@terrascript/core"; export interface ResourcePolicyArgs extends core.ResourceArgs { /** * (Optional) Indicates that you are using both methods to grant cross-account. Valid values are `TRUE` * and `FALSE`. Note the terraform will not perform drift detetction on this field as its not return o * n read. */ enableHybrid?: string | core.StringOut; policy: string | core.StringOut; } export class ResourcePolicy extends core.Resource { /** * (Optional) Indicates that you are using both methods to grant cross-account. Valid values are `TRUE` * and `FALSE`. Note the terraform will not perform drift detetction on this field as its not return o * n read. */ @core.attr(String) public enableHybrid?: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; @core.attr(String) public policy!: string | core.StringOut; constructor(name: string, args?: ResourcePolicyArgs) { super(name, "aws_glue_resource_policy", args); } public override getNamespace(): string { return "aws_glue"; } }