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
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumpossible values of AwsAuthenticationMode -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AwsAuthenticationModeSubscriptions withCredentialsauthentication mode are authenticated using anaccessKeyandaccessSecretpair.static final AwsAuthenticationModeSubscriptions withIAMauthentication mode are authenticated using Identity and Access Management (IAM). -
Method Summary
Modifier and TypeMethodDescriptionstatic AwsAuthenticationModefactory 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
Credentialsauthentication mode are authenticated using anaccessKeyandaccessSecretpair. This is the default authentication mode for backwards compatibility. -
IAM
Subscriptions with
IAMauthentication 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:
getJsonNamein 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
-