import * as core from "@terrascript/core"; export interface HostedConfigurationVersionArgs extends core.ResourceArgs { /** * (Required, Forces new resource) The application ID. */ applicationId: string | core.StringOut; /** * (Required, Forces new resource) The configuration profile ID. */ configurationProfileId: string | core.StringOut; /** * (Required, Forces new resource) The content of the configuration or the configuration data. */ content: string | core.StringOut; /** * (Required, Forces new resource) A standard MIME type describing the format of the configuration cont * ent. For more information, see [Content-Type](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.htm * l#sec14.17). */ contentType: string | core.StringOut; /** * (Optional, Forces new resource) A description of the configuration. */ description?: string | core.StringOut; } export class HostedConfigurationVersion extends core.Resource { /** * (Required, Forces new resource) The application ID. */ @core.attr(String) public applicationId!: string | core.StringOut; /** * The Amazon Resource Name (ARN) of the AppConfig hosted configuration version. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required, Forces new resource) The configuration profile ID. */ @core.attr(String) public configurationProfileId!: string | core.StringOut; /** * (Required, Forces new resource) The content of the configuration or the configuration data. */ @core.attr(String) public content!: string | core.StringOut; /** * (Required, Forces new resource) A standard MIME type describing the format of the configuration cont * ent. For more information, see [Content-Type](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.htm * l#sec14.17). */ @core.attr(String) public contentType!: string | core.StringOut; /** * (Optional, Forces new resource) A description of the configuration. */ @core.attr(String) public description?: string | core.StringOut; /** * The AppConfig application ID, configuration profile ID, and version number separated by a slash (`/` * ). */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The version number of the hosted configuration. */ @core.attr(Number, { computed: true }) public versionNumber!: number | core.NumberOut; constructor(name: string, args?: HostedConfigurationVersionArgs) { super(name, "aws_appconfig_hosted_configuration_version", args); } public override getNamespace(): string { return "aws_appconfig"; } }