import * as core from "@terrascript/core"; export interface SecretBlkArgs extends core.SchemaArgs { context?: core.Map | core.MapOut; grantTokens?: core.Array | core.ArrayOut; name: string | core.StringOut; payload: string | core.StringOut; } export class SecretBlk extends core.Schema { @core.attr(String, { kind: "map" }) public context?: core.Map | core.MapOut; @core.attr(String, { kind: "array" }) public grantTokens?: core.Array | core.ArrayOut; @core.attr(String) public name!: string | core.StringOut; @core.attr(String) public payload!: string | core.StringOut; } export interface DsSecretArgs { secret: core.Array | core.ArrayOut; } export class DsSecret extends core.Data { @core.attr(String, { computed: true }) public id!: string | core.StringOut; @core.attr(SecretBlk, { kind: "array" }) public secret!: core.Array | core.ArrayOut; constructor(name: string, args?: DsSecretArgs) { super(name, "aws_kms_secret", args); } public override getNamespace(): string { return "aws_kms"; } }