The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::CloudFront::Origin

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::CloudFront::Origin object:

  $service_obj->Method(Att1 => { CustomOriginConfig => $value, ..., S3OriginConfig => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFront::Origin object:

  $result = $service_obj->Method(...);
  $result->Att1->CustomOriginConfig

DESCRIPTION

A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files.You must create at least one origin.

ATTRIBUTES

CustomOriginConfig => Paws::CloudFront::CustomOriginConfig

  A complex type that contains information about a custom origin. If the
origin is an Amazon S3 bucket, use the S3OriginConfig element instead.

REQUIRED DomainName => Str

  Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you
want CloudFront to get objects for this origin, for example,
myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for
the HTTP server from which you want CloudFront to get objects for this
origin, for example, www.example.com.

REQUIRED Id => Str

  A unique identifier for the origin. The value of Id must be unique
within the distribution. You use the value of Id when you create a
cache behavior. The Id identifies the origin that CloudFront routes a
request to when the request matches the path pattern for that cache
behavior.

OriginPath => Str

  An optional element that causes CloudFront to request your content from
a directory in your Amazon S3 bucket or your custom origin. When you
include the OriginPath element, specify the directory name, beginning
with a /. CloudFront appends the directory name to the value of
DomainName.

S3OriginConfig => Paws::CloudFront::S3OriginConfig

  A complex type that contains information about the Amazon S3 origin. If
the origin is a custom origin, use the CustomOriginConfig element
instead.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::CloudFront

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues