---
type: resource-type
title: LightsailDistribution
description: aws resource type AWS::Lightsail::Distribution
name: LightsailDistribution
lexicon: aws
resource_type: AWS::Lightsail::Distribution
---
`AWS::Lightsail::Distribution`, a resource type of the aws lexicon.

## Properties

- `BundleId` (`string`, required): The bundle ID to use for the distribution.
- `DefaultCacheBehavior` (`LightsailDistribution_CacheBehavior`, required): An object that describes the default cache behavior for the distribution.
- `DistributionName` (`string`, required): The name for the distribution.
- `Origin` (`LightsailDistribution_InputOrigin`, required): An object that describes the origin resource for the distribution, such as a Lightsail instance or load balancer.
- `AbleToUpdateBundle` (`boolean`, optional): Indicates whether the bundle that is currently applied to your distribution, specified using the distributionName parameter, can be changed to another bundle.
- `CacheBehaviors` (`LightsailDistribution_CacheBehaviorPerPath[]`, optional): An array of objects that describe the per-path cache behavior for the distribution.
- `CacheBehaviorSettings` (`LightsailDistribution_CacheSettings`, optional): An object that describes the cache behavior settings for the distribution.
- `CertificateName` (`string`, optional): The certificate attached to the Distribution.
- `DistributionArn` (`string`, optional)
- `IpAddressType` (`string`, optional): The IP address type for the distribution.
- `IsEnabled` (`boolean`, optional): Indicates whether the distribution is enabled.
- `Status` (`string`, optional): The status of the distribution.
- `Tags` (`LightsailDistribution_Tag[]`, optional): An array of key-value pairs to apply to this resource.

## Attributes

- `AbleToUpdateBundle`
- `DistributionArn`
- `Status`
