Class CfnAccessPoint
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.s3objectlambda.CfnAccessPoint
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IAccessPointRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:17.240Z")
@Stability(Stable)
public class CfnAccessPoint
extends CfnResource
implements IInspectable, IAccessPointRef
The
AWS::S3ObjectLambda::AccessPoint resource specifies an Object Lambda Access Point used to access a bucket.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.s3objectlambda.*;
Object contentTransformation;
CfnAccessPoint cfnAccessPoint = CfnAccessPoint.Builder.create(this, "MyCfnAccessPoint")
.objectLambdaConfiguration(ObjectLambdaConfigurationProperty.builder()
.supportingAccessPoint("supportingAccessPoint")
.transformationConfigurations(List.of(TransformationConfigurationProperty.builder()
.actions(List.of("actions"))
.contentTransformation(contentTransformation)
.build()))
// the properties below are optional
.allowedFeatures(List.of("allowedFeatures"))
.cloudWatchMetricsEnabled(false)
.build())
// the properties below are optional
.name("name")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe alias of an Object Lambda Access Point.static interfaceExample:static final classA fluent builder forCfnAccessPoint.static interfaceExample:static interfaceA configuration used when creating an Object Lambda Access Point.static interfaceExample:static interfaceThePublicAccessBlockconfiguration that you want to apply to this Amazon S3 account.static interfaceA configuration used when creating an Object Lambda Access Point transformation.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.s3objectlambda.IAccessPointRef
IAccessPointRef.Jsii$Default, IAccessPointRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnAccessPoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnAccessPoint(software.amazon.jsii.JsiiObjectRef objRef) CfnAccessPoint(software.constructs.Construct scope, String id, CfnAccessPointProps props) Create a newAWS::S3ObjectLambda::AccessPoint. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForAccessPoint(IAccessPointRef resource) A reference to a AccessPoint resource.The status of the Object Lambda Access Point alias.The alias name value of the Object Lambda Access Point.Specifies the ARN for the Object Lambda Access Point.The date and time when the specified Object Lambda Access Point was created.Specifies whether the Object lambda Access Point Policy is Public or not.The Public Access Block Configuration is used to block policies that would allow public access to this Object lambda Access Point.getName()The name of this access point.A configuration used when creating an Object Lambda Access Point.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnAccessPoint.renderProperties(Map<String, Object> props) voidThe name of this access point.voidA configuration used when creating an Object Lambda Access Point.voidA configuration used when creating an Object Lambda Access Point.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnAccessPoint
protected CfnAccessPoint(software.amazon.jsii.JsiiObjectRef objRef) -
CfnAccessPoint
protected CfnAccessPoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnAccessPoint
@Stability(Stable) public CfnAccessPoint(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnAccessPointProps props) Create a newAWS::S3ObjectLambda::AccessPoint.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForAccessPoint
@Stability(Stable) @NotNull public static String arnForAccessPoint(@NotNull IAccessPointRef resource) - Parameters:
resource- This parameter is required.
-
isCfnAccessPoint
Checks whether the given object is a CfnAccessPoint.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAccessPointRef
A reference to a AccessPoint resource.- Specified by:
getAccessPointRefin interfaceIAccessPointRef
-
getAttrAlias
-
getAttrAliasStatus
The status of the Object Lambda Access Point alias.Valid Values:
PROVISIONING|READY. -
getAttrAliasValue
The alias name value of the Object Lambda Access Point.For example:
myolap-1a4n8yjrb3kda96f67zwrwiiuse1a--ol-s3. -
getAttrArn
Specifies the ARN for the Object Lambda Access Point. -
getAttrCreationDate
The date and time when the specified Object Lambda Access Point was created. -
getAttrPolicyStatus
-
getAttrPolicyStatusIsPublic
Specifies whether the Object lambda Access Point Policy is Public or not.Object lambda Access Points are private by default.
-
getAttrPublicAccessBlockConfiguration
The Public Access Block Configuration is used to block policies that would allow public access to this Object lambda Access Point.All public access to Object lambda Access Points are blocked by default, and any policy that would give public access to them will be also blocked. This behavior cannot be changed for Object lambda Access Points.
-
getAttrPublicAccessBlockConfigurationBlockPublicAcls
@Stability(Stable) @NotNull public IResolvable getAttrPublicAccessBlockConfigurationBlockPublicAcls() -
getAttrPublicAccessBlockConfigurationBlockPublicPolicy
@Stability(Stable) @NotNull public IResolvable getAttrPublicAccessBlockConfigurationBlockPublicPolicy() -
getAttrPublicAccessBlockConfigurationIgnorePublicAcls
@Stability(Stable) @NotNull public IResolvable getAttrPublicAccessBlockConfigurationIgnorePublicAcls() -
getAttrPublicAccessBlockConfigurationRestrictPublicBuckets
@Stability(Stable) @NotNull public IResolvable getAttrPublicAccessBlockConfigurationRestrictPublicBuckets() -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getObjectLambdaConfiguration
A configuration used when creating an Object Lambda Access Point.Returns union: either
IResolvableorCfnAccessPoint.ObjectLambdaConfigurationProperty -
setObjectLambdaConfiguration
A configuration used when creating an Object Lambda Access Point. -
setObjectLambdaConfiguration
@Stability(Stable) public void setObjectLambdaConfiguration(@NotNull CfnAccessPoint.ObjectLambdaConfigurationProperty value) A configuration used when creating an Object Lambda Access Point. -
getName
The name of this access point. -
setName
The name of this access point.
-