Show / Hide Table of Contents

Class CfnCloudFrontOriginAccessIdentity

The request to create a new origin access identity (OAI).

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnCloudFrontOriginAccessIdentity
Implements
IInspectable
ICloudFrontOriginAccessIdentityRef
IConstruct
IDependable
IEnvironmentAware
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.Env
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCloudFrontOriginAccessIdentity : CfnResource, IInspectable, ICloudFrontOriginAccessIdentityRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnCloudFrontOriginAccessIdentity Inherits CfnResource Implements IInspectable, ICloudFrontOriginAccessIdentityRef, IConstruct, IDependable, IEnvironmentAware
Remarks

An origin access identity is a special CloudFront user that you can associate with Amazon S3 origins, so that you can secure all or just some of your Amazon S3 content. For more information, see Restricting Access to Amazon S3 Content by Using an Origin Access Identity in the Amazon CloudFront Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cloudfrontoriginaccessidentity.html

CloudformationResource: AWS::CloudFront::CloudFrontOriginAccessIdentity

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.CloudFront;

             var cfnCloudFrontOriginAccessIdentity = new CfnCloudFrontOriginAccessIdentity(this, "MyCfnCloudFrontOriginAccessIdentity", new CfnCloudFrontOriginAccessIdentityProps {
                 CloudFrontOriginAccessIdentityConfig = new CloudFrontOriginAccessIdentityConfigProperty {
                     Comment = "comment"
                 }
             });

Synopsis

Constructors

CfnCloudFrontOriginAccessIdentity(Construct, string, ICfnCloudFrontOriginAccessIdentityProps)

Create a new AWS::CloudFront::CloudFrontOriginAccessIdentity.

Properties

AttrId

The ID for the origin access identity, for example, E74FTE3AJFJ256A .

AttrS3CanonicalUserId

The Amazon S3 canonical user ID for the origin access identity, used when giving the origin access identity read permission to an object in Amazon S3.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties

The request to create a new origin access identity (OAI).

CloudFrontOriginAccessIdentityConfig

The current configuration information for the identity.

CloudFrontOriginAccessIdentityRef

A reference to a CloudFrontOriginAccessIdentity resource.

Methods

ArnForCloudFrontOriginAccessIdentity(ICloudFrontOriginAccessIdentityRef)

The request to create a new origin access identity (OAI).

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

IsCfnCloudFrontOriginAccessIdentity(object)

Checks whether the given object is a CfnCloudFrontOriginAccessIdentity.

RenderProperties(IDictionary<string, object>)

The request to create a new origin access identity (OAI).

Constructors

CfnCloudFrontOriginAccessIdentity(Construct, string, ICfnCloudFrontOriginAccessIdentityProps)

Create a new AWS::CloudFront::CloudFrontOriginAccessIdentity.

public CfnCloudFrontOriginAccessIdentity(Construct scope, string id, ICfnCloudFrontOriginAccessIdentityProps props)
Parameters
scope Construct

Scope in which this resource is defined.

id string

Construct identifier for this resource (unique in its scope).

props ICfnCloudFrontOriginAccessIdentityProps

Resource properties.

Remarks

An origin access identity is a special CloudFront user that you can associate with Amazon S3 origins, so that you can secure all or just some of your Amazon S3 content. For more information, see Restricting Access to Amazon S3 Content by Using an Origin Access Identity in the Amazon CloudFront Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cloudfrontoriginaccessidentity.html

CloudformationResource: AWS::CloudFront::CloudFrontOriginAccessIdentity

ExampleMetadata: fixture=_generated

Properties

AttrId

The ID for the origin access identity, for example, E74FTE3AJFJ256A .

public virtual string AttrId { get; }
Property Value

string

Remarks

CloudformationAttribute: Id

AttrS3CanonicalUserId

The Amazon S3 canonical user ID for the origin access identity, used when giving the origin access identity read permission to an object in Amazon S3.

public virtual string AttrS3CanonicalUserId { get; }
Property Value

string

Remarks

For example: b970b42360b81c8ddbd79d2f5df0069ba9033c8a79655752abe380cd6d63ba8bcf23384d568fcf89fc49700b5e11a0fd .

CloudformationAttribute: S3CanonicalUserId

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value

string

Remarks

An origin access identity is a special CloudFront user that you can associate with Amazon S3 origins, so that you can secure all or just some of your Amazon S3 content. For more information, see Restricting Access to Amazon S3 Content by Using an Origin Access Identity in the Amazon CloudFront Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cloudfrontoriginaccessidentity.html

CloudformationResource: AWS::CloudFront::CloudFrontOriginAccessIdentity

ExampleMetadata: fixture=_generated

CfnProperties

The request to create a new origin access identity (OAI).

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

An origin access identity is a special CloudFront user that you can associate with Amazon S3 origins, so that you can secure all or just some of your Amazon S3 content. For more information, see Restricting Access to Amazon S3 Content by Using an Origin Access Identity in the Amazon CloudFront Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cloudfrontoriginaccessidentity.html

CloudformationResource: AWS::CloudFront::CloudFrontOriginAccessIdentity

ExampleMetadata: fixture=_generated

CloudFrontOriginAccessIdentityConfig

The current configuration information for the identity.

public virtual object CloudFrontOriginAccessIdentityConfig { get; set; }
Property Value

object

Remarks

Type union: either IResolvable or CfnCloudFrontOriginAccessIdentity.ICloudFrontOriginAccessIdentityConfigProperty

CloudFrontOriginAccessIdentityRef

A reference to a CloudFrontOriginAccessIdentity resource.

public virtual ICloudFrontOriginAccessIdentityReference CloudFrontOriginAccessIdentityRef { get; }
Property Value

ICloudFrontOriginAccessIdentityReference

Remarks

An origin access identity is a special CloudFront user that you can associate with Amazon S3 origins, so that you can secure all or just some of your Amazon S3 content. For more information, see Restricting Access to Amazon S3 Content by Using an Origin Access Identity in the Amazon CloudFront Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cloudfrontoriginaccessidentity.html

CloudformationResource: AWS::CloudFront::CloudFrontOriginAccessIdentity

ExampleMetadata: fixture=_generated

Methods

ArnForCloudFrontOriginAccessIdentity(ICloudFrontOriginAccessIdentityRef)

The request to create a new origin access identity (OAI).

public static string ArnForCloudFrontOriginAccessIdentity(ICloudFrontOriginAccessIdentityRef resource)
Parameters
resource ICloudFrontOriginAccessIdentityRef
Returns

string

Remarks

An origin access identity is a special CloudFront user that you can associate with Amazon S3 origins, so that you can secure all or just some of your Amazon S3 content. For more information, see Restricting Access to Amazon S3 Content by Using an Origin Access Identity in the Amazon CloudFront Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cloudfrontoriginaccessidentity.html

CloudformationResource: AWS::CloudFront::CloudFrontOriginAccessIdentity

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.CloudFront;

             var cfnCloudFrontOriginAccessIdentity = new CfnCloudFrontOriginAccessIdentity(this, "MyCfnCloudFrontOriginAccessIdentity", new CfnCloudFrontOriginAccessIdentityProps {
                 CloudFrontOriginAccessIdentityConfig = new CloudFrontOriginAccessIdentityConfigProperty {
                     Comment = "comment"
                 }
             });

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

public virtual void Inspect(TreeInspector inspector)
Parameters
inspector TreeInspector

tree inspector to collect and process attributes.

Remarks

An origin access identity is a special CloudFront user that you can associate with Amazon S3 origins, so that you can secure all or just some of your Amazon S3 content. For more information, see Restricting Access to Amazon S3 Content by Using an Origin Access Identity in the Amazon CloudFront Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cloudfrontoriginaccessidentity.html

CloudformationResource: AWS::CloudFront::CloudFrontOriginAccessIdentity

ExampleMetadata: fixture=_generated

IsCfnCloudFrontOriginAccessIdentity(object)

Checks whether the given object is a CfnCloudFrontOriginAccessIdentity.

public static bool IsCfnCloudFrontOriginAccessIdentity(object x)
Parameters
x object
Returns

bool

Remarks

An origin access identity is a special CloudFront user that you can associate with Amazon S3 origins, so that you can secure all or just some of your Amazon S3 content. For more information, see Restricting Access to Amazon S3 Content by Using an Origin Access Identity in the Amazon CloudFront Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cloudfrontoriginaccessidentity.html

CloudformationResource: AWS::CloudFront::CloudFrontOriginAccessIdentity

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

The request to create a new origin access identity (OAI).

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props IDictionary<string, object>
Returns

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

An origin access identity is a special CloudFront user that you can associate with Amazon S3 origins, so that you can secure all or just some of your Amazon S3 content. For more information, see Restricting Access to Amazon S3 Content by Using an Origin Access Identity in the Amazon CloudFront Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cloudfrontoriginaccessidentity.html

CloudformationResource: AWS::CloudFront::CloudFrontOriginAccessIdentity

ExampleMetadata: fixture=_generated

Implements

IInspectable
ICloudFrontOriginAccessIdentityRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX