All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.hsiehshujeng.cdk.comprehend.s3olap.LambdaArnCaptorCustomResource Maven / Gradle / Ivy

Go to download

A constrcut for PII and redaction scenarios with Amazon Comprehend and S3 Object Lambda

There is a newer version: 2.0.521
Show newest version
package io.github.hsiehshujeng.cdk.comprehend.s3olap;

/**
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.103.0 (build 3b9adc4)", date = "2024-08-29T00:48:08.967Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = io.github.hsiehshujeng.cdk.comprehend.s3olap.$Module.class, fqn = "cdk-comprehend-s3olap.LambdaArnCaptorCustomResource")
public class LambdaArnCaptorCustomResource extends software.constructs.Construct {

    protected LambdaArnCaptorCustomResource(final software.amazon.jsii.JsiiObjectRef objRef) {
        super(objRef);
    }

    protected LambdaArnCaptorCustomResource(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
        super(initializationMode);
    }

    /**
     * @param scope This parameter is required.
     * @param id This parameter is required.
     * @param props This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public LambdaArnCaptorCustomResource(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull io.github.hsiehshujeng.cdk.comprehend.s3olap.LambdaArnCaptorResourceProps props) {
        super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(props, "props is required") });
    }

    /**
     * The ARN of the general Lambda function created from the serverless application.
     * 

* @see https://github.com/aws/aws-cdk/issues/8760 */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull java.lang.String getLambdaArn() { return software.amazon.jsii.Kernel.get(this, "lambdaArn", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * A fluent builder for {@link io.github.hsiehshujeng.cdk.comprehend.s3olap.LambdaArnCaptorCustomResource}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static final class Builder implements software.amazon.jsii.Builder { /** * @return a new instance of {@link Builder}. * @param scope This parameter is required. * @param id This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static Builder create(final software.constructs.Construct scope, final java.lang.String id) { return new Builder(scope, id); } private final software.constructs.Construct scope; private final java.lang.String id; private final io.github.hsiehshujeng.cdk.comprehend.s3olap.LambdaArnCaptorResourceProps.Builder props; private Builder(final software.constructs.Construct scope, final java.lang.String id) { this.scope = scope; this.id = id; this.props = new io.github.hsiehshujeng.cdk.comprehend.s3olap.LambdaArnCaptorResourceProps.Builder(); } /** * The partial fixed name of the gemeral Lambda function created from the serverless application. *

* @return {@code this} * @param partialLambdaName The partial fixed name of the gemeral Lambda function created from the serverless application. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder partialLambdaName(final java.lang.String partialLambdaName) { this.props.partialLambdaName(partialLambdaName); return this; } /** * the name of the corresponding IAM role. *

* @return {@code this} * @param roleName the name of the corresponding IAM role. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder roleName(final java.lang.String roleName) { this.props.roleName(roleName); return this; } /** * @return a newly built instance of {@link io.github.hsiehshujeng.cdk.comprehend.s3olap.LambdaArnCaptorCustomResource}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override public io.github.hsiehshujeng.cdk.comprehend.s3olap.LambdaArnCaptorCustomResource build() { return new io.github.hsiehshujeng.cdk.comprehend.s3olap.LambdaArnCaptorCustomResource( this.scope, this.id, this.props.build() ); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy