import * as core from "@terrascript/core"; export interface PolicyArgs extends core.ResourceArgs { /** * (Optional, Forces new resource) Description of the IAM policy. */ description?: string | core.StringOut; /** * (Optional, Forces new resource) 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; /** * (Optional, default "/") Path in which to create the policy. */ path?: 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; /** * (Optional) Map of resource tags for the IAM Policy. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export declare class Policy extends core.Resource { /** * The ARN assigned by AWS to this policy. */ arn: string | core.StringOut; /** * (Optional, Forces new resource) Description of the IAM policy. */ description?: string | core.StringOut; /** * The ARN assigned by AWS to this policy. */ id: string | core.StringOut; /** * (Optional, Forces new resource) 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; /** * (Optional, default "/") Path in which to create the policy. */ path?: 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; /** * The policy's ID. */ policyId: string | core.StringOut; /** * (Optional) Map of resource tags for the IAM Policy. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: PolicyArgs); getNamespace(): string; } //# sourceMappingURL=policy.d.ts.map