Interface OriginBindOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
OriginBindOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:27.663Z")
@Stability(Stable)
public interface OriginBindOptions
extends software.amazon.jsii.JsiiSerializable
Options passed to Origin.bind().
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.cloudfront.*; OriginBindOptions originBindOptions = OriginBindOptions.builder() .originId("originId") // the properties below are optional .distributionId("distributionId") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forOriginBindOptions
static final class
An implementation forOriginBindOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic OriginBindOptions.Builder
builder()
default String
The identifier of the Distribution this Origin is used for.The identifier of this Origin, as assigned by the Distribution this Origin has been used added to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOriginId
The identifier of this Origin, as assigned by the Distribution this Origin has been used added to. -
getDistributionId
The identifier of the Distribution this Origin is used for.This is used to grant origin access permissions to the distribution for origin access control.
Default: - no distribution id
-
builder
- Returns:
- a
OriginBindOptions.Builder
ofOriginBindOptions
-