Class ConnectorWithVpcStack

  • All Implemented Interfaces:
    software.amazon.awscdk.core.IConstruct, software.amazon.awscdk.core.IDependable, software.amazon.awscdk.core.ITaggable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

    public class ConnectorWithVpcStack
    extends ConnectorStack
    Sets up the CloudFormation stack necessary for a Lambda Connector with a VPC configuration.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ConnectorWithVpcStack.Builder  
      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
      • Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct

        software.amazon.awscdk.core.IConstruct.Jsii$Default, software.amazon.awscdk.core.IConstruct.Jsii$Proxy
      • Nested classes/interfaces inherited from interface software.constructs.IConstruct

        software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
      • Nested classes/interfaces inherited from interface software.amazon.awscdk.core.ITaggable

        software.amazon.awscdk.core.ITaggable.Jsii$Default, software.amazon.awscdk.core.ITaggable.Jsii$Proxy
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static ConnectorWithVpcStack.Builder builder()  
      static software.amazon.awscdk.core.Stack buildWithAttributes​(ConnectorStackAttributes attributes)  
      protected software.amazon.awscdk.services.lambda.Function.Builder lambdaFunctionBuilder()
      Builds the Lambda function stack resource injecting the VPC configuration.
      protected void setAccessPolicies​(Map<String,​software.amazon.awscdk.services.iam.PolicyDocument> policies)
      Sets the access policies used by the Lambda function.
      protected software.amazon.awscdk.services.ec2.VpcAttributes.Builder vpcAttributesBuilder()
      Builds the VPC Attributes.
      • Methods inherited from class software.amazon.awscdk.core.Stack

        addDependency, addDependency, addDockerImageAsset, addFileAsset, addTransform, allocateLogicalId, exportValue, exportValue, formatArn, getAccount, getArtifactId, getAvailabilityZones, getBundlingRequired, getDependencies, getEnvironment, getLogicalId, getNested, getNestedStackParent, getNestedStackResource, getNotificationArns, getParentStack, getPartition, getRegion, getStackId, getStackName, getSynthesizer, getTags, getTemplateFile, getTemplateOptions, getTerminationProtection, getUrlSuffix, isStack, of, parseArn, parseArn, parseArn, prepareCrossReference, regionalFact, regionalFact, renameLogicalId, reportMissingContext, reportMissingContextKey, resolve, splitArn, toJsonString, toJsonString
      • Methods inherited from class software.amazon.awscdk.core.Construct

        getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
      • Methods inherited from class software.constructs.Construct

        toString
      • Methods inherited from class software.amazon.jsii.JsiiObject

        jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
      • Methods inherited from interface software.amazon.jsii.JsiiSerializable

        $jsii$toJson
    • Method Detail

      • lambdaFunctionBuilder

        protected software.amazon.awscdk.services.lambda.Function.Builder lambdaFunctionBuilder()
        Builds the Lambda function stack resource injecting the VPC configuration.
        Overrides:
        lambdaFunctionBuilder in class ConnectorStack
        Returns:
        Lambda function Builder.
      • vpcAttributesBuilder

        protected software.amazon.awscdk.services.ec2.VpcAttributes.Builder vpcAttributesBuilder()
        Builds the VPC Attributes.
        Returns:
        VPC attributes Builder.
      • setAccessPolicies

        protected void setAccessPolicies​(Map<String,​software.amazon.awscdk.services.iam.PolicyDocument> policies)
        Sets the access policies used by the Lambda function.
        Overrides:
        setAccessPolicies in class ConnectorStack
        Parameters:
        policies - A map of access policies.
      • buildWithAttributes

        public static software.amazon.awscdk.core.Stack buildWithAttributes​(ConnectorStackAttributes attributes)