// generated from terraform resource schema import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; /** * AWS Simple Email Service */ export interface SesReceiptRuleSetConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/ses_receipt_rule_set.html#rule_set_name SesReceiptRuleSet#rule_set_name} */ readonly ruleSetName: string; } /** * Represents a {@link https://www.terraform.io/docs/providers/aws/r/ses_receipt_rule_set.html aws_ses_receipt_rule_set} */ export class SesReceiptRuleSet extends cdktf.TerraformResource { // ================= // STATIC PROPERTIES // ================= public static readonly tfResourceType: string = "aws_ses_receipt_rule_set"; // =========== // INITIALIZER // =========== /** * Create a new {@link https://www.terraform.io/docs/providers/aws/r/ses_receipt_rule_set.html aws_ses_receipt_rule_set} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options SesReceiptRuleSetConfig */ public constructor(scope: Construct, id: string, config: SesReceiptRuleSetConfig) { super(scope, id, { terraformResourceType: 'aws_ses_receipt_rule_set', terraformGeneratorMetadata: { providerName: 'aws' }, provider: config.provider, dependsOn: config.dependsOn, count: config.count, lifecycle: config.lifecycle }); this._ruleSetName = config.ruleSetName; } // ========== // ATTRIBUTES // ========== // arn - computed: true, optional: false, required: false public get arn() { return this.getStringAttribute('arn'); } // id - computed: true, optional: true, required: false public get id() { return this.getStringAttribute('id'); } // rule_set_name - computed: false, optional: false, required: true private _ruleSetName?: string; public get ruleSetName() { return this.getStringAttribute('rule_set_name'); } public set ruleSetName(value: string) { this._ruleSetName = value; } // Temporarily expose input value. Use with caution. public get ruleSetNameInput() { return this._ruleSetName; } // ========= // SYNTHESIS // ========= protected synthesizeAttributes(): { [name: string]: any } { return { rule_set_name: cdktf.stringToTerraform(this._ruleSetName), }; } }