Interface CfnDistribution.InputOriginProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDistribution.InputOriginProperty.Jsii$Proxy
- Enclosing class:
CfnDistribution
@Stability(Stable)
public static interface CfnDistribution.InputOriginProperty
extends software.amazon.jsii.JsiiSerializable
InputOrigin is a property of the AWS::Lightsail::Distribution resource. It describes the origin resource of an Amazon Lightsail content delivery network (CDN) distribution.
An origin can be a instance, bucket, or load balancer. A distribution pulls content from an origin, caches it, and serves it to viewers through a worldwide network of edge servers.
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.lightsail.*;
InputOriginProperty inputOriginProperty = InputOriginProperty.builder()
.name("name")
.protocolPolicy("protocolPolicy")
.regionName("regionName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDistribution.InputOriginPropertystatic final classAn implementation forCfnDistribution.InputOriginProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetName()The name of the origin resource.default StringThe protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.default StringThe AWS Region name of the origin resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the origin resource.- See Also:
-
getProtocolPolicy
The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.- See Also:
-
getRegionName
The AWS Region name of the origin resource.- See Also:
-
builder
-