import * as core from "@terrascript/core"; export interface RolePolicyArgs extends core.ResourceArgs { /** * (Optional) The name of the role policy. If omitted, Terraform will */ name?: string | core.StringOut; /** * (Optional) Creates a unique name beginning with the specified */ namePrefix?: string | core.StringOut; /** * (Required) The inline policy document. This is a JSON formatted string. For more information about b * uilding IAM policy documents with Terraform, see the [AWS IAM Policy Document Guide](https://learn.h * ashicorp.com/terraform/aws/iam-policy) */ policy: string | core.StringOut; /** * (Required) The name of the IAM role to attach to the policy. */ role: string | core.StringOut; } export declare class RolePolicy extends core.Resource { /** * The role policy ID, in the form of `role_name:role_policy_name`. */ id: string | core.StringOut; /** * (Optional) The name of the role policy. If omitted, Terraform will */ name?: string | core.StringOut; /** * (Optional) Creates a unique name beginning with the specified */ namePrefix?: string | core.StringOut; /** * (Required) The inline policy document. This is a JSON formatted string. For more information about b * uilding IAM policy documents with Terraform, see the [AWS IAM Policy Document Guide](https://learn.h * ashicorp.com/terraform/aws/iam-policy) */ policy: string | core.StringOut; /** * (Required) The name of the IAM role to attach to the policy. */ role: string | core.StringOut; constructor(name: string, args?: RolePolicyArgs); getNamespace(): string; } //# sourceMappingURL=role_policy.d.ts.map