import * as core from "@terrascript/core";

export interface PermissionSetInlinePolicyArgs extends core.ResourceArgs {
  inlinePolicy: string | core.StringOut;

  instanceArn: string | core.StringOut;

  permissionSetArn: string | core.StringOut;
}

export class PermissionSetInlinePolicy extends core.Resource<PermissionSetInlinePolicyArgs> {
  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

  @core.attr(String)
  public inlinePolicy!: string | core.StringOut;

  @core.attr(String)
  public instanceArn!: string | core.StringOut;

  @core.attr(String)
  public permissionSetArn!: string | core.StringOut;

  constructor(name: string, args?: PermissionSetInlinePolicyArgs) {
    super(name, "aws_ssoadmin_permission_set_inline_policy", args);
  }

  public override getNamespace(): string {
    return "aws_ssoadmin";
  }
}
