@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-02T14:17:21.524Z") @Stability(value=Stable) public class CfnAccessPoint extends CfnResource implements IInspectable
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();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnAccessPoint.AwsLambdaProperty
Example:
|
static class |
CfnAccessPoint.Builder
A fluent builder for
CfnAccessPoint. |
static interface |
CfnAccessPoint.ContentTransformationProperty
Example:
|
static interface |
CfnAccessPoint.ObjectLambdaConfigurationProperty
A configuration used when creating an Object Lambda Access Point.
|
static interface |
CfnAccessPoint.PolicyStatusProperty
Indicates whether this access point policy is public.
|
static interface |
CfnAccessPoint.PublicAccessBlockConfigurationProperty
The `PublicAccessBlock` configuration that you want to apply to this Amazon S3 account.
|
static interface |
CfnAccessPoint.TransformationConfigurationProperty
A configuration used when creating an Object Lambda Access Point transformation.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnAccessPoint(Construct scope,
String id,
CfnAccessPointProps props)
Create a new `AWS::S3ObjectLambda::AccessPoint`.
|
protected |
CfnAccessPoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnAccessPoint(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn()
Specifies the ARN for the Object Lambda Access Point.
|
String |
getAttrCreationDate()
The date and time when the specified Object Lambda Access Point was created.
|
IResolvable |
getAttrPolicyStatusIsPublic() |
IResolvable |
getAttrPublicAccessBlockConfigurationBlockPublicAcls() |
IResolvable |
getAttrPublicAccessBlockConfigurationBlockPublicPolicy() |
IResolvable |
getAttrPublicAccessBlockConfigurationIgnorePublicAcls() |
IResolvable |
getAttrPublicAccessBlockConfigurationRestrictPublicBuckets() |
protected Map<String,Object> |
getCfnProperties() |
String |
getName()
The name of this access point.
|
Object |
getObjectLambdaConfiguration()
A configuration used when creating an Object Lambda Access Point.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setName(String value)
The name of this access point.
|
void |
setObjectLambdaConfiguration(CfnAccessPoint.ObjectLambdaConfigurationProperty value)
A configuration used when creating an Object Lambda Access Point.
|
void |
setObjectLambdaConfiguration(IResolvable value)
A configuration used when creating an Object Lambda Access Point.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnAccessPoint(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnAccessPoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnAccessPoint(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnAccessPointProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrCreationDate()
@Stability(value=Stable) @NotNull public IResolvable getAttrPolicyStatusIsPublic()
@Stability(value=Stable) @NotNull public IResolvable getAttrPublicAccessBlockConfigurationBlockPublicAcls()
@Stability(value=Stable) @NotNull public IResolvable getAttrPublicAccessBlockConfigurationBlockPublicPolicy()
@Stability(value=Stable) @NotNull public IResolvable getAttrPublicAccessBlockConfigurationIgnorePublicAcls()
@Stability(value=Stable) @NotNull public IResolvable getAttrPublicAccessBlockConfigurationRestrictPublicBuckets()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public Object getObjectLambdaConfiguration()
@Stability(value=Stable)
public void setObjectLambdaConfiguration(@NotNull
CfnAccessPoint.ObjectLambdaConfigurationProperty value)
@Stability(value=Stable)
public void setObjectLambdaConfiguration(@NotNull
IResolvable value)
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
Copyright © 2023. All rights reserved.