Package com.hazelcast.config
Class AwsConfig
- java.lang.Object
-
- com.hazelcast.config.AliasedDiscoveryConfig<AwsConfig>
-
- com.hazelcast.config.AwsConfig
-
- All Implemented Interfaces:
DataSerializable
,IdentifiedDataSerializable
public class AwsConfig extends AliasedDiscoveryConfig<AwsConfig>
The AWSConfig contains the configuration for AWS join mechanism.what happens behind the scenes is that data about the running AWS instances in a specific region are downloaded using the accesskey/secretkey and are potential Hazelcast members.
Filtering
There are 2 mechanisms for filtering out AWS instances and these mechanisms can be combined (AND).- If a securityGroup is configured, only instances within that security group are selected.
- If a tag key/value is set, only instances with that tag key/value will be selected.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getClassId()
Returns type identifier for this class.-
Methods inherited from class com.hazelcast.config.AliasedDiscoveryConfig
equals, getFactoryId, getProperties, getProperty, getTag, hashCode, isEnabled, isUsePublicIp, readData, setEnabled, setProperty, setUsePublicIp, toString, writeData
-
-
-
-
Constructor Detail
-
AwsConfig
public AwsConfig()
-
AwsConfig
public AwsConfig(AwsConfig awsConfig)
-
AwsConfig
public AwsConfig(java.lang.String tag, boolean enabled, boolean usePublicIp, java.util.Map<java.lang.String,java.lang.String> properties)
-
-
Method Detail
-
getClassId
public int getClassId()
Description copied from interface:IdentifiedDataSerializable
Returns type identifier for this class. It should be unique per DataSerializableFactory.- Returns:
- type ID
-
-