Interface IOriginBindOptions
Options passed to Origin.bind().
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IOriginBindOptions
Syntax (vb)
Public Interface IOriginBindOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudFront;
var originBindOptions = new OriginBindOptions {
OriginId = "originId",
// the properties below are optional
DistributionId = "distributionId"
};
Synopsis
Properties
DistributionId | The identifier of the Distribution this Origin is used for. |
OriginId | The identifier of this Origin, as assigned by the Distribution this Origin has been used added to. |
Properties
DistributionId
The identifier of the Distribution this Origin is used for.
virtual string DistributionId { get; }
Property Value
System.String
Remarks
This is used to grant origin access permissions to the distribution for origin access control.
Default: - no distribution id
OriginId
The identifier of this Origin, as assigned by the Distribution this Origin has been used added to.
string OriginId { get; }
Property Value
System.String