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

export interface SecurityConfigurationArgs extends core.ResourceArgs {
  configuration: string | core.StringOut;

  name?: string | core.StringOut;

  namePrefix?: string | core.StringOut;
}

export class SecurityConfiguration extends core.Resource<SecurityConfigurationArgs> {
  @core.attr(String)
  public configuration!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public creationDate!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public name?: string | core.StringOut;

  @core.attr(String)
  public namePrefix?: string | core.StringOut;

  constructor(name: string, args?: SecurityConfigurationArgs) {
    super(name, "aws_emr_security_configuration", args);
  }

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