@Stability(value=Stable) public static final class CfnDistribution.Builder extends Object implements software.amazon.jsii.Builder<CfnDistribution>
CfnDistribution.| Modifier and Type | Method and Description |
|---|---|
CfnDistribution |
build() |
static CfnDistribution.Builder |
create(Construct scope,
String id) |
CfnDistribution.Builder |
distributionConfig(CfnDistribution.DistributionConfigProperty distributionConfig)
The current configuration information for the distribution.
|
CfnDistribution.Builder |
distributionConfig(IResolvable distributionConfig)
The current configuration information for the distribution.
|
CfnDistribution.Builder |
tags(List<? extends CfnTag> tags)
A complex type that contains zero or more `Tag` elements.
|
@Stability(value=Stable) public static CfnDistribution.Builder create(Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnDistribution.CacheBehaviorProperty.Builder.@Stability(value=Stable) public CfnDistribution.Builder distributionConfig(IResolvable distributionConfig)
Send a GET request to the / *CloudFront API version* /distribution ID/config resource.
distributionConfig - The current configuration information for the distribution. This parameter is required.this@Stability(value=Stable) public CfnDistribution.Builder distributionConfig(CfnDistribution.DistributionConfigProperty distributionConfig)
Send a GET request to the / *CloudFront API version* /distribution ID/config resource.
distributionConfig - The current configuration information for the distribution. This parameter is required.this@Stability(value=Stable) public CfnDistribution.Builder tags(List<? extends CfnTag> tags)
tags - A complex type that contains zero or more `Tag` elements. This parameter is required.this@Stability(value=Stable) public CfnDistribution build()
build in interface software.amazon.jsii.Builder<CfnDistribution>Copyright © 2022. All rights reserved.