Interface OriginBindOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
OriginBindOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:34.371Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forOriginBindOptionsstatic final classAn implementation forOriginBindOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic OriginBindOptions.Builderbuilder()default StringThe 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.BuilderofOriginBindOptions
-