import * as core from "@terrascript/core"; export interface IdentityPolicyArgs extends core.ResourceArgs { /** * (Required) Name or Amazon Resource Name (ARN) of the SES Identity. */ identity: string | core.StringOut; /** * (Required) Name of the policy. */ name: string | core.StringOut; /** * (Required) JSON string of the policy. For more information about building AWS IAM policy documents w * ith Terraform, see the [AWS IAM Policy Document Guide](https://learn.hashicorp.com/terraform/aws/iam * policy). */ policy: string | core.StringOut; } export class IdentityPolicy extends core.Resource { @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) Name or Amazon Resource Name (ARN) of the SES Identity. */ @core.attr(String) public identity!: string | core.StringOut; /** * (Required) Name of the policy. */ @core.attr(String) public name!: string | core.StringOut; /** * (Required) JSON string of the policy. For more information about building AWS IAM policy documents w * ith Terraform, see the [AWS IAM Policy Document Guide](https://learn.hashicorp.com/terraform/aws/iam * policy). */ @core.attr(String) public policy!: string | core.StringOut; constructor(name: string, args?: IdentityPolicyArgs) { super(name, "aws_ses_identity_policy", args); } public override getNamespace(): string { return "aws_ses"; } }