import * as core from "@terrascript/core"; export interface PolicyArgs extends core.ResourceArgs { /** * (Required) JSON-formatted IAM policy to attach to the specified private CA resource. */ policy: string | core.StringOut; /** * (Required) Amazon Resource Name (ARN) of the private CA to associate with the policy. */ resourceArn: string | core.StringOut; } export class Policy extends core.Resource { @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) JSON-formatted IAM policy to attach to the specified private CA resource. */ @core.attr(String) public policy!: string | core.StringOut; /** * (Required) Amazon Resource Name (ARN) of the private CA to associate with the policy. */ @core.attr(String) public resourceArn!: string | core.StringOut; constructor(name: string, args?: PolicyArgs) { super(name, "aws_acmpca_policy", args); } public override getNamespace(): string { return "aws_acmpca"; } }