import * as core from "@terrascript/core"; export interface SpotDatafeedSubscriptionArgs extends core.ResourceArgs { /** * (Required) The Amazon S3 bucket in which to store the Spot instance data feed. */ bucket: string | core.StringOut; /** * (Optional) Path of folder inside bucket to place spot pricing data. */ prefix?: string | core.StringOut; } export class SpotDatafeedSubscription extends core.Resource { /** * (Required) The Amazon S3 bucket in which to store the Spot instance data feed. */ @core.attr(String) public bucket!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) Path of folder inside bucket to place spot pricing data. */ @core.attr(String) public prefix?: string | core.StringOut; constructor(name: string, args?: SpotDatafeedSubscriptionArgs) { super(name, "aws_spot_datafeed_subscription", args); } public override getNamespace(): string { return "aws_ec2"; } }