import * as core from "@terrascript/core"; export interface SnapshotCreateVolumePermissionArgs extends core.ResourceArgs { /** * (required) An AWS Account ID to add create volume permissions. The AWS Account cannot be the snapsho * t's owner */ accountId: string | core.StringOut; /** * (required) A snapshot ID */ snapshotId: string | core.StringOut; } export class SnapshotCreateVolumePermission extends core.Resource { /** * (required) An AWS Account ID to add create volume permissions. The AWS Account cannot be the snapsho * t's owner */ @core.attr(String) public accountId!: string | core.StringOut; /** * A combination of "`snapshot_id`-`account_id`". */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (required) A snapshot ID */ @core.attr(String) public snapshotId!: string | core.StringOut; constructor(name: string, args?: SnapshotCreateVolumePermissionArgs) { super(name, "aws_snapshot_create_volume_permission", args); } public override getNamespace(): string { return "aws_ebs"; } }