Class AccessPoint
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.s3objectlambda.alpha.AccessPoint
- All Implemented Interfaces:
IResource,IAccessPoint,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:49.402Z")
@Stability(Experimental)
public class AccessPoint
extends Resource
implements IAccessPoint
(experimental) An S3 object lambda access point for intercepting and transforming
GetObject requests.
Example:
import software.amazon.awscdk.services.lambda.*;
import software.amazon.awscdk.services.s3.*;
import software.amazon.awscdk.services.s3objectlambda.alpha.*;
import software.amazon.awscdk.*;
Stack stack = new Stack();
Bucket bucket = new Bucket(stack, "MyBucket");
Function handler = Function.Builder.create(stack, "MyFunction")
.runtime(Runtime.NODEJS_LATEST)
.handler("index.handler")
.code(Code.fromAsset("lambda.zip"))
.build();
AccessPoint.Builder.create(stack, "MyObjectLambda")
.bucket(bucket)
.handler(handler)
.accessPointName("my-access-point")
.payload(Map.of(
"prop", "value"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class(experimental) A fluent builder forAccessPoint.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.s3objectlambda.alpha.IAccessPoint
IAccessPoint.Jsii$Default, IAccessPoint.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String(experimental) Uniquely identifies this class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAccessPoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedAccessPoint(software.amazon.jsii.JsiiObjectRef objRef) AccessPoint(software.constructs.Construct scope, String id, AccessPointProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IAccessPointfromAccessPointAttributes(software.constructs.Construct scope, String id, AccessPointAttributes attrs) (experimental) Reference an existing AccessPoint defined outside of the CDK code.(experimental) The ARN of the access point.(experimental) The creation data of the access point.(experimental) The ARN of the access point.(experimental) Implement theIAccessPoint.domainNamefield.(experimental) Implement theIAccessPoint.regionalDomainNamefield.(experimental) The ARN of the S3 access point.(experimental) Implement theIAccessPoint.virtualHostedUrlForObjectmethod.(experimental) Implement theIAccessPoint.virtualHostedUrlForObjectmethod.virtualHostedUrlForObject(String key, VirtualHostedStyleUrlOptions options) (experimental) Implement theIAccessPoint.virtualHostedUrlForObjectmethod.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
(experimental) Uniquely identifies this class.
-
-
Constructor Details
-
AccessPoint
protected AccessPoint(software.amazon.jsii.JsiiObjectRef objRef) -
AccessPoint
protected AccessPoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
AccessPoint
@Stability(Experimental) public AccessPoint(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull AccessPointProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-
-
Method Details
-
fromAccessPointAttributes
@Stability(Experimental) @NotNull public static IAccessPoint fromAccessPointAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull AccessPointAttributes attrs) (experimental) Reference an existing AccessPoint defined outside of the CDK code.- Parameters:
scope- This parameter is required.id- This parameter is required.attrs- This parameter is required.
-
virtualHostedUrlForObject
@Stability(Experimental) @NotNull public String virtualHostedUrlForObject(@Nullable String key, @Nullable VirtualHostedStyleUrlOptions options) (experimental) Implement theIAccessPoint.virtualHostedUrlForObjectmethod.- Specified by:
virtualHostedUrlForObjectin interfaceIAccessPoint- Parameters:
key-options-- Returns:
- an ObjectS3Url token
-
virtualHostedUrlForObject
(experimental) Implement theIAccessPoint.virtualHostedUrlForObjectmethod.- Specified by:
virtualHostedUrlForObjectin interfaceIAccessPoint- Parameters:
key-- Returns:
- an ObjectS3Url token
-
virtualHostedUrlForObject
(experimental) Implement theIAccessPoint.virtualHostedUrlForObjectmethod.- Specified by:
virtualHostedUrlForObjectin interfaceIAccessPoint- Returns:
- an ObjectS3Url token
-
getAccessPointArn
(experimental) The ARN of the access point.- Specified by:
getAccessPointArnin interfaceIAccessPoint
-
getAccessPointCreationDate
(experimental) The creation data of the access point.- Specified by:
getAccessPointCreationDatein interfaceIAccessPoint
-
getAccessPointName
(experimental) The ARN of the access point. -
getDomainName
(experimental) Implement theIAccessPoint.domainNamefield.- Specified by:
getDomainNamein interfaceIAccessPoint
-
getRegionalDomainName
(experimental) Implement theIAccessPoint.regionalDomainNamefield.- Specified by:
getRegionalDomainNamein interfaceIAccessPoint
-
getS3AccessPointArn
(experimental) The ARN of the S3 access point.
-