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
awsAccessKeyIdstringAWS Access Key.
awsSecretKeystringAWS Secret Key.
awsRegionNamestringRegion name, such as "us-west-1".
scaleoutStoreNamestringName of the ScaleOut store that has been deployed to the specified
awsRegionName.gatewayTypeGatewayTypeEnum indicating whether to use public or private EC2 IP addresses to connect to ScaleOut hosts.
loggerILoggerILogger 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
ec2ClientIAmazonEC2IAmazonEC2 implementation, such as AmazonEC2Client.
scaleoutStoreNamestringName of the ScaleOut store that has been deployed to the AWS region that's pointed to by
ec2Client.gatewayTypeGatewayTypeEnum indicating whether to use public or private EC2 IP addresses to connect to ScaleOut hosts.
loggerILoggerILogger instance.