ObjectLambdaConfigurationProperty Struct
A configuration used when creating an Object Lambda Access Point.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3objectlambda as s3objectlambda } from 'aws-cdk-lib';
declare const contentTransformation: any;
const objectLambdaConfigurationProperty: s3objectlambda.CfnAccessPoint.ObjectLambdaConfigurationProperty = {
supportingAccessPoint: 'supportingAccessPoint',
transformationConfigurations: [{
actions: ['actions'],
contentTransformation: contentTransformation,
}],
// the properties below are optional
allowedFeatures: ['allowedFeatures'],
cloudWatchMetricsEnabled: false,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_s3objectlambda as s3objectlambda
# content_transformation: Any
object_lambda_configuration_property = s3objectlambda.CfnAccessPoint.ObjectLambdaConfigurationProperty(
supporting_access_point="supportingAccessPoint",
transformation_configurations=[s3objectlambda.CfnAccessPoint.TransformationConfigurationProperty(
actions=["actions"],
content_transformation=content_transformation
)],
# the properties below are optional
allowed_features=["allowedFeatures"],
cloud_watch_metrics_enabled=False
)
java
// 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;
ObjectLambdaConfigurationProperty objectLambdaConfigurationProperty = 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();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3ObjectLambda;
var contentTransformation;
var objectLambdaConfigurationProperty = new ObjectLambdaConfigurationProperty {
SupportingAccessPoint = "supportingAccessPoint",
TransformationConfigurations = new [] { new TransformationConfigurationProperty {
Actions = new [] { "actions" },
ContentTransformation = contentTransformation
} },
// the properties below are optional
AllowedFeatures = new [] { "allowedFeatures" },
CloudWatchMetricsEnabled = false
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
var contentTransformation interface{}
objectLambdaConfigurationProperty := &ObjectLambdaConfigurationProperty{
SupportingAccessPoint: jsii.String("supportingAccessPoint"),
TransformationConfigurations: []interface{}{
&TransformationConfigurationProperty{
Actions: []*string{
jsii.String("actions"),
},
ContentTransformation: contentTransformation,
},
},
// the properties below are optional
AllowedFeatures: []*string{
jsii.String("allowedFeatures"),
},
CloudWatchMetricsEnabled: jsii.Boolean(false),
}
Properties
allowedFeaturesoptionalstring[]allowed_featuresoptionaltyping.List[str]allowedFeaturesoptionalList<String>AllowedFeaturesoptionalstring[]AllowedFeaturesoptional*[]*string #A container for allowed features.
Valid inputs are GetObject-Range , GetObject-PartNumber , HeadObject-Range , and HeadObject-PartNumber .
cloudWatchMetricsEnabledoptionalboolean | IResolvablecloud_watch_metrics_enabledoptionaltyping.Union[bool, IResolvable]cloudWatchMetricsEnabledoptionalBooleanCloudWatchMetricsEnabledoptionalboolCloudWatchMetricsEnabledoptionalinterface{} #A container for whether the CloudWatch metrics configuration is enabled.
supportingAccessPointstringsupporting_access_pointstrsupportingAccessPointStringSupportingAccessPointstringSupportingAccessPoint*string required #Standard access point associated with the Object Lambda Access Point.
transformationConfigurationsIResolvable | IResolvable | CfnAccessPoint.transformation_configurationstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, TransformationConfigurationProperty]]]transformationConfigurationsIResolvableTransformationConfigurationsIResolvableTransformationConfigurationsinterface{} required #A container for transformation configurations for an Object Lambda Access Point.