@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-02T14:17:21.521Z") @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.*;
import software.amazon.awscdk.core.*;
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, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackgetNodeprotected 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)
IAccessPoint.virtualHostedUrlForObject method.
virtualHostedUrlForObject in interface IAccessPointkey - options - @Stability(value=Experimental) @NotNull public String virtualHostedUrlForObject(@Nullable String key)
IAccessPoint.virtualHostedUrlForObject method.
virtualHostedUrlForObject in interface IAccessPointkey - @Stability(value=Experimental) @NotNull public String virtualHostedUrlForObject()
IAccessPoint.virtualHostedUrlForObject method.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()
IAccessPoint.domainName field.getDomainName in interface IAccessPoint@Stability(value=Experimental) @NotNull public String getRegionalDomainName()
IAccessPoint.regionalDomainName field.getRegionalDomainName in interface IAccessPointCopyright © 2023. All rights reserved.