UNPKG

@pulumi-helpers/component-alicloud-oss

Version:
38 lines (35 loc) 1.08 kB
import * as pulumi from '@pulumi/pulumi'; interface AlicloudOssProps { withSuffix?: boolean; log?: string; acl?: 'private' | 'public-read' | 'public-read-write'; storageClass?: 'Standard' | 'IA' | 'Archive' | 'ColdArchive' | 'DeepColdArchive'; redundancyType?: 'LRS' | 'ZRS'; enableCorsRules?: boolean; enableRam?: boolean; enableCdn?: { resourceGroupId: string; type: 'web' | 'download' | 'video'; scope: 'domestic' | 'overseas' | 'global'; domain: { host: string; record: string; }; cert?: { pub: string; pri: string; }; }; } declare class AlicloudOssComponent extends pulumi.ComponentResource { private name; private props; ak?: pulumi.Output<string>; sk?: pulumi.Output<string>; bucket?: pulumi.Output<string>; constructor(name: string, props: AlicloudOssProps, opts?: pulumi.ComponentResourceOptions); private createOss; private createRam; private createCdn; } export { AlicloudOssComponent };