Class ConnectorWithVpcStack
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- software.amazon.awscdk.core.Construct
-
- software.amazon.awscdk.core.Stack
-
- com.amazonaws.athena.connector.integ.stacks.ConnectorStack
-
- com.amazonaws.athena.connector.integ.stacks.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
-
-
Constructor Summary
Constructors Constructor Description ConnectorWithVpcStack(ConnectorWithVpcStack.Builder builder)
-
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 com.amazonaws.athena.connector.integ.stacks.ConnectorStack
athenaDataCatalogBuilder, iamRoleBuilder, initialize
-
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.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
ConnectorWithVpcStack
public ConnectorWithVpcStack(ConnectorWithVpcStack.Builder builder)
-
-
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 classConnectorStack
- 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 classConnectorStack
- Parameters:
policies
- A map of access policies.
-
buildWithAttributes
public static software.amazon.awscdk.core.Stack buildWithAttributes(ConnectorStackAttributes attributes)
-
builder
public static ConnectorWithVpcStack.Builder builder()
-
-