Show / Hide Table of Contents

Class GetDistribution

Inheritance
System.Object
GetDistribution
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.CloudFront
Assembly: Pulumi.Aws.dll
Syntax
public static class GetDistribution

Methods

View Source

InvokeAsync(GetDistributionArgs, InvokeOptions)

Use this data source to retrieve information about a CloudFront distribution.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var test = Output.Create(Aws.CloudFront.GetDistribution.InvokeAsync(new Aws.CloudFront.GetDistributionArgs
    {
        Id = "EDFDVBD632BHDS5",
    }));
}

}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetDistributionResult> InvokeAsync(GetDistributionArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetDistributionArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetDistributionResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.