Class ConnectorStackAttributes
- java.lang.Object
-
- com.amazonaws.athena.connector.integ.data.ConnectorStackAttributes
-
public class ConnectorStackAttributes extends Object
Contains the attributes needed to create the connector's CloudFormation stack template.
-
-
Constructor Summary
Constructors Constructor Description ConnectorStackAttributes(software.amazon.awscdk.core.Construct scope, String id, String lambdaFunctionName, Optional<software.amazon.awscdk.services.iam.PolicyDocument> connectorAccessPolicy, Map<String,String> environmentVariables, ConnectorPackagingAttributes connectorPackagingAttributes, Optional<ConnectorVpcAttributes> connectorVpcAttributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<software.amazon.awscdk.services.iam.PolicyDocument>
getConnectorAccessPolicy()
Public accessor for the Connector-specific access policy.ConnectorPackagingAttributes
getConnectorPackagingAttributes()
Public accessor for the Connector's packaging attributes: 1) S3 Bucket, 2) S3 Key, 3) Connector's Handler.Optional<ConnectorVpcAttributes>
getConnectorVpcAttributes()
Public accessor for the Connector's VPC attributes: 1) VPC Id (e.g. vpc-xxxx), 2) Security Group Id (e.g. sg-xxxx), 3) Subnet Ids (e.g. subnet-xxxx), 4) Subnet availability zones (e.g. us-east-1a)Map<String,String>
getEnvironmentVariables()
Public accessor for the Connector's environment variables.String
getId()
Public accessor for the Stack's Id/name.String
getLambdaFunctionName()
Public accessor for the Lambda function's name.software.amazon.awscdk.core.Construct
getScope()
Public accessor for the Stack's context scope.
-
-
-
Constructor Detail
-
ConnectorStackAttributes
public ConnectorStackAttributes(software.amazon.awscdk.core.Construct scope, String id, String lambdaFunctionName, Optional<software.amazon.awscdk.services.iam.PolicyDocument> connectorAccessPolicy, Map<String,String> environmentVariables, ConnectorPackagingAttributes connectorPackagingAttributes, Optional<ConnectorVpcAttributes> connectorVpcAttributes)
-
-
Method Detail
-
getScope
public software.amazon.awscdk.core.Construct getScope()
Public accessor for the Stack's context scope.- Returns:
- Stack's context scope
-
getId
public String getId()
Public accessor for the Stack's Id/name.- Returns:
- Stack's Id
-
getLambdaFunctionName
public String getLambdaFunctionName()
Public accessor for the Lambda function's name.- Returns:
- Lambda function's name
-
getConnectorAccessPolicy
public Optional<software.amazon.awscdk.services.iam.PolicyDocument> getConnectorAccessPolicy()
Public accessor for the Connector-specific access policy.- Returns:
- Connector's access policy
-
getEnvironmentVariables
public Map<String,String> getEnvironmentVariables()
Public accessor for the Connector's environment variables.- Returns:
- Connector's environment variables.
-
getConnectorPackagingAttributes
public ConnectorPackagingAttributes getConnectorPackagingAttributes()
Public accessor for the Connector's packaging attributes: 1) S3 Bucket, 2) S3 Key, 3) Connector's Handler.- Returns:
- Packaging attributes
-
getConnectorVpcAttributes
public Optional<ConnectorVpcAttributes> getConnectorVpcAttributes()
Public accessor for the Connector's VPC attributes: 1) VPC Id (e.g. vpc-xxxx), 2) Security Group Id (e.g. sg-xxxx), 3) Subnet Ids (e.g. subnet-xxxx), 4) Subnet availability zones (e.g. us-east-1a)- Returns:
- VPC attributes
-
-