Interface AwsAuthenticationMode
- All Superinterfaces:
JsonEnum
- All Known Implementing Classes:
AwsAuthenticationMode.AwsAuthenticationModeEnum
Defines the method of authentication for AWS SQS and SNS Destinations.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
possible values of AwsAuthenticationMode -
Field Summary
Modifier and TypeFieldDescriptionstatic final AwsAuthenticationMode
Subscriptions withCredentials
authentication mode are authenticated using anaccessKey
andaccessSecret
pair.static final AwsAuthenticationMode
Subscriptions withIAM
authentication mode are authenticated using Identity and Access Management (IAM). -
Method Summary
Modifier and TypeMethodDescriptionstatic AwsAuthenticationMode
factory method for a enum value of AwsAuthenticationMode if no enum has been found an anonymous instance will be createdstatic Optional<AwsAuthenticationMode>
findEnumViaJsonName
(String jsonName) method to find enum using the JSON valuethe JSON valuename()
the enum valuetoString()
convert value to stringstatic AwsAuthenticationMode[]
values()
possible enum values
-
Field Details
-
CREDENTIALS
Subscriptions with
Credentials
authentication mode are authenticated using anaccessKey
andaccessSecret
pair. This is the default authentication mode for backwards compatibility. -
IAM
Subscriptions with
IAM
authentication mode are authenticated using Identity and Access Management (IAM). For this authentication mode, the following user requires permissions to send notifications to the queue or publish to the topic:arn:aws:iam::362576667341:user/subscriptions
. This is the recommended authentication mode, as it doesn't require additional key management.
-
-
Method Details
-
getJsonName
String getJsonName()the JSON value- Specified by:
getJsonName
in interfaceJsonEnum
- Returns:
- json value
-
name
String name()the enum value -
toString
String toString()convert value to string -
findEnum
factory method for a enum value of AwsAuthenticationMode if no enum has been found an anonymous instance will be created- Parameters:
value
- the enum value to be wrapped- Returns:
- enum instance
-
findEnumViaJsonName
method to find enum using the JSON value- Parameters:
jsonName
- the json value to be wrapped- Returns:
- optional of enum instance
-
values
possible enum values- Returns:
- array of possible enum values
-