Class AssumeRoleEvent


public class AssumeRoleEvent extends BusinessEvent<AWSAssumeRoleResponse>
Event that will be called to assume a role in AWS. It returns the temporary AWS credentials needed to perform the operation in the service you need.
Since:
11.0
GCApi:
event
Reactors:
BTAssumeRole(0), BTAssumeRoleChangeLog(0)
No Spouts
  • Field Details

    • roleArn

      protected String roleArn
    • region

      protected String region
  • Constructor Details

    • AssumeRoleEvent

      public AssumeRoleEvent(String roleArn, String region)
      Create a new event that will be called to request a assume role.
      Parameters:
      roleArn - the role arn of the resource you want to assume
      region - aws region that must be specified if the aws services you are calling are in different region than the caller
  • Method Details

    • getRoleArn

      public String getRoleArn()
      Returns the role ARN
      Returns:
      roleARN
    • getRegion

      public String getRegion()
      Returns the aws region
      Returns:
      aws region