@Stability(value=Stable)
public static interface CfnDistribution.InputOriginProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDistribution.InputOriginProperty.Builder
A builder for
CfnDistribution.InputOriginProperty |
static class |
CfnDistribution.InputOriginProperty.Jsii$Proxy
An implementation for
CfnDistribution.InputOriginProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDistribution.InputOriginProperty.Builder |
builder() |
default String |
getName()
The name of the origin resource.
|
default String |
getProtocolPolicy()
The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.
|
default String |
getRegionName()
The AWS Region name of the origin resource.
|
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) @Nullable default String getProtocolPolicy()
@Stability(value=Stable) @Nullable default String getRegionName()
@Stability(value=Stable) static CfnDistribution.InputOriginProperty.Builder builder()
Copyright © 2022. All rights reserved.