Interface IOriginAccessIdentity
- All Superinterfaces:
ICloudFrontOriginAccessIdentityRef,software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,IGrantable,IResource,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IOriginAccessIdentity.Jsii$Default
- All Known Implementing Classes:
IOriginAccessIdentity.Jsii$Proxy,OriginAccessIdentity
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:16.390Z")
@Stability(Stable)
public interface IOriginAccessIdentity
extends software.amazon.jsii.JsiiSerializable, IResource, IGrantable, ICloudFrontOriginAccessIdentityRef
Interface for CloudFront OriginAccessIdentity.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIOriginAccessIdentity.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Methods inherited from interface software.amazon.awscdk.interfaces.cloudfront.ICloudFrontOriginAccessIdentityRef
getCloudFrontOriginAccessIdentityRefMethods inherited from interface software.amazon.awscdk.services.iam.IGrantable
getGrantPrincipalMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOriginAccessIdentityId
The Origin Access Identity Id (physical id) This was called originAccessIdentityName before. -
getOriginAccessIdentityName
Deprecated.use originAccessIdentityId instead(deprecated) The Origin Access Identity Id (physical id) It is misnamed and superseded by the correctly named originAccessIdentityId. -
getNode
@Stability(Stable) @NotNull software.constructs.Node getNode()The tree node.- Specified by:
getNodein interfacesoftware.constructs.IConstruct
-
getEnv
The environment this resource belongs to.For resources that are created and managed in a Stack (those created by creating new class instances like
new Role(),new Bucket(), etc.), this is always the same as the environment of the stack they belong to.For referenced resources (those obtained from referencing methods like
Role.fromRoleArn(),Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.- Specified by:
getEnvin interfaceIEnvironmentAware
-