@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.817Z") @Stability(value=Stable) public interface CfnDistributionConfigurationProps extends software.amazon.jsii.JsiiSerializable
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.imagebuilder.*;
Object amiDistributionConfiguration;
Object containerDistributionConfiguration;
CfnDistributionConfigurationProps cfnDistributionConfigurationProps = CfnDistributionConfigurationProps.builder()
.distributions(List.of(DistributionProperty.builder()
.region("region")
// the properties below are optional
.amiDistributionConfiguration(amiDistributionConfiguration)
.containerDistributionConfiguration(containerDistributionConfiguration)
.fastLaunchConfigurations(List.of(FastLaunchConfigurationProperty.builder()
.accountId("accountId")
.enabled(false)
.launchTemplate(FastLaunchLaunchTemplateSpecificationProperty.builder()
.launchTemplateId("launchTemplateId")
.launchTemplateName("launchTemplateName")
.launchTemplateVersion("launchTemplateVersion")
.build())
.maxParallelLaunches(123)
.snapshotConfiguration(FastLaunchSnapshotConfigurationProperty.builder()
.targetResourceCount(123)
.build())
.build()))
.launchTemplateConfigurations(List.of(LaunchTemplateConfigurationProperty.builder()
.accountId("accountId")
.launchTemplateId("launchTemplateId")
.setDefaultVersion(false)
.build()))
.licenseConfigurationArns(List.of("licenseConfigurationArns"))
.build()))
.name("name")
// the properties below are optional
.description("description")
.tags(Map.of(
"tagsKey", "tags"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDistributionConfigurationProps.Builder
A builder for
CfnDistributionConfigurationProps |
static class |
CfnDistributionConfigurationProps.Jsii$Proxy
An implementation for
CfnDistributionConfigurationProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnDistributionConfigurationProps.Builder |
builder() |
default String |
getDescription()
The description of this distribution configuration.
|
Object |
getDistributions()
The distributions of this distribution configuration formatted as an array of Distribution objects.
|
String |
getName()
The name of this distribution configuration.
|
default Map<String,String> |
getTags()
The tags of this distribution configuration.
|
@Stability(value=Stable) @NotNull Object getDistributions()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default Map<String,String> getTags()
@Stability(value=Stable) static CfnDistributionConfigurationProps.Builder builder()
Copyright © 2022. All rights reserved.