@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-20T22:20:00.724Z") 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 class |
CfnAccessPoint.Builder
A fluent builder for
CfnAccessPoint . |
static interface |
CfnAccessPoint.ObjectLambdaConfigurationProperty
A configuration used when creating an Object Lambda Access Point.
|
static interface |
CfnAccessPoint.TransformationConfigurationProperty
A configuration used when creating an Object Lambda Access Point transformation.
|
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnAccessPoint(Construct scope,
java.lang.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 |
---|---|
java.lang.String |
getAttrArn()
Specifies the ARN for the Object Lambda Access Point.
|
java.lang.String |
getAttrCreationDate()
The date and time when the specified Object Lambda Access Point was created.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getName()
The name of this access point.
|
java.lang.Object |
getObjectLambdaConfiguration()
A configuration used when creating an Object Lambda Access Point.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setName(java.lang.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, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnAccessPoint(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnAccessPoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnAccessPoint(Construct scope, java.lang.String id, 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.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrArn()
public java.lang.String getAttrCreationDate()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.Object getObjectLambdaConfiguration()
public void setObjectLambdaConfiguration(CfnAccessPoint.ObjectLambdaConfigurationProperty value)
public void setObjectLambdaConfiguration(IResolvable value)
public java.lang.String getName()
public void setName(java.lang.String value)