import * as core from "@terrascript/core"; export interface DsDocumentArgs { /** * (Optional) Returns the document in the specified format. The document format can be either `JSON`, ` * YAML` and `TEXT`. JSON is the default format. */ documentFormat?: string | core.StringOut; /** * (Optional) The document version for which you want information. */ documentVersion?: string | core.StringOut; /** * (Required) The name of the Systems Manager document. */ name: string | core.StringOut; } export class DsDocument extends core.Data { /** * The ARN of the document. If the document is an AWS managed document, this value will be set to the n * ame of the document instead. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The contents of the document. */ @core.attr(String, { computed: true }) public content!: string | core.StringOut; /** * (Optional) Returns the document in the specified format. The document format can be either `JSON`, ` * YAML` and `TEXT`. JSON is the default format. */ @core.attr(String) public documentFormat?: string | core.StringOut; /** * The type of the document. */ @core.attr(String, { computed: true }) public documentType!: string | core.StringOut; /** * (Optional) The document version for which you want information. */ @core.attr(String) public documentVersion?: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the Systems Manager document. */ @core.attr(String) public name!: string | core.StringOut; constructor(name: string, args?: DsDocumentArgs) { super(name, "aws_ssm_document", args); } public override getNamespace(): string { return "aws_ssm"; } }