@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:30.160Z") 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 . |
IAccessPoint.Jsii$Default, IAccessPoint.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
AccessPoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
AccessPoint(software.amazon.jsii.JsiiObjectRef objRef) |
|
AccessPoint(software.constructs.Construct scope,
java.lang.String id,
AccessPointProps props) |
Modifier and Type | Method and Description |
---|---|
static IAccessPoint |
fromAccessPointAttributes(software.constructs.Construct scope,
java.lang.String id,
AccessPointAttributes attrs)
(experimental) Reference an existing AccessPoint defined outside of the CDK code.
|
java.lang.String |
getAccessPointArn()
(experimental) The ARN of the access point.
|
java.lang.String |
getAccessPointCreationDate()
(experimental) The creation data of the access point.
|
java.lang.String |
getAccessPointName()
(experimental) The ARN of the access point.
|
java.lang.String |
getDomainName()
(experimental) Implement the
IAccessPoint.domainName field. |
java.lang.String |
getRegionalDomainName()
(experimental) Implement the
IAccessPoint.regionalDomainName field. |
java.lang.String |
virtualHostedUrlForObject()
(experimental) Implement the
IAccessPoint.virtualHostedUrlForObject method. |
java.lang.String |
virtualHostedUrlForObject(java.lang.String key)
(experimental) Implement the
IAccessPoint.virtualHostedUrlForObject method. |
java.lang.String |
virtualHostedUrlForObject(java.lang.String key,
VirtualHostedStyleUrlOptions options)
(experimental) Implement the
IAccessPoint.virtualHostedUrlForObject method. |
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected AccessPoint(software.amazon.jsii.JsiiObjectRef objRef)
protected AccessPoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public AccessPoint(software.constructs.Construct scope, java.lang.String id, AccessPointProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.public static IAccessPoint fromAccessPointAttributes(software.constructs.Construct scope, java.lang.String id, AccessPointAttributes attrs)
scope
- This parameter is required.id
- This parameter is required.attrs
- This parameter is required.public java.lang.String virtualHostedUrlForObject(java.lang.String key, VirtualHostedStyleUrlOptions options)
IAccessPoint.virtualHostedUrlForObject
method.
virtualHostedUrlForObject
in interface IAccessPoint
key
- options
- public java.lang.String virtualHostedUrlForObject(java.lang.String key)
IAccessPoint.virtualHostedUrlForObject
method.
virtualHostedUrlForObject
in interface IAccessPoint
key
- public java.lang.String virtualHostedUrlForObject()
IAccessPoint.virtualHostedUrlForObject
method.virtualHostedUrlForObject
in interface IAccessPoint
public java.lang.String getAccessPointArn()
getAccessPointArn
in interface IAccessPoint
public java.lang.String getAccessPointCreationDate()
getAccessPointCreationDate
in interface IAccessPoint
public java.lang.String getAccessPointName()
public java.lang.String getDomainName()
IAccessPoint.domainName
field.getDomainName
in interface IAccessPoint
public java.lang.String getRegionalDomainName()
IAccessPoint.regionalDomainName
field.getRegionalDomainName
in interface IAccessPoint