DistributionOrigin constructor

const DistributionOrigin({
  1. required Input<String> name,
  2. Input<String?>? protocolPolicy,
  3. required Input<String> regionName,
  4. Input<String?>? resourceType,
})

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,
});