Interface IDistribution
Interface for CloudFront distributions.
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IDistribution : IResource
Syntax (vb)
Public Interface IDistribution
Inherits IResource, IConstruct, IDependable
Synopsis
Properties
DistributionDomainName | The domain name of the Distribution, such as d111111abcdef8.cloudfront.net. |
DistributionId | The distribution ID for this distribution. |
Methods
Grant(IGrantable, String[]) | Adds an IAM policy statement associated with this distribution to an IAM principal's policy. |
GrantCreateInvalidation(IGrantable) | Grant to create invalidations for this bucket to an IAM principal (Role/Group/User). |
Properties
DistributionDomainName
The domain name of the Distribution, such as d111111abcdef8.cloudfront.net.
string DistributionDomainName { get; }
Property Value
System.String
Remarks
Attribute: true
DistributionId
The distribution ID for this distribution.
string DistributionId { get; }
Property Value
System.String
Remarks
Attribute: true
Methods
Grant(IGrantable, String[])
Adds an IAM policy statement associated with this distribution to an IAM principal's policy.
Grant Grant(IGrantable identity, params string[] actions)
Parameters
- identity IGrantable
The principal.
- actions System.String[]
The set of actions to allow (i.e. "cloudfront:ListInvalidations").
Returns
GrantCreateInvalidation(IGrantable)
Grant to create invalidations for this bucket to an IAM principal (Role/Group/User).
Grant GrantCreateInvalidation(IGrantable identity)
Parameters
- identity IGrantable
The principal.
Returns