File: //usr/lib/python3/dist-packages/boto/cloudfront/__pycache__/origin.cpython-310.pyc
o
ckF[� � @ s8 d dl mZ dd� ZG dd� de�ZG dd� de�ZdS ) � )�OriginAccessIdentityc C s t | t�r | �� S | S �N)�
isinstancer �uri)�origin_access_identity� r �8/usr/lib/python3/dist-packages/boto/cloudfront/origin.py�
get_oai_value s
r c @ s: e Zd ZdZd
dd�Zdd� Zdd� Zd d
� Zdd� ZdS )�S3Originz�
Origin information to associate with the distribution.
If your distribution will use an Amazon S3 origin,
then you use the S3Origin element.
Nc C s || _ || _dS )a
:param dns_name: The DNS name of your Amazon S3 bucket to
associate with the distribution.
For example: mybucket.s3.amazonaws.com.
:type dns_name: str
:param origin_access_identity: The CloudFront origin access
identity to associate with the
distribution. If you want the
distribution to serve private content,
include this element; if you want the
distribution to serve public content,
remove this element.
:type origin_access_identity: str
N)�dns_namer )�selfr r r r r �__init__&