Interface CfnDistributionProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:59.756Z") @Stability(Stable) public interface CfnDistributionProps extends
Properties for defining a CfnDistribution.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 CfnDistributionProps cfnDistributionProps = CfnDistributionProps.builder()
         // the properties below are optional
  • Method Details

    • getBundleId

      @Stability(Stable) @NotNull String getBundleId()
      The ID of the bundle applied to the distribution.
    • getDefaultCacheBehavior

      @Stability(Stable) @NotNull Object getDefaultCacheBehavior()
      An object that describes the default cache behavior of the distribution.
    • getDistributionName

      @Stability(Stable) @NotNull String getDistributionName()
      The name of the distribution.
    • getOrigin

      @Stability(Stable) @NotNull Object getOrigin()
      An object that describes the origin resource of the distribution, such as a Lightsail instance, bucket, or load balancer.

      The distribution pulls, caches, and serves content from the origin.

    • getCacheBehaviors

      @Stability(Stable) @Nullable default Object getCacheBehaviors()
      An array of objects that describe the per-path cache behavior of the distribution.
    • getCacheBehaviorSettings

      @Stability(Stable) @Nullable default Object getCacheBehaviorSettings()
      An object that describes the cache behavior settings of the distribution.
    • getCertificateName

      @Stability(Stable) @Nullable default String getCertificateName()
      The name of the SSL/TLS certificate attached to the distribution.
    • getIpAddressType

      @Stability(Stable) @Nullable default String getIpAddressType()
      The IP address type of the distribution.

      The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.

    • getIsEnabled

      @Stability(Stable) @Nullable default Object getIsEnabled()
      A Boolean value indicating whether the distribution is enabled.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      An array of key-value pairs to apply to this resource.

      For more information, see Tag in the AWS CloudFormation User Guide .

      The Value of Tags is optional for Lightsail resources.

    • builder

      @Stability(Stable) static CfnDistributionProps.Builder builder()
      a CfnDistributionProps.Builder of CfnDistributionProps