Interface DistributionAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DistributionAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:05.542Z")
@Stability(Stable)
public interface DistributionAttributes
extends software.amazon.jsii.JsiiSerializable
Attributes used to import a Distribution.
Example:
// Using a reference to an imported Distribution IDistribution distribution = Distribution.fromDistributionAttributes(this, "ImportedDist", DistributionAttributes.builder() .domainName("d111111abcdef8.cloudfront.net") .distributionId("012345ABCDEF") .build());
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forDistributionAttributes
static final class
An implementation forDistributionAttributes
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The distribution ID for this distribution.The generated domain name of the Distribution, such as d111111abcdef8.cloudfront.net.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDistributionId
The distribution ID for this distribution. -
getDomainName
The generated domain name of the Distribution, such as d111111abcdef8.cloudfront.net. -
builder
- Returns:
- a
DistributionAttributes.Builder
ofDistributionAttributes
-