@cdktf/provider-upcloud
Version:
Prebuilt upcloud Provider for Terraform CDK (cdktf)
69 lines (68 loc) • 3.68 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface ManagedObjectStorageCustomDomainConfig extends cdktf.TerraformMetaArguments {
/**
* Must be a subdomain and consist of 3 to 5 parts such as objects.example.com. Cannot be root-level domain e.g. example.com.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/managed_object_storage_custom_domain#domain_name ManagedObjectStorageCustomDomain#domain_name}
*/
readonly domainName: string;
/**
* Managed Object Storage service UUID.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/managed_object_storage_custom_domain#service_uuid ManagedObjectStorageCustomDomain#service_uuid}
*/
readonly serviceUuid: string;
/**
* At the moment only `public` is accepted.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/managed_object_storage_custom_domain#type ManagedObjectStorageCustomDomain#type}
*/
readonly type?: string;
}
/**
* Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/managed_object_storage_custom_domain upcloud_managed_object_storage_custom_domain}
*/
export declare class ManagedObjectStorageCustomDomain extends cdktf.TerraformResource {
static readonly tfResourceType = "upcloud_managed_object_storage_custom_domain";
/**
* Generates CDKTF code for importing a ManagedObjectStorageCustomDomain resource upon running "cdktf plan <stack-name>"
* @param scope The scope in which to define this construct
* @param importToId The construct id used in the generated config for the ManagedObjectStorageCustomDomain to import
* @param importFromId The id of the existing ManagedObjectStorageCustomDomain that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/managed_object_storage_custom_domain#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the ManagedObjectStorageCustomDomain to import is found
*/
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource;
/**
* Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.23.3/docs/resources/managed_object_storage_custom_domain upcloud_managed_object_storage_custom_domain} Resource
*
* @param scope The scope in which to define this construct
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
* @param options ManagedObjectStorageCustomDomainConfig
*/
constructor(scope: Construct, id: string, config: ManagedObjectStorageCustomDomainConfig);
private _domainName?;
get domainName(): string;
set domainName(value: string);
get domainNameInput(): string | undefined;
get id(): string;
private _serviceUuid?;
get serviceUuid(): string;
set serviceUuid(value: string);
get serviceUuidInput(): string | undefined;
private _type?;
get type(): string;
set type(value: string);
resetType(): void;
get typeInput(): string | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}