Class DistributionArgs


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

      • bundleId

        public 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.
      • 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`.
      • name

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

        public 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:
      • 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.
      • 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.