src/main/java/com/awslabs/aws/greengrass/provisioner/implementations/helpers/BasicDeploymentHelper.java
private Role createServiceRole(RoleConf serviceRoleConf) {
        Role serviceRole = createRoleFromRoleConfAndAttachPolicies("service", serviceRoleConf);

        associateServiceRoleToAccount(serviceRole);

        return serviceRole;
    }
/**
     * Create service role required for Greengrass
     *
     * @param serviceRoleConf
     * @return
     */
Create service role required for Greengrass
@param serviceRoleConf
@return
Create service role required for Greengrass @param serviceRoleConf @return
private Role createServiceRole(RoleConf serviceRoleConf) {
        Role serviceRole = createRoleFromRoleConfAndAttachPolicies("service", serviceRoleConf);
        associateServiceRoleToAccount(serviceRole);
        return serviceRole;
    }
private Role createServiceRole ( RoleConf serviceRoleConf ) { Role serviceRole = createRoleFromRoleConfAndAttachPolicies ( "service" , serviceRoleConf ) ; associateServiceRoleToAccount ( serviceRole ) ; return serviceRole ; }
Create service role required for Greengrass
 @param serviceRoleConf
 @return
Create service role required for Greengrass @param serviceRoleConf @return