Show / Hide Table of Contents

Interface IDistributionAttributes

Attributes used to import a Distribution.

Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IDistributionAttributes
Syntax (vb)
Public Interface IDistributionAttributes
Remarks

ExampleMetadata: infused

Examples
// Using a reference to an imported Distribution
            var distribution = Distribution.FromDistributionAttributes(this, "ImportedDist", new DistributionAttributes {
                DomainName = "d111111abcdef8.cloudfront.net",
                DistributionId = "012345ABCDEF"
            });

Synopsis

Properties

DistributionId

The distribution ID for this distribution.

DomainName

The generated domain name of the Distribution, such as d111111abcdef8.cloudfront.net.

Properties

DistributionId

The distribution ID for this distribution.

string DistributionId { get; }
Property Value

string

Remarks

Attribute: true

DomainName

The generated domain name of the Distribution, such as d111111abcdef8.cloudfront.net.

string DomainName { get; }
Property Value

string

Remarks

Attribute: true

Back to top Generated by DocFX