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.
virtual Nullable<bool> Regional { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: - true