Show / Hide Table of Contents

Interface IVirtualHostedStyleUrlOptions

Options for creating Virtual-Hosted style URL.

Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IVirtualHostedStyleUrlOptions
Syntax (vb)
Public Interface IVirtualHostedStyleUrlOptions
Remarks

ExampleMetadata: infused

Examples
var bucket = new Bucket(this, "MyBucket");
            bucket.UrlForObject("objectname"); // Path-Style URL
            bucket.VirtualHostedUrlForObject("objectname"); // Virtual Hosted-Style URL
            bucket.VirtualHostedUrlForObject("objectname", new VirtualHostedStyleUrlOptions { Regional = false });

Synopsis

Properties

Regional

Specifies the URL includes the region.

Properties

Regional

Specifies the URL includes the region.

bool? Regional { get; }
Property Value

bool?

Remarks

Default: - true

Back to top Generated by DocFX