public class S3Origin extends Origin
Modifier and Type | Field | Description |
---|---|---|
static String |
ORIGIN_ACCESS_IDENTITY_PREFIX |
Constructor | Description |
---|---|
S3Origin(String dnsName) |
An S3 bucket origin.
|
S3Origin(String dnsName,
String originAccessIdentity) |
An S3 bucket origin.
|
Modifier and Type | Method | Description |
---|---|---|
String |
getOriginAccessIdentity() |
|
String |
getOriginAsBucketName() |
|
String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDnsName
public static final String ORIGIN_ACCESS_IDENTITY_PREFIX
public S3Origin(String dnsName, String originAccessIdentity)
dnsName
- a full S3 sub-domain path (e.g. 'jets3t.s3.amazonaws.com' for the 'jets3t' bucket)originAccessIdentity
- Identifier of the origin access identity that can authorize access to
S3 objects via a private distribution. If provided the distribution will be
private, if null the distribution will be be public.public S3Origin(String dnsName)
dnsName
- a full S3 sub-domain path (e.g. 'jets3t.s3.amazonaws.com' for the 'jets3t' bucket)