Skip to content

InputOrigin

Source code in docs_src/capo_lightsail/types/input_origin.py
class InputOrigin(TypedDict, closed=True):
    name: NotRequired["capo_lightsail.types.resource_name.ResourceName"]
    """<p>The name of the origin resource.</p>"""
    region_name: NotRequired["capo_lightsail.types.region_name.RegionName"]
    """<p>The AWS Region name of the origin resource.</p>"""
    protocol_policy: NotRequired[
        "capo_lightsail.types.origin_protocol_policy_enum.OriginProtocolPolicyEnum"
    ]
    """<p>The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.</p>"""
    response_timeout: NotRequired["capo_lightsail.types.integer.integer"]
    """<p>The amount of time, in seconds, that the distribution waits for a response after forwarding a request to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.</p>"""
    ip_address_type: NotRequired[
        "capo_lightsail.types.origin_ip_address_type_enum.OriginIpAddressTypeEnum"
    ]
    """<p>The IP address type that the distribution uses when connecting to the origin.</p> <p>The possible values are <code>ipv4</code> for IPv4 only, <code>ipv6</code> for IPv6 only, and <code>dualstack</code> for IPv4 and IPv6.</p>"""

ip_address_type instance-attribute

ip_address_type: NotRequired[OriginIpAddressTypeEnum]

The IP address type that the distribution uses when connecting to the origin.

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

name instance-attribute

name: NotRequired[ResourceName]

The name of the origin resource.

protocol_policy instance-attribute

protocol_policy: NotRequired[OriginProtocolPolicyEnum]

The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.

region_name instance-attribute

region_name: NotRequired[RegionName]

The AWS Region name of the origin resource.

response_timeout instance-attribute

response_timeout: NotRequired[integer]

The amount of time, in seconds, that the distribution waits for a response after forwarding a request to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.