DistributionOrigin constructor
const
DistributionOrigin({})
Creates a new DistributionOrigin.
name Name of the origin resource. Your origin can be an instance with an attached static IP, a bucket, or a load balancer that has at least one instance attached to it.
protocolPolicy Protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.
regionName AWS Region name of the origin resource.
resourceType Lightsail resource type (e.g., Distribution).
Implementation
const DistributionOrigin({
required this.name,
this.protocolPolicy,
required this.regionName,
this.resourceType,
});