import * as core from "@terrascript/core"; export interface XrayEncryptionConfigArgs extends core.ResourceArgs { /** * (Optional) An AWS KMS customer master key (CMK) ARN. */ keyId?: string | core.StringOut; /** * (Required) The type of encryption. Set to `KMS` to use your own key for encryption. Set to `NONE` fo * r default encryption. */ type: string | core.StringOut; } export class XrayEncryptionConfig extends core.Resource { /** * Region name. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) An AWS KMS customer master key (CMK) ARN. */ @core.attr(String) public keyId?: string | core.StringOut; /** * (Required) The type of encryption. Set to `KMS` to use your own key for encryption. Set to `NONE` fo * r default encryption. */ @core.attr(String) public type!: string | core.StringOut; constructor(name: string, args?: XrayEncryptionConfigArgs) { super(name, "aws_xray_encryption_config", args); } public override getNamespace(): string { return "aws_x_ray"; } }