Table of Contents

Constructor EC2BootstrapGatewayProvider

Namespace
Scaleout.Client.EC2
Assembly
Scaleout.Client.EC2.dll

EC2BootstrapGatewayProvider(string, string, string, string, GatewayType, ILogger)

Constructor.

public EC2BootstrapGatewayProvider(string awsAccessKeyId, string awsSecretKey, string awsRegionName, string scaleoutStoreName, GatewayType gatewayType, ILogger logger = null)

Parameters

awsAccessKeyId string

AWS Access Key.

awsSecretKey string

AWS Secret Key.

awsRegionName string

Region name, such as "us-west-1".

scaleoutStoreName string

Name of the ScaleOut store that has been deployed to the specified awsRegionName.

gatewayType GatewayType

Enum indicating whether to use public or private EC2 IP addresses to connect to ScaleOut hosts.

logger ILogger

ILogger instance.

EC2BootstrapGatewayProvider(IAmazonEC2, string, GatewayType, ILogger)

Constructs an EC2BootstrapGatewayProvider using an existing AmazonEC2Client instance.

public EC2BootstrapGatewayProvider(IAmazonEC2 ec2Client, string scaleoutStoreName, GatewayType gatewayType, ILogger logger = null)

Parameters

ec2Client IAmazonEC2

IAmazonEC2 implementation, such as AmazonEC2Client.

scaleoutStoreName string

Name of the ScaleOut store that has been deployed to the AWS region that's pointed to by ec2Client.

gatewayType GatewayType

Enum indicating whether to use public or private EC2 IP addresses to connect to ScaleOut hosts.

logger ILogger

ILogger instance.