@Generated(value="jsii-pacmak/1.78.1 (build 878761e)", date="2023-04-27T09:31:52.879Z") @Stability(value=Experimental) public class AccessPoint extends Resource implements IAccessPoint
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_14_X)
.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();
| Modifier and Type | Class and Description |
|---|---|
static class |
AccessPoint.Builder
(experimental) A fluent builder for
AccessPoint. |
software.amazon.jsii.JsiiObject.InitializationModeIAccessPoint.Jsii$Default, IAccessPoint.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
AccessPoint(software.constructs.Construct scope,
String id,
AccessPointProps props) |
protected |
AccessPoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
AccessPoint(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static IAccessPoint |
fromAccessPointAttributes(software.constructs.Construct scope,
String id,
AccessPointAttributes attrs)
(experimental) Reference an existing AccessPoint defined outside of the CDK code.
|
String |
getAccessPointArn()
(experimental) The ARN of the access point.
|
String |
getAccessPointCreationDate()
(experimental) The creation data of the access point.
|
String |
getAccessPointName()
(experimental) The ARN of the access point.
|
String |
getDomainName()
(experimental) Implement the `IAccessPoint.domainName` field.
|
String |
getRegionalDomainName()
(experimental) Implement the `IAccessPoint.regionalDomainName` field.
|
String |
virtualHostedUrlForObject()
(experimental) Implement the `IAccessPoint.virtualHostedUrlForObject` method.
|
String |
virtualHostedUrlForObject(String key)
(experimental) Implement the `IAccessPoint.virtualHostedUrlForObject` method.
|
String |
virtualHostedUrlForObject(String key,
VirtualHostedStyleUrlOptions options)
(experimental) Implement the `IAccessPoint.virtualHostedUrlForObject` method.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackprotected AccessPoint(software.amazon.jsii.JsiiObjectRef objRef)
protected AccessPoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public AccessPoint(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
AccessPointProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static IAccessPoint fromAccessPointAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull AccessPointAttributes attrs)
scope - This parameter is required.id - This parameter is required.attrs - This parameter is required.@Stability(value=Experimental) @NotNull public String virtualHostedUrlForObject(@Nullable String key, @Nullable VirtualHostedStyleUrlOptions options)
virtualHostedUrlForObject in interface IAccessPointkey - options - @Stability(value=Experimental) @NotNull public String virtualHostedUrlForObject(@Nullable String key)
virtualHostedUrlForObject in interface IAccessPointkey - @Stability(value=Experimental) @NotNull public String virtualHostedUrlForObject()
virtualHostedUrlForObject in interface IAccessPoint@Stability(value=Experimental) @NotNull public String getAccessPointArn()
getAccessPointArn in interface IAccessPoint@Stability(value=Experimental) @NotNull public String getAccessPointCreationDate()
getAccessPointCreationDate in interface IAccessPoint@Stability(value=Experimental) @NotNull public String getAccessPointName()
@Stability(value=Experimental) @NotNull public String getDomainName()
getDomainName in interface IAccessPoint@Stability(value=Experimental) @NotNull public String getRegionalDomainName()
getRegionalDomainName in interface IAccessPointCopyright © 2023. All rights reserved.