Constructor EC2BootstrapGatewayProvider
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
stringAWS Access Key.
awsSecretKey
stringAWS Secret Key.
awsRegionName
stringRegion name, such as "us-west-1".
scaleoutStoreName
stringName of the ScaleOut store that has been deployed to the specified
awsRegionName
.gatewayType
GatewayTypeEnum indicating whether to use public or private EC2 IP addresses to connect to ScaleOut hosts.
logger
ILoggerILogger 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
IAmazonEC2IAmazonEC2 implementation, such as AmazonEC2Client.
scaleoutStoreName
stringName of the ScaleOut store that has been deployed to the AWS region that's pointed to by
ec2Client
.gatewayType
GatewayTypeEnum indicating whether to use public or private EC2 IP addresses to connect to ScaleOut hosts.
logger
ILoggerILogger instance.