Enum AwsProperties

java.lang.Object
java.lang.Enum<AwsProperties>
com.hazelcast.aws.AwsProperties
All Implemented Interfaces:
Serializable, Comparable<AwsProperties>, java.lang.constant.Constable

public enum AwsProperties
extends Enum<AwsProperties>
Configuration properties for the Hazelcast Discovery Plugin for AWS. For more information see AwsConfig.
  • Enum Constant Details

    • ACCESS_KEY

      public static final AwsProperties ACCESS_KEY
      Access key of your account on EC2
    • SECRET_KEY

      public static final AwsProperties SECRET_KEY
      Secret key of your account on EC2
    • REGION

      public static final AwsProperties REGION
      The region where your members are running. Default value is us-east-1. You need to specify this if the region is other than the default one.
    • IAM_ROLE

      public static final AwsProperties IAM_ROLE
      IAM roles are used to make secure requests from your clients. You can provide the name of your IAM role that you created previously on your AWS console.
    • HOST_HEADER

      public static final AwsProperties HOST_HEADER
      The URL that is the entry point for a web service (the address where the EC2 API can be found). Default value is ec2.amazonaws.com.
    • SECURITY_GROUP_NAME

      public static final AwsProperties SECURITY_GROUP_NAME
      Name of the security group you specified at the EC2 management console. It is used to narrow the Hazelcast members to be within this group. It is optional.
    • TAG_KEY

      public static final AwsProperties TAG_KEY
      Tag key as specified in the EC2 console. It is used to narrow the members returned by the discovery mechanism.
    • TAG_VALUE

      public static final AwsProperties TAG_VALUE
      Tag value as specified in the EC2 console. It is used to narrow the members returned by the discovery mechanism.
    • CONNECTION_TIMEOUT_SECONDS

      public static final AwsProperties CONNECTION_TIMEOUT_SECONDS
      Sets the connect timeout in seconds. See TcpIpConfig.setConnectionTimeoutSeconds(int) for more information. Its default value is 5.
    • CONNECTION_RETRIES

      public static final AwsProperties CONNECTION_RETRIES
      Number of retries while connecting to AWS Services. Its default value is 10.

      Hazelcast AWS plugin uses two AWS services: Describe Instances and EC2 Instance Metadata.

    • PORT

      public static final AwsProperties PORT
      The discovery mechanism will discover only IP addresses. You can define the port or the port range on which Hazelcast is expected to be running.

      Sample values: "5701", "5701-5710".

      The default value is "5701-5708".

  • Method Details

    • values

      public static AwsProperties[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AwsProperties valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getDefinition

      public PropertyDefinition getDefinition()