import * as core from "@terrascript/core"; export interface UserPolicyArgs extends core.ResourceArgs { /** * (Optional) The name of the policy. If omitted, Terraform will assign a random, unique name. */ name?: string | core.StringOut; /** * (Optional, Forces new resource) Creates a unique name beginning with the specified prefix. Conflicts * with `name`. */ namePrefix?: string | core.StringOut; /** * (Required) The policy document. This is a JSON formatted string. For more information about building * AWS IAM policy documents with Terraform, see the [AWS IAM Policy Document Guide](https://learn.hash * icorp.com/terraform/aws/iam-policy). */ policy: string | core.StringOut; /** * (Required) IAM user to which to attach this policy. */ user: string | core.StringOut; } export declare class UserPolicy extends core.Resource { /** * The user policy ID, in the form of `user_name:user_policy_name`. */ id: string | core.StringOut; /** * (Optional) The name of the policy. If omitted, Terraform will assign a random, unique name. */ name?: string | core.StringOut; /** * (Optional, Forces new resource) Creates a unique name beginning with the specified prefix. Conflicts * with `name`. */ namePrefix?: string | core.StringOut; /** * (Required) The policy document. This is a JSON formatted string. For more information about building * AWS IAM policy documents with Terraform, see the [AWS IAM Policy Document Guide](https://learn.hash * icorp.com/terraform/aws/iam-policy). */ policy: string | core.StringOut; /** * (Required) IAM user to which to attach this policy. */ user: string | core.StringOut; constructor(name: string, args?: UserPolicyArgs); getNamespace(): string; } //# sourceMappingURL=user_policy.d.ts.map