Class DistributionState


  • public final class DistributionState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • alternativeDomainNames

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> alternativeDomainNames()
        Returns:
        Alternate domain names of the distribution.
      • arn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
        Returns:
        ARN of the distribution.
      • bundleId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> bundleId()
        Returns:
        Bundle ID to use for the distribution.
      • cacheBehaviorSettings

        public java.util.Optional<com.pulumi.core.Output<DistributionCacheBehaviorSettingsArgs>> cacheBehaviorSettings()
        Returns:
        Cache behavior settings of the distribution. See below.
      • cacheBehaviors

        public java.util.Optional<com.pulumi.core.Output<java.util.List<DistributionCacheBehaviorArgs>>> cacheBehaviors()
        Returns:
        Per-path cache behavior of the distribution. See below.
      • certificateName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> certificateName()
        Returns:
        Name of the SSL/TLS certificate attached to the distribution.
      • createdAt

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> createdAt()
        Returns:
        Timestamp when the distribution was created.
      • defaultCacheBehavior

        public java.util.Optional<com.pulumi.core.Output<DistributionDefaultCacheBehaviorArgs>> defaultCacheBehavior()
        Returns:
        Default cache behavior of the distribution. See below.
      • domainName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> domainName()
        Returns:
        Domain name of the distribution.
      • ipAddressType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> ipAddressType()
        Returns:
        IP address type of the distribution. Valid values: `dualstack`, `ipv4`. Default: `dualstack`.
      • isEnabled

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> isEnabled()
        Returns:
        Whether the distribution is enabled. Default: `true`.
      • locations

        public java.util.Optional<com.pulumi.core.Output<java.util.List<DistributionLocationArgs>>> locations()
        Returns:
        Location of the distribution, such as the AWS Region and Availability Zone. See below.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Name of the distribution.
      • origin

        public java.util.Optional<com.pulumi.core.Output<DistributionOriginArgs>> origin()
        Returns:
        Origin resource of the distribution, such as a Lightsail instance, bucket, or load balancer. See below. The following arguments are optional:
      • originPublicDns

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> originPublicDns()
        Returns:
        Public DNS of the origin. * `origin[0].resource_type` - Resource type of the origin resource (e.g., Instance).
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • resourceType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> resourceType()
        Returns:
        Lightsail resource type (e.g., Distribution).
      • status

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> status()
        Returns:
        Status of the distribution.
      • supportCode

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> supportCode()
        Returns:
        Support code. Include this code in your email to support when you have questions about your Lightsail distribution. This code enables our support team to look up your Lightsail information more easily.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        Map of tags for the Lightsail Distribution. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
      • tagsAll

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tagsAll()
        Returns:
        Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.